[Asterisk-Dev] Re: SigSeg in channel.c / chan_mISDN problem ?
Andreas Czerniak
cognac at amcs.net
Wed May 18 11:41:24 MST 2005
Brian, here the back trace ...
#0 0x0805dac6 in ast_queue_frame (chan=0x436004f0, fin=0x41203750) at
channel.c:384
384 cur = chan->pvt->readq;
(gdb) bt
#0 0x0805dac6 in ast_queue_frame (chan=0x436004f0, fin=0x41203750) at
channel.c:384
#1 0x40d920ef in chan_misdn_write_frm (tmp=0x43600480, buf=0x8146e5c '~'
<repeats 128 times>, len=128) at chan_misdn.c:1987
#2 0x40d9414f in cb_te_events (mgr=0x8104330, event=EVENT_BCHAN_DATA,
bc=0x8104fd0, user_data=0x0) at chan_misdn.c:2861
#3 0x40d8ac2c in handle_bchan (mgr=0x8104330, msg=0x8146e18) at
te_lib.c:1673
#4 0x40d8be20 in manager_isdn_mgmt_handler (mgr=0x8104330, frm=0x8146e4c,
msg=0x8146e18) at te_lib.c:2236
#5 0x40d8b605 in manager_te_isdn_event_catcher (arg=0x8104330) at
te_lib.c:1984
#6 0x4002b9dd in start_thread () from /lib/tls/libpthread.so.0
#7 0x40197ffa in clone () from /lib/tls/libc.so.6
I clean up the system an re-compile asterisk and chan_* drivers.
Thanks !
-Andreas.
--On Mittwoch, 18. Mai 2005 11:14 -0500 Brian West <brian.west at mac.com>
wrote:
> What does the backtrace of the core file say?
>
> /b
>
> On May 18, 2005, at 10:05 AM, Andreas Czerniak wrote:
>
>> Hmm, i can re-produce this problem in a way:
>>
>> - external call to voip
>> - voip terminate this call
>>
>> After this, asterisk produce an sigseg like:
>>
>> I SEND:DISCONNECT port:1 pid:0 mode:TE addr:51400101
>> --> l3id:20011 cause:16 dad:72 oad:xyxyxyxyxyxyxyxyxy channel:1 port:1
>> Ouch ... error while writing audio data: : Broken pipe
>> Segmentation fault (core dumped)
>>
>> Can be this a problem with the chan_mISDN driver ?
>>
>> Thx,
>> Andreas.
>>
>> --On Mittwoch, 18. Mai 2005 15:10 +0200 Andreas Czerniak
>> <cognac at amcs.net> wrote:
>>
>>
>>> Dear !
>>>
>>> After an update from 1.0.3 -> 1.0.7 Asterisk, I have an Segmentation
>>> fault at regular intervals in the channel.c file. Every SigSeg
>>> produce an
>>> core dump file. After loading this in gdb, asterisk interrupt
>>> every time
>>> in the same line:
>>>
>>> # 0 0x0805dac6 in ast_queue_frame (chan=0x81bcb48,
>>> fin=0x41203750) at
>>> # channel.c:384
>>> 384 cur = chan->pvt->readq;
>>>
>>>
>>> Our configuration: Asterisk 1.0.7, on a linux 2.6.11.9 with mISDN and
>>> CAPI devices.
>>>
>>> Have anyone an hint for more debugging output or a solution for this
>>> problem ?
>>>
>>> Thx in advanced,
>>>
>>> Andreas.
>>>
>>
>> _______________________________________________
>> Asterisk-Dev mailing list
>> Asterisk-Dev at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>
More information about the asterisk-dev
mailing list