#29127 [Com]: PHP has encountered an Access Violation
| From: | stuart_lindley at dsl dot pipex dot com | Date: | Wed, 14 Jul 2004 11:23:07 +0000 |
| Subject: | #29127 [Com]: PHP has encountered an Access Violation | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62221@lists.php.net to get a copy of this message | ||
ID: 29127
Comment by: stuart_lindley at dsl dot pipex dot com
Reported By: bojo at gvea dot com
Status: Open
Bug Type: Reproducible crash
Operating System: Windows 2003 Server
PHP Version: 5.0.0
New Comment:
I am having the same problem with the final release, i've been having
it since RC3, but i'm usng WindowsXP Pro with IIS 5.1 using the
php5isapi.dll
My exact error is
PHP has encountered an Access Violation at 010173CD
it also causes a HTTP1.1/500 Internal Server Error
Final Note:
Apache2.0.50 with PHP 5.00 works perfectly fine
Previous Comments:
------------------------------------------------------------------------
[2004-07-14 01:30:57] bojo at gvea dot com
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 this bug report at http://bugs.php.net/?id=29127&edit=1