<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.24.5">
</HEAD>
<BODY>
I was trying to enable CDR in a mysql-database when the following occured :<BR>
<BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">asterisk*CLI> cdr status</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">CDR logging: enabled</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">CDR mode: simple</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">CDR output unanswered calls: yes</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">CDR registered backend: cdr_manager</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">CDR registered backend: cdr-custom</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">asterisk*CLI> exit</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">[Jun 29 21:56:52] Executing last minute cleanups</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">[root@asterisk asterisk]# vi modules.conf </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">[root@asterisk asterisk]# service asterisk restart</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">Shutting down asterisk: [ OK ]</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">Starting asterisk: [ OK ]</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">[root@asterisk asterisk]# *** glibc detected *** /usr/sbin/asterisk: corrupted double-linked list: 0x08eedb18 ***</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">======= Backtrace: =========</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">/lib/libc.so.6[0x17fda9]</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">/lib/libc.so.6[0x18192d]</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">/lib/libc.so.6(__libc_calloc+0xef)[0x18348f]</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">/usr/lib/asterisk/modules/chan_sip.so[0x86d1b1]</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">/usr/lib/asterisk/modules/chan_sip.so[0x87fcaf]</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">/usr/lib/asterisk/modules/chan_sip.so[0x89416c]</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">/usr/sbin/asterisk(ast_sched_runq+0xd3)[0x80f3a23]</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">/usr/lib/asterisk/modules/chan_sip.so[0x89382e]</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">/usr/sbin/asterisk[0x81014fb]</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">/lib/libpthread.so.0[0xa3e51f]</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">/lib/libc.so.6(clone+0x5e)[0x1f404e]</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">======= Memory map: ========</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">00110000-0027e000 r-xp 00000000 fd:00 309034 /lib/libc-2.9.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">0027e000-00280000 r--p 0016e000 fd:00 309034 /lib/libc-2.9.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">00280000-00281000 rw-p 00170000 fd:00 309034 /lib/libc-2.9.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">00281000-00284000 rw-p 00281000 00:00 0 </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">00284000-0028a000 r-xp 00000000 fd:00 122266 /usr/lib/asterisk/modules/res_adsi.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">0028a000-0028b000 rw-p 00005000 fd:00 122266 /usr/lib/asterisk/modules/res_adsi.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">0028b000-00292000 r-xp 00000000 fd:00 122275 /usr/lib/asterisk/modules/res_musiconhold.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">00292000-00293000 rw-p 00007000 fd:00 122275 /usr/lib/asterisk/modules/res_musiconhold.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">00293000-0029d000 r-xp 00000000 fd:00 309038 /lib/libcrypt-2.9.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">0029d000-0029e000 r--p 00009000 fd:00 309038 /lib/libcrypt-2.9.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">0029e000-0029f000 rw-p 0000a000 fd:00 309038 /lib/libcrypt-2.9.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">0029f000-002c6000 rw-p 0029f000 00:00 0 </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">002c6000-002c8000 r-xp 00000000 fd:00 309082 /lib/libcom_err.so.2.1</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">002c8000-002c9000 rw-p 00001000 fd:00 309082 /lib/libcom_err.so.2.1</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">002c9000-002d2000 r-xp 00000000 fd:00 50962 /usr/lib/libkrb5support.so.0.1</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">002d2000-002d3000 rw-p 00008000 fd:00 50962 /usr/lib/libkrb5support.so.0.1</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">002d3000-002d6000 r-xp 00000000 fd:00 122298 /usr/lib/asterisk/modules/app_authenticate.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">002d6000-002d7000 rw-p 00002000 fd:00 122298 /usr/lib/asterisk/modules/app_authenticate.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">002d7000-002d9000 r-xp 00000000 fd:00 122315 /usr/lib/asterisk/modules/app_exec.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">002d9000-002da000 rw-p 00001000 fd:00 122315 /usr/lib/asterisk/modules/app_exec.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">002da000-002dc000 r-xp 00000000 fd:00 122392 /usr/lib/asterisk/modules/func_audiohookinherit.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">002dc000-002dd000 rw-p 00001000 fd:00 122392 /usr/lib/asterisk/modules/func_audiohookinherit.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">002dd000-002e1000 r-xp 00000000 fd:00 122274 /usr/lib/asterisk/modules/res_monitor.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">002e1000-002e2000 rw-p 00004000 fd:00 122274 /usr/lib/asterisk/modules/res_monitor.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">002e2000-00352000 r-xp 00000000 fd:00 55924 /usr/lib/libodbc.so.1.0.0</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">00352000-00357000 rw-p 0006f000 fd:00 55924 /usr/lib/libodbc.so.1.0.0</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">00357000-0036d000 r-xp 00000000 fd:00 309044 /lib/libnsl-2.9.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">0036d000-0036e000 r--p 00016000 fd:00 309044 /lib/libnsl-2.9.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">0036e000-0036f000 rw-p 00017000 fd:00 309044 /lib/libnsl-2.9.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">0036f000-00371000 rw-p 0036f000 00:00 0 </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">00371000-0037c000 r-xp 00000000 fd:00 309050 /lib/libnss_files-2.9.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">0037c000-0037d000 r--p 0000a000 fd:00 309050 /lib/libnss_files-2.9.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">0037d000-0037e000 rw-p 0000b000 fd:00 309050 /lib/libnss_files-2.9.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">0037e000-00382000 r-xp 00000000 fd:00 122336 /usr/lib/asterisk/modules/app_playback.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">00382000-00383000 rw-p 00003000 fd:00 122336 /usr/lib/asterisk/modules/app_playback.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">00383000-00384000 r-xp 00000000 fd:00 122314 /usr/lib/asterisk/modules/app_echo.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">00384000-00385000 rw-p 00000000 fd:00 122314 /usr/lib/asterisk/modules/app_echo.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">00385000-00389000 r-xp 00000000 fd:00 122316 /usr/lib/asterisk/modules/app_externalivr.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">00389000-0038a000 rw-p 00003000 fd:00 122316 /usr/lib/asterisk/modules/app_externalivr.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">0038a000-0038b000 r-xp 00000000 fd:00 122409 /usr/lib/asterisk/modules/func_rand.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">0038b000-0038c000 rw-p 00001000 fd:00 122409 /usr/lib/asterisk/modules/func_rand.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">0038c000-00391000 r-xp 00000000 fd:00 122276 /usr/lib/asterisk/modules/res_odbc.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">00391000-00392000 rw-p 00004000 fd:00 122276 /usr/lib/asterisk/modules/res_odbc.so</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">00392000-004b5000 r-xp 00000000 fd:00 101032 /usr/sbin/safe_asterisk: line 125: 2072 Aborted (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} >&/dev/${TTY} < /dev/${TTY}</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">Asterisk ended with exit status 134</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">Asterisk exited on signal 6.</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">Automatically restarting Asterisk.</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">mpg123: no process killed</FONT></FONT><BR>
<BR>
Any feedback ?<BR>
<BR>
Thanks !<BR>
<BR>
Jonas.
</BODY>
</HTML>