#35732 [Opn->Fbk]: Access violation on file open

From: Date: Wed, 21 Dec 2005 14:19:28 +0000
Subject: #35732 [Opn->Fbk]: Access violation on file open
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-90811@lists.php.net to get a copy of this message
 ID:               35732
 Updated by:       sniper@php.net
 Reported By:      rene at lico dot nl
-Status:           Open
+Status:           Feedback
 Bug Type:         IIS related
 Operating System: Windows 2003
 PHP Version:      5CVS-2005-12-21 (snap)
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2005-12-21 14:53:46] rene at lico dot nl

Tried the win32-latest and still the same error.

It seems to work for a while before 1 requests took a long 
time and finally did nothing.

Php stil works for pages that don't access a file the 
way the example does.

Any suggestions for debugging?

------------------------------------------------------------------------

[2005-12-19 14:01:59] tony2001@php.net

Yes.
It's worth trying the latest version before starting to debug
something.

------------------------------------------------------------------------

[2005-12-19 13:44:53] rene at lico dot nl

Is this the only way? I would rather use a debug method since 
the server is heavily used...

------------------------------------------------------------------------

[2005-12-19 13:11:00] tony2001@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip



------------------------------------------------------------------------

[2005-12-19 13:04:33] rene at lico dot nl

Description:
------------
Using PHP as ISAPI module results in getting "PHP has 
encountered an Access Violation at ...".

The cause of this access violation is quite unknown to me and 
I have no idea how to debug this error.

What I have found is that it _could_ happen on a 
file_get_contents or a fopen using the http wrapper. But 
again: i'm not sure.

First of all: please help me in tracing down this problem.

Reproduce code:
---------------
<? print file_get_contents("http://localhost");
?>

Expected result:
----------------
not the actual result :)

Actual result:
--------------
PHP has encountered an Access Violation at 010E2ED6


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35732&edit=1


Thread (21 messages)

« previous php.bugs (#90811) next »