[asterisk-bugs] [Asterisk 0012969]: chanspy - crashes Asterisk - still

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Aug 21 14:27:52 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12969 
====================================================================== 
Reported By:                kowalma
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   12969
Category:                   Applications/app_chanspy
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.20.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-07-01 09:28 CDT
Last Modified:              2008-08-21 14:27 CDT
====================================================================== 
Summary:                    chanspy - crashes Asterisk - still
Description: 
Problem is same as in issue 11782. Chanspy crashes asterisk. I'll recompile
asterisk to fit settings decribed in docs/valgrind.txt
====================================================================== 

---------------------------------------------------------------------- 
 (0091635) putnopvut (administrator) - 2008-08-21 14:27
 http://bugs.digium.com/view.php?id=12969#c91635 
---------------------------------------------------------------------- 
kowalma: When Asterisk was crashing before, was it happening while someone
was using ChanSpy but not actually spying on anyone? Russell and I solved a
stack overflow in the code yesterday that would show itself when attempting
to spy using the 'g' option to ChanSpy. If there were no channels in the
spygroup specified, then the spyer would continuously loop. With each loop,
a small bit of stack space would be allocated using an ast_strdupa call
until eventually there was an overflow.

I noticed that you were using the 'g' option for ChanSpy and it made me
think that this might be the same issue. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-21 14:27 putnopvut      Note Added: 0091635                          
======================================================================




More information about the asterisk-bugs mailing list