[asterisk-bugs] [Asterisk 0014859]: [patch] lock is not released on channel masquerade
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Sep 29 23:44:44 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=14859
======================================================================
Reported By: atis
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 14859
Category: Functions/func_lock
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Target Version: 1.6.0.16
Asterisk Version: SVN
JIRA:
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-04-08 10:39 CDT
Last Modified: 2009-09-29 23:44 CDT
======================================================================
Summary: [patch] lock is not released on channel masquerade
Description:
Scenario:
Queue -> Local channel -> answer_macro -> TRYLOCK -> bridge (masquarade)
-> TRYLOCK
First TRYLOCK creates lock correctly, but unlock is called outside of the
same thread, so it gives permission denied. Respectively lock remains even
if channel is dead or masqueraded, and second attempt to TRYLOCK gives
failure.
======================================================================
----------------------------------------------------------------------
(0111571) svnbot (reporter) - 2009-09-29 23:44
https://issues.asterisk.org/view.php?id=14859#c111571
----------------------------------------------------------------------
Repository: asterisk
Revision: 221047
_U branches/1.6.2/
U branches/1.6.2/funcs/func_lock.c
------------------------------------------------------------------------
r221047 | tilghman | 2009-09-29 23:44:42 -0500 (Tue, 29 Sep 2009) | 15
lines
Recorded merge of revisions 221044 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r221044 | tilghman | 2009-09-29 23:32:36 -0500 (Tue, 29 Sep 2009) | 8
lines
Allow locks to be inherited through a masquerade without causing
starvation.
(closes issue https://issues.asterisk.org/view.php?id=14859)
Reported by: atis
Patches:
20090821__issue14859.diff.txt uploaded by tilghman (license 14)
20090925__issue14859__1.6.1.diff.txt uploaded by tilghman
(license 14)
Tested by: atis, tilghman
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=221047
Issue History
Date Modified Username Field Change
======================================================================
2009-09-29 23:44 svnbot Checkin
2009-09-29 23:44 svnbot Note Added: 0111571
======================================================================
More information about the asterisk-bugs
mailing list