Summary:ASTERISK-05189: ChanSpy crash
Reporter:wunderkin (wunderkin)Labels:
Date Opened:2005-09-29 12:46:01Date Closed:2008-01-15 15:50:51.000-0600
Versions:Frequency of
Environment:Attachments:( 0) chanspy.diff
( 1) gdb-core-15608-chanspy.txt
( 2) gdb-core-23443
Description:Intermittant crash caused by ChanSpy - apparantly upon finishing the spying of the channel.

This is the only crash I have so far.  I will update to the latest HEAD (which didn't seem to have any relevant fixes).
Comments:By: Clod Patry (junky) 2005-09-29 12:49:19

which version of app_chanspy.c

By: wunderkin (wunderkin) 2005-09-29 12:55:15

ASTERISK_FILE_VERSION(__FILE__, "$Revision: 1.23 $")

By: wunderkin (wunderkin) 2005-09-30 11:27:29

anthm asked me to try using ChanSpy 1.19 to see if I still had the audio problems while monitoring channels.  I haven't been able to test that long yet, but I did get a core for that too.  I'm posting the ChanSpy v1.19 core as file gdb-core-15608-chanspy.txt

By: Russell Bryant (russell) 2005-09-30 17:26:06

wunderkin, please try the patch that anthm posted here and post the results to this bug.  Thanks!

By: wunderkin (wunderkin) 2005-09-30 18:52:12

My initial testing was fine.  I will keep testing it over the weekend and report back.

By: Mark Spencer (markster) 2005-10-04 13:26:31

How did that testing go?

By: wunderkin (wunderkin) 2005-10-04 18:10:27

Fine so far, its probably ok.  I haven't been able to test it as much as I wanted to but it has been tested much longer than it took to generate the problem before :D

I can probably work on this and ASTERISK-5212 more tonight.  There's always been the audio issues but that's another problem I guess.

By: wunderkin (wunderkin) 2005-10-05 01:48:18

It doesn't crash anymore.  The audio problems seem much worse now.  I updated to the latest cvs head and applied anthm's patch.  I guess I will try to file a separate bug on that but it seems like it would be pretty difficult to figure out.

By: Mark Spencer (markster) 2005-10-13 18:16:04

Should be fixed in CVS head.

By: Digium Subversion (svnbot) 2008-01-15 15:50:51.000-0600

Repository: asterisk
Revision: 6768

U   trunk/apps/app_chanspy.c
U   trunk/channel.c

r6768 | markster | 2008-01-15 15:50:51 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix crash in chanspy (bug ASTERISK-5189)