ID: 44589 Updated by: [EMAIL PROTECTED] Reported By: s dot rost at ewerk dot com -Status: Open +Status: Feedback Bug Type: PDO related Operating System: Debian 2.6.18.dfsg.1-18etch1 PHP Version: 5.2.5 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2008-04-01 11:22:40] s dot rost at ewerk dot com 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' ------------------------------------------------------------------------ [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
