[asterisk-bugs] [Asterisk 0013839]: call processing deadlock with dialplan reload and ast_hint_state_changed
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Nov 4 15:59:26 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13839
======================================================================
Reported By: mcallist
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 13839
Category: Core/PBX
Reproducibility: random
Severity: major
Priority: normal
Status: new
Asterisk Version: 1.4.19
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-11-04 15:57 CST
Last Modified: 2008-11-04 15:59 CST
======================================================================
Summary: call processing deadlock with dialplan reload and
ast_hint_state_changed
Description:
I had a dialplan reload hit while a state change was taking place. Looking
at core, it appears that the conlock was taken by
ast_merge_context_and_delete() and the hints lock was taken by
ast_hint_state_changed()
The hint state change eventually came to ast_hint_extension() which
attempts to grab conlock. In the mean time calls were stacking up. I
forced a Segfault to get a core file and dug in to get this information.
======================================================================
----------------------------------------------------------------------
(0094572) mcallist (reporter) - 2008-11-04 15:59
http://bugs.digium.com/view.php?id=13839#c94572
----------------------------------------------------------------------
the debug file has:
thread apply all bt
and then a full bt for thread 103 and 185 which are the ones I believe to
be deadlocked.
and a print on hints and conlock to show the problem.
Issue History
Date Modified Username Field Change
======================================================================
2008-11-04 15:59 mcallist Note Added: 0094572
======================================================================
More information about the asterisk-bugs
mailing list