Core was generated by `/usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c'. Program terminated with signal 11, Segmentation fault. #0 0xb7fbf307 in pthread_join () from /lib/libpthread.so.0 (gdb) bt #0 0xb7fbf307 in pthread_join () from /lib/libpthread.so.0 #1 0xb79b4e72 in ?? () from /usr/lib/asterisk/modules/res_smdi.so #2 0x080bac6d in ast_module_shutdown () at loader.c:449 #3 0x0806d0ed in quit_handler (num=0, nice=1, safeshutdown=1, restart=0) at asterisk.c:1267 #4 0x0806da27 in handle_shutdown_gracefully (fd=15, argc=2, argv=0xb671bd80) at asterisk.c:1513 #5 0x08096f4d in ast_cli_command (fd=15, s=0xb671be9c "stop gracefully") at cli.c:1992 #6 0x0809716d in ast_cli_command_multiple (fd=15, size=16, s=0xb671c0ec "stop gracefully") at cli.c:2031 #7 0x0806c082 in netconsole (vconsole=0x8183ce0) at asterisk.c:940 #8 0x0811497a in dummy_start (data=0x8243de0) at utils.c:861 #9 0xb7fbe1b3 in start_thread () from /lib/libpthread.so.0 #10 0xb7f0803e in clone () from /lib/libc.so.6 (gdb) bt full #0 0xb7fbf307 in pthread_join () from /lib/libpthread.so.0 No symbol table info available. #1 0xb79b4e72 in ?? () from /usr/lib/asterisk/modules/res_smdi.so No symbol table info available. #2 0x080bac6d in ast_module_shutdown () at loader.c:449 mod = (struct ast_module *) 0x81ab8d8 local_module_list = {first = 0x81ab3e8, last = 0x81a6840} __PRETTY_FUNCTION__ = "ast_module_shutdown" #3 0x0806d0ed in quit_handler (num=0, nice=1, safeshutdown=1, restart=0) at asterisk.c:1267 filename = '\0' s = 1 e = 135577444 x = 9 __PRETTY_FUNCTION__ = "quit_handler" #4 0x0806da27 in handle_shutdown_gracefully (fd=15, argc=2, argv=0xb671bd80) at asterisk.c:1513 No locals. #5 0x08096f4d in ast_cli_command (fd=15, s=0xb671be9c "stop gracefully") at cli.c:1992 argv = {0x8243430 "stop", 0x8243435 "gracefully", 0x0 } e = (struct ast_cli_entry *) 0x816fc18 x = 2 dup = 0x8243430 "stop" tws = 0 __PRETTY_FUNCTION__ = "ast_cli_command" #6 0x0809716d in ast_cli_command_multiple (fd=15, size=16, s=0xb671c0ec "stop gracefully") at cli.c:2031 cmd = "stop gracefully", '\0' , "23332", '\0' , "\004\000\000\000?\000\000\000¨Àq¶~\rð·ìÂq¶W¿q¶\004\000\000\000W¿q¶\000\000Linux", '\0' , "D¾é·\000\000\000\000\000\000\000\000ô_÷·\234¿q¶\000\000\000\000\000\000\000\000\234¿q¶ìÀq¶ëÂq¶\000\000\000\000¼Àq¶ô_÷·\234¿q¶ìÀq¶\210Àq¶\221mé·\234¿q¶ÇJ\024\bÄÀq¶ìÀq¶\000\000\000\000<Àq¶ÿ\001\000\000\001\200­ûìÀq¶ìÀq¶ìÀq"... x = 15 y = 16 count = 0 #7 0x0806c082 in netconsole (vconsole=0x8183ce0) at asterisk.c:940 con = (struct console *) 0x8183ce0 hostname = "pbx", '\0' tmp = "stop gracefully\000\000nch-1.4-r104334\n\000\000\000\233Üé·ô_÷· q÷·\231§\001\000ØÁq¶Ç\002ê·", '\0' , "Ðq÷·ÃÁq¶Xu÷·Xq÷·Pq÷·\000\000\000\000@\b\000\000\000\000\000\0000\b\000\000\000\000\000\000Pq÷·\210\000\000\000\004\000\000\000\004", '\0' , "X", '\0' , "ô_÷· q÷·\231§\001\000\bÂq¶\035\030ê· q÷·(\b\000\000\000\000\000\000pH$\b\231§\001\000hH$\b(\b\000\000ôÏü·uE\024\b"... res = 16 fds = {{fd = 15, events = 1, revents = 1}, {fd = 16, events = 1, revents = 0}} __PRETTY_FUNCTION__ = "netconsole" #8 0x0811497a in dummy_start (data=0x8243de0) at utils.c:861 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1208168460, 0, 4001536, -1234058312, 1232847680, -149206920}, __mask_was_saved = 0}}, __pad = {0xb671c480, 0x0, 0x0, 0x0}} ---Type to continue, or q to quit--- __cancel_routine = (void (*)(void *)) 0x806a2d9 __cancel_arg = (void *) 0xb671cb90 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0x806bec8 , data = 0x8183ce0, name = 0x8243df0 "netconsole", ' ' , "started at [ 1005] asterisk.c listener()"} lock_info = (struct thr_lock_info *) 0x8244870 mutex_attr = {__size = "\001\000\000", __align = 1} #9 0xb7fbe1b3 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #10 0xb7f0803e in clone () from /lib/libc.so.6 No symbol table info available. (gdb) thread apply all bt Thread 11 (process 23332): #0 0xb7fc4cd1 in ?? () from /lib/libpthread.so.0 #1 0x0811d185 in read_char (el=0x819bff8, cp=0xbfde2ece "\006") at read.c:296 #2 0x0811d282 in el_getc (el=0x819bff8, cp=0xbfde2ece "\006") at read.c:347 #3 0x0811d032 in read_getcmd (el=0x819bff8, cmdnum=0xbfde2ecf "", ch=0xbfde2ece "\006") at read.c:243 #4 0x0811d4b9 in el_gets (el=0x819bff8, nread=0xbfde3240) at read.c:443 #5 0x080725d2 in main (argc=8, argv=0xbfde34b4) at asterisk.c:3008 #6 0xb7e4ddf8 in __libc_start_main () from /lib/libc.so.6 #7 0x08057eb1 in ?? () Thread 10 (process 23337): #0 0xb7efe529 in poll () from /lib/libc.so.6 #1 0x0806c1eb in listener (unused=0x0) at asterisk.c:979 #2 0x0811497a in dummy_start (data=0x819f530) at utils.c:861 #3 0xb7fbe1b3 in start_thread () from /lib/libpthread.so.0 #4 0xb7f0803e in clone () from /lib/libc.so.6 Thread 9 (process 23338): #0 0xb7efe529 in poll () from /lib/libc.so.6 #1 0x080c748f in accept_thread (ignore=0x0) at manager.c:2352 #2 0x0811497a in dummy_start (data=0x81a1428) at utils.c:861 #3 0xb7fbe1b3 in start_thread () from /lib/libpthread.so.0 #4 0xb7f0803e in clone () from /lib/libc.so.6 Thread 8 (process 23339): #0 0xb7fc2622 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x08080d06 in __ast_cond_timedwait (filename=0x814820c "cdr.c", lineno=1231, func=0x81489f8 "do_cdr", cond_name=0x81489a7 "&cdr_pending_cond", mutex_name=0x8148995 "&cdr_pending_lock", cond=0x817c1c0, t=0x8170540, abstime=0xb7d7f320) at /usr/src/asterisk-1.4.19/include/asterisk/lock.h:627 #2 0x0808097d in do_cdr (data=0x0) at cdr.c:1231 #3 0x0811497a in dummy_start (data=0x81a1d00) at utils.c:861 #4 0xb7fbe1b3 in start_thread () from /lib/libpthread.so.0 #5 0xb7f0803e in clone () from /lib/libc.so.6 Thread 7 (process 23340): #0 0xb7fc23b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x0809ebdd in __ast_cond_wait (filename=0x814e6d3 "devicestate.c", lineno=375, func=0x814eb0c "do_devstate_changes", cond_name=0x814eafc "&change_pending", mutex_name=0x814eb20 "&state_changes.lock", cond=0x817c320, t=0x81735e8) at /usr/src/asterisk-1.4.19/include/asterisk/lock.h:556 #2 0x0809e8d8 in do_devstate_changes (data=0x0) at devicestate.c:375 #3 0x0811497a in dummy_start (data=0x81a1868) at utils.c:861 #4 0xb7fbe1b3 in start_thread () from /lib/libpthread.so.0 ---Type to continue, or q to quit--- #5 0xb7f0803e in clone () from /lib/libc.so.6 Thread 6 (process 23341): #0 0xb7f00ef7 in ?? () from /lib/libc.so.6 #1 0xb7cf78ad in ast_select (nfds=0, rfds=0xb7ced244, wfds=0x0, efds=0xb7ced1c4, tvp=0x0) at /usr/src/asterisk-1.4.19/include/asterisk/channel.h:1305 #2 0xb7cf786a in do_parking_thread (ignore=0x0) at res_features.c:1808 #3 0x0811497a in dummy_start (data=0x81a7250) at utils.c:861 #4 0xb7fbe1b3 in start_thread () from /lib/libpthread.so.0 #5 0xb7f0803e in clone () from /lib/libc.so.6 Thread 5 (process 23343): #0 0xb7f00ef7 in ?? () from /lib/libc.so.6 #1 0xb787179c in ast_select (nfds=0, rfds=0xb786c28c, wfds=0x0, efds=0xb786c20c, tvp=0x0) at /usr/src/asterisk-1.4.19/include/asterisk/channel.h:1305 #2 0xb787156e in do_monitor (data=0x0) at chan_phone.c:1058 #3 0x0811497a in dummy_start (data=0x81c97d8) at utils.c:861 #4 0xb7fbe1b3 in start_thread () from /lib/libpthread.so.0 #5 0xb7f0803e in clone () from /lib/libc.so.6 Thread 4 (process 23363): #0 0xb7ec883c in ?? () from /lib/libc.so.6 #1 0xb7ec866e in sleep () from /lib/libc.so.6 #2 0xb67f3a44 in scan_thread (unused=0x0) at pbx_spool.c:437 #3 0x0811497a in dummy_start (data=0x823e468) at utils.c:861 #4 0xb7fbe1b3 in start_thread () from /lib/libpthread.so.0 #5 0xb7f0803e in clone () from /lib/libc.so.6 Thread 3 (process 23364): #0 0xb7efe529 in poll () from /lib/libc.so.6 #1 0x08070b1d in monitor_sig_flags (unused=0x0) at asterisk.c:2524 #2 0x0811497a in dummy_start (data=0x8240740) at utils.c:861 #3 0xb7fbe1b3 in start_thread () from /lib/libpthread.so.0 #4 0xb7f0803e in clone () from /lib/libc.so.6 Thread 2 (process 23380): #0 0xb7efe529 in poll () from /lib/libc.so.6 #1 0x080c6cd9 in get_input (s=0x8242e48, output=0xb6757cd4 "") at manager.c:2208 #2 0x080c6f33 in do_message (s=0x8242e48) at manager.c:2245 #3 0x080c70f3 in session_do (data=0x8242e48) at manager.c:2270 #4 0x0811497a in dummy_start (data=0x82433d8) at utils.c:861 #5 0xb7fbe1b3 in start_thread () from /lib/libpthread.so.0 #6 0xb7f0803e in clone () from /lib/libc.so.6 ---Type to continue, or q to quit--- Thread 1 (process 23390): #0 0xb7fbf307 in pthread_join () from /lib/libpthread.so.0 #1 0xb79b4e72 in ?? () from /usr/lib/asterisk/modules/res_smdi.so #2 0x080bac6d in ast_module_shutdown () at loader.c:449 #3 0x0806d0ed in quit_handler (num=0, nice=1, safeshutdown=1, restart=0) at asterisk.c:1267 #4 0x0806da27 in handle_shutdown_gracefully (fd=15, argc=2, argv=0xb671bd80) at asterisk.c:1513 #5 0x08096f4d in ast_cli_command (fd=15, s=0xb671be9c "stop gracefully") at cli.c:1992 #6 0x0809716d in ast_cli_command_multiple (fd=15, size=16, s=0xb671c0ec "stop gracefully") at cli.c:2031 #7 0x0806c082 in netconsole (vconsole=0x8183ce0) at asterisk.c:940 #8 0x0811497a in dummy_start (data=0x8243de0) at utils.c:861 #9 0xb7fbe1b3 in start_thread () from /lib/libpthread.so.0 #10 0xb7f0803e in clone () from /lib/libc.so.6 (gdb)