ID: 44589 User updated by: s dot rost at ewerk dot com Reported By: s dot rost at ewerk dot com Status: Open Bug Type: PDO related Operating System: Debian 2.6.18.dfsg.1-18etch1 PHP Version: 5.2.5 New Comment:
php -i | grep configure Configure Command => './configure' '--prefix=/opt/server_apps/php' '--with-apxs2=/opt/server_apps/httpd/bin/apxs' '--disable-cgi' '-- with-config-file-path=/etc' '--enable-magic-quotes' '--with- curl=shared' '--with-jpeg-dir=/usr' '--with-freetype-dir=/usr' '-- with-openssl=shared' '--with-gd=shared' '--with-iconv=shared' '--with- ldap=shared' '--enable-mbstring=shared' '--with- mysql=/opt/server_apps/mysql' '--with-mysql- sock=/var/lib/mysqld/mysqld.sock' '--with- mysqli=/opt/server_apps/mysql/bin/mysql_config' '--with-pear' '--with- snmp=shared' '--enable-sockets' '--with-zlib' '--with-mime-magic' '-- with-pspell' '--with-xsl' '--with-mcrypt' '--with-mhash' '--enable- soap' '--with-oci8=instantclient,/opt/oracle/instantclient' '--enable- sigchild' '--with-pdo-mysql=/opt/server_apps/mysql' '--with-pdo- oci=instantclient,/opt/oracle/instantclient,11.1' Previous Comments: ------------------------------------------------------------------------ [2008-04-01 11:20:29] s dot rost at ewerk dot com Description: ------------ When fetching rows from a table containing LOB columns more than once (!) pdo_oci or the oracle instantclient crashes, resets the server connection and aborts the PHP script. It seems like when the fetched row gets out of scope and should be garbage collected the error occurs. Reproduce code: --------------- See http://public.serenity.de/pdo_oci_test.txt Replace XXX, YYY and scott/tiger with valid connection data and the script will do the rest. Expected result: ---------------- 864 864 864 864 this line is never reached Actual result: -------------- 864 864 Aborted ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44589&edit=1
