[asterisk-bugs] [JIRA] (ASTERISK-26186) res_pjsip_multihomed: Deadlock when finding message header
Mateusz Kowalski (JIRA)
noreply at issues.asterisk.org
Mon Jul 11 09:35:57 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-26186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mateusz Kowalski updated ASTERISK-26186:
----------------------------------------
Attachment: trace2.txt
trace1.txt
> res_pjsip_multihomed: Deadlock when finding message header
> ----------------------------------------------------------
>
> Key: ASTERISK-26186
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26186
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: pjproject/pjsip
> Affects Versions: 13.9.1
> Environment: CentOS 7.2 (3.10.0-327.22.2.el7.x86_64)
> Asterisk 13.9.1
> PJSIP 2.5.1
> Reporter: Mateusz Kowalski
> Assignee: Mateusz Kowalski
> Attachments: trace1.txt, trace2.txt
>
>
> Hello,
> I encountered a deadlock in PJSIP module. Two backtraces available as
> * http://pastebin.com/raw/kZtc5df3 (Thread 43)
> * http://pastebin.com/raw/93H9qe4x (Thread 42)
> Output from {{core show locks}} is empty:
> {code}
> tone-0058-re-1*CLI> core show locks
> =======================================================================
> === 13.9.1
> === Currently Held Locks
> =======================================================================
> ===
> === <pending> <lock#> (<file>): <lock type> <line num> <function> <lock name> <lock addr> (times locked)
> ===
> =======================================================================
> {code}
> Any packets arriving to the machine on port 5060 are left without any response. They are not visible in Asterisk console even with {{pjsip set logger on}}
> Output from {{netstat}} shows big RX queue for the process:
> {code}
> udp 214912 0 0.0.0.0:5060 0.0.0.0:* 46787/asterisk
> {code}
> If you check {{netstat}} per port, it happens also on RTP port (I'm using 10000-20000):
> {code}
> udp 0 0 0.0.0.0:2727 0.0.0.0:* 46787/asterisk
> udp 896 0 0.0.0.0:35859 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:37171 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:4520 0.0.0.0:* 46787/asterisk
> udp 214912 0 0.0.0.0:5060 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:10520 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:10521 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:11356 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:11357 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:12048 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:12049 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:12062 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:12063 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:13890 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:13891 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:14608 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:14609 0.0.0.0:* 46787/asterisk
> udp 213248 0 0.0.0.0:14678 0.0.0.0:* 46787/asterisk
> udp 34048 0 0.0.0.0:14679 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:14752 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:14753 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:15106 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:15107 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:18100 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:18101 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:18392 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:18393 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:18918 0.0.0.0:* 46787/asterisk
> udp 0 0 0.0.0.0:18919 0.0.0.0:* 46787/asterisk
> {code}
> Initially I reported issue on #asterisk but later on got redirected to open a ticket in here.
> Thanks for any help,
> Mateusz
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list