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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jul 29 16:13:04 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17122 
====================================================================== 
Reported By:                sbrath
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   17122
Category:                   Channels/chan_sip/Registration
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     acknowledged
Target Version:             1.6.2.12
Asterisk Version:           SVN 
JIRA:                       SWP-1227 
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-07-29 16:13 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.


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0017643 [patch] dialplan reload deadlocks in as...
====================================================================== 

---------------------------------------------------------------------- 
 (0125332) tilghman (administrator) - 2010-07-29 16:13
 https://issues.asterisk.org/view.php?id=17122#c125332 
---------------------------------------------------------------------- 
Would you mind trying the fix from https://issues.asterisk.org/view.php?id=17643
?  I suspect that they are the
same issue and the fix I uploaded there will fix the issue here, as well. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-29 16:13 tilghman       Note Added: 0125332                          
======================================================================




More information about the asterisk-bugs mailing list