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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Aug 13 17:17:56 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17610 
====================================================================== 
Reported By:                warmguy
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   17610
Category:                   Channels/chan_sip/General
Reproducibility:            have not tried
Severity:                   major
Priority:                   normal
Status:                     assigned
Target Version:             1.6.2.12
Asterisk Version:           SVN 
JIRA:                       SWP-1839 
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-08-13 17:17 CDT
====================================================================== 
Summary:                    [patch] 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
====================================================================== 

---------------------------------------------------------------------- 
 (0125956) tilghman (administrator) - 2010-08-13 17:17
 https://issues.asterisk.org/view.php?id=17610#c125956 
---------------------------------------------------------------------- 
Okay, I have a new patch uploaded now that should assist in debugging. 
What it will do is make the output of 'core show locks' a bit more
traceable, so we can figure out where the locking is going awry.  Please
apply the patch, recompile, reproduce the issue, and get another 'core show
locks'. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-13 17:17 tilghman       Note Added: 0125956                          
======================================================================




More information about the asterisk-bugs mailing list