[Asterisk-Users] Crashed Asterisk

Clif Jones ctjones at earthlink.net
Tue Nov 25 13:17:34 MST 2003


I have finally crashed Asterisk for the first time and I'm wondering if 
anyone has seen this.
This is a configuration with SIP endpoints and an IAX2 channel to 
another Asterisk PBX.
The main PBX dropped a core file after a SEGV (signal 11 ) with the 
following trace:

#0  0x42079133 in strchr () from /lib/tls/libc.so.6
#1  0x41bb0f9c in _fini () from /usr/lib/asterisk/modules/chan_sip.so
#2  0x41ba1659 in handle_request (p=0x815eea0, req=0x43131e5c, 
sin=0x43131e4c) at chan_sip.c:4953
#3  0x41b9d304 in sipsock_read (id=0x80e8da8, fd=9, events=1, 
ignore=0x0) at chan_sip.c:5281
#4  0x08051420 in ast_io_wait (ioc=0x80e54d8, howlong=0) at io.c:268
#5  0x41b998d4 in do_monitor (data=0x0) at chan_sip.c:5383
#6  0x4003b2b6 in start_thread () from /lib/tls/libpthread.so.0

Here is a partial dump of sip.c starting with the comment line 4952.  
The call in stack frame #1
is the call to get_destination()

                        /* Get destination right away */
                        gotdest = get_destination(p, NULL);
                        get_rdnis(p, NULL);
                        extract_uri(p, req);
                        build_contact(p);

The version of chan_sip.c is v 1.198

I'm going to refresh to the latest version of Asterisk but I don't know 
if this problem has been addressed.
Any help would be appreciated.





More information about the asterisk-users mailing list