[asterisk-bugs] [JIRA] (ASTERISK-30244) res_pjsip_pubsub: Occasional crash when TCP/TLS connection terminated and subscription persistence is removed

Friendly Automation (JIRA) noreply at issues.asterisk.org
Thu Dec 1 11:53:51 CST 2022


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

Friendly Automation commented on ASTERISK-30244:
------------------------------------------------

Change 19633 merged by Benjamin Keith Ford:
pjsip_transport_events: Fix possible use after free on transport

[https://gerrit.asterisk.org/c/asterisk/+/19633|https://gerrit.asterisk.org/c/asterisk/+/19633]

> res_pjsip_pubsub: Occasional crash when TCP/TLS connection terminated and subscription persistence is removed
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-30244
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30244
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_pubsub
>    Affects Versions: 18.14.0
>            Reporter: nappsoft
>            Assignee: Unassigned
>            Severity: Major
>              Labels: patch
>         Attachments: ast2.log, ast.diff, ast.log, crash.txt
>
>
> We are observing crashes from time to time on less than one percent of systems. The segfault always happens at the same address in res_pjsip.so
> What they have in common: while we use lots of clients with TCP and TLS connections, only on these systems we have phones (Yealink) connected which subscribe over TLS and/or TCP.
> I can reproduce the crash from time to time when rebooting the phone. The crash happens as soon as it is up again and renewing the subscriptions.
> I was now able to create a backtrace, which you will find attached. 



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



More information about the asterisk-bugs mailing list