[asterisk-bugs] [JIRA] (ASTERISK-27299) Asterisk Hangs with Bad file descriptor on read()
Aaron An (JIRA)
noreply at issues.asterisk.org
Tue Nov 21 09:21:08 CST 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-27299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=240203#comment-240203 ]
Aaron An edited comment on ASTERISK-27299 at 11/21/17 9:21 AM:
---------------------------------------------------------------
related logs:
[Nov 21 16:42:53] ERROR[27334][C-00014a62] bridge_channel.c: FRACK!, Failed assertion !AST_LIST_EMPTY(&bridge_channel->wr_queue) (0)
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: Got 21 backtrace records
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #0: [0x747c21] /usr/sbin/asterisk(__ast_assert_failed+0xba) [0x747c21]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #1: [0x4b662e] /usr/sbin/asterisk() [0x4b662e]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #2: [0x4c0460] /usr/sbin/asterisk() [0x4c0460]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #3: [0x4c14a7] /usr/sbin/asterisk() [0x4c14a7]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #4: [0x4c20a8] /usr/sbin/asterisk(bridge_channel_internal_join+0x8d8) [0x4c20a8]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #5: [0x496362] /usr/sbin/asterisk(ast_bridge_join+0x465) [0x496362]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #6: [0x5a9e46] /usr/sbin/asterisk(ast_bridge_call_with_flags+0x349) [0x5a9e46]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #7: [0x5a9fde] /usr/sbin/asterisk(ast_bridge_call+0x3f) [0x5a9fde]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #8: [0x7f43398d546f] /usr/lib/asterisk/modules/app_dial.so(+0x1746f) [0x7f43398d546f]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #9: [0x7f43398d5adc] /usr/lib/asterisk/modules/app_dial.so(+0x17adc) [0x7f43398d5adc]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #10: [0x6751f3] /usr/sbin/asterisk(pbx_exec+0x1e5) [0x6751f3]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #11: [0x6549ae] /usr/sbin/asterisk() [0x6549ae]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #12: [0x65a741] /usr/sbin/asterisk(ast_spawn_extension+0x13b) [0x65a741]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #13: [0x65bf34] /usr/sbin/asterisk() [0x65bf34]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #14: [0x65ec41] /usr/sbin/asterisk() [0x65ec41]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #15: [0x7428d6] /usr/sbin/asterisk() [0x7428d6]
[Nov 21 16:42:53] WARNING[27334][C-00014a62] bridge_channel.c: Weird. No frame from bridge for PJSIP/sip-3-0002949d to process?
[Nov 21 16:42:53] WARNING[27334][C-00014a62] alertpipe.c: read() failed: Bad file descriptor
some other logs:
[Nov 21 16:43:10] ERROR[27348][C-00014a62] bridge_channel.c: We couldn't write alert pipe for 0x7f42d805b1b0(PJSIP/sip-3-0002949d)... something is VERY wrong
[Nov 21 16:43:10] ERROR[27348][C-00014a62] bridge_channel.c: We couldn't write alert pipe for 0x7f42d805b1b0(PJSIP/sip-3-0002949d)... something is VERY wrong
[Nov 21 16:43:10] ERROR[27348][C-00014a62] bridge_channel.c: We couldn't write alert pipe for 0x7f42d805b1b0(PJSIP/sip-3-0002949d)... something is VERY wrong
[Nov 21 16:43:10] ERROR[27348][C-00014a62] bridge_channel.c: We couldn't write alert pipe for 0x7f42d805b1b0(PJSIP/sip-3-0002949d)... something is VERY wrong
was (Author: aaron):
[Nov 21 16:42:53] ERROR[27334][C-00014a62] bridge_channel.c: FRACK!, Failed assertion !AST_LIST_EMPTY(&bridge_channel->wr_queue) (0)
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: Got 21 backtrace records
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #0: [0x747c21] /usr/sbin/asterisk(__ast_assert_failed+0xba) [0x747c21]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #1: [0x4b662e] /usr/sbin/asterisk() [0x4b662e]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #2: [0x4c0460] /usr/sbin/asterisk() [0x4c0460]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #3: [0x4c14a7] /usr/sbin/asterisk() [0x4c14a7]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #4: [0x4c20a8] /usr/sbin/asterisk(bridge_channel_internal_join+0x8d8) [0x4c20a8]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #5: [0x496362] /usr/sbin/asterisk(ast_bridge_join+0x465) [0x496362]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #6: [0x5a9e46] /usr/sbin/asterisk(ast_bridge_call_with_flags+0x349) [0x5a9e46]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #7: [0x5a9fde] /usr/sbin/asterisk(ast_bridge_call+0x3f) [0x5a9fde]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #8: [0x7f43398d546f] /usr/lib/asterisk/modules/app_dial.so(+0x1746f) [0x7f43398d546f]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #9: [0x7f43398d5adc] /usr/lib/asterisk/modules/app_dial.so(+0x17adc) [0x7f43398d5adc]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #10: [0x6751f3] /usr/sbin/asterisk(pbx_exec+0x1e5) [0x6751f3]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #11: [0x6549ae] /usr/sbin/asterisk() [0x6549ae]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #12: [0x65a741] /usr/sbin/asterisk(ast_spawn_extension+0x13b) [0x65a741]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #13: [0x65bf34] /usr/sbin/asterisk() [0x65bf34]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #14: [0x65ec41] /usr/sbin/asterisk() [0x65ec41]
[Nov 21 16:42:53] VERBOSE[27334][C-00014a62] logger.c: #15: [0x7428d6] /usr/sbin/asterisk() [0x7428d6]
[Nov 21 16:42:53] WARNING[27334][C-00014a62] bridge_channel.c: Weird. No frame from bridge for PJSIP/sip-3-0002949d to process?
[Nov 21 16:42:53] WARNING[27334][C-00014a62] alertpipe.c: read() failed: Bad file descriptor
> 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: latestGDB, output2.txt, 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