[Asterisk-Dev] Capi segfault + strange message

Brancaleoni Matteo mbrancaleoni at espia.it
Fri Jun 20 17:28:45 MST 2003


I got a segfault today with chan capi 0.2.1b.
Asterisk was running with -vvvgc args :

#0  0x42080f40 in strncpy () from /lib/i686/libc.so.6
(gdb) bt
#0  0x42080f40 in strncpy () from /lib/i686/libc.so.6
#1  0x08058664 in ast_change_name (chan=0x0,
    newname=0x418d120c "CAPI[contr4/19215841]") at channel.c:1778
#2  0x410b10f6 in pipe_msg (PLCI=260, CMSG=0x84116e0) at
#3  0x410b263c in capi_handle_msg (CMSG=0x84116e0) at chan_capi.c:1915
#4  0x410b26e5 in do_monitor (data=0x0) at chan_capi.c:1942
#5  0x4002afaf in pthread_start_thread () from /lib/i686/libpthread.so.0

Never been able to reproduce, happened only once (till now).

Also sometimes I see that message in the log:

Jun 20 17:18:56 WARNING[97298]: File channel.c, Line 1938
(ast_do_masquerade): Driver 'CAPI' does not have a fixup routine (for
CAPI[contr4/19215841])!  Bad things may happen.

What means?


More information about the asterisk-dev mailing list