[Asterisk-bugs] [Asterisk 0009951]: dead lock
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Jul 5 09:07:05 CDT 2007
The following issue has been RESOLVED.
======================================================================
http://bugs.digium.com/view.php?id=9951
======================================================================
Reported By: welles
Assigned To: file
======================================================================
Project: Asterisk
Issue ID: 9951
Category: Applications/app_chanspy
Reproducibility: always
Severity: block
Priority: normal
Status: resolved
Asterisk Version: 1.2.18
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: No
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 06-11-2007 20:31 CDT
Last Modified: 07-05-2007 09:07 CDT
======================================================================
Summary: dead lock
Description:
in channel.c 's function ast_read use lock in order of chan then spy, while
in app_chanspy.c's function channel_spy use lock in order of spy then chan.
these order seems easy to cause dead lock when lots of spies(more than 100
spies spy on more than 4 channels). BTW, when i add spies more than 104,
some of my clients begin hangup by asterisk. i am confused by this.
======================================================================
----------------------------------------------------------------------
file - 07-05-07 09:07
----------------------------------------------------------------------
I've put this patch into 1.2 as of revision 73349, 1.4 as of revision
73355, and trunk as of revision 73359.
Issue History
Date Modified Username Field Change
======================================================================
07-05-07 09:07 file Status feedback => resolved
07-05-07 09:07 file Resolution open => fixed
07-05-07 09:07 file Note Added: 0066529
======================================================================
More information about the Asterisk-bugs
mailing list