#15333 [Com]: strndup access violation

From: Date: Tue, 22 Oct 2002 11:08:12 +0000
Subject: #15333 [Com]: strndup access violation
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-23025@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: 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. Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2002-09-26 20:06:35] sniper@php.net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2002-09-20 10:41:53] j.mak@1000mbit.nl Just to add it to the list: Same problem here. Never got PHP to work through IIS. Tested it on Win2K Pro (SP2, no patches), Win2K Adv. Server (sp2 + srp1), Win2K Adv. Server (SP3 + latest patches). The machines vary from Duron cpu's, Celeron's, P3's, Athlon XP+'s. A request to a .php file would work for 1 or 2 times, but then the 'Invalid access to memory location' error in my browser. The php files tried where some files with only HTML (not one php tag), or just the <? phpinfo(); ?>. The PHP behaves fine when used with Apache-Win32, or from the command-line. I've never seen PHP (from versions 4.1.2 to 4.2.2) work on Win2K + IIS :(. ------------------------------------------------------------------------ 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 (#23025) next »