question about php+apache+odbc driver heap overflow error

General
N/A

question about php+apache+odbc driver heap overflow error

I used php+apache+odbc to access Teradata,

environment is:

    Linux x86_64

   php5-5.2.5-9.20, php5-odbc-5.2.5-9.20

   apache2-2.2.3-16.21

   tdodbc-13.10.00.01

It's ok when I insert or delete records from Teradata,

but when I do select operation, apache error_log shows:

    "ALERT - canary mismatch on efree() - heap overflow detected."

I used gdb to debug coredump, it shows

(gdb) where

#0  0x0000000000000000 in ?? ()

#1  0x00002b5ecb8ba830 in ?? () from /usr/lib64/libodbc.so.1

#2  0x0000000000000200 in ?? ()

and

/usr/lib64/libodbc.so.1 -> /opt/teradata/client/ODBC_64/lib/libodbc.so

any one knows it? Thanks a lot!