[Home]

Summary:ASTERISK-21068: Asterisk is freezing (since 1.8.18.0 to 1.8.20.1) when doing 'core show channels' AND receiving 'SIP register'
Reporter:Nicolas Bouliane (nbouliane)Labels:
Date Opened:2013-02-12 14:36:54.000-0600Date Closed:2013-03-26 08:53:24
Priority:CriticalRegression?Yes
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:1.8.18.0 1.8.20.1 Frequency of
Occurrence
Constant
Related
Issues:
must be completed before resolvingASTERISK-21004 Open Blockers for 1.8.21.0
must be completed before resolvingASTERISK-21005 Open Blockers for 11.3.0
duplicatesASTERISK-20550 Deadlock between SIP pvts being placed in container and CLI command 'sip show channels'
is duplicated byASTERISK-21314 Sip channel is deadlocked
is duplicated byASTERISK-21296 SIP module not responding any more
Environment:Gnu/LinuxAttachments:( 0) asterisk-1.8.20.1-bt-threads
( 1) asterisk-1.8.20.1-core-show-locks
( 2) ASTERISK-21068-1.8.diff
( 3) graph-locks.svg
Description:Starting with 1.8.18.0 until 1.8.20.1,
when doing 'core show channels' AND receiving 'SIP register',
Asterisk is freezing.

Lock schema: http://postimage.org/image/d1ekpsrwb/
gdb trace: http://pastebin.com/7HUifMVK
core show locks: http://pastebin.com/q6pSA4Ed
Comments:By: Richard Mudgett (rmudgett) 2013-02-12 15:35:21.692-0600

Please attach the gdb trace and the core show locks files to this issue so the files are always available.

By: Matt Jordan (mjordan) 2013-02-12 16:20:26.727-0600

acidfoo reported this in #asterisk-dev earlier, and it looked to be the exact same problem as ASTERISK-20550.

By: Nicolas Bouliane (nbouliane) 2013-02-13 06:19:21.292-0600

I attached the files !

By: Matt Jordan (mjordan) 2013-03-25 09:20:12.443-0500

If you can, please try the attached patch - ASTERISK-21068-1.8.diff. It should resolve the issue based on the backtraces attached to the various issues.

By: Badalian Vyacheslav (slavon) 2013-03-26 03:21:52.648-0500

Compiled with patch and build rpms for people who don't wont build from sources

Repo file
[asterisk-1.8-slavon]
name=CentOS-$releasever - Asterisk 1.8 - slavon
baseurl=http://repo.c.open-bs.ru/asterisk-pached/centos/5/
enabled=1
gpgcheck=0
#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium

By: Nicolas Bouliane (nbouliane) 2013-03-26 08:51:38.285-0500

Hi, after applying the patch we get no freeze, thank you ! :)