[asterisk-dev] Asterisk 1.4.12 __ast_pthread_mutex_lock Deadlock

Hendrik Visage hvjunk at gmail.com
Tue Oct 9 06:10:12 CDT 2007


with DETECT_DEADLOCKS and DEBUG_THREADS:
[Oct  9 12:57:41] ERROR[32313]:
/home/hvisage/ast/asterisk-1.4.12/include/asterisk/lock.h:284
__ast_pthread_mutex_lock: channel.c line 1587 (queue_frame_to_spies):
Deadlock? waited 5 sec for mutex '&spy->lock'?
Segmentation fault (core dumped)

ie. I did NOT have DO_CRASH enabled. This appears to be a problem in
some string:

#0  0xb7dcbb6b in strlen () from /lib/libc.so.6
(gdb) bt full
#0  0xb7dcbb6b in strlen () from /lib/libc.so.6
No symbol table info available.
#1  0xb7d9edab in vfprintf () from /lib/libc.so.6
No symbol table info available.
#2  0xb7dbe524 in vsnprintf () from /lib/libc.so.6
No symbol table info available.
#3  0x0813613b in ?? ()
No symbol table info available.



-- 
Hendrik Visage



More information about the asterisk-dev mailing list