[asterisk-dev] pthread_mutex assert core dump

Paulo Mannheimer paulohm at instant.com.br
Fri Feb 2 10:44:42 MST 2007


Hi folks I have been consistently having this kind of core dump in one
of my customers,

I would initially suspect of chan_spy but as the core dump occurs inside
libc, and with an assert, I was wondering if someone has experienced
something similar.

#0  0x40117947 in raise () from /lib/tls/libc.so.6
#1  0x401190c9 in abort () from /lib/tls/libc.so.6
#2  0x4011105f in __assert_fail () from /lib/tls/libc.so.6
#3  0x40029f96 in pthread_mutex_lock () from /lib/tls/libpthread.so.0 #4
0x40e0553a in ast_mutex_lock (pmutex=0x1184ca9c) at
../include/asterisk/lock.h:601 #5  0x40e05d5e in channel_spy
(chan=0x4558c340, spyee=0x1184c9d0, volfactor=0x42cb8ba8, fd=0) at
app_chanspy.c:335 #6  0x40e06a30 in chanspy_exec (chan=0x4558c340,
data=0x42cbd054) at app_chanspy.c:511 #7  0x08086104 in pbx_exec
(c=0x4558c340, app=0x8260330, data=0x42cbd054, newstack=1) at pbx.c:553
#8  0x08089753 in pbx_extension_helper (c=0x4558c340, con=0x0,
context=0x4558c490 "default", exten=0x4558c584 "*10000",
    priority=6, label=0x0, callerid=0x43fa1a48 "1093", action=1) at
pbx.c:1697 #9  0x0808aa17 in ast_spawn_extension (c=0x4558c340,
context=0x4558c490 "default", exten=0x4558c584 "*10000", priority=6,
    callerid=0x43fa1a48 "1093") at pbx.c:2230
#10 0x0808ae64 in __ast_pbx_run (c=0x4558c340) at pbx.c:2296 #11
0x0808bbbf in pbx_thread (data=0x4558c340) at pbx.c:2517 #12 0x400280ed
in start_thread () from /lib/tls/libpthread.so.0 #13 0x401ba8fe in clone
() from /lib/tls/libc.so.6

Best regards,

Paulo HM



More information about the asterisk-dev mailing list