[asterisk-bugs] [Asterisk 0017610]: Deadlock is happended.( between channel and sip_pvt lock)

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jul 9 19:30:56 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17610 
====================================================================== 
Reported By:                warmguy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17610
Category:                   Channels/chan_sip/General
Reproducibility:            have not tried
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 274052 
Request Review:              
====================================================================== 
Date Submitted:             2010-07-08 23:36 CDT
Last Modified:              2010-07-09 19:30 CDT
====================================================================== 
Summary:                    Deadlock is happended.( between channel and sip_pvt
lock)
Description: 
I have been testing asterisk. (Trunk version)
When testing more than 4cps asterisk does not work.

I am confirmed reason for using GDB.
The reason is estimated to deadlock. Help needed.

Between thread ID 24 and thread ID 5 the circular Deadlock occurs.
Thread 24 (Thread 0x8cc8b90 (LWP 1886)):   chan lock(waiting) <-
sip_pvt_lock(acquired) <- monlock(acquired) 
Thread 5 (Thread 0x648ab90 (LWP 1948)): sip_pvt lock(waiting) <- chan
lock(acquired) 

Here is the debugging information.
<removed> pabelanger
====================================================================== 

---------------------------------------------------------------------- 
 (0124444) warmguy (reporter) - 2010-07-09 19:30
 https://issues.asterisk.org/view.php?id=17610#c124444 
---------------------------------------------------------------------- 
In your advice,
When I compiled the asterisk, I selected DEBUG_THREADS and DONT_OPTIMIZE
in the Compiler Flags section of menuselect. 
I captured and uploaded core-show-locks1.txt and backtrace1.txt
Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-09 19:30 warmguy        Note Added: 0124444                          
======================================================================




More information about the asterisk-bugs mailing list