[asterisk-bugs] [Asterisk 0011294]: patch] find_context_locked() must return with conlock held
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue Nov 20 05:49:39 CST 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11294
======================================================================
Reported By: ys
Assigned To: murf
======================================================================
Project: Asterisk
Issue ID: 11294
Category: Core-General
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 89408
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 11-19-2007 07:57 CST
Last Modified: 11-20-2007 05:49 CST
======================================================================
Summary: patch] find_context_locked() must return with
conlock held
Description:
main/pbx.c: function find_context_locked() not neet to do
ast_unlock_contexts()
======================================================================
----------------------------------------------------------------------
ys - 11-20-07 05:49
----------------------------------------------------------------------
eliel, is file noted, this is only for trunk (my mistake).
Now i up to trunk rev 89444 and etst again.
Try to add extension in empty context:
*CLI> dialplan add extension 1,1,hangup(), into test
-- Added extension '1' priority 1 to test
[Nov 20 14:45:49] ERROR[36280]:
/usr/home/asterisk/src/asterisk/include/asterisk/lock.h:915
_ast_rwlock_unlock: pbx.c line 7208 (ast_unlock_contexts): rwlock
'&conlock' freed more times than we've locked!
Extension '1,1,hangup,' added into 'test' context
*CLI> [Nov 20 14:45:49] ERROR[36280]:
/usr/home/asterisk/src/asterisk/include/asterisk/lock.h:932
_ast_rwlock_unlock: pbx.c line 7208 (ast_unlock_contexts): Error releasing
rwlock: Invalid argument
Issue History
Date Modified Username Field Change
======================================================================
11-20-07 05:49 ys Note Added: 0074047
======================================================================
More information about the asterisk-bugs
mailing list