[asterisk-bugs] [Asterisk 0015588]: [patch] crash in chanspy on hangup - locked mutex '&chanspy_ds.lock'
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Nov 9 08:54:46 CST 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15588
======================================================================
Reported By: zerohalo
Assigned To: mnicholson
======================================================================
Project: Asterisk
Issue ID: 15588
Category: Applications/app_chanspy
Reproducibility: have not tried
Severity: crash
Priority: normal
Status: closed
Asterisk Version: SVN
JIRA: SWP-279
Regression: No
Reviewboard Link:
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-07-27 11:24 CDT
Last Modified: 2009-11-09 08:54 CST
======================================================================
Summary: [patch] crash in chanspy on hangup - locked mutex
'&chanspy_ds.lock'
Description:
random crash in 1.4.24.1 CLI below, bt attached.
-- Packet2Packet bridging SIP/XXXX-XXXX-0a39f098 and
SIP/gateway1-0949da50
-- <SIP/XX.XX.XX.XX-b7c008f8> Playing 'digits/6' (language
'en')
-- <SIP/XX.XX.XX.XX-b7dbcb80> Playing 'beep' (language
'en')
-- Nobody picked up in 25000 ms
== Done Spying on channel SIP/XXXX-XXXX-0957f6b8
[Jul 27 10:36:21] ERROR[7010]:
/usr/src/asterisk/asterisk-1.4.24/include/asterisk/lock.h:320
__ast_pthread_mutex_destroy: app_chanspy.c line 683 (common_exec):
Error: attempt to destroy locked mutex '&chanspy_ds.lock'.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0015414 crash: "chan_sip.c", lineno=3910
======================================================================
----------------------------------------------------------------------
(0113412) svnbot (reporter) - 2009-11-09 08:54
https://issues.asterisk.org/view.php?id=15588#c113412
----------------------------------------------------------------------
Repository: asterisk
Revision: 228859
_U branches/1.6.2/
U branches/1.6.2/include/asterisk/lock.h
------------------------------------------------------------------------
r228859 | mnicholson | 2009-11-09 08:54:45 -0600 (Mon, 09 Nov 2009) | 22
lines
Merged revisions 228858 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r228858 | mnicholson | 2009-11-09 08:37:07 -0600 (Mon, 09 Nov 2009) | 15
lines
Merged revisions 228827 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r228827 | mnicholson | 2009-11-09 08:16:03 -0600 (Mon, 09 Nov 2009) |
8 lines
Perform limited bounds checking when destroying ast_mutex_t structures
to make sure we don't try to use negative indices.
(closes issue https://issues.asterisk.org/view.php?id=15588)
Reported by: zerohalo
Patches:
20090820__issue15588.diff.txt uploaded by tilghman (license 14)
Tested by: zerohalo
........
................
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=228859
Issue History
Date Modified Username Field Change
======================================================================
2009-11-09 08:54 svnbot Checkin
2009-11-09 08:54 svnbot Note Added: 0113412
======================================================================
More information about the asterisk-bugs
mailing list