[asterisk-bugs] [Asterisk 0017261]: 1.4.31rc1 Deadlock: Tried and failed to get Lock #1 (chan_dahdi.c): MUTEX 1063 pri_grab &pri->lock 0xe09684

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jun 18 13:36:55 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17261 
====================================================================== 
Reported By:                aragon
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   17261
Category:                   Channels/chan_dahdi
Reproducibility:            have not tried
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.31-rc1 
JIRA:                       SWP-1464 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-04-29 08:53 CDT
Last Modified:              2010-06-18 13:36 CDT
====================================================================== 
Summary:                    1.4.31rc1 Deadlock: Tried and failed to get Lock
https://issues.asterisk.org/view.php?id=1 (chan_dahdi.c): MUTEX 1063 pri_grab
&pri->lock 0xe09684
Description: 
*1.4.31rc1 SVN (sorry, not sure which SVN version) deadlocks.
This has happened only once under moderate call volume but I am reporting
this issue regardless.
CentOS5.4 Xeon 2.4GHz
1GB RAM

deadlock.txt info attached includes core show locks
gdb thread apply all bt
Not optimized

====================================================================== 

---------------------------------------------------------------------- 
 (0123612) svnbot (reporter) - 2010-06-18 13:36
 https://issues.asterisk.org/view.php?id=17261#c123612 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 271336

_U  trunk/

------------------------------------------------------------------------
r271336 | jpeeler | 2010-06-18 13:36:55 -0500 (Fri, 18 Jun 2010) | 20
lines

Recorded merge of revisions 271335 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r271335 | jpeeler | 2010-06-18 13:33:17 -0500 (Fri, 18 Jun 2010) | 13
lines
  
  Eliminate deadlock potential in dahdi_fixup().
  
  (This is a backport of 269307, committed to trunk by rmudgett.)
  
  Calling dahdi_indicate() when the channel private lock is already
  held can cause a deadlock if the PRI lock is needed because
  dahdi_indicate() will also get the channel private lock.  The pri_grab()
  function assumes that the channel private lock is held once to avoid
  deadlock.
  
  (closes issue https://issues.asterisk.org/view.php?id=17261)
  Reported by: aragon
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=271336 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-18 13:36 svnbot         Checkin                                      
2010-06-18 13:36 svnbot         Note Added: 0123612                          
======================================================================




More information about the asterisk-bugs mailing list