[asterisk-bugs] [Asterisk 0018511]: Asterisk hangs with no calls being able to go in or out, and the console does not respond to commands

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 21 17:12:59 UTC 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18511 
====================================================================== 
Reported By:                jonascph
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18511
Category:                   Channels/chan_iax2
Reproducibility:            random
Severity:                   block
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-12-21 09:42 CST
Last Modified:              2010-12-21 11:12 CST
====================================================================== 
Summary:                    Asterisk hangs with no calls being able to go in or
out, and the console does not respond to commands
Description: 
I'm not sure if we are seeing one or two different issues.

We've had stability issues with all versions of 1.8 we've tried. Those
include 1.8rc2, 1.8 final,a trunk checkout some weeks after 1.8 final and
latest 1.8.2rc1 all had the same issue or similar issues (They all
froze/crashed)

So far i do not have any type of debug information to show, but im
counting on being able to get some next time it happens. It's so far
happened about once every 6-9 days, and strangely enough it typically
doesnt happen for over a week and then happens 2-3 times on the same day.
====================================================================== 

---------------------------------------------------------------------- 
 (0129844) pabelanger (administrator) - 2010-12-21 11:12
 https://issues.asterisk.org/view.php?id=18511#c129844 
---------------------------------------------------------------------- 
Debugging deadlocks:

Please select DEBUG_THREADS and DONT_OPTIMIZE in the Compiler Flags
section of menuselect. Recompile and install Asterisk (i.e. make install)

This will then give you the console command:

core show locks 

When the symptoms of the deadlock present themselves again, please provide
output of the deadlock via:

# asterisk -rx \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"core show
locks\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" | tee /tmp/core-show-locks.txt

# gdb -se
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"asterisk\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"
<pid of asterisk> | tee /tmp/backtrace.txt

gdb> bt
gdb> bt full
gdb> thread apply all bt

Then attach the core-show-locks.txt and backtrace.txt files to this issue.
Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-21 11:12 pabelanger     Note Added: 0129844                          
======================================================================




More information about the asterisk-bugs mailing list