[asterisk-bugs] [JIRA] (ASTERISK-26186) Deadlock in libpjsip.so.2

Mateusz Kowalski (JIRA) noreply at issues.asterisk.org
Mon Jul 11 07:59:56 CDT 2016


Mateusz Kowalski created ASTERISK-26186:
-------------------------------------------

             Summary: Deadlock in libpjsip.so.2
                 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


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:
```
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)
===
=======================================================================
```

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:
```
udp   214912      0 0.0.0.0:5060            0.0.0.0:*                           46787/asterisk
```

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