I'm getting a segfault from PDO_ODBC compiled with IBM-DB2v7.2. Seems like its happening somewhere in the shutdown process. Here's a backtrace, a wierd one but thats all gdb gives me.

bt:
#0  0x012c8a2c in ?? ()
#1  0x00b205d7 in exit () from /lib/tls/libc.so.6
#2  0x00b0ae3d in __libc_start_main () from /lib/tls/libc.so.6
#3  0x0807538d in _start ()

offending code:
<?php

print "hello\n";

?>

When pdo_odbc.so is commented out of my ini file the segfault goes away. I'm using php-5.0.4, PDO-0.3 (static) and PDO_ODBC-0.2 (shared) with IBM-DB2v7.2 on CentOS Linux 2.6.9. Also, in another post i sent to pecl.dev, I'm not even sure if PDO_ODBC supports IBM-DB2v7.2. Can someone confirm this?


Justin Hannus
Software Engineer | Lycos Inc.
[EMAIL PROTECTED]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to