From: max__payne at list dot ru
Operating system: Win 2003 Server Standard R2
PHP version: 5.1.2
PHP Bug Type: OCI8 related
Bug description: Problem with oci_parse().
Description:
------------
Calls to oci_parse() sometimes hangs up server. Oracle server is Oracle
8.1.7.0.0 with update to 8.1.7.2.1 running under Windows 2000 Server SP 4
(P IV CPU).
With older versions of PHP (5.0.5) this code works fine.
Reproduce code:
---------------
$connection = oci_connect($username, $password, $tns_name);
$st = oci_parse($connection, "SELECT * FROM nextmonthbirthdays");
oci_execute($st, OCI_DEFAULT);
$res = oci_fetch_assoc($st);
while($res)
{
echo $res{"FIO"} . "<br>";
$res = oci_fetch_assoc($st);
}
oci_free_statement($st);
oci_close($connection);
Expected result:
----------------
List of names one per line expected, instead see nothing while script is
running.
Actual result:
--------------
Script above has no output, it hangs up server.
--
Edit bug report at http://bugs.php.net/?id=36139&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=36139&r=trysnapshot44
Try a CVS snapshot (PHP 5.1):
http://bugs.php.net/fix.php?id=36139&r=trysnapshot51
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=36139&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36139&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=36139&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36139&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36139&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36139&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36139&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36139&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=36139&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=36139&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36139&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36139&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36139&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36139&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36139&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36139&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36139&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36139&r=mysqlcfg