[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:33:17 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17261
======================================================================
Reported By: aragon
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17261
Category: Channels/chan_dahdi
Reproducibility: have not tried
Severity: major
Priority: normal
Status: acknowledged
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:
======================================================================
Date Submitted: 2010-04-29 08:53 CDT
Last Modified: 2010-06-18 13:33 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
======================================================================
----------------------------------------------------------------------
(0123611) svnbot (reporter) - 2010-06-18 13:33
https://issues.asterisk.org/view.php?id=17261#c123611
----------------------------------------------------------------------
Repository: asterisk
Revision: 271335
U branches/1.4/channels/chan_dahdi.c
------------------------------------------------------------------------
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=271335
Issue History
Date Modified Username Field Change
======================================================================
2010-06-18 13:33 svnbot Checkin
2010-06-18 13:33 svnbot Note Added: 0123611
======================================================================
More information about the asterisk-bugs
mailing list