[asterisk-bugs] [Asterisk 0016938]: For loop never exists when calling an extension that exists with BUSY, failure to leave 'for' loop in 'scan_thread'

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 1 14:59:31 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16938 
====================================================================== 
Reported By:                whardier
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16938
Category:                   PBX/pbx_spool
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.3-rc2 
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-01 14:46 CST
Last Modified:              2010-03-01 14:59 CST
====================================================================== 
Summary:                    For loop never exists when calling an extension that
exists with BUSY, failure to leave 'for' loop in 'scan_thread'
Description: 
I have the following dialplan set up, calling 0012 at phones-extensions while
SIP/0012 is set to DND causes nanosleep({0,1000}) to be called forever
according to strace.  I'll attach strace and gdb output.  I can reproduce
this after several attempts, often I can reproduce this on the first call.

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

---------------------------------------------------------------------- 
 (0118715) whardier (reporter) - 2010-03-01 14:59
 https://issues.asterisk.org/view.php?id=16938#c118715 
---------------------------------------------------------------------- 
I'm not very familiar with threading and posix locks, etc.. apparently the
for loop in inotify_daemon in localtime.c may be suspect as well? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-01 14:59 whardier       Note Added: 0118715                          
======================================================================




More information about the asterisk-bugs mailing list