[asterisk-bugs] [Asterisk 0017122]: Using pattern match in a hint causes deadlock under described conditions

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 31 12:44:35 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17122 
====================================================================== 
Reported By:                sbrath
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17122
Category:                   Channels/chan_sip/Registration
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.6 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-03-31 12:31 CDT
Last Modified:              2010-03-31 12:44 CDT
====================================================================== 
Summary:                    Using pattern match in a hint causes deadlock under
described conditions
Description: 
When using the following hint, most "dialplan reload" commands will lock
the system up. Once in deadlock, existing sip conversations will continue,
new sip connections will fail. sip show peers will look normal.
exten => _4040XXXX,hint,Custom:phone${EXTEN:4}

I have about 25 phones subscribing to this hint, and creating the "virtual
hints", on initial load all is well, reloads lock the system.

I have included attachments with core show locks and a bt trace of a
running thread to show where the deadlock is occurring.


====================================================================== 

---------------------------------------------------------------------- 
 (0120031) sbrath (reporter) - 2010-03-31 12:44
 https://issues.asterisk.org/view.php?id=17122#c120031 
---------------------------------------------------------------------- 
Other notes: Server is Ubuntu 8.04 LTS, Processor is AMD 64 3800+ but linux
is a 32 bit kernel with 2 GIG ram. 
Server has 2 T1 cards from Digium with 1 connected to a PRI and the other
to a Tie-Line to a Merlin Magix.
Asterisk version 2.6.2.6 is compiled from source
Also have app_swift and addons running.
Phones are Grandstream 2010/2000/2020 and Windows softphone ZoIPer. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-31 12:44 sbrath         Note Added: 0120031                          
======================================================================




More information about the asterisk-bugs mailing list