php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29173 PHP has encountered an Access Violation at 01C273CD
Submitted: 2004-07-15 02:53 UTC Modified: 2004-07-22 01:46 UTC
Votes:9
Avg. Score:5.0 ± 0.0
Reproduced:9 of 9 (100.0%)
Same Version:9 (100.0%)
Same OS:6 (66.7%)
From: braekpoint at gazeta dot pl Assigned:
Status: Closed Package: IIS related
PHP Version: 5.0.0 OS: Windows 2k
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: braekpoint at gazeta dot pl
New email:
PHP Version: OS:

 

 [2004-07-15 02:53 UTC] braekpoint at gazeta dot pl
Description:
------------
PHP 5.0.0 (final)has encountered an Access Violation at 01C273CD. On any scripts:

<?php
echo 'Passwd: '.$_GET['login'].' -> '.md5($_GET['login']).'<br>';
echo 'Passwd: '.$_GET['login'].' -> '.sha1($_GET['login']).'<br>';
?>

or

<?
class A {
	function A($a) {
		echo $a;
	}
}

$obj = new A('hello word');
?>

or _any_ other...

but:
<?php
phpinfo();
?>
work fine...

My configuration:
 - Celeron 2.0 GHz
 - 512 Mb RAM
 - windows 2000 + all patches
 - IIS
 - PHP

More info? please ask me...
Sorry for may english...

Reproduce code:
---------------
1:
<?php
echo 'Passwd: '.$_GET['login'].' -> '.md5($_GET['login']).'<br>';
echo 'Passwd: '.$_GET['login'].' -> '.sha1($_GET['login']).'<br>';
?>

2:
<?
class A {
	function A($a) {
		echo $a;
	}
}

$obj = new A('hello');
?>

Expected result:
----------------
1:
Passwd: 76cb43a -> def9f000235e317a78f210ca8bf626bd
Passwd: 76cb43a -> d23428a7043121dee875ec788f8d985ee5c43118

2:
hello

Actual result:
--------------
1:
PHP has encountered an Access Violation at 01C273CDPasswd: 76cb43a -> def9f000235e317a78f210ca8bf626bd
Passwd: 76cb43a -> d23428a7043121dee875ec788f8d985ee5c43118

2:
PHP has encountered an Access Violation at 01C273CDhello

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-16 09:54 UTC] breakpoint at gazeta dot pl
I forget...
When I execuyte command:
net stop iisadmin
i get "Application Error":
"The instruction at "0x77fcc7ea" referenced memory at "0x03500348". The memory could not by "written".
When I select OK, service could not stop. I onter way (whe I leave this window), command work properly.
 [2004-07-16 10:01 UTC] breakpoint at gazeta dot pl
And my hardware configuration:
 - mainboard MSI 845PE Max (MS-6580) on 845PE chipset
 - HDD WD 80 GB 8Mb Cache 7200
 - RAM 512 MB DDR333 (manufacturer ???)
 - 2 network adapters (on mainborad - Realtek RLT8139/810x - and Intel PRO/100+ PCI)

Installed software:
 - SQL Server
 - MySQL
 - Outpost Firewall
 - NetLimiter

 - and other standard, typical soft
 [2004-07-16 12:59 UTC] taomyn at myway dot com
Same as Bug #29127 (http://bugs.php.net/bug.php?id=29127) - have a look at for temporary fix.

Your code works fine with the patched DLL supplied.
 [2004-07-16 21:37 UTC] braekpoint at gazeta dot pl
I use this patch, but from time to time I still get "PHP has encountered an Access Violation at" error. Still too I have error on net stop iisadmin (always). Bu thankt for try help me...
 [2004-07-22 01:46 UTC] edink@php.net
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.

Problems with using mysql functions are unrelated to this bug.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 20 02:00:03 2025 UTC