[asterisk-bugs] [Asterisk 0018052]: Asterisk freezes when reloading dialplan

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Sep 27 15:06:44 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18052 
====================================================================== 
Reported By:                bluefox
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18052
Category:                   Applications/General
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.13 
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-09-25 09:00 CDT
Last Modified:              2010-09-27 15:06 CDT
====================================================================== 
Summary:                    Asterisk freezes when reloading dialplan
Description: 
Hi,

I had this occurs twice in the last 3 days.  When doing 2 "dialplan
reload", asterisk just freezes.  It doesn't crash (and therefore doesn't
restart). It just stays there until I rstart it manually, and it doesn't
process calls or SIP registrations.
====================================================================== 

---------------------------------------------------------------------- 
 (0127443) lmadsen (administrator) - 2010-09-27 15:06
 https://issues.asterisk.org/view.php?id=18052#c127443 
---------------------------------------------------------------------- 
This sounds like a deadlock to me. Please follow the instructions below. It
might be also useful to provide a backtrace of the running process when
this happens.

~~~~~~~~~~~~~~~~~~~

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!


~~~~~~~~~~~~~~


Thank you for your bug report. In order to move your issue forward, we
require a backtrace from the core file produced after the crash. Please see
the doc/backtrace.txt file in your Asterisk source directory.

Also, be sure you have DONT_OPTIMIZE enabled in menuselect within the
Compiler Flags section, then:

make install

after enabling, reproduce the crash, and then execute the instructions in
doc/backtrace.txt.

When complete, attach that file to this issue report. Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-27 15:06 lmadsen        Note Added: 0127443                          
======================================================================




More information about the asterisk-bugs mailing list