From:             s dot rost at ewerk dot com
Operating system: Debian 2.6.18.dfsg.1-18etch1
PHP version:      5.2.5
PHP Bug Type:     PDO related
Bug description:  pdo_oci crashes and aborts php script for LOB columns

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 bug report at http://bugs.php.net/?id=44589&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=44589&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=44589&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=44589&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=44589&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=44589&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=44589&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=44589&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=44589&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=44589&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=44589&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=44589&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=44589&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=44589&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=44589&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=44589&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=44589&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=44589&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=44589&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=44589&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=44589&r=mysqlcfg

Reply via email to