#15333 [Com]: strndup access violation

From: Date: Thu, 24 Oct 2002 19:28:48 +0000
Subject: #15333 [Com]: strndup access violation
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-23232@lists.php.net to get a copy of this message
ID: 15333 Comment by: fallx@lycos.com Reported By: david@harksystems.com Status: Open Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.3.0-dev New Comment: Ran into this bug again. This happens either when I'm using the old style of using global variables or repeatedly accessing codes that have mistakes. Previous Comments: ------------------------------------------------------------------------ [2002-10-24 13:31:11] mattww3@hotmail.com Dual Proc Win2k sp2+hotfixes... 4.2.3 as CGI no prob. As ISAPI Same prob as everyone else works for a few minutes then... access violations... then ISAPI stops responding but I have a virtual DIR with set as CGI and that continues working... can be seen with the simple phpinfo.php idea. Please continue to investigate. Thanks. Matt W. ------------------------------------------------------------------------ [2002-10-22 06:08:12] fallx@lycos.com I'm trying to use the Webfroot Shoutbox script for testing purposes.This had happened to me about everytime I tried to execute the script. I'm using PHP 4.2.3 and Windows XP. Today, I finally able to stop the error from reproducing by changing the settings in php.ini register_globals = Off to register_globals = On. ------------------------------------------------------------------------ [2002-10-14 18:40:02] sniper@php.net updated version. (even as this is most likely not even any bug in PHP but something in windows. Just use Apache..it works) ------------------------------------------------------------------------ [2002-10-14 12:43:57] jtate@php.net Reopening as per comments ------------------------------------------------------------------------ [2002-10-14 11:13:24] nathan_silva@hotmail.com Sniper, the reason nobody gave feedback is because *nobody is using PHP ISAPI anymore*. I just tested this again with the latest 4.3.0-dev snapshot on Win2K. It still gives an AV. Here is how to duplicate it: 1. Create a file with the following line: <?php phpinfo(); ?> 2. From your web browser, access that file. 3. Press refresh repeatedly until you see an access violation. As j.mak said, no version of PHP ISAPI from 4.1.2 to present has worked. ------------------------------------------------------------------------ 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/15333 -- Edit this bug report at http://bugs.php.net/?id=15333&edit=1

« previous php.bugs (#23232) next »