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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 31 09:23:46 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-31 09:23 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'.

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

---------------------------------------------------------------------- 
 (0109848) zerohalo (reporter) - 2009-08-31 09:23
 https://issues.asterisk.org/view.php?id=15588#c109848 
---------------------------------------------------------------------- 
I'm unable to reproduce the issue with or without the patch. This was a
call delivered from a queue and ChanSpy(FULLPEERNAME,q) - it appears that
the channel was spied twice and spy ended before channel was hung up. I'm
still trying to find a way to reproduce this. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-31 09:23 zerohalo       Note Added: 0109848                          
======================================================================




More information about the asterisk-bugs mailing list