#29724 [NEW]: PHP Encountered an Access Violation
From: bojo at gvea dot com Operating system: Windows 2003 Server PHP version: 5.0.1 PHP Bug Type: Reproducible crash Bug description: PHP Encountered an Access Violation Description: The original bug found in PHP 5.0.0, referenced here: http://bugs.php.net/bug.php?id=29127 was never actually resolved. PHP 5.0.1 continues to give the following error under IIS 6.0 on Windows 2003 Server: PHP has encountered an Access Violation at [random memory address]. Expected result: Page processes completely. Actual result: -- Program bails with the following error: PHP has encountered an Access Violation at [random memory address] -- Edit bug report at http://bugs.php.net/?id=29724&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29724&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29724&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29724&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29724&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29724&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29724&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29724&r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=29724&r=support Expected behavior: http://bugs.php.net/fix.php?id=29724&r=notwrong Not enough info:http://bugs.php.net/fix.php?id=29724&r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=29724&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29724&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29724&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29724&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29724&r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=29724&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29724&r=float
#29127 [Csd->Opn]: PHP has encountered an Access Violation
ID: 29127 User updated by: bojo at gvea dot com Reported By: bojo at gvea dot com -Status: Closed +Status: Open Bug Type: Reproducible crash Operating System: Windows 2003 Server PHP Version: 5.0.0 New Comment: Access Violation errors continue to happen after a clean rebuild using both the 5.0.x-dev and 5.1.x-dev snapshots. However, the errors occur at a lower frequency. Previous Comments: [2004-07-23 02:36:25] jbrady at sbccd dot cc dot ca dot us I had this bug, but the latest snap fixed it. But it didn't fix the crash in IIS when you stop the service. I just upgraded from php 4.3.8 to 5.0 on my Windows XP machine, and got it working, only to get the access violation. At that time, IIS also crashed when I tried to stop the service (using "net stop "IIS Admin"). I read this bug report, got the latest snapshot, and it fixed the access violation that was reported in the browser. Now, when ever I start IIS, run a page containing "", and then try to stop IIS, it crashes. It brings up the microsoft crash report, asking to send it to Microsoft. [2004-07-23 02:29:30] [EMAIL PROTECTED] This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. [2004-07-23 02:19:30] SI at wcreplays dot com getting same errors, also win2k3. have had the error on a 3 line file , also have it in the middle of a dir enum loop, consistently after same element, the dir I am displaying only has subdirs. Email me if I should test stuff. [2004-07-22 13:37:59] jmjt at lut dot fi Any possibility of getting a version for PHP 4.3.8 of the DLL? The access violation bug is highly reproducible also there and I'm big stuck here not wanting to go below 4.3.8 because of the serious bugs and not ready to go to 5.0.0 yet. [2004-07-21 22:29:33] noidea_2 at hotmail dot com I'm also getting the Access Violation error randomly. Email me if I have to test things. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/29127 -- Edit this bug report at http://bugs.php.net/?id=29127&edit=1
#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
#28799 [Com]: PHP has encountered an Access Violation at 016E73DD
ID: 28799 Comment by: bojo at gvea dot com Reported By: l_anjanesh at yahoo dot com Status: Open Bug Type: *General Issues Operating System: Windows 2003 Server Enterprise PHP Version: 5.0.0RC3 New Comment: After building a Windows 2003 server with IIS6 and PHP 5.0 RC3, I have the same Access Violation error. I also tried replacing the php5isapi.dll with the RC2 version, no luck. I then fully rolled back to PHP 5.0 RC2, same problem. In comparison, my Redhat environment with Apache 2 and PHP 5.0 RC3 was also crashing erratically, although I was unable to track it down to an Access Violation error. I believe that this problem is more than likely related. I haven't been able to produce this error with a sane amount of test code, but will add more comments as I try to narrow things down. Previous Comments: [2004-07-07 14:19:12] php_newbie at yahoo dot com The error above shows when using myphpadmin 2.5.5-pl1 on IIS 5.1 with PHP 5 RC3 and MySQL 4.0.20c Most of my PHP/MySQL scripts works fine except for this one, I want to add the myphpadmin so i can do database manipulations on hand but sadly this version won't. Any help would be gratefullt appreciated. [2004-07-07 08:04:17] sebben at waw dot com dot br i not inglesh, i portugues http://br.php.net/get/php-5.0.0RC2-Win32.zip/from/this/mirror is the orc2 [2004-06-29 11:36:39] ruta at teltec dot de Same with 2003 webserver edition [2004-06-28 10:43:55] l_anjanesh at yahoo dot com Demis - Have you tried this : http://museum.php.net/php5/ RC2 is not listed but RC1 is. [2004-06-28 04:57:41] demis at liquidbit dot com I have the same problem with PHP 5 RC3/iis. A simple will give me an access violation. But what is weird is running phpinfo at the start of my script will make it work e.g. Also note in the phpinfo() page under "PHP Variables" section, the key _ENV["TEMP"] had a value of "Access Violation...", once I added access to user IUSR_PCNAME it reverted back to "C:\WINDOWS\TEMP" Since it appears that the php5isapi.dll RC2 works, can someone please provide a URL so I can download it. Hope this helps The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/28799 -- Edit this bug report at http://bugs.php.net/?id=28799&edit=1