From: dfe-csi dot gips at ti dot ch
Operating system: Windows 2000 server
PHP version: 4.3.6
PHP Bug Type: Reproducible crash
Bug description: Oracle OCILogon function crashes apache
Description:
------------
Description:
-----------------------------------------------
Our webserver works on a oracle 8.1.7 database
trought the oci8 php extension.
We observe (with apache server-status module)
that the apache process isn't stable
and reboots frequently (up to 50times/day).
Each crash causes a Dr. Watson dump (Exception
number: c0000005 - access violation)
We can reproduce the crash on calling a simple
OCILogon function with 5 concurrent users.
Tested Issues:
- Upgading the oracle client from 8.1.7 to 9.2.0
and 10.1.0 we have longer uptime but crashes anyway.
- Using TNS address string in OCILogon (like
BUG# 26558 suggestion) makes less core dumps.
- We could not reproduce the error with PHP/Linux
using the same hardware.
We currently wonder if this could be an issue
with PHP/Oracle running on a Multiprocessor
Windows server?
Sysconfig:
-----------------------------------------------
Compaq Proliant DL360 (Dual Processor);
Windows 2000 server SP 4,
Apache 1.3.29,
PHP 4.3.6 (apache module)
Oracle client 10.0
Reproduce code:
---------------
<?php
if ($c=OCILogon("user", "pass", "host")){
print "OCILogon success";
OCILogoff($c);
} else {
print "OCILogon failed";
}
?>
--
Edit bug report at http://bugs.php.net/?id=28983&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28983&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28983&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28983&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28983&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28983&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28983&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28983&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28983&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28983&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28983&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28983&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28983&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28983&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28983&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28983&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28983&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28983&r=float