[asterisk-bugs] [Asterisk 0016045]: [patch] crash when spying - was working fine in beta2

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 9 10:39:45 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16045 
====================================================================== 
Reported By:                bluecrow76
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   16045
Category:                   Applications/app_chanspy
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
Target Version:             1.6.2.0
Asterisk Version:           1.6.2.0-rc3 
JIRA:                       SWP-294 
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-08 11:37 CDT
Last Modified:              2009-11-09 10:39 CST
====================================================================== 
Summary:                    [patch] crash when spying - was working fine in
beta2
Description: 
Didn't think this matched any of the previous app_chanspy bug reports...

I just updated to rc3 last night.  In the course of the morning I
discovered that running ChanSpy on another SIP extension that was bridged
to an IAX2 channel will result in a crash EVERY time.

If I run ChanSpy against a SIP channel that is bridged with another SIP
channel there is no crash.

If I run ChanSpy against an IAX2 channel that is bridged with another IAX2
channel there is no crash.

This behavior was not present in beta2, which was the version I was
previously running.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0015842 Crash when doing chanspy
related to          0016133 ChanSpy crashes Asterisk
====================================================================== 

---------------------------------------------------------------------- 
 (0113431) svnbot (reporter) - 2009-11-09 10:39
 https://issues.asterisk.org/view.php?id=16045#c113431 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 228692

U   branches/1.4/main/channel.c

------------------------------------------------------------------------
r228692 | dvossel | 2009-11-06 16:33:27 -0600 (Fri, 06 Nov 2009) | 15
lines

fixes audiohook write crash occuring in chan_spy whisper mode.

After writing to the audiohook list in ast_write(), frames
were being freed incorrectly.  Under certain conditions this
resulted in a double free crash.

(closes issue https://issues.asterisk.org/view.php?id=16133)
Reported by: wetwired

(closes issue https://issues.asterisk.org/view.php?id=16045)
Reported by: bluecrow76
Patches:
      issue16045.diff uploaded by dvossel (license 671)
Tested by: bluecrow76, dvossel, habile

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=228692 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-09 10:39 svnbot         Checkin                                      
2009-11-09 10:39 svnbot         Note Added: 0113431                          
======================================================================




More information about the asterisk-bugs mailing list