[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
Wed Aug 29 13:14:00 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:                     feedback
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-29-2007 13:14 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...
====================================================================== 

---------------------------------------------------------------------- 
 PhilSmith - 08-29-07 13:14  
---------------------------------------------------------------------- 
Applied the patch to SVN Branch for a version of Asterisk
SVN-branch-1.4-r81228M.

This is on a test box and only have SIP and IAX channels available for it,
no ZAP.

Took all the steps that was causing it to crash before with transfers to
the parking lot and it did not lock this time.  I could not say 100% that
it fixed the problem because I was not able to test calls coming in on a
ZAP channel.  I will try to get it put on the production server that does
have ZAP channels to see if the issue is resolved there also. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-29-07 13:14  PhilSmith      Note Added: 0069622                          
======================================================================




More information about the asterisk-bugs mailing list