[asterisk-bugs] [Asterisk 0015588]: [patch] crash in chanspy on hangup - locked mutex '&chanspy_ds.lock'

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 25 11:35:33 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15588 
====================================================================== 
Reported By:                zerohalo
Assigned To:                lmadsen
====================================================================== 
Project:                    Asterisk
Issue ID:                   15588
Category:                   Applications/app_chanspy
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-07-27 11:24 CDT
Last Modified:              2009-08-25 11:35 CDT
====================================================================== 
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'.

====================================================================== 

---------------------------------------------------------------------- 
 (0109601) lmadsen (administrator) - 2009-08-25 11:35
 https://issues.asterisk.org/view.php?id=15588#c109601 
---------------------------------------------------------------------- 
Trying to reproduce this issue. Can you provide the sip.conf and dialplan?
Also, the call flow could be handy here.

Although if you can test this issue yourself and report back, that'd be
even better :) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-25 11:35 lmadsen        Note Added: 0109601                          
======================================================================




More information about the asterisk-bugs mailing list