MySQL Forums
Forum List  »  Connector/ODBC

Crash on Ubuntu 8.04
Posted by: Robert Bielik
Date: January 21, 2009 01:00PM

Hi,

I'm using the ODBC connector on Ubuntu (installed via apt-get, libmyodbc v3.51.15r409-2), and everything works nicely unless I use parameters:

*** glibc detected *** ./built_components/dtl_test: realloc():
invalid next size: 0x00000000007240a0 ***
======= Backtrace: =========
/lib/libc.so.6[0x7fad9fdcee02]
/lib/libc.so.6(realloc+0x130)[0x7fad9fdd0ea0]
/usr/lib/libmysqlclient_r.so.15(my_realloc+0x30)[0x7fad9e717550]
/usr/lib/libmysqlclient_r.so.15(net_realloc+0x62)[0x7fad9e740c32]
/usr/lib/odbc/libmyodbc.so(extend_buffer+0x41)[0x7fad9eadacd1]
/usr/lib/odbc/libmyodbc.so[0x7fad9eadad1c]
/usr/lib/libmysqlclient_r.so.15(mysql_odbc_escape_string+0x173)
[0x7fad9e710493]
/usr/lib/odbc/libmyodbc.so(insert_param+0x478)[0x7fad9eadb218]
/usr/lib/odbc/libmyodbc.so(insert_params+0x82)[0x7fad9eadb502]
/usr/lib/odbc/libmyodbc.so(my_SQLExecute+0x185)[0x7fad9eadbc05]
/usr/lib/odbc/libmyodbc.so(SQLExecDirect+0x19)[0x7fad9eadbc79]
/usr/lib/libodbc.so.1(SQLExecDirect+0xef)[0x7fada0a758af]
./built_components/dtl_test(_ZN3dtl6DBStmt7ExecuteEv+0x140)[0x48e2fe]
./built_components/dtl_test
(_ZN3dtl18DB_select_iteratorI9StockDataNS1_5ParamEE9bulk_copyEPS1_S4_b
mi+0xa91)[0x466cff]

I've tried building from source, but haven't managed so far. Via ./configure I'm stuck at search for Qt headers, via CMake I get compile errors not finding include header "windows.h" (hrmf!? Someone needs to tweak the cmake files)

When I run without parameters, it works perfectly. Is this a known issue?

TIA
/Rob

Options: ReplyQuote


Subject
Written By
Posted
Crash on Ubuntu 8.04
January 21, 2009 01:00PM
January 23, 2009 07:04AM
January 23, 2009 11:42AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.