php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5572 Memory (sharing or something) violation
Submitted: 2000-07-14 03:30 UTC Modified: 2000-08-03 18:05 UTC
From: asafr at contactnow dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.1pl2 OS: Win2k
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: asafr at contactnow dot com
New email:
PHP Version: OS:

 

 [2000-07-14 03:30 UTC] asafr at contactnow dot com
Using Zend engine and IIS 5. The php4isapi.dll as the interpeter. I received a memory violation (don't remember what kind) while viewing the following page:

<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
</HEAD>
<BODY>

<?php
	class CBaseClass
	{
		function Write() { echo "Inside CBaseClass";}
	}
	class CClass extends CBaseClass
	{
		function Write() { echo "Inside CClass"; }
	}
	$c=new CClass;
	c->Write();
?>

</BODY>
</HTML>

I switched to php.exe (not restarting IIS) and still got the error. I restarted win2k and both interpeters then returned "
Parse error: parse error in e:\inetpub\wwwroot\Default.php on line 18
"

After fixing the error I recieved "Inside CClass" which is a proper behaviour.


Also, why does php4isapi.dll causes two "dllhost"s to open?

Awaiting response,
                Asaf Revach.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-14 11:38 UTC] asafr at contactnow dot com
Using Zend engine and IIS 5. The php4isapi.dll as the interpeter. I received a memory
violation (don't remember what kind) while viewing the following page:

<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
</HEAD>
<BODY>

<?php
	class CBaseClass
	{
		function Write() { echo "Inside CBaseClass";}
	}
	class CClass extends CBaseClass
	{
		function Write() { echo "Inside CClass"; }
	}
	$c=new CClass;
	c->Write();
?>

</BODY>
</HTML>

I switched to php.exe (not restarting IIS) and still got the error. I restarted win2k and
both interpeters then returned "
Parse error: parse error in e:\inetpub\wwwroot\Default.php on line 18
"

After fixing the error I recieved "Inside CClass" which is a proper behaviour.


Also, why does php4isapi.dll causes two "dllhost"s to open?

Awaiting response,
                Asaf Revach.

Add.: A day later I got a similiar error and it is:
"PHP has encountered an Access Violation at 00ED4E86".
Asaf.
 [2000-08-02 00:57 UTC] waldschrott@php.net
Is this a general problem or only related to that single page?
 [2000-08-03 17:59 UTC] asafr at contactnow dot com
	It was later discovered as a general problem. However, a bug in my hardware was also discovered (CPU related). So, it might have originated from that problem. To strengthen that assumption the Php4Isapi.DLL (its DllHost) caused exceptions with no apparent reason, without a PHP page being opened even. I use an Intel 667Mhz Pentium and those 'just because' exceptions have stopped appearing since my new CPU was installed. I hope my CPU was the reason and thank you for your attention.

 [2000-08-03 18:05 UTC] waldschrott@php.net
user feedback, hardware problems,
closed 
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 16:00:02 2026 UTC