[New LWP 357] [New LWP 32761] [New LWP 301] [New LWP 32762] [New LWP 32763] [New LWP 300] [New LWP 308] [New LWP 32765] [New LWP 303] [New LWP 32767] [New LWP 32764] [New LWP 302] [New LWP 307] [New LWP 306] [New LWP 305] [New LWP 304] [New LWP 333] [New LWP 332] [New LWP 342] [New LWP 337] [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_nlTSBL/usr/sbin/asterisk -f -g -q -m -n -C /tmp/ast_test_nlTSBL/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 = 0x7f48dc00a4d0 __PRETTY_FUNCTION__ = "ast_hashtab_start_traversal" #1 0x0000000000554b67 in __ast_context_destroy (list=0x158e3e0, contexttab=0x1575ce0, con=0x0, registrar=0x7f491739342a "pbx_lua") at pbx.c:10889 end_traversal = 1 prio_iter = 0x0 ipl = 0x0 ipn = 0x0 i = 0x0 sw = 0x0 exten_iter = 0x7f48dc008c20 ip = 0x0 pi = 0x0 ni = 0x0 next = 0x0 tmp = 0x158e3e0 tmpl = 0x0 exten_item = 0x15942a0 prio_item = 0x7f495017906c <_IO_new_do_write+124> __PRETTY_FUNCTION__ = "__ast_context_destroy" #2 0x00000000005551a5 in ast_context_destroy (con=0x0, registrar=0x7f491739342a "pbx_lua") at pbx.c:10968 No locals. #3 0x00007f49173932d6 in unload_module () at pbx_lua.c:1649 __PRETTY_FUNCTION__ = "unload_module" #4 0x000000000050a5a8 in ast_module_shutdown () at loader.c:568 __list_head = 0x854f40 __list_next = 0xf70e00 __list_prev = 0xf65f50 __list_current = 0xf65f50 mod = 0xefb530 somethingchanged = 1 final = 0 __PRETTY_FUNCTION__ = "ast_module_shutdown" #5 0x00000000004456f3 in really_quit (num=0, niceness=SHUTDOWN_NICE, restart=0) at asterisk.c:1819 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=0x7f48fa323480) at asterisk.c:2237 No locals. #8 0x00000000004a46d9 in ast_cli_command_full (uid=1000, gid=1000, fd=12, s=0x7f48fa323760 "core stop gracefully") at cli.c:2691 args = {0x84e788 "\260*]\001", 0x7f48dc00a290 "core", 0x7f48dc00a295 "stop", 0x7f48dc00a29a "gracefully", 0x0, 0x5d0c70 <__PRETTY_FUNCTION__.27557> "netconsole", 0xb , 0x7f48dc008bd0 "", 0x54d926a7 , 0x4cbc0 , 0x1d0000000b , 0x900000010 , 0x7300000001 , 0x2700000001 , 0x0, 0xffffffffffffb9b0 , 0x0, 0x4cbc0 , 0x3120392020626546 , 0x31313a39323a36 , 0x5cd150 "Remote UNIX connection disconnected\n", 0x7f49504bbfe0 <_IO_strn_jumps> "", 0x0, 0x7f48fa324700 "", 0x7f48dc008978 "Remove test/agi4/4, registrar=pbx_config; con=((nil)); con->root=(nil)\n", 0x7f4950171109 <_IO_vsnprintf+121> "H\201\303", , 0x7f48fbad8001 , 0x7f48dc008978 "Remove test/agi4/4, registrar=pbx_config; con=((nil)); con->root=(nil)\n", 0x7f48dc008978 "Remove test/agi4/4, registrar=pbx_config; con=((nil)); con->root=(nil)\n", 0x7f48dc008978 "Remove test/agi4/4, registrar=pbx_config; con=((nil)); con->root=(nil)\n", 0x7f48dc008978 "Remove test/agi4/4, registrar=pbx_config; con=((nil)); con->root=(nil)\n", 0x7f48dc00899c "nfig; con=((nil)); con->root=(nil)\n", 0x7f48fa324700 "", 0x7f48fa323640 "p62\372H\177", 0x0, 0x0, 0x7f48fa3249c0 "\300\211*\372H\177", 0x594da4 <__ast_str_helper+184> "\211E\340\213E܋U\340\001Ѓ\300\001\211E؋E\330Hc\320H\213E\310H\213", 0x0, 0x7f48fa3236a8 "0", 0x5f92b5 "%c%s", 0x100000034 , 0x0, 0x7f48fa3237d0 "", 0x5bec008f50 , 0x9 , 0xffffffff00000008 , 0x3000000028 , 0x7f48fa323780 "\037>2\372H\177", 0x7f48fa3236c0 "core stop gracefully", 0x7f48fa323670 "\250\066\062\372H\177", 0xffd54c6c11869200 , 0x7f48fa3236a8 "0", 0x7f48fa324700 "", 0x7f48fa323770 "ully", 0x51210a "\311\303UH\211\345H\203\354\020A\270\233\226_", 0x7f48fa3236a8 "0", 0x5f88ef "%s", 0x0, 0x5d0c70 <__PRETTY_FUNCTION__.27557> "netconsole", 0x5cc3d4 "asterisk.c", 0x50000058d , 0x8dc00a5c0 , 0x3000000030 , 0x7f48fa323780 "\037>2\372H\177"} e = 0x84e788 x = 3 duplicate = 0x7f48dc00a290 "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 = 0x7f48fa3234b8, 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=0x7f48fa323a2f "core stop gracefully") at cli.c:2714 cmd = "core stop gracefully\000\177\000\000A<2\372H\177\000\000\037>2\372H\177\000\000 <2\372H\177\000\000\037>2\372H\177", '\000' , "\020", '\000' , "\352\a\037PI\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 = 32584 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/32761/SVN-branch-11-r429270M\n", '\000' , ">2\372H\177\000\000\b>2\372H\177\000\000\020>2\372H\177\000\000\030>2\372H\177\000\000(>2\372H\177\000\000\000\000\000\000\000\000\000\000\060>2\372H\177\000\000@=\tOI\177\000\000\000\000\000\000\000\000\000\000 ", '\000' , "\340s\002\372H\177\000\000\000\000\000\000\000\000\000@", '\000' ... end_buf = 0x7f48fa323c20 "ws1/32761/SVN-branch-11-r429270M\n" start_read = 0x7f48fa323a20 "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=0x7f49400008f0) at utils.c:1223 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {139951411971840, -2053600129783319710, 0, 0, 139951411972544, 139951411971840, -2053600129758153886, 2094685504243479394}, __mask_was_saved = 0}}, __pad = {0x7f48fa323f30, 0x0, 0x7f4950264bf2 <__libc_thread_freeres+34>, 0x0}} __cancel_routine = 0x441723 __cancel_arg = 0x7f48fa324700 __not_first_call = 0 ret = 0x7f48fa324ab8 a = {start_routine = 0x443da8 , data = 0x88a2a0 , name = 0x7f4940000c10 "netconsole", ' ' , "started at [ 1486] asterisk.c listener()"} #12 0x00007f494f08d182 in start_thread (arg=0x7f48fa324700) at pthread_create.c:312 __res = pd = 0x7f48fa324700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139951411971840, 2094686111228080994, 0, 0, 139951411972544, 139951411971840, -2053600129777028254, -2052709069366774942}, 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 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 20 (Thread 0x7f48fa498700 (LWP 337)): #0 0x00007f49501bfacd in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f48fcd82c92 in cleanup (unused=0x0) at pbx_realtime.c:133 #2 0x00000000005ad9e4 in dummy_start (data=0x14f94d0) at utils.c:1223 #3 0x00007f494f08d182 in start_thread (arg=0x7f48fa498700) at pthread_create.c:312 #4 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 19 (Thread 0x7f48fa2a8700 (LWP 342)): #0 0x00007f49501ea3bd 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=0x7f48e0000d90) at utils.c:1223 #3 0x00007f494f08d182 in start_thread (arg=0x7f48fa2a8700) at pthread_create.c:312 #4 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 18 (Thread 0x7f48fa688700 (LWP 332)): #0 0x00007f49501ebcbd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f490ce854e8 in scan_thread (unused=0x0) at pbx_spool.c:711 #2 0x00000000005ad9e4 in dummy_start (data=0x1569d00) at utils.c:1223 #3 0x00007f494f08d182 in start_thread (arg=0x7f48fa688700) at pthread_create.c:312 #4 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 17 (Thread 0x7f48fa60c700 (LWP 333)): #0 0x00007f49501ebcbd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f48fd79e43f in do_monitor (data=0x0) at chan_phone.c:1085 #2 0x00000000005ad9e4 in dummy_start (data=0x14f94d0) at utils.c:1223 #3 0x00007f494f08d182 in start_thread (arg=0x7f48fa60c700) at pthread_create.c:312 #4 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 16 (Thread 0x7f494e19b700 (LWP 304)): #0 0x00007f49501ebcbd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00000000004dedbc in do_parking_thread (ignore=0x0) at features.c:5330 #2 0x00000000005ad9e4 in dummy_start (data=0xecc8e0) at utils.c:1223 #3 0x00007f494f08d182 in start_thread (arg=0x7f494e19b700) at pthread_create.c:312 #4 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 15 (Thread 0x7f494e11f700 (LWP 305)): #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=0xee3060, t=0xee3098) at lock.c:565 #2 0x0000000000596fd5 in tps_processing_function (data=0xee3058) at taskprocessor.c:313 #3 0x00000000005ad9e4 in dummy_start (data=0xee2880) at utils.c:1223 #4 0x00007f494f08d182 in start_thread (arg=0x7f494e11f700) at pthread_create.c:312 #5 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 14 (Thread 0x7f494e0a3700 (LWP 306)): #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=0x60e534 "sched.c", lineno=120, func=0x60e891 <__PRETTY_FUNCTION__.11445> "sched_run", cond_name=0x60e547 "&con->sched_thread->cond", mutex_name=0x60e53c "&con->lock", cond=0xedea38, t=0xee0180) at lock.c:565 #2 0x0000000000589d69 in sched_run (data=0xee0180) at sched.c:120 #3 0x00000000005ad9e4 in dummy_start (data=0xec6b20) at utils.c:1223 #4 0x00007f494f08d182 in start_thread (arg=0x7f494e0a3700) at pthread_create.c:312 #5 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 13 (Thread 0x7f491715f700 (LWP 307)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x000000000050cfc5 in __ast_cond_timedwait (filename=0x7f494d9e0374 "res_calendar.c", lineno=1791, func=0x7f494d9e1b6b <__PRETTY_FUNCTION__.14077> "do_refresh", cond_name=0x7f494d9e0a8a "&refresh_condition", mutex_name=0x7f494d9e0955 "&refreshlock", cond=0x7f494dbe3ba0 , t=0x7f494dbe3b60 , abstime=0x7f491715ee30) at lock.c:646 #2 0x00007f494d9dfdcb in do_refresh (data=0x0) at res_calendar.c:1791 #3 0x00000000005ad9e4 in dummy_start (data=0xf0ea20) at utils.c:1223 #4 0x00007f494f08d182 in start_thread (arg=0x7f491715f700) at pthread_create.c:312 #5 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 12 (Thread 0x7f494e293700 (LWP 302)): #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=0xebd200) at utils.c:1223 #4 0x00007f494f08d182 in start_thread (arg=0x7f494e293700) at pthread_create.c:312 #5 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 11 (Thread 0x7f49507c8700 (LWP 32764)): #0 0x00007f49501ea41d in write () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f4950177b93 in _IO_new_file_write (f=0x914c60, data=0x7f49508e4000, n=121) at fileops.c:1261 #2 0x00007f495017906c in new_do_write (to_do=121, data=0x7f49508e4000 "[Feb 9 16:29:11] VERBOSE[357] pbx.c: -- Remove test/agi5/2, registrar=pbx_config; con=((nil)); con->root=(nil)\nt=(nil)\n=(nil)\nil)\ng 0\nw stack\nund\nonf': Found\nost 999999\nbetweenWordsSilence ["..., fp=0x914c60) at fileops.c:538 #3 _IO_new_do_write (fp=0x914c60, data=0x7f49508e4000 "[Feb 9 16:29:11] VERBOSE[357] pbx.c: -- Remove test/agi5/2, registrar=pbx_config; con=((nil)); con->root=(nil)\nt=(nil)\n=(nil)\nil)\ng 0\nw stack\nund\nonf': Found\nost 999999\nbetweenWordsSilence ["..., to_do=121) at fileops.c:511 #4 0x00007f4950177420 in _IO_new_file_sync (fp=0x914c60) at fileops.c:892 #5 0x00007f495016cae2 in __GI__IO_fflush (fp=0x914c60) at iofflush.c:41 #6 0x00000000005105c3 in logger_print_normal (logmsg=0x7f48dc004310) at logger.c:1181 #7 0x000000000051079f in logger_thread (data=0x0) at logger.c:1226 #8 0x00000000005ad9e4 in dummy_start (data=0x914680) at utils.c:1223 #9 0x00007f494f08d182 in start_thread (arg=0x7f49507c8700) at pthread_create.c:312 #10 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 10 (Thread 0x7f494e407700 (LWP 32767)): #0 0x00007f49501ebcbd 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=0xea8d20) at utils.c:1223 #4 0x00007f494f08d182 in start_thread (arg=0x7f494e407700) at pthread_create.c:312 #5 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 9 (Thread 0x7f494e217700 (LWP 303)): #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=0xebf000, t=0xebf038) at lock.c:565 #2 0x0000000000596fd5 in tps_processing_function (data=0xebeff8) at taskprocessor.c:313 #3 0x00000000005ad9e4 in dummy_start (data=0xebf100) at utils.c:1223 #4 0x00007f494f08d182 in start_thread (arg=0x7f494e217700) at pthread_create.c:312 #5 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 8 (Thread 0x7f494e4ff700 (LWP 32765)): #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=0xe62120) at utils.c:1223 #4 0x00007f494f08d182 in start_thread (arg=0x7f494e4ff700) at pthread_create.c:312 #5 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 7 (Thread 0x7f48fb43e700 (LWP 308)): #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=0x7f48fcf895f4 "res_timing_pthread.c", lineno=476, func=0x7f48fcf89ae1 <__PRETTY_FUNCTION__.9244> "do_timing", cond_name=0x7f48fcf89635 "&timing_thread.cond", mutex_name=0x7f48fcf89621 "&timing_thread.lock", cond=0x7f48fd18b300 , t=0x7f48fd18b2c8 ) at lock.c:565 #2 0x00007f48fcf89299 in do_timing (arg=0x0) at res_timing_pthread.c:476 #3 0x00000000005ad9e4 in dummy_start (data=0xf2a830) at utils.c:1223 #4 0x00007f494f08d182 in start_thread (arg=0x7f48fb43e700) at pthread_create.c:312 #5 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 6 (Thread 0x7f494e38b700 (LWP 300)): #0 0x00007f49501ebcbd 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=0xebacd0) at utils.c:1223 #4 0x00007f494f08d182 in start_thread (arg=0x7f494e38b700) at pthread_create.c:312 #5 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 5 (Thread 0x7f4950844700 (LWP 32763)): #0 0x00007f49501ebcbd 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=0x914680) at utils.c:1223 #3 0x00007f494f08d182 in start_thread (arg=0x7f4950844700) at pthread_create.c:312 #4 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 4 (Thread 0x7f49508c0700 (LWP 32762)): #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=0x90fe60, t=0x90fe98) at lock.c:565 #2 0x0000000000596fd5 in tps_processing_function (data=0x90fe58) at taskprocessor.c:313 #3 0x00000000005ad9e4 in dummy_start (data=0x8fc790) at utils.c:1223 #4 0x00007f494f08d182 in start_thread (arg=0x7f49508c0700) at pthread_create.c:312 #5 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 3 (Thread 0x7f494e30f700 (LWP 301)): #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=0xeb6d90) at utils.c:1223 #4 0x00007f494f08d182 in start_thread (arg=0x7f494e30f700) at pthread_create.c:312 #5 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7f49508c1740 (LWP 32761)): #0 0x00007f49501ebcbd 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=0x7fff5420cfc8) at asterisk.c:4426 Thread 1 (Thread 0x7f48fa324700 (LWP 357)): #0 0x00000000004fdd33 in ast_hashtab_start_traversal (tab=0x0) at hashtab.c:711 #1 0x0000000000554b67 in __ast_context_destroy (list=0x158e3e0, contexttab=0x1575ce0, con=0x0, registrar=0x7f491739342a "pbx_lua") at pbx.c:10889 #2 0x00000000005551a5 in ast_context_destroy (con=0x0, registrar=0x7f491739342a "pbx_lua") at pbx.c:10968 #3 0x00007f49173932d6 in unload_module () at pbx_lua.c:1649 #4 0x000000000050a5a8 in ast_module_shutdown () at loader.c:568 #5 0x00000000004456f3 in really_quit (num=0, niceness=SHUTDOWN_NICE, restart=0) at asterisk.c:1819 #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=0x7f48fa323480) at asterisk.c:2237 #8 0x00000000004a46d9 in ast_cli_command_full (uid=1000, gid=1000, fd=12, s=0x7f48fa323760 "core stop gracefully") at cli.c:2691 #9 0x00000000004a4880 in ast_cli_command_multiple_full (uid=1000, gid=1000, fd=12, size=21, s=0x7f48fa323a2f "core stop gracefully") at cli.c:2714 #10 0x000000000044405f in netconsole (vconsole=0x88a2a0 ) at asterisk.c:1378 #11 0x00000000005ad9e4 in dummy_start (data=0x7f49400008f0) at utils.c:1223 #12 0x00007f494f08d182 in start_thread (arg=0x7f48fa324700) at pthread_create.c:312 #13 0x00007f49501f900d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111