#29127 [NEW]: PHP has encountered an Access Violation
From: bojo at gvea dot com
Operating system: Windows 2003 Server
PHP version: 5.0.0
PHP Bug Type: Reproducible crash
Bug description: PHP has encountered an Access Violation
Description:
------------
This is a bug that also occured in PHP5 RC3 as referenced here:
http://bugs.php.net/bug.php?id=28799
The bug system has also reported this as an issue with earlier versions of
PHP. If it is not prudent to open a similar bug issue for new final
release versions, then by all means this should be closed.
The problem:
The IIS6 server will randomly throw an error like: PHP has encountered an
Access Violation at 017AE084
Alternatively, and even more rarely, PHP will throw fatal errors:
Fatal error: Cannot redeclare class gfunc in
D:\htdocs\include\global_functions.php on line 2
-- or --
Fatal error: Call to undefined function OCILogon() in
D:\htdocs\include\classes\DatabaseHandler.php on line 45
The gfunc class is only included once using the include_once() directive.
OCILogon() is part of the oci8 module, and obviously doesn't seem to get
included every few reloads. The DatabaseHandler is just a simple
interface for passing SQL queries back and forth, which references most of
the oci8 functions.
There is no consistancy with these errors. A standard page in my
environment makes various oci8 queries, and uses the PHP5 XSL DOM
transform (XML->HTML output). Smaller pieces of code that exclusively
make use of these features do not seem to crash after several consecutive
reloads, however, larger more complicated applications will crash every
few page reloads and then work the next few.
Actual result:
--------------
PHP has encountered an Access Violation at 017AE084
--
Edit bug report at http://bugs.php.net/?id=29127&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29127&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29127&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29127&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29127&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29127&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29127&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29127&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29127&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29127&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29127&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29127&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29127&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29127&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29127&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29127&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29127&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29127&r=float
Thread (27 messages)
- bojo at gvea dot com
- stuart_lindley at dsl dot pipex dot com#29127 [Com]: PHP has encountered an Access Violation
- Andreas at Oslos dot Net#29127 [Com]: PHP has encountered an Access Violation
- jonathanjarvis at hotmail dot com#29127 [Com]: PHP has encountered an Access Violation
- taomyn at myway dot com#29127 [Com]: PHP has encountered an Access Violation
- alantan at po dot tagnetwork dot net#29127 [Com]: PHP has encountered an Access Violation
- edink@php.net#29127 [Opn]: PHP has encountered an Access Violation
- edink@php.net#29127 [Opn]: PHP has encountered an Access Violation
- Andreas at Oslos dot Net#29127 [Com]: PHP has encountered an Access Violation
- justin at jphil dot net#29127 [Com]: PHP has encountered an Access Violation
- taomyn at myway dot com#29127 [Com]: PHP has encountered an Access Violation
- Andreas at Oslos dot Net#29127 [Com]: PHP has encountered an Access Violation
- l_anjanesh at yahoo dot com#29127 [Com]: PHP has encountered an Access Violation
- naaokth at free dot fr#29127 [Com]: PHP has encountered an Access Violation
- taomyn at myway dot com#29127 [Com]: PHP has encountered an Access Violation
- justin at jphil dot net#29127 [Com]: PHP has encountered an Access Violation
- noidea_2 at hotmail dot com#29127 [Com]: PHP has encountered an Access Violation
- jmjt at lut dot fi#29127 [Com]: PHP has encountered an Access Violation
- SI at wcreplays dot com#29127 [Com]: PHP has encountered an Access Violation
- edink@php.net#29127 [Opn->Csd]: PHP has encountered an Access Violation
- jbrady at sbccd dot cc dot ca dot us#29127 [Com]: PHP has encountered an Access Violation
- bojo at gvea dot com#29127 [Csd->Opn]: PHP has encountered an Access Violation
- edink@php.net#29127 [Opn->Csd]: PHP has encountered an Access Violation
- stangly_wrong at msn dot com#29127 [Com]: PHP has encountered an Access Violation
- simmons at cooscurryelectric dot com#29127 [Com]: PHP has encountered an Access Violation
- katorsky at latinmail dot com#29127 [Com]: PHP has encountered an Access Violation
- divaria2 at yahoo dot com#29127 [Com]: PHP has encountered an Access Violation