(gdb) thread apply all bt Thread 19 (Thread 0xb7ab0b90 (LWP 2416)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7af6c45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb7d7f8ed in pthread_cond_wait () from /lib/i686/libc.so.6 #3 0x0816aded in __ast_cond_wait (filename=0x81e147c "taskprocessor.c", lineno=293, func=0x81e1a30 "tps_processing_function", cond_name=0x81e1aa9 "&i->poll_cond", mutex_name=0x81e1a92 "&i->taskprocessor_lock", cond=0x840e214, t=0x840e248) at /root/src/asterisk-rpid-173554/include/asterisk/lock.h:815 #4 0x0816a877 in tps_processing_function (data=0x840e210) at taskprocessor.c:293 #5 0x0817cc8d in dummy_start (data=0x840e910) at utils.c:968 #6 0xb7af3315 in start_thread () from /lib/i686/libpthread.so.0 #7 0xb7d7226e in clone () from /lib/i686/libc.so.6 Thread 18 (Thread 0xb7a74b90 (LWP 2417)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7d676f7 in poll () from /lib/i686/libc.so.6 #2 0x08079e61 in listener (unused=0x0) at asterisk.c:1266 #3 0x0817cc8d in dummy_start (data=0x840f6d0) at utils.c:968 #4 0xb7af3315 in start_thread () from /lib/i686/libpthread.so.0 #5 0xb7d7226e in clone () from /lib/i686/libc.so.6 Thread 17 (Thread 0xb7a38b90 (LWP 2418)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7af6c45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb7d7f8ed in pthread_cond_wait () from /lib/i686/libc.so.6 #3 0x08103e95 in __ast_cond_wait (filename=0x81d0088 "logger.c", lineno=977, func=0x81d0efb "logger_thread", cond_name=0x81d0f29 "&logcond", mutex_name=0x81d0f1b "&logmsgs.lock", cond=0x8227780, t=0x8200b48) at /root/src/asterisk-rpid-173554/include/asterisk/lock.h:815 #4 0x0810370f in logger_thread (data=0x0) at logger.c:977 #5 0x0817cc8d in dummy_start (data=0x8410348) at utils.c:968 #6 0xb7af3315 in start_thread () from /lib/i686/libpthread.so.0 #7 0xb7d7226e in clone () from /lib/i686/libc.so.6 Thread 16 (Thread 0xb79fcb90 (LWP 2440)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7af6c45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb7d7f8ed in pthread_cond_wait () from /lib/i686/libc.so.6 #3 0x080c11b9 in __ast_cond_wait (filename=0x81c4114 "devicestate.c", lineno=683, func=0x81c4a37 "run_devstate_collector", cond_name=0x81c4a67 "&devstate_collector.cond", mutex_name=0x81c4a4e "&devstate_collector.lock", cond=0x81f8008, t=0x81f8038) at /root/src/asterisk-rpid-173554/include/asterisk/lock.h:815 #4 0x080c1a73 in run_devstate_collector (data=0x0) at devicestate.c:683 #5 0x0817cc8d in dummy_start (data=0x84785b0) at utils.c:968 #6 0xb7af3315 in start_thread () from /lib/i686/libpthread.so.0 #7 0xb7d7226e in clone () from /lib/i686/libc.so.6 Thread 15 (Thread 0xb79c0b90 (LWP 2441)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7af6c45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb7d7f8ed in pthread_cond_wait () from /lib/i686/libc.so.6 #3 0x080c11b9 in __ast_cond_wait (filename=0x81c4114 "devicestate.c", lineno=542, func=0x81c47d8 "do_devstate_changes", cond_name=0x81c4658 "&change_pending", mutex_name=0x81c47ec "&state_changes.lock", cond=0x82214a0, t=0x81f79c8) at /root/src/asterisk-rpid-173554/include/asterisk/lock.h:815 #4 0x080c0da4 in do_devstate_changes (data=0x0) at devicestate.c:542 #5 0x0817cc8d in dummy_start (data=0x8478898) at utils.c:968 #6 0xb7af3315 in start_thread () from /lib/i686/libpthread.so.0 #7 0xb7d7226e in clone () from /lib/i686/libc.so.6 Thread 14 (Thread 0xb7984b90 (LWP 2443)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7af9829 in __lll_lock_wait () from /lib/i686/libpthread.so.0 #2 0xb7af4da2 in _L_lock_288 () from /lib/i686/libpthread.so.0 #3 0xb7af4932 in pthread_mutex_lock () from /lib/i686/libpthread.so.0 #4 0xb7d7fab6 in pthread_mutex_lock () from /lib/i686/libc.so.6 #5 0x081178f8 in ast_reentrancy_lock (lt=0x8208a88) at /root/src/asterisk-rpid-173554/include/asterisk/lock.h:333 #6 0x081175ff in _ast_rwlock_rdlock (t=0x8208a88, name=0x81d6fa7 "&(&hints)->lock", filename=0x81d5094 "pbx.c", line=3782, func=0x81d6f94 "handle_statechange") at /root/src/asterisk-rpid-173554/include/asterisk/lock.h:1160 #7 0x08120413 in handle_statechange (datap=0xb7101370) at pbx.c:3782 #8 0x0816a987 in tps_processing_function (data=0x8416178) at taskprocessor.c:310 #9 0x0817cc8d in dummy_start (data=0x84169a0) at utils.c:968 #10 0xb7af3315 in start_thread () from /lib/i686/libpthread.so.0 #11 0xb7d7226e in clone () from /lib/i686/libc.so.6 Thread 13 (Thread 0xb7948b90 (LWP 2482)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7d6a4d1 in select () from /lib/i686/libc.so.6 #2 0x080e049c in ast_select (nfds=0, rfds=0xb7948278, wfds=0x0, efds=0xb79481f8, tvp=0x0) at /root/src/asterisk-rpid-173554/include/asterisk/channel.h:1778 #3 0x080e0465 in do_parking_thread (ignore=0x0) at features.c:3150 #4 0x0817cc8d in dummy_start (data=0x85948a8) at utils.c:968 #5 0xb7af3315 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7d7226e in clone () from /lib/i686/libc.so.6 Thread 12 (Thread 0xb780bb90 (LWP 2483)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7d676f7 in poll () from /lib/i686/libc.so.6 #2 0x080fa8bf in ast_io_wait (ioc=0x85a28e0, howlong=1000) at io.c:275 #3 0xb789940b in do_monitor (data=0x0) at chan_sip.c:21690 #4 0x0817cc8d in dummy_start (data=0x85b4a40) at utils.c:968 #5 0xb7af3315 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7d7226e in clone () from /lib/i686/libc.so.6 Thread 11 (Thread 0xb77abb90 (LWP 2484)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7d733c8 in accept () from /lib/i686/libc.so.6 #2 0xb77c2fad in accept_thread (ignore=0x0) at chan_skinny.c:6110 #3 0x0817cc8d in dummy_start (data=0x85b1af0) at utils.c:968 #4 0xb7af3315 in start_thread () from /lib/i686/libpthread.so.0 #5 0xb7d7226e in clone () from /lib/i686/libc.so.6 Thread 10 (Thread 0xb776fb90 (LWP 2485)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7d676f7 in poll () from /lib/i686/libc.so.6 #2 0x080fa8bf in ast_io_wait (ioc=0x85dec78, howlong=1000) at io.c:275 #3 0xb77c327e in do_monitor (data=0x0) at chan_skinny.c:6155 #4 0x0817cc8d in dummy_start (data=0x85df5a0) at utils.c:968 #5 0xb7af3315 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7d7226e in clone () from /lib/i686/libc.so.6 Thread 9 (Thread 0xb76e6b90 (LWP 2487)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7d2f7e6 in nanosleep () from /lib/i686/libc.so.6 #2 0xb76e9b03 in scan_thread (unused=0x0) at pbx_spool.c:444 #3 0x0817cc8d in dummy_start (data=0x85b2180) at utils.c:968 #4 0xb7af3315 in start_thread () from /lib/i686/libpthread.so.0 #5 0xb7d7226e in clone () from /lib/i686/libc.so.6 Thread 8 (Thread 0xb7360b90 (LWP 2489)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7d676f7 in poll () from /lib/i686/libc.so.6 #2 0x0817d020 in ast_wait_for_input (fd=14, ms=5000) at utils.c:1057 #3 0x0816ced1 in ast_tcptls_server_root (data=0x8205fa0) at tcptls.c:238 #4 0x0817cc8d in dummy_start (data=0x8785828) at utils.c:968 #5 0xb7af3315 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7d7226e in clone () from /lib/i686/libc.so.6 Thread 7 (Thread 0xb7324b90 (LWP 2490)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7d676f7 in poll () from /lib/i686/libc.so.6 #2 0x0807f843 in monitor_sig_flags (unused=0x0) at asterisk.c:3013 #3 0x0817cc8d in dummy_start (data=0x87888d0) at utils.c:968 #4 0xb7af3315 in start_thread () from /lib/i686/libpthread.so.0 #5 0xb7d7226e in clone () from /lib/i686/libc.so.6 Thread 6 (Thread 0xb72e8b90 (LWP 2557)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7d676f7 in poll () from /lib/i686/libc.so.6 #2 0x08079b75 in netconsole (vconsole=0x822dd80) at asterisk.c:1213 #3 0x0817cc8d in dummy_start (data=0x8673088) at utils.c:968 #4 0xb7af3315 in start_thread () from /lib/i686/libpthread.so.0 #5 0xb7d7226e in clone () from /lib/i686/libc.so.6 Thread 5 (Thread 0xb7270b90 (LWP 2687)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7af6c45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb7d7f8ed in pthread_cond_wait () from /lib/i686/libc.so.6 #3 0x0808b06d in __ast_cond_wait (filename=0x81b9cec "autoservice.c", lineno=91, func=0x81b9d40 "autoservice_run", cond_name=0x81b9d6e "&as_cond", mutex_name=0x81b9d61 "&aslist.lock", cond=0x82206c0, t=0x81f1828) at /root/src/asterisk-rpid-173554/include/asterisk/lock.h:815 #4 0x0808a75f in autoservice_run (ign=0x0) at autoservice.c:91 #5 0x0817cc8d in dummy_start (data=0x8672f00) at utils.c:968 #6 0xb7af3315 in start_thread () from /lib/i686/libpthread.so.0 #7 0xb7d7226e in clone () from /lib/i686/libc.so.6 Thread 4 (Thread 0xb6457b90 (LWP 7579)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7d676f7 in poll () from /lib/i686/libc.so.6 #2 0xb77c2651 in get_input (s=0x868d438) at chan_skinny.c:5975 #3 0xb77c2e55 in skinny_session (data=0x868d438) at chan_skinny.c:6072 #4 0x0817cc8d in dummy_start (data=0x87b93a0) at utils.c:968 #5 0xb7af3315 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7d7226e in clone () from /lib/i686/libc.so.6 Thread 3 (Thread 0xb5d8bb90 (LWP 8726)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7d676f7 in poll () from /lib/i686/libc.so.6 #2 0x08079b75 in netconsole (vconsole=0x822ddb4) at asterisk.c:1213 #3 0x0817cc8d in dummy_start (data=0x8620930) at utils.c:968 #4 0xb7af3315 in start_thread () from /lib/i686/libpthread.so.0 #5 0xb7d7226e in clone () from /lib/i686/libc.so.6 Thread 2 (Thread 0xb5d4fb90 (LWP 8727)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7d676f7 in poll () from /lib/i686/libc.so.6 #2 0xb77c2651 in get_input (s=0x868e580) at chan_skinny.c:5975 #3 0xb77c2e55 in skinny_session (data=0x868e580) at chan_skinny.c:6072 #4 0x0817cc8d in dummy_start (data=0x8620a80) at utils.c:968 #5 0xb7af3315 in start_thread () from /lib/i686/libpthread.so.0 #6 0xb7d7226e in clone () from /lib/i686/libc.so.6 Thread 1 (Thread 0xb7ad16c0 (LWP 2410)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb7d6183b in read () from /lib/i686/libc.so.6 #2 0x0818cd99 in read_char (el=0x8406128, cp=0xbfdec47b "") at read.c:298 #3 0x08187e9f in ?? () #4 0x081880c9 in ?? () #5 0x08081967 in ?? () #6 0xb7cac6a5 in __libc_start_main () from /lib/i686/libc.so.6 #7 0x0805d751 in SSL_accept () (gdb) quit