[asterisk-bugs] [Asterisk 0013805]: Adding a channel to a SPYGROUP when there is already a listener causes segfault

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Dec 10 11:06:19 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13805 
====================================================================== 
Reported By:                parisioa
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13805
Category:                   Applications/app_chanspy
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.21.2 
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-10-29 15:22 CDT
Last Modified:              2008-12-10 11:06 CST
====================================================================== 
Summary:                    Adding a channel to a SPYGROUP when there is already
a listener causes segfault
Description: 
If i dial into Asterisk and start ChanSpying group 13 with no members in it
everything is okay, UNTIL a channel gets SETVAR SPYGROUP=13, asterisk will
immediately segfault, no error output to console, or logfile.

I'm dialing in and listening over a sip phone, and i'm ChanSpy(|g(13)).  

If i dial into asterisk, start listening to group 13, and there are
members in it, it will continue to work properly as long as when the
current spied call ends there is another call in that group to monitor.  If
not, it will go silent, and the next time a call gets setvar spygroup=13,
asterisk will again segfault.


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

---------------------------------------------------------------------- 
 (0096107) file (administrator) - 2008-12-10 11:06
 http://bugs.digium.com/view.php?id=13805#c96107 
---------------------------------------------------------------------- 
I really need to see a backtrace and console output for this... I've just
spent the last while trying to reproduce it numerous ways and failed. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-10 11:06 file           Note Added: 0096107                          
======================================================================




More information about the asterisk-bugs mailing list