Summary: | ASTERISK-02723: getting a (matching?) query while dundi debug is on crashes asterisk | ||
Reporter: | florian (florian) | Labels: | |
Date Opened: | 2004-11-01 14:20:36.000-0600 | Date Closed: | 2004-11-02 21:02:11.000-0600 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | dundi debug shows a lot of packet exchanges. This goes fine until a (I think) lookup for one of my own numbers is done, then the asterisk process dies. Machine is: Asterisk CVS-HEAD-10/26/04-19:15:21 built by root@continental on a i686 running Linux ****** ADDITIONAL INFORMATION ****** Last lines of console output: Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: NULL (Command) Flags: 00 STrans: 32598 DTrans: 00000 [80.190.248.152:4520] (Final) Tx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: ACK (Response) Flags: 00 STrans: 20156 DTrans: 32598 [80.190.248.152:4520] (Final) Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: NULL (Command) Flags: 00 STrans: 02947 DTrans: 00000 [64.215.96.114:4520] (Final) Tx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: ACK (Response) Flags: 00 STrans: 23030 DTrans: 02947 [64.215.96.114:4520] (Final) Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: ENCRYPT (Command) Flags: 00 STrans: 03908 DTrans: 00000 [62.212.80.52:4520] ENTITY IDENT : 00:e0:81:52:aa:ea KEYCRC32 : 1143237705 ENCDATA : [IV 0465540e6673a42b21a2d97d1f3bda25] 4 encrypted blocks Erx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: DPDISCOVER (Command) Flags: 00 STrans: 03908 DTrans: 00000 [62.212.80.52:4520] VERSION : 1 DIRECT EID : 00:e0:81:52:aa:ea CALLED NUMBER : 31534280105 CALLED CONTEXT : e164 TTL : 32 CBYPASS : Bypass Caches /usr/local/sbin/astrun: line 3: 25331 Segmentation fault /usr/sbin/asterisk -vvgc Backtrace of the core file: (gdb) bt #0 0x40020e90 in pthread_mutex_lock () from /lib/libpthread.so.0 #1 0x40139a8b in free () from /lib/libc.so.6 #2 0x080a847a in el_end (el=0x80ed0c8) at el.c:125 #3 0x08095fe3 in quit_handler (num=15, nice=0, safeshutdown=1, restart=0) at asterisk.c:587 #4 0x0809972d in __quit_handler (num=15) at asterisk.c:642 ASTERISK-1 0x40022f54 in pthread_sighandler () from /lib/libpthread.so.0 ASTERISK-2 0x400f46b8 in sigaction () from /lib/libc.so.6 ASTERISK-3 0x08095680 in listener (unused=0x0) at asterisk.c:333 ASTERISK-4 0x400200ba in pthread_start_thread () from /lib/libpthread.so.0 (gdb) bt full #0 0x40020e90 in pthread_mutex_lock () from /lib/libpthread.so.0 No symbol table info available. #1 0x40139a8b in free () from /lib/libc.so.6 No symbol table info available. #2 0x080a847a in el_end (el=0x80ed0c8) at el.c:125 el = (EditLine *) 0x80ed0c8 #3 0x08095fe3 in quit_handler (num=15, nice=0, safeshutdown=1, restart=0) at asterisk.c:587 nice = 0 safeshutdown = -1082132936 restart = 0 filename = '\0' <repeats 79 times> s = 1099339726 e = 1099339726 x = -1082132936 #4 0x0809972d in __quit_handler (num=15) at asterisk.c:642 num = -34041329 ASTERISK-1 0x40022f54 in pthread_sighandler () from /lib/libpthread.so.0 No symbol table info available. ASTERISK-2 0x400f46b8 in sigaction () from /lib/libc.so.6 No symbol table info available. ASTERISK-3 0x08095680 in listener (unused=0x0) at asterisk.c:333 sun = {sun_family = 1, sun_path = '\0' <repeats 34 times>, "ì9\002@H.\036@", '\0' <repeats 20 times>, "$û\177¿H.\036@àÚ\002@\0\0\0\0\0ü\177¿", '\0' <repeats 16 times>, "\210ü\177¿\0\0\0\0@p"} s = 0 len = 2 x = 0 flags = -34041329 fds = {{fd = 5, events = 1, revents = 32}} attr = {__detachstate = 1, __schedpolicy = 0, __schedparam = {__sched_priority = 0}, __inheritsched = 1, __scope = 0, __guardsize = 4096, __stackaddr_set = 0, __stackaddr = 0x0, __stacksize = 2093056} ASTERISK-4 0x400200ba in pthread_start_thread () from /lib/libpthread.so.0 No symbol table info available. | ||
Comments: | By: Mark Spencer (markster) 2004-11-01 15:34:43.000-0600 I'll need to login and look, please have valgrind installed already. By: Mark Spencer (markster) 2004-11-01 15:45:33.000-0600 Also be sure you do a "make clean ; make install" first, as I cannot duplicate this problem. By: florian (florian) 2004-11-02 01:24:43.000-0600 I tried a make clean install this morning and then activated dundi debug again. Asterisk died within the minute. You have the same accountinfo on this machine (dundi.speakup.nl) as on the first box used for dundi. Try me on irc. By: Brian West (bkw918) 2004-11-02 12:42:09.000-0600 I cant dupe this. bkw By: Mark Spencer (markster) 2004-11-02 17:29:36.000-0600 Fixed in CVS head. By: Russell Bryant (russell) 2004-11-02 21:02:11.000-0600 head only |