Bug #10904 Updated: php.exe accesses unreadable memory and crashes

From: Date: Sun, 22 Jul 2001 13:20:36 +0000
Subject: Bug #10904 Updated: php.exe accesses unreadable memory and crashes
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-60596@lists.php.net to get a copy of this message
ID: 10904 Updated by: dbeu Reported By: pax@volpe.dot.gov Old Status: Open Status: Feedback Bug Type: Reproducible crash Operating System: WINNT SP4 PHP Version: 4.0.5 New Comment: can't repoduce this with the apache module or the cgi (4.0.6) under w2k. is this bug still existant for you? Previous Comments: ------------------------------------------------------------------------ [2001-06-15 09:59:43] pax@volpe.dot.gov I installed the snapshot from 6/14/2001. I know the installation was successful because PHP issued warnings about not being able to load modules such as GD. I ran it against the small script that demonstrates the defect, and, unfortunately, the defect is still there. ------------------------------------------------------------------------ [2001-06-14 22:20:21] sniper@php.net please try the latest snapshot from http://www.zend.com/snapshots ------------------------------------------------------------------------ [2001-05-18 10:50:53] pax@volpe.dot.gov I believe it is CGI. Httpd.conf contains ScriptAlias /php/ "C:/phpdev3/php/" ScriptAlias /php2/ "C:/phpdev3/php/" ScriptAlias /php3/ "C:/phpdev3/php/" AddType application/x-httpd-php4 .phtml .pwml .htm AddType application/x-httpd-php4 .php4 .php .php3 .php2 .htm Action application/x-httpd-php4 "/php/php.exe" ----------------------------------- I just performed a complete reinstallation, but the bug is still there. I downloaded and installed the phpdev3 installation package from www.firepages.com.au. This package installs Apache 1.3.19 , PHP 4.0.4pl, and MySQL. My application talks to Oracle and I don't use the MySQL. I completely removed my old installation. I made these configurations to the fresh installation. In PHP.INI (which I copied to c:\winnt) - changed the memory limit to 16M - set the include path to "." - enabled the php_mhash extension - enabled the php_imap extension (can't recall if I actually use this) in httpd.conf - changed the document root to "D:\www" I copied all the dlls for php\dlls and php\extensions to my system32 directory (except I got he usual error with msvcrt.dll --- mine is 12/7/99 and the dist version is 12/10/99). Then I verified that my application still works and that the little demonstration app still shows the bug. Steve ------------------------------------------------------------------------ [2001-05-18 04:48:55] jmoore@php.net Can reproduce this.. what SAPI are you using (ISAPI or CGI?). - James ------------------------------------------------------------------------ [2001-05-16 11:44:25] pax@volpe.dot.gov This script reproduces the bug on my machine: <?php print "<html>"; print "<head>"; print " <title>bug</title>"; print "</head>"; print "<body>"; for ($i=0; $i<1000; $i++) { print "<BR>hello" ; } print "</body>"; print "</html>"; ?> Change 1000 to 333 and the bug disappears, Change 1000 to 22222 and the bug disappears. ------------------------------------------------------------------------ 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/?id=10904 Edit this bug report at http://bugs.php.net/?id=10904&edit=1

« previous php.dev (#60596) next »