[asterisk-bugs] [JIRA] (ASTERISK-26197) chan_sip: Deadlock during hangup

Oleg Schelicalnov (JIRA) noreply at issues.asterisk.org
Sat Jun 9 01:38:55 CDT 2018


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

Oleg Schelicalnov updated ASTERISK-26197:
-----------------------------------------

    Attachment: dumps.txt

gdb info from deadlocked atersik

> chan_sip: Deadlock during hangup
> --------------------------------
>
>                 Key: ASTERISK-26197
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26197
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 11.22.0, 13.18.4
>         Environment: CentOS release 6.7 (Final) x64
>            Reporter: Dmitrii kondrashin
>         Attachments: backtrace.txt, core-show-fd.txt, core-show-locks.txt, core-show-taskprocessors.txt, core-show-threads.txt, dumps.txt
>
>
> Periodically, the asterisk stop to handle call(SIP messages) correctly. Сorrect handling is restored only after restarting asterisk.
> It seems that the lock is created while asterisk tries to read from the tls socket, after that the thread crushes without release  of lock, and  all other threads are waiting for the release of this lock.
> Asterisk was compiled without srtp module and tls is disabled in asterisk's configs. 
> I've attached  the output of commands "core show locks", "core show taskprocessors", "core show threads", "core show fd", and backtrace-file prepared using gdb. 
> Build Options: DONT_OPTIMIZE, DEBUG_THREADS, LOADABLE_MODULES, DEBUG_FD_LEAKS



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



More information about the asterisk-bugs mailing list