[asterisk-bugs] [Asterisk 0017810]: Lock during module reload

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 9 07:48:39 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17810 
====================================================================== 
Reported By:                ShayS
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17810
Category:                   Resources/res_config_pgsql
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.0-beta2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-08-08 03:55 CDT
Last Modified:              2010-08-09 07:48 CDT
====================================================================== 
Summary:                    Lock during module reload
Description: 
When a phone performs registration during module reload, the PBX get lock
in res_config_pgsql.c line 355
====================================================================== 

---------------------------------------------------------------------- 
 (0125707) pabelanger (manager) - 2010-08-09 07:48
 https://issues.asterisk.org/view.php?id=17810#c125707 
---------------------------------------------------------------------- 
We'll need a backtrace to triage the issue.

---
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-08-09 07:48 pabelanger     Note Added: 0125707                          
======================================================================




More information about the asterisk-bugs mailing list