Summary:ASTERISK-10093: Something in chanspy is crashing Asterisk
Reporter:Marcus Spurkel (mspurkel)Labels:
Date Opened:2007-08-15 23:19:06Date Closed:2011-06-07 14:00:25
Versions:Frequency of
Description:Got this error for what appears to be the first time today.  We've had random "all calls drop" issues in the past but this is one of the few times I got an actual core dump (see below).  We're running on a 64-bit Fedora Core 6 server with kernel 2.6.20.  The phones are Polycom SIP phones.


Program terminated with signal 11, Segmentation fault.
#0  ast_channel_spy_remove (chan=0x9e7970, spy=0x407781c0) at channel.c:1488
1488            AST_LIST_REMOVE(&chan->spies->list, spy, list);
(gdb) bt
#0  ast_channel_spy_remove (chan=0x9e7970, spy=0x407781c0) at channel.c:1488
#1  0x00002aaabc8fe514 in channel_spy (chan=0x2aaab40eb7e0, spyee=<value optimized out>, volfactor=0x4077833c, fd=0,
   flags=0x407788f0) from /usr/lib/asterisk/modules/app_chanspy.so
#2  0x00002aaabc8fea2e in common_exec (chan=0x2aaab40eb7e0, flags=0x407788f0, volfactor=0, fd=0, mygroup=0x0,
   spec=0x40778670 "SIP/3020", exten=0x0, context=0x0) from /usr/lib/asterisk/modules/app_chanspy.so
#3  0x00002aaabc8ff3b8 in chanspy_exec (chan=0x2aaab40eb7e0, data=0x4077ca00) from /usr/lib/asterisk/modules/app_chanspy.so
#4  0x000000000047b5cd in pbx_extension_helper (c=0x2aaab40eb7e0, con=<value optimized out>,
   context=0x2aaab40eba30 "enter_management", exten=0x2aaab40eba80 "3020", priority=1, label=<value optimized out>,
   callerid=0x2aaab40ec410 "3016", action=E_SPAWN) at pbx.c:532
ASTERISK-1  0x000000000047cf0d in __ast_pbx_run (c=0x2aaab40eb7e0) at pbx.c:2288
ASTERISK-2  0x000000000047db19 in pbx_thread (data=0xffffffffffffffff) at pbx.c:2601
ASTERISK-3  0x00000000004a48bc in dummy_start (data=<value optimized out>) at utils.c:545
ASTERISK-4  0x0000003e76a062f7 in start_thread () from /lib64/libpthread.so.0
ASTERISK-5  0x0000003e75ece86d in clone () from /lib64/libc.so.6
ASTERISK-6 0x0000000000000000 in ?? ()
Comments:By: Joshua C. Colp (jcolp) 2007-08-16 10:13:44

Please try Asterisk

By: Fabiano Heringer (fabianoheringer) 2007-08-31 23:54:58

hi, I´m having the same trouble too...
I tried Asterisk and not success, I tried 1.4.11 too, and same problem

By: hevisko (hevisko) 2007-09-19 14:38:49

I've reliably experienced this with G729 on at least 1.4.5 and 1.4.8, but the G711 "worked", thought only the calling "local" sip side could hear the chan-spy, not the called/remoted (IAX trunk to an * to a SIP based breakout to telecom)

By: Joshua C. Colp (jcolp) 2007-10-31 13:42:02

Please give the branch located at http://svn.digium.com/svn/asterisk/team/file/audiohooks-1.4 a try and report back. Thanks!

By: Tilghman Lesher (tilghman) 2007-12-06 18:38:43.000-0600

No response from reporter