Summary:ASTERISK-06974: Crash in channel.c:queue_frame_to_spies()
Reporter:Erik Hensema (hensema)Labels:
Date Opened:2006-05-15 03:40:58Date Closed:2006-05-15 09:25:33
Versions:Frequency of

asterisk server with AVM Fritz! ISDN card, chan_capi
another asterisk server connected to the first using IAX2
SIP phone connected to that server

When answering a call from isdn, the first server crashes with a segfault as soon as the call is answered on the SIP phone.


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1087269808 (LWP 2872)]
queue_frame_to_spies (chan=0x81458c0, f=0x81abb20, dir=SPY_WRITE) at channel.c:1143
1143            AST_LIST_TRAVERSE(&chan->spies->list, spy, list) {
(gdb) bt
#0  queue_frame_to_spies (chan=0x81458c0, f=0x81abb20, dir=SPY_WRITE) at channel.c:1143
#1  0x08065cbc in ast_write (chan=0x81458c0, fr=0x81a3984) at channel.c:2256
#2  0x0806888f in ast_channel_bridge (c0=0x81458c0, c1=0x81461a0, config=0x40cdfe80, fo=0x40cdf398,
   rc=0x40cdf39c) at channel.c:3306
#3  0x403c6579 in ast_bridge_call (chan=0x81458c0, peer=0x81461a0, config=0x40cdfe80)
   at res_features.c:1319
#4  0x40bd5dc8 in dial_exec_full (chan=0x81458c0, data=Variable "data" is not available.
) at app_dial.c:1577
ASTERISK-1  0x40bd8b6a in dial_exec (chan=0x81458c0, data=0x81abb20) at app_dial.c:1619
ASTERISK-2  0x08093b54 in pbx_extension_helper (c=0x81458c0, con=Variable "con" is not available.
) at pbx.c:553
ASTERISK-3  0x080952a5 in __ast_pbx_run (c=0x81458c0) at pbx.c:2227
ASTERISK-4  0x08096e2c in pbx_thread (data=0x81458c0) at pbx.c:2514
ASTERISK-5  0x400297f3 in start_thread () from /lib/tls/libpthread.so.0
ASTERISK-6 0x4019962a in clone () from /lib/tls/libc.so.6
Comments:By: Erik Hensema (hensema) 2006-05-15 04:11:09

I was using an old version on chan_capi. Please mark this report as invalid.

By: Serge Vecher (serge-v) 2006-05-15 09:25:05

for the future, please note that chan_capi is not a channel maintainted within an Asterisk tree. As such, please always contact the maintainer of chan_capi first. Or use chan_misdn, which is an official ISDN channel for Asterisk. Thanks.