[Home]

Summary:ASTERISK-14875: Asterisk crashes when playing back voicemail that has been forwarded with a prepend
Reporter:Kristian Kielhofner (krisk84)Labels:
Date Opened:2009-09-23 16:48:26Date Closed:2011-06-07 14:00:37
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail/ODBC
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:This crash is not always reproducible but it is always reproducible with the same voicemail message. Backtraces to follow, message available upon request.

This system is running CentOS 4.3 but the issue has been reproduced on other machines and distributions.
Comments:By: Kristian Kielhofner (krisk84) 2009-09-23 16:49:23

(gdb) bt
#0  0x00cadadf in copy_lresult () from /usr/lib/libmyodbc.so
#1  0x00cab9a1 in sql_get_data () from /usr/lib/libmyodbc.so
#2  0x00cabfbd in SQLGetData () from /usr/lib/libmyodbc.so
#3  0x0012d1f1 in SQLGetData () from /usr/lib/libodbc.so.1
#4  0x006ea615 in retrieve_file (dir=0xe30d00 "/var/spool/asterisk/voicemail/starbox_341/100/INBOX", msgnum=0) at app_voicemail.c:2345
ASTERISK-1  0x006f3467 in play_message (chan=0x8a043f8, vmu=0xe30770, vms=0xe30c10) at app_voicemail.c:5665
ASTERISK-2  0x006f7662 in vm_browse_messages (chan=0x8a043f8, vms=0xe30c10, vmu=0xe30770) at app_voicemail.c:7112
ASTERISK-3  0x00702ffd in vm_execmain (chan=0x8a043f8, data=0xe36f80) at app_voicemail.c:7567
ASTERISK-4  0x080caac0 in pbx_extension_helper (c=0x8a043f8, con=Variable "con" is not available.
) at /usr/src/asterisk-1.4.27-rc1/include/asterisk/strings.h:36
ASTERISK-5  0x080cf376 in __ast_pbx_run (c=0x8a043f8) at pbx.c:2283
ASTERISK-6 0x080d12be in pbx_thread (data=0x8a043f8) at pbx.c:2599
ASTERISK-7 0x08102a85 in dummy_start (data=0xb7a53000) at utils.c:856
ASTERISK-8 0x00b613cc in start_thread () from /lib/tls/libpthread.so.0
ASTERISK-9 0x00a7696e in clone () from /lib/tls/libc.so.6

By: Kristian Kielhofner (krisk84) 2009-09-23 16:49:45

(gdb) bt full
#0  0x00cadadf in copy_lresult () from /usr/lib/libmyodbc.so
No symbol table info available.
#1  0x00cab9a1 in sql_get_data () from /usr/lib/libmyodbc.so
No symbol table info available.
#2  0x00cabfbd in SQLGetData () from /usr/lib/libmyodbc.so
No symbol table info available.
#3  0x0012d1f1 in SQLGetData () from /usr/lib/libodbc.so.1
No symbol table info available.
#4  0x006ea615 in retrieve_file (dir=0xe30d00 "/var/spool/asterisk/voicemail/starbox_341/100/INBOX", msgnum=0) at app_voicemail.c:2345
nativeerror = 0
diagbytes = 0
state = "\000\000\000\000\000\000\000\000\000"
diagnostic = '\0' <repeats 255 times>
x = 10
res = Variable "res" is not available.
(gdb)

By: Tilghman Lesher (tilghman) 2009-09-23 17:47:50

Please install the latest MySQL-ODBC-Connector from http://dev.mysql.com/downloads/connector/odbc/.  Packaged versions are known to be a source of crash issues.



By: Kristian Kielhofner (krisk84) 2009-09-24 13:55:35

Very true, that was it!