[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 17 11:38:24 CST 2008


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13805 
====================================================================== 
Reported By:                parisioa
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   13805
Category:                   Applications/app_chanspy
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
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:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-10-29 15:22 CDT
Last Modified:              2008-12-17 11:38 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.


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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-17 11:38 file           Status                   feedback => resolved
2008-12-17 11:38 file           Resolution               open => no change
required
2008-12-17 11:38 file           Assigned To               => file            
2008-12-17 11:38 file           Status                   resolved => closed  
======================================================================




More information about the asterisk-bugs mailing list