[asterisk-bugs] [JIRA] (ASTERISK-27299) Asterisk Hangs with Bad file descriptor on read()

Aaron An (JIRA) noreply at issues.asterisk.org
Tue Nov 21 21:55:07 CST 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=240220#comment-240220 ] 

Aaron An commented on ASTERISK-27299:
-------------------------------------

It seems that at 17:07:06 when all the calls are ended, asterisk recovery.
[root at ip-10-10-59-250 asterisk]# grep 'PJSIP/700022580101074-0002965b' /var/log/asterisk/full-20171122 
[Nov 21 16:43:48] VERBOSE[28054][C-00014b40] app_stack.c: PJSIP/700022580101074-0002965b Internal Gosub(webrtc_call_start_dest,700022580101074,1) start
[Nov 21 16:43:48] VERBOSE[28054][C-00014b40] pbx.c: Executing [700022580101074 at webrtc_call_start_dest:1] Set("PJSIP/700022580101074-0002965b", "PJSIP_HEADER(add,X-Asterisk-call_type)=4") in new stack
[Nov 21 16:43:48] NOTICE[28054][C-00014b40] app_stack.c: PJSIP/700022580101074-0002965b Abnormal 'Gosub(webrtc_call_start_dest,700022580101074,1)' exit.  Popping routine return locations.
[Nov 21 16:43:51] VERBOSE[28054][C-00014b40] app_dial.c: PJSIP/700022580101074-0002965b is ringing
[Nov 21 16:43:51] VERBOSE[28054][C-00014b40] app_dial.c: PJSIP/700022580101074-0002965b answered PJSIP/sip-6-0002965a
[Nov 21 16:43:51] VERBOSE[28054][C-00014b40] app_stack.c: PJSIP/700022580101074-0002965b Internal Gosub(webrtc_bridge_dest,~~s~~,1) start
[Nov 21 16:43:51] VERBOSE[28054][C-00014b40] pbx.c: Executing [~~s~~@webrtc_bridge_dest:1] NoOp("PJSIP/700022580101074-0002965b", "webrtc_bridge_dest") in new stack
[Nov 21 16:43:51] VERBOSE[28054][C-00014b40] pbx.c: Executing [~~s~~@webrtc_bridge_dest:2] Return("PJSIP/700022580101074-0002965b", "") in new stack
[Nov 21 16:43:51] VERBOSE[28054][C-00014b40] app_stack.c: Spawn extension (default, 700022580101074, 1) exited non-zero on 'PJSIP/700022580101074-0002965b'
[Nov 21 16:43:51] VERBOSE[28054][C-00014b40] app_stack.c: PJSIP/700022580101074-0002965b Internal Gosub(webrtc_bridge_dest,~~s~~,1) complete GOSUB_RETVAL=
[Nov 21 16:43:51] VERBOSE[28078][C-00014b40] bridge_channel.c: Channel PJSIP/700022580101074-0002965b joined 'simple_bridge' basic-bridge <0beef8f6-1616-4914-b761-c0b8c7bac6d1>
[Nov 21 16:44:04] DTMF[28078][C-00014b40] channel.c: DTMF begin '0' received on PJSIP/700022580101074-0002965b
[Nov 21 16:44:04] DTMF[28078][C-00014b40] channel.c: DTMF begin passthrough '0' on PJSIP/700022580101074-0002965b
[Nov 21 16:44:04] DTMF[28078][C-00014b40] channel.c: DTMF end '0' received on PJSIP/700022580101074-0002965b, duration 100 ms
[Nov 21 16:44:04] DTMF[28078][C-00014b40] channel.c: DTMF end accepted with begin '0' on PJSIP/700022580101074-0002965b
[Nov 21 16:44:04] DTMF[28078][C-00014b40] channel.c: DTMF end '0' detected to have actual duration 79 on the wire, emulation will be triggered on PJSIP/700022580101074-0002965b
[Nov 21 16:44:04] DTMF[28078][C-00014b40] channel.c: DTMF end '0' has duration 79 but want minimum 80, emulating on PJSIP/700022580101074-0002965b
[Nov 21 16:44:04] DTMF[28078][C-00014b40] channel.c: DTMF end emulation of '0' queued on PJSIP/700022580101074-0002965b
[Nov 21 17:07:06] WARNING[28054][C-00014b40] channel.c: Unable to write to alert pipe on PJSIP/700022580101074-0002965b (qlen = 0): Bad file descriptor!
[Nov 21 17:07:06] WARNING[1305] channel.c: Unable to write to alert pipe on PJSIP/700022580101074-0002965b (qlen = 1): Bad file descriptor!
[Nov 21 17:07:06] VERBOSE[28078][C-00014b40] bridge_channel.c: Channel PJSIP/700022580101074-0002965b left 'simple_bridge' basic-bridge <0beef8f6-1616-4914-b761-c0b8c7bac6d1>

> Asterisk Hangs with Bad file descriptor on read()
> -------------------------------------------------
>
>                 Key: ASTERISK-27299
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27299
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Bridges/bridge_native_rtp
>    Affects Versions: 13.17.1
>         Environment: Ubuntu 16.04 with asterisk 13.17.1 
>            Reporter: Abhay Gupta
>            Assignee: Unassigned
>         Attachments: 3858.threads.log, latestGDB, output2.txt, sip-3-0002949d.log, taskprocessSterl.txt
>
>
> Asterisk stops responding and only have errors of alertpipe 
> {noformat}
> Sep 26 15:36:05] WARNING[3133] bridge_channel.c: Weird.  No frame from bridge for Local/agentmanual at asterisk-00013cae;1 to process?
> [Sep 26 15:36:05] WARNING[3133] alertpipe.c: read() failed: Bad file descriptor
> [Sep 26 15:36:05] WARNING[3133] bridge_channel.c: Weird.  No frame from bridge for Local/agentmanual at asterisk-00013cae;1 to process?
> [Sep 26 15:36:05] WARNING[3133] alertpipe.c: read() failed: Bad file descriptor
> [Sep 26 15:36:05] WARNING[3133] bridge_channel.c: Weird.  No frame from bridge for Local/agentmanual at asterisk-00013cae;1 to process?
> [Sep 26 15:36:05] WARNING[3133] alertpipe.c: read() failed: Bad file descriptor
> [Sep 26 15:36:05] WARNING[3133] bridge_channel.c: Weird.  No frame from bridge for Local/agentmanual at asterisk-00013cae;1 to process?
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list