[asterisk-bugs] [Asterisk 0016847]: [patch] Deadlock between dahdi_exception and dahdi_indicate
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Jun 24 04:50:50 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16847
======================================================================
Reported By: shin-shoryuken
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16847
Category: Channels/chan_dahdi
Reproducibility: always
Severity: major
Priority: normal
Status: ready for testing
Asterisk Version: 1.6.1.14
JIRA: SWP-927
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-02-16 15:16 CST
Last Modified: 2010-06-24 04:50 CDT
======================================================================
Summary: [patch] Deadlock between dahdi_exception and
dahdi_indicate
Description:
I've encountered a deadlock situation between dahdi_exception and
dahdi_indicate, running Asterisk 1.6.1.6 (confirmed as well in 1.6.1.14) on
Debian Lenny x86_64. Deadlock occurs roughly once a week, usually under
lower call volume (strangely enough). The issue seems to arise mostly when
swapping between call-waiting lines on a DAHDI channel.
======================================================================
----------------------------------------------------------------------
(0123815) alecdavis (manager) - 2010-06-24 04:50
https://issues.asterisk.org/view.php?id=16847#c123815
----------------------------------------------------------------------
callwaiting_deadlock.txt uploaded
Summary:
=== Thread ID: -1223439472 (do_devstate_changes started at [ 723]
devicestate.c ast_device_state_engine_init())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (astobj2.c): MUTEX 657
internal_ao2_callback c 0x84ae300
(1)
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=1 (channel.c):
MUTEX 1389 ast_channel_cmp_cb
chan 0x8684c20 (1)
=== --- ---> Locked Here: channel.c line 3280 (__ast_read)
=== -------------------------------------------------------------------
===
=== Thread ID: -1347757168 (do_monitor started at [11266]
chan_dahdi.c restart_monitor())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (chan_dahdi.c): MUTEX
10997 do_monitor &iflock 0xb6e5c060
(1)
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=1
(chan_dahdi.c): MUTEX 11015 do_monitor
&i->lock 0xaffbf5e8 (1)
=== --- ---> Locked Here: chan_dahdi.c line 8340 (dahdi_exception)
=== -------------------------------------------------------------------
===
=== Thread ID: -1348744304 (pbx_thread started at [ 4963] pbx.c
ast_pbx_start())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (channel.c): MUTEX 3280
__ast_read chan 0x8684c20 (1)
=== ---> Lock https://issues.asterisk.org/view.php?id=1 (chan_dahdi.c): MUTEX
8340 dahdi_exception &p->lock
0xaffbf5e8 (1)
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=2 (channel.c):
MUTEX 1138 __ast_queue_frame
chan 0x8676508 (1)
=== --- ---> Locked Here: channel.c line 3810 (ast_indicate_data)
=== -------------------------------------------------------------------
===
=== Thread ID: -1348494448 (pbx_thread started at [ 4963] pbx.c
ast_pbx_start())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (channel.c): MUTEX 3810
ast_indicate_data chan 0x8676508
(1)
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=1
(chan_dahdi.c): MUTEX 8802 dahdi_indicate
&p->lock 0xaffbf5e8 (1)
=== --- ---> Locked Here: chan_dahdi.c line 8340 (dahdi_exception)
=== -------------------------------------------------------------------
===
=======================================================================
asterix*CLI>
Issue History
Date Modified Username Field Change
======================================================================
2010-06-24 04:50 alecdavis Note Added: 0123815
======================================================================
More information about the asterisk-bugs
mailing list