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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 9 11:08:57 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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-10-08 11:37 CDT
Last Modified:              2009-11-09 11:08 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
====================================================================== 

---------------------------------------------------------------------- 
 (0113436) svnbot (reporter) - 2009-11-09 11:08
 https://issues.asterisk.org/view.php?id=16045#c113436 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 228693

_U  trunk/
U   trunk/main/channel.c

------------------------------------------------------------------------
r228693 | dvossel | 2009-11-06 16:35:44 -0600 (Fri, 06 Nov 2009) | 22
lines

Merged revisions 228692 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r228692 | dvossel | 2009-11-06 16:33:27 -0600 (Fri, 06 Nov 2009) | 9
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=228693 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-09 11:08 svnbot         Checkin                                      
2009-11-09 11:08 svnbot         Note Added: 0113436                          
======================================================================




More information about the asterisk-bugs mailing list