[asterisk-bugs] [JIRA] (ASTERISK-27568) Crash in ast_channel_hangupcause when using chan_pjsip

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Wed Jan 10 14:39:39 CST 2018


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

Kevin Harwell commented on ASTERISK-27568:
------------------------------------------

This is marked as a regression. When did users start noticing the issue after upgrading? For instance 13.17->13.18 or 13.18.x->13.18.5?

It looks like this happened during an attended transfer. Are all the crashes the same? In the same spot that is?

Anything else you can provide with regards to the scenario in which the crash occurs might help us duplicate/track down the problem. Like was it just a basic transfer between two parties? Local channels, queue, etc... involved?

Log output could be helpful especially if it contains debug and a sip trace.

Thanks!



> Crash in ast_channel_hangupcause when using chan_pjsip
> ------------------------------------------------------
>
>                 Key: ASTERISK-27568
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27568
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 13.18.5
>            Reporter: Bryan Walters
>              Labels: pjsip
>         Attachments: backtrace.txt
>
>
> We've had reports from users of Asterisk 13.18.5 where asterisk will core dump pretty frequently when using chan_pjsip. Reviewing this with our team, it appears that that chan_pjsip_session_end checks session->channel for validity and later calls ast_channel_hangupcause(session->channel). However, between the time of the check and the call to ast_channel_hangupcause, something is setting session->channel to null, thus causing Asterisk to core dump.



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



More information about the asterisk-bugs mailing list