#15333 [Com]: strndup access violation

From: Date: Wed, 27 Nov 2002 15:16:05 +0000
Subject: #15333 [Com]: strndup access violation
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25965@lists.php.net to get a copy of this message
ID: 15333 Comment by: nytral@spamcop.net Reported By: david@harksystems.com Status: Open Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.3.0-dev New Comment: Same issue, and even worse: since the last MS updates (IIS, SQL, MDAC), I get a bunch of access violations that I almost never got before. And running manually php.cgi causes the script to quit at the first SQL request, without warning/errors. It says 'missing cgi headers' when running under php-cgi. I tried 4.3.0RC1, 4.3.0-dev, 4.4.0-dev (yesterday's snapshots), all the same result. Any PHP developper using a dual cpu Win2K platform could test/fix this? Previous Comments: ------------------------------------------------------------------------ [2002-11-20 14:30:05] ryanphp@ryanjameson.com Add me to the list of people experiencing this. After a little while of switching back and forth from AV to working it goes to not responding at all. :-( ------------------------------------------------------------------------ [2002-11-18 18:10:24] ruslan@snip.com.ua Hi.. i have been working on this a couple of days for now, and here are some facts i noticed after a couple of work-arounds... - the error occurs only on systems with Win2K (SP >= 2) - the error WILL NOT occur if logged in as system administrator, and the IIS security is turned to LOW !! - the error will occur on EACH request if you fronpage extensions installed, and a global.asa file exists on the root . - please keep us informed of a solution thanks... http://www.snip.com.ua ------------------------------------------------------------------------ [2002-11-07 10:01:14] khaecki@datacomm.ch attachment to previous message: >> There is a curious connection: >> Under applications-configuration... also not the best.., dit crash aniway. ------------------------------------------------------------------------ [2002-11-06 12:52:54] khaecki@datacomm.ch I get same error but also with different function: php4ts!zend_strndup + 0x2B + 0xA05D8578 php4ts!zend_hash_copy + 0x1B + 0xA05D8578 There is a curious connection: Under applications-configuration (i do not now the english correct name) (where to install php4isapi.dll) Dlg-page: applications-options (seems concerning ASP) After deselecting "Buffer", IIS run very stable with no more interruption. Mayby tray also.. ------------------------------------------------------------------------ [2002-11-05 03:52:31] darkwings@263.sina.com I think this may be caused by some memory used for each page loading,these memory are allocated but not being released properly. May be the environment variables used. The memory leap accumulated until crash the IIS. Any thing done when a page loaded need to be noticed. ------------------------------------------------------------------------ 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 (#25965) next »