[asterisk-bugs] [JIRA] (ASTERISK-26963) Crash in ast_manager_build_bridge_state_string_prefix

Alex Hermann (JIRA) noreply at issues.asterisk.org
Wed Apr 26 15:06:58 CDT 2017


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

Alex Hermann commented on ASTERISK-26963:
-----------------------------------------

I don't have debug logging of the crash. Regular logs show nothing of interest.

I now patched the ast_manager_build_bridge_state_string_prefix and t_manager_build_channel_state_string_prefix functions to check for NULL pointers to prevent the crash. So i won't be able to provide new backtraces for this specific crash.

I noticed that even though i had enable BETTER_BACKTRACES, i forgot to enable DONT_OPTiMIZE. While i can't undo the damage done by optimization, I still have the core file; i can provide backtraces of all threads. Would that still be be useful?

I don't know how to deliberately reproduce the crash. As said this is just a Dial to a pjsip channel on an inbound pjsip channel.

If no one has a clue where to look based on the backtrace i provided, maybe this won't be solvable

> Crash in ast_manager_build_bridge_state_string_prefix
> -----------------------------------------------------
>
>                 Key: ASTERISK-26963
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26963
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: . I did not set the category correctly.
>    Affects Versions: 13.16.0
>         Environment: Debian jessie
> asterisk 13.16pre @ 12ffc2c5b6c576e
> + rtp_engine/res_rtp_asterisk: Fix RTP struct reentrancy crashes.
> + Revert "bridging:  Ensure successful T.38 negotation"
> PJSIP is the only channel driver. Dialplan is pretty basic, only functioning as B2BUA. No fancy applications like Queue of Conference.
>            Reporter: Alex Hermann
>            Assignee: Alex Hermann
>         Attachments: 26963-bt-1.txt
>
>
> Asterisk crashed in ast_manager_build_bridge_state_string_prefix because that function got passed a null pointer.
> No errors in the log.



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



More information about the asterisk-bugs mailing list