From: Paul dot L dot Merchant dot Jr at dartmouth dot edu Operating system: Any PHP version: 5.4.4 Package: Oracle related Bug Type: Bug Bug description:OCI Session Pool Flag Incorrectly Set
Description: ------------ In PHP 5.4 through 5.4.4, the oci8 source file (ext/oci/oci8.c) contains this nonsensical code in php_oci_create_session: if (!connection->using_spool) { connection->using_spool = 1; } The effect of this line is to always set the boolean using_spool to a non-zero value. I suspect that this causes a difficult to reproduce series of failures in long running server processes by causing resource cleanup to proceed incorrectly. I suspect the test should be if (!connection->private_spool) { connection->using_spool = 1; } but I'm not familiar enough with the session pooling features to be sure. -- Edit bug report at https://bugs.php.net/bug.php?id=62496&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62496&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62496&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62496&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=62496&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62496&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=62496&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=62496&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=62496&r=needscript Try newer version: https://bugs.php.net/fix.php?id=62496&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=62496&r=support Expected behavior: https://bugs.php.net/fix.php?id=62496&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=62496&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=62496&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=62496&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62496&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=62496&r=dst IIS Stability: https://bugs.php.net/fix.php?id=62496&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=62496&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=62496&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=62496&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=62496&r=mysqlcfg