<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am running asterisk 1.2.27 and it dead today. The
following is the backtrace of core file. Can anybody help me to identify
what is the possible cause of crash?</FONT></DIV>
<DIV><FONT face=Arial size=2>It seems the mysql connection causing problem in
Thread 2. But I can not tell what exactly happened.</FONT></DIV>
<DIV><FONT face=Arial size=2>This asterisk is using as ACD for over hundred
agents.</FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>#> thread apply all bt</DIV>
<DIV><FONT face=Arial size=2>........</FONT></DIV>
<DIV><FONT face=Arial size=2>........</FONT></DIV>
<DIV><FONT face=Arial size=2>Thread 6 (process 20135):<BR>#0 0x00fc17a2 in
_dl_sysinfo_int80 () from /lib/ld-linux.so.2<BR>#1 0x002dfdf4 in poll ()
from /lib/tls/libc.so.6<BR>#2 0x080675a7 in ast_waitfor_nandfds
(c=0xb7469b80, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0,
ms=0xb7469b4c)<BR> at channel.c:1644<BR>#3 0x08069d86 in
ast_channel_bridge (c0=0xb22bf9a8, c1=0xa2ae648, config=0xb746a7a0,
fo=0xb7469c40, rc=0xb7469c44)<BR> at
channel.c:1721<BR>#4 0x00548f65 in ast_bridge_call (chan=0xb22bf9a8,
peer=0xa2ae648, config=0xb746a7a0) at res_features.c:1365<BR>#5 0x005a40ba
in dial_exec_full (chan=0xb22bf9a8, data=Variable "data" is not available.<BR>)
at app_dial.c:1633<BR>#6 0x005a6a33 in dial_exec (chan=0xfffffffc,
data=0x7fffffff) at app_dial.c:1680<BR>#7 0x08090bad in
pbx_extension_helper (c=0xb22bf9a8, con=Variable "con" is not available.<BR>) at
pbx.c:574<BR>#8 0x08091e86 in __ast_pbx_run (c=0xb22bf9a8) at
pbx.c:2250<BR>#9 0x08093a2c in pbx_thread (data=0xfffffffc) at
pbx.c:2537<BR>#10 0x00fa83cc in start_thread () from
/lib/tls/libpthread.so.0<BR>#11 0x002e9c3e in clone () from
/lib/tls/libc.so.6</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thread 5 (process 11504):<BR>#0 0x00fc17a2 in
_dl_sysinfo_int80 () from /lib/ld-linux.so.2<BR>#1 0x002dfdf4 in poll ()
from /lib/tls/libc.so.6<BR>#2 0x080675a7 in ast_waitfor_nandfds
(c=0xb51e2e90, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0,
ms=0xb51e2e5c)<BR> at channel.c:1644<BR>#3 0x08069d86 in
ast_channel_bridge (c0=0xa2db720, c1=0xa12acf8, config=0xb51e37c0,
fo=0xb51e2f50, rc=0xb51e2f54)<BR> at
channel.c:1721<BR>#4 0x00548f65 in ast_bridge_call (chan=0xa2db720,
peer=0xa12acf8, config=0xb51e37c0) at res_features.c:1365<BR>#5 0x004085bb
in try_calling (qe=0xb51e3ac0, options=Variable "options" is not available.<BR>)
at app_queue.c:2602<BR>#6 0x0040c6eb in queue_exec (chan=0xa2db720,
data=0xb51e8010) at app_queue.c:3344</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>#7 0x08090bad in pbx_extension_helper
(c=0xa2db720, con=Variable "con" is not available.<BR>) at pbx.c:574<BR>#8
0x08091e86 in __ast_pbx_run (c=0xa2db720) at pbx.c:2250<BR>#9 0x08093a2c
in pbx_thread (data=0xfffffffc) at pbx.c:2537<BR>#10 0x00fa83cc in start_thread
() from /lib/tls/libpthread.so.0<BR>---Type <return> to continue, or q
<return> to quit---<BR>#11 0x002e9c3e in clone () from
/lib/tls/libc.so.6</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thread 4 (process 24033):<BR>#0 0x00fc17a2 in
_dl_sysinfo_int80 () from /lib/ld-linux.so.2<BR>#1 0x002dfdf4 in poll ()
from /lib/tls/libc.so.6<BR>#2 0x080675a7 in ast_waitfor_nandfds
(c=0xb6c56e90, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0,
ms=0xb6c56e5c)<BR> at channel.c:1644<BR>#3 0x08069d86 in
ast_channel_bridge (c0=0x9e9cb80, c1=0xaf0ce2f8, config=0xb6c577c0,
fo=0xb6c56f50, rc=0xb6c56f54)<BR> at
channel.c:1721<BR>#4 0x00548f65 in ast_bridge_call (chan=0x9e9cb80,
peer=0xaf0ce2f8, config=0xb6c577c0) at res_features.c:1365<BR>#5
0x004085bb in try_calling (qe=0xb6c57ac0, options=Variable "options" is not
available.<BR>) at app_queue.c:2602<BR>#6 0x0040c6eb in queue_exec
(chan=0x9e9cb80, data=0xb6c5c010) at app_queue.c:3344<BR>#7 0x08090bad in
pbx_extension_helper (c=0x9e9cb80, con=Variable "con" is not available.<BR>) at
pbx.c:574<BR>#8 0x08091e86 in __ast_pbx_run (c=0x9e9cb80) at
pbx.c:2250<BR>#9 0x08093a2c in pbx_thread (data=0xfffffffc) at
pbx.c:2537<BR>#10 0x00fa83cc in start_thread () from
/lib/tls/libpthread.so.0<BR>#11 0x002e9c3e in clone () from
/lib/tls/libc.so.6</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thread 3 (process 30070):<BR>#0 0x00fc17a2 in
_dl_sysinfo_int80 () from /lib/ld-linux.so.2<BR>#1 0x002f6a9e in
__lll_mutex_lock_wait () from /lib/tls/libc.so.6<BR>#2 0x0028800b in
_L_mutex_lock_3800 () from /lib/tls/libc.so.6<BR>#3 0x00fa9e27 in
pthread_mutex_lock () from /lib/tls/libpthread.so.0</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>#4 0x080668f5 in ast_read (chan=0x2f6a9e) at
channel.c:1945<BR>#5 0x08069d98 in ast_channel_bridge (c0=0xb015fea0,
c1=0xa0b5c88, config=0xb4e937a0, fo=0xb4e92c40,
rc=0xb4e92c44)<BR> at channel.c:3399<BR>#6 0x00548f65 in
ast_bridge_call (chan=0xb015fea0, peer=0xa0b5c88, config=0xb4e937a0) at
res_features.c:1365<BR>#7 0x005a40ba in dial_exec_full (chan=0xb015fea0,
data=Variable "data" is not available.<BR>) at app_dial.c:1633<BR>#8
0x005a6a33 in dial_exec (chan=0xfffffffc, data=0x348ff4) at
app_dial.c:1680<BR>#9 0x08090bad in pbx_extension_helper (c=0xb015fea0,
con=Variable "con" is not available.<BR>) at pbx.c:574<BR>#10 0x08091e86 in
__ast_pbx_run (c=0xb015fea0) at pbx.c:2250<BR>#11 0x08093a2c in pbx_thread
(data=0xfffffffc) at pbx.c:2537<BR>#12 0x00fa83cc in start_thread () from
/lib/tls/libpthread.so.0<BR>#13 0x002e9c3e in clone () from
/lib/tls/libc.so.6</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thread 2 (process 21752):<BR>#0 0x00fc17a2 in
_dl_sysinfo_int80 () from /lib/ld-linux.so.2<BR>#1 0x002f6a9e in
__lll_mutex_lock_wait () from /lib/tls/libc.so.6<BR>#2 0x0028800b in
_L_mutex_lock_3800 () from /lib/tls/libc.so.6<BR>#3 0x0028bb61 in
strcasecmp () from /lib/tls/libc.so.6<BR>#4 0x08090667 in
pbx_builtin_setvar_helper (chan=0xb01657f0, name=0xb6a41858 "connid",
value=0xb6a41760 "5") at pbx.c:6030<BR>#5 0x00460212 in ?? () from
/usr/lib/asterisk/modules/app_addon_sql_mysql.so<BR>#6 0xb01657f0 in ??
()<BR>#7 0xb6a41858 in ?? ()<BR>#8 0xb6a41760 in ?? ()<BR>---Type
<return> to continue, or q <return> to quit---<BR>#9
0x00000005 in ?? ()<BR>#10 0x00000035 in ?? ()<BR>#11 0x00000000 in ??
()</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thread 1 (process 30108):<BR>#0 0x00fc17a2 in
_dl_sysinfo_int80 () from /lib/ld-linux.so.2<BR>#1 0x002487a5 in raise ()
from /lib/tls/libc.so.6<BR>#2 0x0024a209 in abort () from
/lib/tls/libc.so.6<BR>#3 0x0027ca1a in __libc_message () from
/lib/tls/libc.so.6<BR>#4 0x002834c0 in _int_free () from
/lib/tls/libc.so.6<BR>#5 0x0028363a in free () from
/lib/tls/libc.so.6<BR>#6 0x08061e15 in ast_channel_free (chan=0x9ea42c0)
at channel.c:972<BR>#7 0x0806896d in ast_hangup (chan=0x9ea42c0) at
channel.c:1403<BR>#8 0x08092171 in __ast_pbx_run (c=0x9ea42c0) at
pbx.c:2487</FONT></DIV>
<DIV><FONT face=Arial size=2>#9 0x08093a2c in pbx_thread (data=0x0) at
pbx.c:2537<BR>#10 0x00fa83cc in start_thread () from
/lib/tls/libpthread.so.0<BR>#11 0x002e9c3e in clone () from
/lib/tls/libc.so.6<BR></FONT></DIV></BODY></HTML>