Summary:ASTERISK-14430: Asterisk crashes with ChanSpy between a SIP and Agent channel
Reporter:Daniel Harper (dharper)Labels:
Date Opened:2009-07-07 21:42:58Date Closed:2011-06-07 14:00:58
Versions:Frequency of
Environment:Attachments:( 0) gdb.txt
Description:Asterisk core dumped. The last log entry before safe_asterisk restarted asterisk was ...

[Jul  7 19:50:15] NOTICE[10070] app_chanspy.c: Attaching SIP/123-0f9f53a0 to Agent/2529

This is on a busy production system (audo-dialer) running 64bit CentOS 5.3, asterisk 1.25.1, dahdi 2.2.0-rc5 and libpri-1.4.10.

System has a TE420 and 2x32port FXS astribanks ...

usb:001/008          xpp_usb+     e4e4:1162 Astribank-modular FPGA-firmware
LABEL=[usb:X1036312]       CONNECTOR=@usb-0000:00:1d.7-5.1
XBUS-00/XPD-00: FXS      (14)  Span 5
XBUS-00/XPD-10: FXS      (8)   Span 6
XBUS-00/XPD-20: FXS      (8)   Span 7
XBUS-00/XPD-30: FXS      (8)   Span 8
usb:001/009          xpp_usb+     e4e4:1162 Astribank-modular FPGA-firmware
LABEL=[usb:X1036312]       CONNECTOR=@usb-0000:00:1d.7-5.2
XBUS-01/XPD-00: FXS      (14)  Span 9
XBUS-01/XPD-10: FXS      (8)   Span 10
XBUS-01/XPD-20: FXS      (8)   Span 11
XBUS-01/XPD-30: FXS      (8)   Span 12
pci:0000:08:08.0     wct4xxp+     d161:0420 Wildcard TE420 (4th Gen)

DONT_OPTIMIZE is not set, but I hope the backtrace is "nearly" usable.

Comments:By: David Woolley (davidw) 2009-07-08 05:33:48

You have a memory corruption problem, so you need to read valgrind.txt.

By: Leif Madsen (lmadsen) 2009-08-20 15:26:20

You will need to enable DONT_OPTIMIZE for the backtrace to be useful. Thanks!

By: Leif Madsen (lmadsen) 2009-08-20 15:27:14

Additionally, davidw is most likely right you'll need to reproduce this issue in valgrind. As there hasn't been any response for quite some time, I'm going to close this issue as suspended until you can provide the requested information. Thanks!