[New LWP 31019] [New LWP 30958] [New LWP 30961] [New LWP 30957] [New LWP 30959] [New LWP 31005] [New LWP 30995] [New LWP 30967] [New LWP 30996] [New LWP 30966] [New LWP 30965] [New LWP 30964] [New LWP 30963] [New LWP 30960] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/tmp/ast_test_7XSYyq/usr/sbin/asterisk -f -g -q -m -n -C /tmp/ast_test_7XSYyq/t'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00000000004fdd33 in ast_hashtab_start_traversal (tab=0x0) at hashtab.c:711 711 it->next = tab->tlist; #0 0x00000000004fdd33 in ast_hashtab_start_traversal (tab=0x0) at hashtab.c:711 it = 0x7f34c0000e60 __PRETTY_FUNCTION__ = "ast_hashtab_start_traversal" #1 0x0000000000554b67 in __ast_context_destroy (list=0x2dd4e10, contexttab=0x2d9d6b0, con=0x0, registrar=0x5ebe06 "features") at pbx.c:10889 end_traversal = 1 prio_iter = 0x0 ipl = 0x0 ipn = 0x0 i = 0x0 sw = 0x0 exten_iter = 0x7f34c0001530 ip = 0x0 pi = 0x0 ni = 0x0 next = 0x0 tmp = 0x2dd4e10 tmpl = 0x0 exten_item = 0x2ddad10 prio_item = 0x7f34a353b700 __PRETTY_FUNCTION__ = "__ast_context_destroy" #2 0x00000000005551a5 in ast_context_destroy (con=0x0, registrar=0x5ebe06 "features") at pbx.c:10968 No locals. #3 0x00000000004ead23 in features_shutdown () at features.c:9072 __PRETTY_FUNCTION__ = "features_shutdown" #4 0x00000000004432c2 in ast_run_atexits (run_cleanups=1) at asterisk.c:980 ae = 0x26d4e60 __PRETTY_FUNCTION__ = "ast_run_atexits" #5 0x000000000044595a in really_quit (num=0, niceness=SHUTDOWN_NICE, restart=0) at asterisk.c:1876 active_channels = 0 run_cleanups = 1 __PRETTY_FUNCTION__ = "really_quit" #6 0x0000000000445385 in quit_handler (num=0, niceness=SHUTDOWN_NICE, restart=0) at asterisk.c:1736 No locals. #7 0x0000000000446589 in handle_stop_gracefully (e=0x84e788 , cmd=-4, a=0x7f34a353a480) at asterisk.c:2237 No locals. #8 0x00000000004a46d9 in ast_cli_command_full (uid=1000, gid=1000, fd=12, s=0x7f34a353a760 "core stop gracefully") at cli.c:2691 args = {0x84e788 "@\214\334\002", 0x7f34c0000920 "core", 0x7f34c0000925 "stop", 0x7f34c000092a "gracefully", 0x0, 0x5d0c70 <__PRETTY_FUNCTION__.27557> "netconsole", 0xb , 0x7f34c00014a0 "", 0x54dba148 , 0x887e2 , 0x2400000038 , 0xb0000000d , 0x7300000001 , 0x2900000003 , 0x0, 0xffffffffffffb9b0 , 0x0, 0x887e2 , 0x3120313120626546 , 0x36353a36333a33 , 0x5cd150 "Remote UNIX connection disconnected\n", 0x7f3525588fe0 <_IO_strn_jumps> "", 0x0, 0x7f34a353b700 "", 0x7f34c0000e78 "%\001", 0x7f352523e109 <_IO_vsnprintf+121> "H\201\303", , 0x7f34fbad8001 , 0x7f34c0000e78 "%\001", 0x7f34c0000e78 "%\001", 0x7f34c0000e78 "%\001", 0x7f34c0000e78 "%\001", 0x7f34c0000e9c "= Unregistered application 'Bridge'\n", 0x7f34a353b700 "", 0x7f34a353a640 "p\246S\243\064\177", 0x0, 0x0, 0x7f34a353b9c0 "\300\371K\243\064\177", 0x594da4 <__ast_str_helper+184> "\211E\340\213E܋U\340\001Ѓ\300\001\211E؋E\330Hc\320H\213E\310H\213", 0x0, 0x7f34a353a6a8 "0", 0x5f92b5 "%c%s", 0x100000034 , 0x0, 0x7f34a353a7d0 "", 0x5bc401b2b0 , 0x9 , 0xffffffff00000008 , 0x3000000028 , 0x7f34a353a780 "\037\256S\243\064\177", 0x7f34a353a6c0 "core stop gracefully", 0x7f34a353a670 "\250\246S\243\064\177", 0x1eca1827a1258000 , 0x7f34a353a6a8 "0", 0x7f34a353b700 "", 0x7f34a353a770 "ully", 0x51210a "\311\303UH\211\345H\203\354\020A\270\233\226_", 0x7f34a353a6a8 "0", 0x5f88ef "%s", 0x0, 0x5d0c70 <__PRETTY_FUNCTION__.27557> "netconsole", 0x5cc3d4 "asterisk.c", 0x50000058d , 0x8c0001460 , 0x3000000030 , 0x7f34a353a780 "\037\256S\243\064\177"} e = 0x84e788 x = 3 duplicate = 0x7f34c0000920 "core" tmp = "core stop gracefully\000\177\000\000\374\377\377\377\000\000\000\000\231\222_\000\000\000\000\000ection dP\321\\\000\000\000\000\000\000\000\000\000\001\000\000\000" retval = 0x0 a = {fd = 12, argc = 3, argv = 0x7f34a353a4b8, line = 0x0, word = 0x0, pos = 0, n = 0} __PRETTY_FUNCTION__ = "ast_cli_command_full" #9 0x00000000004a4880 in ast_cli_command_multiple_full (uid=1000, gid=1000, fd=12, size=21, s=0x7f34a353aa2f "core stop gracefully") at cli.c:2714 cmd = "core stop gracefully\000\177\000\000A\254S\243\064\177\000\000\037\256S\243\064\177\000\000 \254S\243\064\177\000\000\037\256S\243\064\177", '\000' , "\020", '\000' , "\352\327+%5\177\000\000\000\000nux", '\000' , "\377\377\377\377\377\377\377\377", '\000' , "\377\377\377\377", '\000' ... x = 20 y = 21 count = 0 #10 0x000000000044405f in netconsole (vconsole=0x88a2a0 ) at asterisk.c:1378 cmds_read = 32564 bytes_read = 36 con = 0x88a2a0 hostname = "ws1", '\000' inbuf = "cli quit after core stop gracefully", '\000' , "\360\377\377\377\377\377\377\377\001", '\000' ... outbuf = "ws1/30957/SVN-branch-11-r429270M\n", '\000' , "\256S\243\064\177\000\000\b\256S\243\064\177\000\000\020\256S\243\064\177\000\000\030\256S\243\064\177\000\000(\256S\243\064\177\000\000\000\000\000\000\000\000\000\000\060\256S\243\064\177\000\000@\r\026$5\177\000\000\000\000\000\000\000\000\000\000 ", '\000' , "\340\243\f\243\064\177\000\000\000\000\000\000\000\000\000@", '\000' ... end_buf = 0x7f34a353ac20 "ws1/30957/SVN-branch-11-r429270M\n" start_read = 0x7f34a353aa20 "cli quit after core stop gracefully" res = 1 fds = {{fd = 12, events = 1, revents = 1}, {fd = 13, events = 1, revents = 0}} __PRETTY_FUNCTION__ = "netconsole" #11 0x00000000005ad9e4 in dummy_start (data=0x7f35140008f0) at utils.c:1223 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {139864055199488, -3107848810703928120, 0, 0, 139864055200192, 139864055199488, -3107848810729093944, 3078199263945639112}, __mask_was_saved = 0}}, __pad = {0x7f34a353af30, 0x0, 0x7f3525331bf2 <__libc_thread_freeres+34>, 0x0}} __cancel_routine = 0x441723 __cancel_arg = 0x7f34a353b700 __not_first_call = 0 ret = 0x7f34a353ba98 a = {start_routine = 0x443da8 , data = 0x88a2a0 , name = 0x7f3514000c10 "netconsole", ' ' , "started at [ 1486] asterisk.c listener()"} #12 0x00007f352415a182 in start_thread (arg=0x7f34a353b700) at pthread_create.c:312 __res = pd = 0x7f34a353b700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139864055199488, 3078198655891489992, 0, 0, 139864055200192, 139864055199488, -3107848810706025272, -3108119857155717944}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = pagesize_m1 = sp = freesize = __PRETTY_FUNCTION__ = "start_thread" #13 0x00007f35252c600d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 14 (Thread 0x7f3525895700 (LWP 30960)): #0 network_verboser (string=0x7f34c00015d2 "\375 == Manager unregistered action Parkinglots\n") at asterisk.c:1268 #1 0x000000000050fe87 in logger_print_normal (logmsg=0x7f34c0001550) at logger.c:1089 #2 0x000000000051079f in logger_thread (data=0x0) at logger.c:1226 #3 0x00000000005ad9e4 in dummy_start (data=0x2125680) at utils.c:1223 #4 0x00007f352415a182 in start_thread (arg=0x7f3525895700) at pthread_create.c:312 #5 0x00007f35252c600d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 13 (Thread 0x7f35234d4700 (LWP 30963)): #0 0x00007f35252b8cbd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00000000005add69 in ast_wait_for_input (fd=9, ms=-1) at utils.c:1312 #2 0x000000000059987a in ast_tcptls_server_root (data=0x8543a0 ) at tcptls.c:704 #3 0x00000000005ad9e4 in dummy_start (data=0x26b8ad0) at utils.c:1223 #4 0x00007f352415a182 in start_thread (arg=0x7f35234d4700) at pthread_create.c:312 #5 0x00007f35252c600d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 12 (Thread 0x7f3523458700 (LWP 30964)): #0 0x00007f35252b8cbd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00000000005add69 in ast_wait_for_input (fd=10, ms=5000) at utils.c:1312 #2 0x000000000059987a in ast_tcptls_server_root (data=0x856000 ) at tcptls.c:704 #3 0x00000000005ad9e4 in dummy_start (data=0x26cbc40) at utils.c:1223 #4 0x00007f352415a182 in start_thread (arg=0x7f3523458700) at pthread_create.c:312 #5 0x00007f35252c600d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 11 (Thread 0x7f35233dc700 (LWP 30965)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000000000050cf87 in __ast_cond_wait (filename=0x5e8414 "devicestate.c", lineno=549, func=0x5e8b20 <__PRETTY_FUNCTION__.13447> "do_devstate_changes", cond_name=0x5e8707 "&change_pending", mutex_name=0x5e8717 "&state_changes.lock", cond=0x86ed40 , t=0x8520f0 ) at lock.c:565 #2 0x00000000004bc0e0 in do_devstate_changes (data=0x0) at devicestate.c:549 #3 0x00000000005ad9e4 in dummy_start (data=0x26cb710) at utils.c:1223 #4 0x00007f352415a182 in start_thread (arg=0x7f35233dc700) at pthread_create.c:312 #5 0x00007f35252c600d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 10 (Thread 0x7f3523360700 (LWP 30966)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000000000050cf87 in __ast_cond_wait (filename=0x6086b4 "presencestate.c", lineno=299, func=0x6089b0 <__PRETTY_FUNCTION__.13400> "do_presence_changes", cond_name=0x608868 "&change_pending", mutex_name=0x608878 "&state_changes.lock", cond=0x86fd80 , t=0x858810 ) at lock.c:565 #2 0x000000000055b760 in do_presence_changes (data=0x0) at presencestate.c:299 #3 0x00000000005ad9e4 in dummy_start (data=0x26ce0c0) at utils.c:1223 #4 0x00007f352415a182 in start_thread (arg=0x7f3523360700) at pthread_create.c:312 #5 0x00007f35252c600d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 9 (Thread 0x7f34a389f700 (LWP 30996)): #0 0x00007f35252b8cbd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f34d29d843f in do_monitor (data=0x0) at chan_phone.c:1085 #2 0x00000000005ad9e4 in dummy_start (data=0x2dc8220) at utils.c:1223 #3 0x00007f352415a182 in start_thread (arg=0x7f34a389f700) at pthread_create.c:312 #4 0x00007f35252c600d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 8 (Thread 0x7f35232e4700 (LWP 30967)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000000000050cf87 in __ast_cond_wait (filename=0x6113e4 "taskprocessor.c", lineno=313, func=0x611af0 <__PRETTY_FUNCTION__.8096> "tps_processing_function", cond_name=0x6117b9 "&i->poll_cond", mutex_name=0x6117a2 "&i->taskprocessor_lock", cond=0x26cfef0, t=0x26cff28) at lock.c:565 #2 0x0000000000596fd5 in tps_processing_function (data=0x26cfee8) at taskprocessor.c:313 #3 0x00000000005ad9e4 in dummy_start (data=0x26cfff0) at utils.c:1223 #4 0x00007f352415a182 in start_thread (arg=0x7f35232e4700) at pthread_create.c:312 #5 0x00007f35252c600d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 7 (Thread 0x7f34a391b700 (LWP 30995)): #0 0x00007f35252b8cbd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f34e1eb04e8 in scan_thread (unused=0x0) at pbx_spool.c:711 #2 0x00000000005ad9e4 in dummy_start (data=0x2d86ed0) at utils.c:1223 #3 0x00007f352415a182 in start_thread (arg=0x7f34a391b700) at pthread_create.c:312 #4 0x00007f35252c600d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 6 (Thread 0x7f34a34bf700 (LWP 31005)): #0 0x00007f35252b73bd in read () at ../sysdeps/unix/syscall-template.S:81 #1 0x000000000058e6b1 in inotify_daemon (data=0x0) at stdtime/localtime.c:310 #2 0x00000000005ad9e4 in dummy_start (data=0x7f34c4002000) at utils.c:1223 #3 0x00007f352415a182 in start_thread (arg=0x7f34a34bf700) at pthread_create.c:312 #4 0x00007f35252c600d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 5 (Thread 0x7f3525911700 (LWP 30959)): #0 0x00007f35252b8cbd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00000000004443d5 in listener (unused=0x0) at asterisk.c:1444 #2 0x00000000005ad9e4 in dummy_start (data=0x2125680) at utils.c:1223 #3 0x00007f352415a182 in start_thread (arg=0x7f3525911700) at pthread_create.c:312 #4 0x00007f35252c600d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 4 (Thread 0x7f352598e740 (LWP 30957)): #0 0x00007f35252b8cbd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x000000000044a8ee in monitor_sig_flags (unused=0x0) at asterisk.c:3528 #2 0x000000000044d32b in main (argc=8, argv=0x7fffe693eb88) at asterisk.c:4426 Thread 3 (Thread 0x7f35235cc700 (LWP 30961)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000000000050cf87 in __ast_cond_wait (filename=0x5e7294 "db.c", lineno=967, func=0x5e83ba <__PRETTY_FUNCTION__.14148> "db_sync_thread", cond_name=0x5e8228 "&dbcond", mutex_name=0x5e7539 "&dblock", cond=0x86eca0 , t=0x851ac0 ) at lock.c:565 #2 0x00000000004baf0c in db_sync_thread (data=0x0) at db.c:967 #3 0x00000000005ad9e4 in dummy_start (data=0x2679350) at utils.c:1223 #4 0x00007f352415a182 in start_thread (arg=0x7f35235cc700) at pthread_create.c:312 #5 0x00007f35252c600d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7f352598d700 (LWP 30958)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000000000050cf87 in __ast_cond_wait (filename=0x6113e4 "taskprocessor.c", lineno=313, func=0x611af0 <__PRETTY_FUNCTION__.8096> "tps_processing_function", cond_name=0x6117b9 "&i->poll_cond", mutex_name=0x6117a2 "&i->taskprocessor_lock", cond=0x2120e60, t=0x2120e98) at lock.c:565 #2 0x0000000000596fd5 in tps_processing_function (data=0x2120e58) at taskprocessor.c:313 #3 0x00000000005ad9e4 in dummy_start (data=0x210d790) at utils.c:1223 #4 0x00007f352415a182 in start_thread (arg=0x7f352598d700) at pthread_create.c:312 #5 0x00007f35252c600d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7f34a353b700 (LWP 31019)): #0 0x00000000004fdd33 in ast_hashtab_start_traversal (tab=0x0) at hashtab.c:711 #1 0x0000000000554b67 in __ast_context_destroy (list=0x2dd4e10, contexttab=0x2d9d6b0, con=0x0, registrar=0x5ebe06 "features") at pbx.c:10889 #2 0x00000000005551a5 in ast_context_destroy (con=0x0, registrar=0x5ebe06 "features") at pbx.c:10968 #3 0x00000000004ead23 in features_shutdown () at features.c:9072 #4 0x00000000004432c2 in ast_run_atexits (run_cleanups=1) at asterisk.c:980 #5 0x000000000044595a in really_quit (num=0, niceness=SHUTDOWN_NICE, restart=0) at asterisk.c:1876 #6 0x0000000000445385 in quit_handler (num=0, niceness=SHUTDOWN_NICE, restart=0) at asterisk.c:1736 #7 0x0000000000446589 in handle_stop_gracefully (e=0x84e788 , cmd=-4, a=0x7f34a353a480) at asterisk.c:2237 #8 0x00000000004a46d9 in ast_cli_command_full (uid=1000, gid=1000, fd=12, s=0x7f34a353a760 "core stop gracefully") at cli.c:2691 #9 0x00000000004a4880 in ast_cli_command_multiple_full (uid=1000, gid=1000, fd=12, size=21, s=0x7f34a353aa2f "core stop gracefully") at cli.c:2714 #10 0x000000000044405f in netconsole (vconsole=0x88a2a0 ) at asterisk.c:1378 #11 0x00000000005ad9e4 in dummy_start (data=0x7f35140008f0) at utils.c:1223 #12 0x00007f352415a182 in start_thread (arg=0x7f34a353b700) at pthread_create.c:312 #13 0x00007f35252c600d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111