[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
Sat Dec 3 10:25:54 CST 2022


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

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

Change 19645 merged by Friendly Automation:
pjsip_transport_events: Fix possible use after free on transport

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

> 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
>      Target Release: 16.29.1, 18.15.1, 19.7.1, 20.0.1
>
>         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