[Home]

Summary:ASTERISK-06617: voicemail access crashes server
Reporter:Asterisk Bugs Mailing List (asterisk-bugs)Labels:
Date Opened:2006-03-24 17:13:23.000-0600Date Closed:2006-05-03 12:16:42
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Hi, we've encountered a serious bug which crashes asterisk when people access their voicemail.

This problem has occurred twice so far, shortly after upgrading to all the latest stuff.

****** ADDITIONAL INFORMATION ******

Two stack traces, almost identical:

GDB output from core.2782:

Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/sbin/asterisk -vvvg -c'.
Program terminated with signal 6, Aborted.
#0  0x00ed4402 in __kernel_vsyscall ()

BACKTRACE:
#0  0x00ed4402 in __kernel_vsyscall ()
#1  0x00a1d1f8 in raise () from /lib/libc.so.6
#2  0x00a1e948 in abort () from /lib/libc.so.6
#3  0x00a5252a in __libc_message () from /lib/libc.so.6
#4  0x00a58424 in _int_free () from /lib/libc.so.6
ASTERISK-1  0x00a5895f in free () from /lib/libc.so.6
ASTERISK-2  0x0067ca90 in vm_execmain (chan=0xb7255c68, data=0xb5a4d768) at app_voicemail.c:5479
ASTERISK-3  0x0808d3c1 in pbx_extension_helper (c=0xb7255c68, con=) at pbx.c:544
ASTERISK-4  0x0072b841 in macro_exec (chan=0xb7255c68, data=0xb5a53fd8) at app_macro.c:210
ASTERISK-5  0x0808d3c1 in pbx_extension_helper (c=0xb7255c68, con=) at pbx.c:544
ASTERISK-6 0x0808e974 in __ast_pbx_run (c=0xb7255c68) at pbx.c:2218
ASTERISK-7 0x0808f56c in pbx_thread (data=0x0) at pbx.c:2505
ASTERISK-8 0x00daeb80 in start_thread () from /lib/libpthread.so.0
ASTERISK-9 0x00abfdee in clone () from /lib/libc.so.6

ALTERNATIVE BACKTRACE:
#0  0x00ed4402 in __kernel_vsyscall ()
#1  0x00a1d1f8 in raise () from /lib/libc.so.6
#2  0x00a1e948 in abort () from /lib/libc.so.6
#3  0x00a5252a in __libc_message () from /lib/libc.so.6
#4  0x00a58424 in _int_free () from /lib/libc.so.6
ASTERISK-1  0x00a5895f in free () from /lib/libc.so.6
ASTERISK-2  0x0067ca90 in vm_execmain (chan=0xb7255c68, data=0xb5a4d768)
   at app_voicemail.c:5479
argv = {0xb5a487a0 "1035", 0x0}
opts = {0x0}
res = -1
cmd =


GDB output from core.6945:

Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/sbin/asterisk -vvvg -c'.
Program terminated with signal 6, Aborted.
#0  0x00111402 in __kernel_vsyscall ()

BACKTRACE:
#0  0x00111402 in __kernel_vsyscall ()
#1  0x00a1d1f8 in raise () from /lib/libc.so.6
#2  0x00a1e948 in abort () from /lib/libc.so.6
#3  0x00a5252a in __libc_message () from /lib/libc.so.6
#4  0x00a58424 in _int_free () from /lib/libc.so.6
ASTERISK-1  0x00a5895f in free () from /lib/libc.so.6
ASTERISK-2  0x0083aa90 in vm_execmain (chan=0xb61f6a80, data=0xb77a3768) at app_voicemail.c:5479
ASTERISK-3  0x0808d3c1 in pbx_extension_helper (c=0xb61f6a80, con=) at pbx.c:544
ASTERISK-4  0x007c5841 in macro_exec (chan=0xb61f6a80, data=0xb77a9fd8) at app_macro.c:210
ASTERISK-5  0x0808d3c1 in pbx_extension_helper (c=0xb61f6a80, con=)  at pbx.c:544 ASTERISK-6 0x0808e974 in __ast_pbx_run (c=0xb61f6a80) at pbx.c:2218
ASTERISK-7 0x0808f56c in pbx_thread (data=0x0) at pbx.c:2505
ASTERISK-8 0x00daeb80 in start_thread () from /lib/libpthread.so.0
ASTERISK-9 0x00abfdee in clone () from /lib/libc.so.6

ALTERNATIVE BACKTRACE:
#0  0x00111402 in __kernel_vsyscall ()
#1  0x00a1d1f8 in raise () from /lib/libc.so.6
#2  0x00a1e948 in abort () from /lib/libc.so.6
#3  0x00a5252a in __libc_message () from /lib/libc.so.6
#4  0x00a58424 in _int_free () from /lib/libc.so.6
ASTERISK-1  0x00a5895f in free () from /lib/libc.so.6
ASTERISK-2  0x0083aa90 in vm_execmain (chan=0xb61f6a80, data=0xb77a3768)
   at app_voicemail.c:5479
argv = {0xb779e7a0 "1092", 0x0}
opts = {0x0}
res = -1
cmd =
Comments:By: Jason Parker (jparker) 2006-03-24 19:04:56.000-0600

When does it happen?  What are you doing at the time?

By: Olle Johansson (oej) 2006-03-27 16:39:09.000-0600

Are you using realtime voicemail?

By: Asterisk Bugs Mailing List (asterisk-bugs) 2006-03-27 17:01:00.000-0600

Yes are using realtime voice mail with MySQL.  We have been using asterisk since before 1.2.0 and hadn't seen a crash related to app_voicemail until now.  The two crashes happened on different days; one at 12:30PM and another around 3:30PM.  AFAIK nothing was being "done" on the server at the time of the crash (ie. no reloads).

By: Olle Johansson (oej) 2006-03-29 19:45:32.000-0600

Please check if this happens if you disable the MYSQL driver.

By: Serge Vecher (serge-v) 2006-05-03 12:16:42

No response from the reporter.