[asterisk-bugs] [Asterisk 0014716]: Crash using func_odbc
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Mar 30 12:36:31 CDT 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14716
======================================================================
Reported By: sum
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 14716
Category: Functions/func_odbc
Reproducibility: have not tried
Severity: crash
Priority: normal
Status: confirmed
Asterisk Version: 1.6.2.0-beta1
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-03-21 13:33 CDT
Last Modified: 2009-03-30 12:36 CDT
======================================================================
Summary: Crash using func_odbc
Description:
Crash using func_odbc
1) with don't optimize it doesn't crash
2) with debug malloc realtime stop working with this error:
Connected to Asterisk 1.6.2.0-beta1 currently running on localhost (pid =
16736)
Verbosity was 3 and is now 4
failed to extend from 16 to 63
failed to extend from 16 to 43
[Mar 21 00:31:07] WARNING[16755]: res_config_mysql.c:369 realtime_mysql:
MySQL RealTime: Failed to query database: Query was empty
failed to extend from 16 to 63
[Mar 21 00:31:07] WARNING[16755]: res_config_mysql.c:369 realtime_mysql:
MySQL RealTime: Failed to query database: Query was empty
[Mar 21 00:31:07] NOTICE[16755]: chan_sip.c:20367 handle_request_register:
Registration from '"1001"<sip:1001 at 192.168.175.133>' failed for
'192.168.175.1' - No matching peer found
Tell me if you need valgrind file of the run without crashing, or any
other info.
======================================================================
----------------------------------------------------------------------
(0102413) john8675309 (reporter) - 2009-03-30 12:36
http://bugs.digium.com/view.php?id=14716#c102413
----------------------------------------------------------------------
I can confirm this bug as well.
right when I do a call to func_odbc:
testbridge16*CLI> *** glibc detected *** /usr/sbin/asterisk: realloc():
invalid next size: 0x00007fbf4012fef0 ***
======= Backtrace: =========
/lib/libc.so.6[0x7fbf488c5138]
/lib/libc.so.6[0x7fbf488c9041]
/lib/libc.so.6(realloc+0x12f)[0x7fbf488c9d9f]
/usr/sbin/asterisk(__ast_str_helper+0x21a)[0x4f1e0a]
/usr/sbin/asterisk(ast_str_append+0x89)[0x4ff159]
/usr/lib/asterisk/modules/func_odbc.so[0x7fbf356e287b]
/usr/sbin/asterisk(ast_func_read+0xfb)[0x4b8b4b]
/usr/sbin/asterisk(pbx_substitute_variables_helper_full+0x2fa)[0x4be5aa]
/usr/sbin/asterisk(pbx_substitute_variables_helper+0x2a)[0x4bec6a]
/usr/lib/asterisk/modules/pbx_realtime.so[0x7fbf24b237ec]
/usr/sbin/asterisk[0x4c14c7]
/usr/sbin/asterisk[0x4c2e3c]
/usr/sbin/asterisk[0x4c428b]
/usr/sbin/asterisk[0x4fea9c]
/lib/libpthread.so.0[0x7fbf4a60d017]
Let me know what I can do to help.
Issue History
Date Modified Username Field Change
======================================================================
2009-03-30 12:36 john8675309 Note Added: 0102413
======================================================================
More information about the asterisk-bugs
mailing list