[asterisk-bugs] [Asterisk 0010374]: Asterisk locks and no new calls allowed. Doesn't crash but have to restart Asterisk to get calls to flow again.

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Aug 10 10:46:04 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10374 
====================================================================== 
Reported By:                PhilSmith
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10374
Category:                   Core-General
Reproducibility:            random
Severity:                   block
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.9  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-03-2007 14:12 CDT
Last Modified:              08-10-2007 10:46 CDT
====================================================================== 
Summary:                    Asterisk locks and no new calls allowed.  Doesn't
crash but have to restart Asterisk to get calls to flow again.
Description: 
Asterisk seems to lock randomly and have not yet found a pattern to why.
Current calls continue without issue but no new calls in or out are
allowed.
Restart the Asterisk application and it will work again for a few hours.

Asterisk was rebuilt with 1.4.9 with DEBUG_THREADS and DONT_OPTIMIZE
enabled then started with /usr/sbin/asterisk -vvvg -c

The backtrace.txt that is attached was gathered in this manor:
ps -aux to get pid of asterisk
[root at pbx] # script /tmp/backtrace.txt
[root at pbx] # gdb /usr/sbin/asterisk pid 
Once you get into gdb, then issue: "set pagination off" to turn of paging.

then issue: info thread
then issue: thread apply all bt
Once you have the output in a file quit out.
Restart Asterisk
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0009724 SIP Transfers To Parking Lot From Grand...
====================================================================== 

---------------------------------------------------------------------- 
 russell - 08-10-07 10:46  
---------------------------------------------------------------------- 
I found a bug in my "core show locks" code that made the output not useful.
 If you update to 1.4.10.1, it should be a lot more helpful. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-10-07 10:46  russell        Note Added: 0068731                          
======================================================================




More information about the asterisk-bugs mailing list