(gdb) bt #0 0x2838255b in pthread_testcancel () from /lib/libpthread.so.2 #1 0x283718be in sigaction () from /lib/libpthread.so.2 #2 0x2836b88d in pthread_kill () from /lib/libpthread.so.2 #3 0x2836b256 in raise () from /lib/libpthread.so.2 #4 0x2844628c in abort () from /lib/libc.so.6 #5 0x283e2f3b in _UTF8_init () from /lib/libc.so.6 #6 0xbfbfed94 in ?? () #7 0x2844d593 in sys_nsig () from /lib/libc.so.6 #8 0x2844d493 in sys_nsig () from /lib/libc.so.6 #9 0x2844d521 in sys_nsig () from /lib/libc.so.6 #10 0x00000000 in ?? () #11 0x284598a0 in ?? () from /lib/libc.so.6 #12 0xbf345c88 in ?? () #13 0x283e2f69 in _UTF8_init () from /lib/libc.so.6 #14 0x284598a0 in ?? () from /lib/libc.so.6 #15 0x081ca688 in _CurrentRuneLocale () #16 0xbf345d38 in ?? () #17 0x283e3cc9 in _UTF8_init () from /lib/libc.so.6 #18 0x00000023 in ?? () #19 0x0000003b in ?? () #20 0x00000008 in ?? () #21 0x00000018 in ?? () #22 0x00000005 in ?? () #23 0x0000006c in ?? () #24 0x00000002 in ?? () #25 0x000000af in ?? () #26 0x00000000 in ?? () #27 0x00007080 in ?? () #28 0x00000000 in ?? () #29 0x00000000 in ?? () #30 0x08c99e00 in ?? () #31 0x081d0b54 in logmsgs () #32 0x08cdd800 in ?? () #33 0x08e4b400 in ?? () #34 0x081edc8c in ?? () #35 0x08c99e48 in ?? () #36 0xbf345d28 in ?? () #37 0x08079709 in __ast_pthread_mutex_destroy (filename=0x284598a0 "ä÷\f", lineno=136095368, func=0xbf345d38 "h]4¿\221\226\a\b\223ÕD(\b", mutex_name=0x283e3cc9 "\213\213 to continue, or q to quit--- #26 0x00000000 in ?? () No symbol table info available. #27 0x00007080 in ?? () No symbol table info available. #28 0x00000000 in ?? () No symbol table info available. #29 0x00000000 in ?? () No symbol table info available. #30 0x08c99e00 in ?? () No symbol table info available. #31 0x081d0b54 in logmsgs () No symbol table info available. #32 0x08cdd800 in ?? () No symbol table info available. #33 0x08e4b400 in ?? () No symbol table info available. #34 0x081edc8c in ?? () No symbol table info available. #35 0x08c99e48 in ?? () No symbol table info available. #36 0xbf345d28 in ?? () No symbol table info available. #37 0x08079709 in __ast_pthread_mutex_destroy (filename=0x284598a0 "ä÷\f", lineno=136095368, func=0xbf345d38 "h]4¿\221\226\a\b\223ÕD(\b", mutex_name=0x283e3cc9 "\213\213 to continue, or q to quit--- #1 0x2837aeec in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x281ec450 in ?? () Thread 34 (Thread 0x81e6e00 (sleeping)): #0 0x2837afbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x2837b153 in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x2837f761 in _pthread_cond_wait () from /lib/libpthread.so.2 #3 0x2837fcaa in pthread_cond_wait () from /lib/libpthread.so.2 #4 0x08143f8e in __ast_cond_wait (filename=0x81b3dd0 "taskprocessor.c", lineno=294, func=0x81b450c "tps_processing_function", cond_name=0x81b4585 "&i->poll_cond", mutex_name=0x81b456e "&i->taskprocessor_lock", cond=0x81e6cc4, t=0x81e6ccc) at lock.h:762 #5 0x08143a82 in tps_processing_function (data=0x81e6cc0) at taskprocessor.c:294 #6 0x08155307 in dummy_start (data=0x81dff20) at utils.c:1021 #7 0x283733c9 in pthread_create () from /lib/libpthread.so.2 #8 0x28431837 in _ctx_start () from /lib/libc.so.6 Thread 33 (Thread 0x81fd000 (runnable)): #0 0x28400b97 in poll () from /lib/libc.so.6 #1 0x2836b532 in poll () from /lib/libpthread.so.2 #2 0x08071684 in listener (unused=0x0) at asterisk.c:1072 #3 0x08155307 in dummy_start (data=0x81dffb0) at utils.c:1021 #4 0x283733c9 in pthread_create () from /lib/libpthread.so.2 #5 0x28431837 in _ctx_start () from /lib/libc.so.6 Thread 32 (Thread 0x81fd200 (sleeping)): #0 0x2837afbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x2837b153 in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x2837f761 in _pthread_cond_wait () from /lib/libpthread.so.2 #3 0x2837fcaa in pthread_cond_wait () from /lib/libpthread.so.2 #4 0x080eae5e in __ast_cond_wait (filename=0x819ea38 "logger.c", lineno=969, func=0x819fe73 "logger_thread", cond_name=0x819fe8f "&logcond", mutex_name=0x819fe81 "&logmsgs.lock", cond=0x81d0b58, t=0x81d0aa8) at lock.h:762 #5 0x080ea688 in logger_thread (data=0x0) at logger.c:969 #6 0x08155307 in dummy_start (data=0x82010b0) at utils.c:1021 #7 0x283733c9 in pthread_create () from /lib/libpthread.so.2 #8 0x28431837 in _ctx_start () from /lib/libc.so.6 Thread 31 (Thread 0x81fde00 (sleeping)): #0 0x2837afbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x2837b153 in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x28380091 in _pthread_cond_timedwait () from /lib/libpthread.so.2 #3 0x283805e6 in pthread_cond_timedwait () from /lib/libpthread.so.2 #4 0x0808a595 in __ast_cond_timedwait (filename=0x8188204 "cdr.c", lineno=1243, func=0x81890ec "do_cdr", cond_name=0x818909a "&cdr_pending_cond", mutex_name=0x81883ce "&cdr_pending_lock", cond=0x81cf3e4, t=0x81be6a0, abstime=0xbf809f60) at lock.h:859 #5 0x0808a196 in do_cdr (data=0x0) at cdr.c:1243 #6 0x08155307 in dummy_start (data=0x821c330) at utils.c:1021 #7 0x283733c9 in pthread_create () from /lib/libpthread.so.2 #8 0x28431837 in _ctx_start () from /lib/libc.so.6 Thread 30 (Thread 0x81fd600 (sleeping)): #0 0x2837afbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x2837b153 in pthread_mutexattr_init () from /lib/libpthread.so.2 ---Type to continue, or q to quit--- #2 0x2837f761 in _pthread_cond_wait () from /lib/libpthread.so.2 #3 0x2837fcaa in pthread_cond_wait () from /lib/libpthread.so.2 #4 0x080adb3a in __ast_cond_wait (filename=0x819155c "devicestate.c", lineno=693, func=0x81920c7 "run_devstate_collector", cond_name=0x81920f7 "&devstate_collector.cond", mutex_name=0x81920de "&devstate_collector.lock", cond=0x81bfe88, t=0x81bfe8c) at lock.h:762 #5 0x080ae24c in run_devstate_collector (data=0x0) at devicestate.c:693 #6 0x08155307 in dummy_start (data=0x821c490) at utils.c:1021 #7 0x283733c9 in pthread_create () from /lib/libpthread.so.2 #8 0x28431837 in _ctx_start () from /lib/libc.so.6 Thread 29 (Thread 0x820f400 (sleeping)): #0 0x2837afbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x2837b153 in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x2837f761 in _pthread_cond_wait () from /lib/libpthread.so.2 #3 0x2837fcaa in pthread_cond_wait () from /lib/libpthread.so.2 #4 0x080adb3a in __ast_cond_wait (filename=0x819155c "devicestate.c", lineno=552, func=0x8191e80 "do_devstate_changes", cond_name=0x8191df8 "&change_pending", mutex_name=0x8191e94 "&state_changes.lock", cond=0x81cf798, t=0x81cf6e8) at lock.h:762 #5 0x080ad76a in do_devstate_changes (data=0x0) at devicestate.c:552 #6 0x08155307 in dummy_start (data=0x821c510) at utils.c:1021 #7 0x283733c9 in pthread_create () from /lib/libpthread.so.2 #8 0x28431837 in _ctx_start () from /lib/libc.so.6 Thread 28 (Thread 0x820fa00 (sleeping)): #0 0x2837afbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x2837b153 in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x2837f761 in _pthread_cond_wait () from /lib/libpthread.so.2 #3 0x2837fcaa in pthread_cond_wait () from /lib/libpthread.so.2 #4 0x08143f8e in __ast_cond_wait (filename=0x81b3dd0 "taskprocessor.c", lineno=294, func=0x81b450c "tps_processing_function", cond_name=0x81b4585 "&i->poll_cond", mutex_name=0x81b456e "&i->taskprocessor_lock", cond=0x820fcc4, t=0x820fccc) at lock.h:762 #5 0x08143a82 in tps_processing_function (data=0x820fcc0) at taskprocessor.c:294 #6 0x08155307 in dummy_start (data=0x821c690) at utils.c:1021 #7 0x283733c9 in pthread_create () from /lib/libpthread.so.2 #8 0x28431837 in _ctx_start () from /lib/libc.so.6 Thread 27 (Thread 0x822d600 (runnable)): #0 0x2837afbf in pthread_mutexattr_init () from /lib/libpthread.so.2 #1 0x2837b153 in pthread_mutexattr_init () from /lib/libpthread.so.2 #2 0x283854b4 in ?? () from /lib/libpthread.so.2 #3 0x081e6000 in ?? () #4 0x081e6000 in ?? () #5 0xbf715988 in ?? () #6 0x2837a2d0 in pthread_mutexattr_init () from /lib/libpthread.so.2 #7 0x28378cc6 in pthread_mutex_lock () from /lib/libpthread.so.2 #8 0x2836e31a in _spinunlock () from /lib/libpthread.so.2 #9 0x283e3d22 in _UTF8_init () from /lib/libc.so.6 #10 0x28460580 in _thread_autoinit_dummy_decl_stub () from /lib/libc.so.6 #11 0x0821c9e0 in ?? () #12 0xbf715ac8 in ?? () #13 0x283e3cc9 in _UTF8_init () from /lib/libc.so.6 #14 0x00000000 in ?? () ---Type to continue, or q to quit--- #15 0x00000000 in ?? () #16 0x00000000 in ?? () #17 0x00000044 in ?? () #18 0x00000000 in ?? () #19 0x00000000 in ?? () #20 0x00000000 in ?? () #21 0x00000000 in ?? () #22 0x00000000 in ?? () #23 0x00000000 in ?? () #24 0x00000000 in ?? () #25 0x00000000 in ?? () #26 0x00000000 in ?? () #27 0x00000000 in ?? () #28 0x00000000 in ?? () #29 0x283854b4 in ?? () from /lib/libpthread.so.2 #30 0x0822f500 in ?? () #31 0x00000000 in ?? () #32 0xbf715a88 in ?? () #33 0x283833f5 in __error () from /lib/libpthread.so.2 #34 0x283833f5 in __error () from /lib/libpthread.so.2 #35 0x281e8300 in ?? () #36 0x00000000 in ?? () #37 0xbf715b54 in ?? () #38 0x281c26fc in symlook_obj () from /libexec/ld-elf.so.1 Previous frame inner to this frame (corrupt stack?) #0 0x2838255b in pthread_testcancel () from /lib/libpthread.so.2 (gdb)