[asterisk-bugs] [JIRA] (ASTERISK-26145) pjsip: Deadlock with suspend + masquerade + indicate

Ross Beer (JIRA) noreply at issues.asterisk.org
Tue Jul 12 03:45:56 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ross Beer updated ASTERISK-26145:
---------------------------------

    Attachment: backtrace-threads_2016-07-12_CLEAN.txt

When testing asterisk commit 5ee205d8bb0dfbae5be89661aa3a787fbdf9986b and PJSIP commit 5378 asterisk locks almost imediatly causing all SIP packets to stop being processed.

Please see attached backtrace (backtrace-threads_2016-07-12_CLEAN.txt)

> pjsip: Deadlock with suspend + masquerade + indicate
> ----------------------------------------------------
>
>                 Key: ASTERISK-26145
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26145
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip, Resources/res_pjsip
>    Affects Versions: 13.10.0-rc1
>         Environment: Fedora 23
>            Reporter: Ross Beer
>            Assignee: Unassigned
>         Attachments: 2016-06-28_backtrace-threads.txt, 2016-06-28_taksprocessor.txt, 2016-06-28_threads.txt, backtrace-threads_20160627_CLEAN.txt, backtrace-threads_2016-06-30_CLEAN.txt, backtrace-threads_2016-07-06_CLEAN.txt, backtrace-threads_2016-07-07_12_00_CLEAN.txt, backtrace-threads_20160711_CLEAN.txt, backtrace-threads_2016-07-12_CLEAN.txt, core-show-taskprocessors_2016-06-30_CLEAN.txt, core-show-taskprocessors_2016-07-06_CLEAN.txt, core-show-taskprocessors_2016-07-07_12_00_CLEAN.txt, core-show-taskprocessors_20160711_CLEAN.txt, core-show-threads_2016-06-30.txt, core-show-threads_2016-07-06_CLEAN.txt, core-show-threads_2016-07-07_12_00.txt, core-show-threads_20160711.txt, taskprocessor_CLEAN.txt, threads_CLEAN.txt
>
>
> Asterisk stops processing SIP packets due to the task processor exceeding 500 tasks.
> From the below, it looks like the RTP streams are not closing tasks related to RTP timeouts. 
> [2016-06-24 11:35:39] WARNING[313]: taskprocessor.c:887 taskprocessor_push: The 'subm:rtp_topic-000000de' task processor queue reached 500 scheduled tasks.
> [2016-06-24 11:36:08] NOTICE[313]: res_pjsip_sdp_rtp.c:165 rtp_check_timeout: Disconnecting channel 'PJSIP/<<Username>>-000040dd' for lack of RTP activity in 65 seconds
> No core dump is created as asterisk doesn't crash.



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



More information about the asterisk-bugs mailing list