gdb commands after attaching to the PID: info thread thread apply all bt (gdb) info thread 28 Thread 0x7fd9dd3b1710 (LWP 21562) 0x0000003afc6d41ad in read () at ../sysdeps/unix/syscall-template.S:82 27 Thread 0x7fd9dd335710 (LWP 21563) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 26 Thread 0x7fd9dd2b9710 (LWP 21564) 0x0000003afc6d7df3 in __poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 25 Thread 0x7fd9dd23d710 (LWP 21565) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 24 Thread 0x7fd9dcfaf710 (LWP 21566) 0x0000003afc6d7df3 in __poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 23 Thread 0x7fd9dcf33710 (LWP 21567) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 22 Thread 0x7fd9dceb7710 (LWP 21568) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 21 Thread 0x7fd9dce3b710 (LWP 21569) 0x0000003afc6d7df3 in __poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 20 Thread 0x7fd9dcdbf710 (LWP 21570) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 19 Thread 0x7fd9dcd43710 (LWP 21571) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 18 Thread 0x7fd9dccc7710 (LWP 21572) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 17 Thread 0x7fd9dc1fe710 (LWP 21573) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 16 Thread 0x7fd9dc182710 (LWP 21574) 0x0000003afc6d7df3 in __poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 15 Thread 0x7fd9dc106710 (LWP 21576) 0x0000003afc6a6a4d in nanosleep () at ../sysdeps/unix/syscall-template.S:82 14 Thread 0x7fd9dc08a710 (LWP 21578) 0x0000003afc6d7df3 in __poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 13 Thread 0x7fd9944e2710 (LWP 21579) 0x0000003afc6d7df3 in __poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 12 Thread 0x7fd994466710 (LWP 21580) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 11 Thread 0x7fd9943ea710 (LWP 21581) 0x0000003afc6a6a4d in nanosleep () at ../sysdeps/unix/syscall-template.S:82 10 Thread 0x7fd994168710 (LWP 21582) 0x0000003afc6d7df3 in __poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 9 Thread 0x7fd9940ec710 (LWP 21583) 0x0000003afc6a6a4d in nanosleep () at ../sysdeps/unix/syscall-template.S:82 8 Thread 0x7fd977fff710 (LWP 21584) 0x0000003afc6a6a4d in nanosleep () at ../sysdeps/unix/syscall-template.S:82 7 Thread 0x7fd977f83710 (LWP 21585) 0x0000003afc6a6a4d in nanosleep () at ../sysdeps/unix/syscall-template.S:82 6 Thread 0x7fd977f07710 (LWP 21586) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 5 Thread 0x7fd977e8b710 (LWP 21587) 0x0000003afc6d7df3 in __poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 4 Thread 0x7fd977d93710 (LWP 21591) __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136 3 Thread 0x7fd977d17710 (LWP 21592) __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136 2 Thread 0x7fd977c9b710 (LWP 21593) __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136 * 1 Thread 0x7fd9dd5bf7c0 (LWP 21561) 0x0000003afc6d41ad in read () at ../sysdeps/unix/syscall-template.S:82 (gdb) thread apply all bt Thread 28 (Thread 0x7fd9dd3b1710 (LWP 21562)): #0 0x0000003afc6d41ad in read () at ../sysdeps/unix/syscall-template.S:82 #1 0x0000000000521d80 in inotify_daemon (data=) at stdtime/localtime.c:290 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd9dd3b1710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 27 (Thread 0x7fd9dd335710 (LWP 21563)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x0000000000528718 in tps_processing_function (data=0x1e51548) at taskprocessor.c:293 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd9dd335710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 26 (Thread 0x7fd9dd2b9710 (LWP 21564)): #0 0x0000003afc6d7df3 in __poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x0000000000435931 in listener (unused=) at asterisk.c:1297 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd9dd2b9710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 25 (Thread 0x7fd9dd23d710 (LWP 21565)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00000000004ca5cf in logger_thread (data=) at logger.c:993 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd9dd23d710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 24 (Thread 0x7fd9dcfaf710 (LWP 21566)): #0 0x0000003afc6d7df3 in __poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x0000000000534d37 in ast_wait_for_input (fd=, ms=) at utils.c:1060 #2 0x0000000000529ff2 in ast_tcptls_server_root (data=0x7ee380) at tcptls.c:247 #3 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #4 0x0000003afce07761 in start_thread (arg=0x7fd9dcfaf710) at pthread_create.c:301 #5 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 23 (Thread 0x7fd9dcf33710 (LWP 21567)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x000000000048e44d in do_devstate_changes (data=) at devicestate.c:539 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd9dcf33710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 ---Type to continue, or q to quit--- Thread 22 (Thread 0x7fd9dceb7710 (LWP 21568)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x0000000000528718 in tps_processing_function (data=0x23295b8) at taskprocessor.c:293 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd9dceb7710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 21 (Thread 0x7fd9dce3b710 (LWP 21569)): #0 0x0000003afc6d7df3 in __poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00000000004a8cf8 in do_parking_thread (ignore=) at features.c:3909 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd9dce3b710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 20 (Thread 0x7fd9dcdbf710 (LWP 21570)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x000000000048b2e5 in db_sync_thread (data=) at db.c:749 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd9dcdbf710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 19 (Thread 0x7fd9dcd43710 (LWP 21571)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x0000000000528718 in tps_processing_function (data=0x248cef8) at taskprocessor.c:293 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd9dcd43710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 18 (Thread 0x7fd9dccc7710 (LWP 21572)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x000000000051ec42 in sched_run (data=0x248db40) at sched.c:106 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd9dccc7710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 17 (Thread 0x7fd9dc1fe710 (LWP 21573)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fd9ad350af0 in do_timing (arg=) at res_timing_pthread.c:465 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd9dc1fe710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 ---Type to continue, or q to quit--- Thread 16 (Thread 0x7fd9dc182710 (LWP 21574)): #0 0x0000003afc6d7df3 in __poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007fd99fdad7c2 in do_monitor (data=) at chan_dahdi.c:11235 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd9dc182710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 15 (Thread 0x7fd9dc106710 (LWP 21576)): #0 0x0000003afc6a6a4d in nanosleep () at ../sysdeps/unix/syscall-template.S:82 #1 0x0000003afc6da8c4 in usleep (useconds=) at ../sysdeps/unix/sysv/linux/usleep.c:33 #2 0x000000000043feea in ast_autoservice_stop (chan=0x7fd95400e768) at autoservice.c:274 #3 0x00000000004f24c4 in pbx_find_extension (chan=0x7fd95400e768, bypass=0x0, q=0x7fd9dc102da0, context=0x7fd95400ecc0 "internal", exten=0x7fd98c029ec0 "900000", priority=1, label=0x0, callerid=0x0, action=E_MATCH) at pbx.c:2821 #4 0x00000000004a3230 in ast_parking_ext_valid (exten_str=, chan=, context=) at features.c:481 #5 0x00007fd9ab49cb1a in handle_request_refer (p=0x7fd954006fe8, req=0x7fd9dc105190, debug=, seqno=2, nounlock=0x7fd9dc105138) at chan_sip.c:22131 #6 0x00007fd9ab4d361f in handle_incoming (p=0x7fd954006fe8, req=0x7fd9dc105190, addr=0x7fd9dc105bf0, recount=0x7fd9dc10513c, nounlock=0x7fd9dc105138) at chan_sip.c:23666 #7 0x00007fd9ab4d54b6 in handle_request_do (req=0x7fd9dc105190, addr=0x7fd9dc105bf0) at chan_sip.c:23968 #8 0x00007fd9ab4d64f4 in sipsock_read (id=, fd=, events=, ignore=) at chan_sip.c:23866 #9 0x00000000004c293a in ast_io_wait (ioc=0x259df40, howlong=) at io.c:288 #10 0x00007fd9ab4c4bdf in do_monitor (data=) at chan_sip.c:24383 #11 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #12 0x0000003afce07761 in start_thread (arg=0x7fd9dc106710) at pthread_create.c:301 #13 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 14 (Thread 0x7fd9dc08a710 (LWP 21578)): #0 0x0000003afc6d7df3 in __poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007fd99dcbece9 in do_monitor (data=) at chan_phone.c:1087 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd9dc08a710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 13 (Thread 0x7fd9944e2710 (LWP 21579)): #0 0x0000003afc6d7df3 in __poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007fd9a8e065ca in scan_thread (unused=) at pbx_spool.c:634 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd9944e2710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 12 (Thread 0x7fd994466710 (LWP 21580)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 ---Type to continue, or q to quit--- #1 0x0000000000528718 in tps_processing_function (data=0x2664258) at taskprocessor.c:293 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd994466710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 11 (Thread 0x7fd9943ea710 (LWP 21581)): #0 0x0000003afc6a6a4d in nanosleep () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007fd9acb3772a in lock_broker (unused=) at func_lock.c:192 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd9943ea710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 10 (Thread 0x7fd994168710 (LWP 21582)): #0 0x0000003afc6d7df3 in __poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00000000004c28de in ast_io_wait (ioc=0x26ef280, howlong=) at io.c:275 #2 0x00007fd9aefa6968 in network_thread (ignore=) at pbx_dundi.c:2178 #3 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #4 0x0000003afce07761 in start_thread (arg=0x7fd994168710) at pthread_create.c:301 #5 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 9 (Thread 0x7fd9940ec710 (LWP 21583)): #0 0x0000003afc6a6a4d in nanosleep () at ../sysdeps/unix/syscall-template.S:82 #1 0x0000003afc6a68c0 in __sleep (seconds=0) at ../sysdeps/unix/sysv/linux/sleep.c:138 #2 0x00007fd9aefb1026 in process_precache (ign=) at pbx_dundi.c:2255 #3 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #4 0x0000003afce07761 in start_thread (arg=0x7fd9940ec710) at pthread_create.c:301 #5 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 8 (Thread 0x7fd977fff710 (LWP 21584)): #0 0x0000003afc6a6a4d in nanosleep () at ../sysdeps/unix/syscall-template.S:82 #1 0x0000003afc6a68c0 in __sleep (seconds=0) at ../sysdeps/unix/sysv/linux/sleep.c:138 #2 0x00007fd9aefa573b in process_clearcache (ignore=) at pbx_dundi.c:2218 #3 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #4 0x0000003afce07761 in start_thread (arg=0x7fd977fff710) at pthread_create.c:301 #5 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 7 (Thread 0x7fd977f83710 (LWP 21585)): #0 0x0000003afc6a6a4d in nanosleep () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007fd9a620a82b in cleanup (unused=) at pbx_realtime.c:130 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd977f83710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 ---Type to continue, or q to quit--- Thread 6 (Thread 0x7fd977f07710 (LWP 21586)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x0000000000528718 in tps_processing_function (data=0x271bd58) at taskprocessor.c:293 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd977f07710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 5 (Thread 0x7fd977e8b710 (LWP 21587)): #0 0x0000003afc6d7df3 in __poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x0000000000434d00 in monitor_sig_flags (unused=) at asterisk.c:3074 #2 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #3 0x0000003afce07761 in start_thread (arg=0x7fd977e8b710) at pthread_create.c:301 #4 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 4 (Thread 0x7fd977d93710 (LWP 21591)): #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136 #1 0x0000003afce092e0 in _L_lock_906 () from /lib64/libpthread.so.0 #2 0x0000003afce091c7 in __pthread_mutex_lock (mutex=0x7fd95400e720) at pthread_mutex_lock.c:82 #3 0x0000000000471b7a in __ast_read (chan=0x7fd95400e768, dropaudio=0) at channel.c:3614 #4 0x0000000000502b8c in local_bridge_loop (c0=0x7fd98c02b748, c1=0x7fd95400e768, flags=2010677888, fo=0x7fd977d88280, rc=0x7fd977d88278, timeoutms=0) at rtp_engine.c:881 #5 ast_rtp_instance_bridge (c0=0x7fd98c02b748, c1=0x7fd95400e768, flags=2010677888, fo=0x7fd977d88280, rc=0x7fd977d88278, timeoutms=0) at rtp_engine.c:1332 #6 0x0000000000475141 in ast_channel_bridge (c0=0x7fd98c02b748, c1=0x7fd95400e768, config=0x7fd977d88d10, fo=0x7fd977d88280, rc=0x7fd977d88278) at channel.c:7143 #7 0x00000000004a42ee in ast_bridge_call (chan=0x7fd98c02b748, peer=0x7fd95400e768, config=0x7fd977d88d10) at features.c:3255 #8 0x00007fd9acd44b59 in dial_exec_full (chan=0x7fd98c02b748, data=, peerflags=0x7fd977d88fe0, continue_exec=0x0) at app_dial.c:2632 #9 0x00007fd9acd46306 in dial_exec (chan=, data=) at app_dial.c:2732 #10 0x00000000004e9b2b in pbx_exec (c=0x7fd98c02b748, app=0x27064c0, data=0x7fd977d8b100 "SIP/900006,60,tT") at pbx.c:1407 #11 0x00000000004f73aa in pbx_extension_helper (c=0x7fd98c02b748, con=0x0, context=0x7fd98c02bca0 "macro-managed-tones", exten=0x7fd98c02bcf0 "s", priority=1, label=0x7fd98c02bca0 "macro-managed-tones", callerid=0x7fd98c010550 "900005", action=E_SPAWN, found=0x7fd977d8e07c, combined_find_spawn=1) at pbx.c:4086 #12 0x00000000004f7890 in ast_spawn_extension (c=, context=, exten=, priority=, callerid=, found=, combined_find_spawn=1) at pbx.c:4605 #13 0x00007fd99a635793 in _macro_exec (chan=0x7fd977d8e07c, data=, exclusive=0) at app_macro.c:408 #14 0x00000000004e9b2b in pbx_exec (c=0x7fd98c02b748, app=0x2601d00, data=0x7fd977d8e220 "managed-tones,900006") at pbx.c:1407 #15 0x00007fd9a620b2ba in realtime_exec (chan=0x7fd98c02b748, context=, exten=0x7fd98c02bcf0 "s", priority=, callerid=, data=) at pbx_realtime.c:366 #16 0x00000000004f75d2 in pbx_extension_helper (c=0x7fd98c02b748, con=0x0, context=, exten=0x7fd98c02bcf0 "s", priority=1, label=0x0, callerid=0x7fd98c010550 "900005", action=E_SPAWN, found=0x7fd977d92d0c, combined_find_spawn=1) at pbx.c:4099 #17 0x00000000004fc205 in ast_spawn_extension (c=0x7fd98c02b748, args=0x0) at pbx.c:4605 #18 __ast_pbx_run (c=0x7fd98c02b748, args=0x0) at pbx.c:4703 #19 0x00000000004fd829 in pbx_thread (data=) at pbx.c:5014 #20 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #21 0x0000003afce07761 in start_thread (arg=0x7fd977d93710) at pthread_create.c:301 #22 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 ---Type to continue, or q to quit--- Thread 3 (Thread 0x7fd977d17710 (LWP 21592)): #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136 #1 0x0000003afce092e0 in _L_lock_906 () from /lib64/libpthread.so.0 #2 0x0000003afce091c7 in __pthread_mutex_lock (mutex=0x7fd95400e720) at pthread_mutex_lock.c:82 #3 0x000000000046ef9e in ast_waitfor_nandfds (c=0x7fd977d13dc0, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x7fd977d16d1c) at channel.c:3027 #4 0x000000000046f9f7 in ast_waitfor_n (c=, n=, ms=) at channel.c:3340 #5 0x000000000044043e in autoservice_run (ign=) at autoservice.c:122 #6 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #7 0x0000003afce07761 in start_thread (arg=0x7fd977d17710) at pthread_create.c:301 #8 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 2 (Thread 0x7fd977c9b710 (LWP 21593)): #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136 #1 0x0000003afce092e0 in _L_lock_906 () from /lib64/libpthread.so.0 #2 0x0000003afce091c7 in __pthread_mutex_lock (mutex=0x7fd95400e720) at pthread_mutex_lock.c:82 #3 0x00000000004d37ad in action_status (s=0x7fd977c99fa0, m=) at manager.c:3132 #4 0x00000000004dbc1b in process_message (s=0x7fd977c99fa0, m=0x7fd977c99730) at manager.c:4479 #5 0x00000000004de820 in do_message (s=0x7fd977c99fa0) at manager.c:4600 #6 0x00000000004debe0 in session_do (data=0x7fd9cc0014c8) at manager.c:4675 #7 0x0000000000529afd in handle_tcptls_connection (data=0x7fd9cc0014c8) at tcptls.c:229 #8 0x0000000000534d9a in dummy_start (data=) at utils.c:971 #9 0x0000003afce07761 in start_thread (arg=0x7fd977c9b710) at pthread_create.c:301 #10 0x0000003afc6e14fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 1 (Thread 0x7fd9dd5bf7c0 (LWP 21561)): #0 0x0000003afc6d41ad in read () at ../sysdeps/unix/syscall-template.S:82 #1 0x0000000000545469 in read_char (el=0x1e3ea10, cp=0x7fff1accf2df "]\021") at read.c:298 #2 0x00000000005404c8 in el_getc (el=0x1e3ea10, cp=0x7fff1accf2df "]\021") at read.c:350 #3 0x0000000000540708 in read_getcmd (el=0x1e3ea10, nread=0x7fff1acd068c) at read.c:243 #4 el_gets (el=0x1e3ea10, nread=0x7fff1acd068c) at read.c:446 #5 0x0000000000437fcf in main (argc=, argv=) at asterisk.c:3849 (gdb) (gdb)