[Home]

Summary:ASTERISK-12985: Adding a channel to a SPYGROUP when there is already a listener causes segfault
Reporter:Andrew Parisio (parisioa)Labels:
Date Opened:2008-10-29 15:22:05Date Closed:2011-06-07 14:01:02
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_chanspy
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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.

Comments:By: Sean Bright (seanbright) 2008-11-18 19:56:06.000-0600

Would you be able to recompile with DONT_OPTIMIZE enabled and get us a backtrace?  This will help track down the issue.  You can find the necessary information in doc/backtrace.txt.

By: Joshua C. Colp (jcolp) 2008-12-10 11:06:19.000-0600

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.

By: Joshua C. Colp (jcolp) 2008-12-17 11:38:23.000-0600

After examining this further I am confident this has been fixed by revision 139213 and thus why I could not reproduce it.