#0 0x004d5f5b in strlen () from /lib/tls/libc.so.6 #1 0x004aa1a5 in vfprintf () from /lib/tls/libc.so.6 #2 0x004c77a6 in vsnprintf () from /lib/tls/libc.so.6 #3 0x08145ff8 in __ast_str_helper (buf=0xb79622b8, max_len=8192, append=0, fmt=0x816d168 "%s line %d (%s): Error: '%s' was locked here.\n", ap=0xb79622e4 "\001") at utils.c:1567 #4 0x080ddcef in ast_log (level=4, file=0x816cef0 "/usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h", line=344, function=0x816d0cb "__ast_pthread_mutex_destroy", fmt=0x816d168 "%s line %d (%s): Error: '%s' was locked here.\n") at logger.c:1041 #5 0x0807824b in __ast_pthread_mutex_destroy (filename=0x816ce54 "astobj2.c", lineno=189, func=0x816d094 "ao2_ref", mutex_name=0x816d0b6 "&obj->priv_data.lock", t=0x8357980) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:343 #6 0x0807802d in ao2_ref (user_data=0x8357a68, delta=-1) at astobj2.c:189 #7 0x06e71003 in __sip_destroy (p=0x8359f68, lockowner=1, lockdialoglist=0) at chan_sip.c:4455 #8 0x06eb7aa1 in do_monitor (data=0x0) at chan_sip.c:18949 #9 0x08144de0 in dummy_start (data=0x831f1a0) at utils.c:917 #10 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #11 0x005349be in clone () from /lib/tls/libc.so.6 #0 0x004d5f5b in strlen () from /lib/tls/libc.so.6 No symbol table info available. #1 0x004aa1a5 in vfprintf () from /lib/tls/libc.so.6 No symbol table info available. #2 0x004c77a6 in vsnprintf () from /lib/tls/libc.so.6 No symbol table info available. #3 0x08145ff8 in __ast_str_helper (buf=0xb79622b8, max_len=8192, append=0, fmt=0x816d168 "%s line %d (%s): Error: '%s' was locked here.\n", ap=0xb79622e4 "\001") at utils.c:1567 res = 137725392 need = 137725392 offset = 0 #4 0x080ddcef in ast_log (level=4, file=0x816cef0 "/usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h", line=344, function=0x816d0cb "__ast_pthread_mutex_destroy", fmt=0x816d168 "%s line %d (%s): Error: '%s' was locked here.\n") at logger.c:1041 __res = 93 logmsg = (struct logmsg *) 0x0 buf = (struct ast_str *) 0x83585d0 tm = {tm_sec = 21, tm_min = 43, tm_hour = 0, tm_mday = 29, tm_mon = 10, tm_year = 6458647, tm_wday = 6, tm_yday = 5844980, tm_isdst = 0, tm_gmtoff = -1214895184, tm_zone = 0xb79622b8 "Ð\2055\b", tm_usec = 5510526} tv = {tv_sec = 1227941001, tv_usec = 220226} res = 0 ap = 0xb79622e4 "\001" __PRETTY_FUNCTION__ = "ast_log" #5 0x0807824b in __ast_pthread_mutex_destroy (filename=0x816ce54 "astobj2.c", lineno=189, func=0x816d094 "ao2_ref", mutex_name=0x816d0b6 "&obj->priv_data.lock", t=0x8357980) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:343 res = 16 canlog = 1 __PRETTY_FUNCTION__ = "__ast_pthread_mutex_destroy" #6 0x0807802d in ao2_ref (user_data=0x8357a68, delta=-1) at astobj2.c:189 current_value = 0 ret = 1 obj = (struct astobj2 *) 0x8357980 __PRETTY_FUNCTION__ = "ao2_ref" #7 0x06e71003 in __sip_destroy (p=0x8359f68, lockowner=1, lockdialoglist=0) at chan_sip.c:4455 cur = (struct sip_pvt *) 0x8359f68 prev = (struct sip_pvt *) 0x835c2d8 cp = (struct sip_pkt *) 0x0 __PRETTY_FUNCTION__ = "__sip_destroy" #8 0x06eb7aa1 in do_monitor (data=0x0) at chan_sip.c:18949 res = 1 dialog = (struct sip_pvt *) 0x8359f68 t = 1227941001 reloading = 0 __PRETTY_FUNCTION__ = "do_monitor" #9 0x08144de0 in dummy_start (data=0x831f1a0) at utils.c:917 _buffer = {__routine = 0x806d670 , __arg = 0xb7962bb0, __canceltype = 0, __prev = 0x0} ret = (void *) 0x0 a = {start_routine = 0x6eb77b7 , data = 0x0, name = 0x831f1b0 "do_monitor", ' ' , "started at [18996] chan_sip.c restart_monitor()"} lock_info = (struct thr_lock_info *) 0x8355bc0 mutex_attr = {__mutexkind = 1} #10 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #11 0x005349be in clone () from /lib/tls/libc.so.6 No symbol table info available. Thread 31 (process 22672): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00525b3b in __read_nocancel () from /lib/tls/libc.so.6 #2 0x0814bac2 in read_char (el=0x8229d38, cp=0xbfe792bb "¿") at read.c:301 #3 0x0814bb5b in el_getc (el=0x8229d38, cp=0xbfe792bb "¿") at read.c:347 #4 0x0814b9bc in read_getcmd (el=0x8229d38, cmdnum=0xfffffe00
, ch=0xbfe792bb "¿") at read.c:243 #5 0x0814bcaf in el_gets (el=0x8229d38, nread=0xbfe795cc) at read.c:443 #6 0x080775c0 in main (argc=4, argv=0xbfe797e4) at asterisk.c:3411 #7 0x00481e23 in __libc_start_main () from /lib/tls/libc.so.6 #8 0x0805af41 in ?? () Thread 30 (process 22697): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00629b16 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x00541357 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libc.so.6 #3 0x080b7be0 in __ast_cond_wait (filename=0x81796c4 "event.c", lineno=762, func=0x8179b94 "ast_event_dispatcher", cond_name=0x81799ce "&event_thread.cond", mutex_name=0x81799bb "&event_thread.lock", cond=0x81a3ba0, t=0x81a3bd0) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:626 #4 0x080b76cf in ast_event_dispatcher (unused=0x0) at event.c:762 #5 0x08144de0 in dummy_start (data=0x822d588) at utils.c:917 #6 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #7 0x005349be in clone () from /lib/tls/libc.so.6 Thread 29 (process 22698): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x0052aca4 in poll () from /lib/tls/libc.so.6 #2 0x0806ffaa in listener (unused=0x0) at asterisk.c:1051 #3 0x08144de0 in dummy_start (data=0x822d5a8) at utils.c:917 #4 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #5 0x005349be in clone () from /lib/tls/libc.so.6 Thread 28 (process 22699): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x0062c2e1 in __lll_mutex_unlock_wake () from /lib/tls/libpthread.so.0 #2 0x0062914f in _L_mutex_unlock_153 () from /lib/tls/libpthread.so.0 #3 0xb7f1b368 in ?? () #4 0x005415be in pthread_mutex_unlock () from /lib/tls/libc.so.6 #5 0x005415be in pthread_mutex_unlock () from /lib/tls/libc.so.6 #6 0x080dcf0e in __ast_pthread_mutex_unlock (filename=0x8181a2c "logger.c", lineno=885, func=0x81834e7 "logger_thread", mutex_name=0x81834f5 "&(&logmsgs)->lock", t=0x81a6648) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:547 #7 0x080dcbf8 in logger_thread (data=0x0) at logger.c:885 #8 0x08144de0 in dummy_start (data=0x822bd40) at utils.c:917 #9 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #10 0x005349be in clone () from /lib/tls/libc.so.6 Thread 27 (process 22700): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00629b16 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x00541357 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libc.so.6 #3 0x080a93ad in __ast_cond_wait (filename=0x81771f4 "devicestate.c", lineno=509, func=0x817765c "do_devstate_changes", cond_name=0x81775d4 "&change_pending", mutex_name=0x8177670 "&state_changes.lock", cond=0x81bd760, t=0x81a35a8) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:626 #4 0x080a9076 in do_devstate_changes (data=0x0) at devicestate.c:509 #5 0x08144de0 in dummy_start (data=0x823dfa8) at utils.c:917 #6 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #7 0x005349be in clone () from /lib/tls/libc.so.6 Thread 26 (process 22701): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00629b16 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x00541357 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libc.so.6 #3 0x080f5dc3 in __ast_cond_wait (filename=0x8187094 "pbx.c", lineno=3342, func=0x818bceb "device_state_thread", cond_name=0x818bcd8 "&device_state.cond", mutex_name=0x818bcc5 "&device_state.lock", cond=0x81a91c0, t=0x81a90e8) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:626 #4 0x080f5a68 in device_state_thread (data=0x0) at pbx.c:3342 #5 0x08144de0 in dummy_start (data=0x823ee60) at utils.c:917 #6 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #7 0x005349be in clone () from /lib/tls/libc.so.6 Thread 25 (process 22702): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x0052d411 in ___newselect_nocancel () from /lib/tls/libc.so.6 #2 0x080c0e03 in ast_select (nfds=0, rfds=0xb7e64300, wfds=0x0, efds=0xb7e64280, tvp=0x0) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/channel.h:1563 #3 0x080c0dcc in do_parking_thread (ignore=0x0) at features.c:2391 #4 0x08144de0 in dummy_start (data=0x82473b0) at utils.c:917 #5 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #6 0x005349be in clone () from /lib/tls/libc.so.6 Thread 24 (process 22705): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00525b3b in __read_nocancel () from /lib/tls/libc.so.6 #2 0x009cfa73 in monmp3thread (data=0x82430e0) at res_musiconhold.c:579 #3 0x08144de0 in dummy_start (data=0x823b430) at utils.c:917 #4 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #5 0x005349be in clone () from /lib/tls/libc.so.6 Thread 23 (process 22708): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00629d8c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x0054139e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/libc.so.6 #3 0x002da5dd in __ast_cond_timedwait (filename=0x2dffb4 "app_voicemail.c", lineno=8521, func=0x2e4e80 "mb_poll_thread", cond_name=0x2e4e9a "&poll_cond", mutex_name=0x2e4e8f "&poll_lock", cond=0x2e7a20, t=0x2e7940, abstime=0xb7de53c8) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:697 #4 0x002da294 in mb_poll_thread (data=0x0) at app_voicemail.c:8521 #5 0x08144de0 in dummy_start (data=0x824a8c0) at utils.c:917 #6 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #7 0x005349be in clone () from /lib/tls/libc.so.6 Thread 22 (process 22709): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x0052aca4 in poll () from /lib/tls/libc.so.6 #2 0x008b1d8d in pri_dchannel (vpri=0x8d27a0) at chan_dahdi.c:10372 #3 0x08144de0 in dummy_start (data=0x824a3f8) at utils.c:917 #4 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #5 0x005349be in clone () from /lib/tls/libc.so.6 Thread 21 (process 22710): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x0052aca4 in poll () from /lib/tls/libc.so.6 #2 0x008b1d8d in pri_dchannel (vpri=0x8d34dc) at chan_dahdi.c:10372 #3 0x08144de0 in dummy_start (data=0x8244bd0) at utils.c:917 #4 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #5 0x005349be in clone () from /lib/tls/libc.so.6 Thread 20 (process 22711): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x0052aca4 in poll () from /lib/tls/libc.so.6 #2 0x008aa919 in do_monitor (data=0x0) at chan_dahdi.c:7760 #3 0x08144de0 in dummy_start (data=0x823f568) at utils.c:917 #4 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #5 0x005349be in clone () from /lib/tls/libc.so.6 Thread 19 (process 22712): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00629b16 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x00541357 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libc.so.6 #3 0x00f46770 in __ast_cond_wait (filename=0xf5d354 "app_queue.c", lineno=799, func=0xf5eec8 "device_state_thread", cond_name=0xf5eeef "&device_state.cond", mutex_name=0xf5eedc "&device_state.lock", cond=0xf646c0, t=0xf645e8) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:626 #4 0x00f46369 in device_state_thread (data=0x0) at app_queue.c:799 #5 0x08144de0 in dummy_start (data=0x82d9230) at utils.c:917 #6 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #7 0x005349be in clone () from /lib/tls/libc.so.6 Thread 18 (process 22714): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00629b16 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x00541357 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libc.so.6 #3 0x0101e2b6 in __ast_cond_wait (filename=0x1031af4 "chan_iax2.c", lineno=9538, func=0x1037264 "iax2_process_thread", cond_name=0x1031fda "&thread->cond", mutex_name=0x1031fcc "&thread->lock", cond=0x8300ee4, t=0x8300e0c) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:626 #4 0x0101db4f in iax2_process_thread (data=0x82ffd78) at chan_iax2.c:9538 #5 0x08144de0 in dummy_start (data=0x82ff078) at utils.c:917 #6 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #7 0x005349be in clone () from /lib/tls/libc.so.6 Thread 17 (process 22715): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00629b16 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x00541357 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libc.so.6 #3 0x0101e2b6 in __ast_cond_wait (filename=0x1031af4 "chan_iax2.c", lineno=9538, func=0x1037264 "iax2_process_thread", cond_name=0x1031fda "&thread->cond", mutex_name=0x1031fcc "&thread->lock", cond=0x83020ac, t=0x8301fd4) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:626 #4 0x0101db4f in iax2_process_thread (data=0x8300f40) at chan_iax2.c:9538 #5 0x08144de0 in dummy_start (data=0x82ff088) at utils.c:917 #6 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #7 0x005349be in clone () from /lib/tls/libc.so.6 Thread 16 (process 22716): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00629b16 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x00541357 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libc.so.6 #3 0x0101e2b6 in __ast_cond_wait (filename=0x1031af4 "chan_iax2.c", lineno=9538, func=0x1037264 "iax2_process_thread", cond_name=0x1031fda "&thread->cond", mutex_name=0x1031fcc "&thread->lock", cond=0x8303274, t=0x830319c) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:626 #4 0x0101db4f in iax2_process_thread (data=0x8302108) at chan_iax2.c:9538 #5 0x08144de0 in dummy_start (data=0x82ff328) at utils.c:917 #6 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #7 0x005349be in clone () from /lib/tls/libc.so.6 Thread 15 (process 22717): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00629b16 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x00541357 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libc.so.6 #3 0x0101e2b6 in __ast_cond_wait (filename=0x1031af4 "chan_iax2.c", lineno=9538, func=0x1037264 "iax2_process_thread", cond_name=0x1031fda "&thread->cond", mutex_name=0x1031fcc "&thread->lock", cond=0x830443c, t=0x8304364) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:626 #4 0x0101db4f in iax2_process_thread (data=0x83032d0) at chan_iax2.c:9538 #5 0x08144de0 in dummy_start (data=0x82ff420) at utils.c:917 #6 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #7 0x005349be in clone () from /lib/tls/libc.so.6 Thread 14 (process 22718): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00629b16 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x00541357 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libc.so.6 #3 0x0101e2b6 in __ast_cond_wait (filename=0x1031af4 "chan_iax2.c", lineno=9538, func=0x1037264 "iax2_process_thread", cond_name=0x1031fda "&thread->cond", mutex_name=0x1031fcc "&thread->lock", cond=0x8305604, t=0x830552c) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:626 #4 0x0101db4f in iax2_process_thread (data=0x8304498) at chan_iax2.c:9538 #5 0x08144de0 in dummy_start (data=0x82ff518) at utils.c:917 #6 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #7 0x005349be in clone () from /lib/tls/libc.so.6 Thread 13 (process 22719): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00629b16 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x00541357 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libc.so.6 #3 0x0101e2b6 in __ast_cond_wait (filename=0x1031af4 "chan_iax2.c", lineno=9538, func=0x1037264 "iax2_process_thread", cond_name=0x1031fda "&thread->cond", mutex_name=0x1031fcc "&thread->lock", cond=0x83067cc, t=0x83066f4) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:626 #4 0x0101db4f in iax2_process_thread (data=0x8305660) at chan_iax2.c:9538 #5 0x08144de0 in dummy_start (data=0x82ff610) at utils.c:917 #6 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #7 0x005349be in clone () from /lib/tls/libc.so.6 Thread 12 (process 22720): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00629b16 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x00541357 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libc.so.6 #3 0x0101e2b6 in __ast_cond_wait (filename=0x1031af4 "chan_iax2.c", lineno=9538, func=0x1037264 "iax2_process_thread", cond_name=0x1031fda "&thread->cond", mutex_name=0x1031fcc "&thread->lock", cond=0x830ac84, t=0x830abac) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:626 #4 0x0101db4f in iax2_process_thread (data=0x8309b18) at chan_iax2.c:9538 #5 0x08144de0 in dummy_start (data=0x82ff610) at utils.c:917 #6 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #7 0x005349be in clone () from /lib/tls/libc.so.6 Thread 11 (process 22721): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00629b16 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x00541357 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libc.so.6 #3 0x0101e2b6 in __ast_cond_wait (filename=0x1031af4 "chan_iax2.c", lineno=9538, func=0x1037264 "iax2_process_thread", cond_name=0x1031fda "&thread->cond", mutex_name=0x1031fcc "&thread->lock", cond=0x830bf44, t=0x830be6c) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:626 #4 0x0101db4f in iax2_process_thread (data=0x830add8) at chan_iax2.c:9538 #5 0x08144de0 in dummy_start (data=0x830ad30) at utils.c:917 #6 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #7 0x005349be in clone () from /lib/tls/libc.so.6 Thread 10 (process 22722): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00629b16 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x00541357 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libc.so.6 #3 0x0101e2b6 in __ast_cond_wait (filename=0x1031af4 "chan_iax2.c", lineno=9538, func=0x1037264 "iax2_process_thread", cond_name=0x1031fda "&thread->cond", mutex_name=0x1031fcc "&thread->lock", cond=0x830d204, t=0x830d12c) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:626 #4 0x0101db4f in iax2_process_thread (data=0x830c098) at chan_iax2.c:9538 #5 0x08144de0 in dummy_start (data=0x830bff0) at utils.c:917 #6 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #7 0x005349be in clone () from /lib/tls/libc.so.6 Thread 9 (process 22723): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00629b16 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x00541357 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libc.so.6 #3 0x0101e2b6 in __ast_cond_wait (filename=0x1031af4 "chan_iax2.c", lineno=9538, func=0x1037264 "iax2_process_thread", cond_name=0x1031fda "&thread->cond", mutex_name=0x1031fcc "&thread->lock", cond=0x830e4c4, t=0x830e3ec) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:626 #4 0x0101db4f in iax2_process_thread (data=0x830d358) at chan_iax2.c:9538 #5 0x08144de0 in dummy_start (data=0x830d2b0) at utils.c:917 #6 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #7 0x005349be in clone () from /lib/tls/libc.so.6 Thread 8 (process 22724): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00629d8c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x0054139e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/libc.so.6 #3 0x0101e79e in __ast_cond_timedwait (filename=0x1031af4 "chan_iax2.c", lineno=9996, func=0x10378e1 "sched_thread", cond_name=0x10378fa "&sched_cond", mutex_name=0x10378ee "&sched_lock", cond=0x103df40, t=0x103c3e0, abstime=0xb7a203b8) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:697 #4 0x0102075f in sched_thread (ignore=0x0) at chan_iax2.c:9996 #5 0x08144de0 in dummy_start (data=0x82ff0b8) at utils.c:917 #6 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #7 0x005349be in clone () from /lib/tls/libc.so.6 Thread 7 (process 22725): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x0052aca4 in poll () from /lib/tls/libc.so.6 #2 0x080d5480 in ast_io_wait (ioc=0x824d4f0, howlong=-1) at io.c:275 #3 0x01020b9b in network_thread (ignore=0x0) at chan_iax2.c:10064 #4 0x08144de0 in dummy_start (data=0x82ff0c8) at utils.c:917 #5 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #6 0x005349be in clone () from /lib/tls/libc.so.6 Thread 6 (process 22726): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x0052aca4 in poll () from /lib/tls/libc.so.6 #2 0x081450eb in ast_wait_for_input (fd=65, ms=-1) at utils.c:1003 #3 0x081377dc in ast_tcptls_server_root (data=0x6eddfa0) at tcptls.c:134 #4 0x08144de0 in dummy_start (data=0x83477d0) at utils.c:917 #5 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #6 0x005349be in clone () from /lib/tls/libc.so.6 Thread 5 (process 22728): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x004f7826 in __nanosleep_nocancel () from /lib/tls/libc.so.6 #2 0x004f762c in sleep () from /lib/tls/libc.so.6 #3 0x00bc9d19 in scan_thread (unused=0x0) at pbx_spool.c:447 #4 0x08144de0 in dummy_start (data=0x83241f0) at utils.c:917 #5 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #6 0x005349be in clone () from /lib/tls/libc.so.6 Thread 4 (process 22729): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x0052aca4 in poll () from /lib/tls/libc.so.6 #2 0x08075489 in monitor_sig_flags (unused=0x0) at asterisk.c:2786 #3 0x08144de0 in dummy_start (data=0x83588f0) at utils.c:917 #4 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #5 0x005349be in clone () from /lib/tls/libc.so.6 Thread 3 (process 22731): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x0052aca4 in poll () from /lib/tls/libc.so.6 #2 0x0806fd59 in netconsole (vconsole=0x81c49c0) at asterisk.c:1004 #3 0x08144de0 in dummy_start (data=0x8358900) at utils.c:917 #4 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #5 0x005349be in clone () from /lib/tls/libc.so.6 Thread 2 (process 22766): #0 0x004547a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x0052aca4 in poll () from /lib/tls/libc.so.6 #2 0x081450eb in ast_wait_for_input (fd=72, ms=-1) at utils.c:1003 #3 0x06e6612f in _sip_tcp_helper_thread (pvt=0x0, ser=0x8357a68) at chan_sip.c:2236 #4 0x06e65ee7 in sip_tcp_worker_fn (data=0x8357a68) at chan_sip.c:2194 #5 0x08138cb2 in ast_make_file_from_fd (data=0x8357a68) at tcptls.c:469 #6 0x08144de0 in dummy_start (data=0x8358910) at utils.c:917 #7 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #8 0x005349be in clone () from /lib/tls/libc.so.6 Thread 1 (process 22727): #0 0x004d5f5b in strlen () from /lib/tls/libc.so.6 #1 0x004aa1a5 in vfprintf () from /lib/tls/libc.so.6 #2 0x004c77a6 in vsnprintf () from /lib/tls/libc.so.6 #3 0x08145ff8 in __ast_str_helper (buf=0xb79622b8, max_len=8192, append=0, fmt=0x816d168 "%s line %d (%s): Error: '%s' was locked here.\n", ap=0xb79622e4 "\001") at utils.c:1567 #4 0x080ddcef in ast_log (level=4, file=0x816cef0 "/usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h", line=344, function=0x816d0cb "__ast_pthread_mutex_destroy", fmt=0x816d168 "%s line %d (%s): Error: '%s' was locked here.\n") at logger.c:1041 #5 0x0807824b in __ast_pthread_mutex_destroy (filename=0x816ce54 "astobj2.c", lineno=189, func=0x816d094 "ao2_ref", mutex_name=0x816d0b6 "&obj->priv_data.lock", t=0x8357980) at /usr/local/src/asterisk-1.6.0.1/include/asterisk/lock.h:343 #6 0x0807802d in ao2_ref (user_data=0x8357a68, delta=-1) at astobj2.c:189 #7 0x06e71003 in __sip_destroy (p=0x8359f68, lockowner=1, lockdialoglist=0) at chan_sip.c:4455 #8 0x06eb7aa1 in do_monitor (data=0x0) at chan_sip.c:18949 #9 0x08144de0 in dummy_start (data=0x831f1a0) at utils.c:917 #10 0x00627371 in start_thread () from /lib/tls/libpthread.so.0 #11 0x005349be in clone () from /lib/tls/libc.so.6