Using unixODBC SQLPrepare/ SQLPrepareW / SQLExecDirect / SQLExecDirectW Causes Application to Abort on Linux 64bit (Doc ID 363905.1)

Last updated on OCTOBER 05, 2010

Applies to:

Oracle ODBC Driver - Version: 10.2.0.1 to 10.2.0.1 - Release: 10.2 to 10.2
Linux x86
Red Hat Enterprise Linux Advanced Server x86-64 (AMD Opteron Architecture)
SUSE \ UnitedLinux x86-64

Symptoms

Building an ODBC Application using unixODBC / Oracle 10g ODBC Driver for Unix on Linux 64bit (for example Red Hat Enterprise Server 4.0 64bit) executing
will abort with a segmentation fault inside

malloc_consolidate()

or

memmove()

Running the same Application on Linux 32bit or Solaris 64bit works.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms