Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Critical Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.2.0 RC2 New Comment: Running PHP 4.2.1 Win2K Server with all Security Updates Still getting the ISAPI module error. My event Log shows: Event Type: Warning Event Source: W3SVC Event Category: None Event ID: 36 Date: 17/05/2002 Time: 14:09:30 User: N/A Computer: SERVER2 Description: The server failed to load application '/LM/W3SVC/24/Root/admin'. The error was 'The application called an interface that was marshalled for a different thread. '. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp. Where /Root/admin is the virtual dir running PHP files. Previous Comments: [2002-05-15 10:23:32] [EMAIL PROTECTED] I beleive that is what it was being called when I downloaded it, maybe I am mistaken. Anyway I am now running php 4.2.1 and am having the same problem. Windows 2000 Server Stock PHP 4.2.1 install Stock MySQL 3.29 install Stock phpBB 2.0 install The HTTP server encountered an unhandled exception while processing the ISAPI Application ' php4ts!zend_strndup + 0x2B + 0xA05E5983 [2002-05-14 17:46:39] [EMAIL PROTECTED] Uh, PHP 2.0 Gold? What the heck is that? [2002-05-14 17:08:08] [EMAIL PROTECTED] Any update to this? Using PHP 2.0 Gold and still haveing this problm: php4ts!zend_strndup + 0x2B [2002-05-10 04:22:01] [EMAIL PROTECTED] I've got the same configuration (win2k, iis5 and mssql via obdc) the machine want to run propperly and i've seen the same errors. now, php is configured in the applications mappings AND in the isapi filters (seen here somewhere as a hint). the site is "stored" in a fully configured virtual host ( assign ip-address, assigned host name, cache scripts etc etc). now, it runs stable without any of the strange errors described in the other postings. dont ask me why, i'm not really happy but so far it's a prove that the "mission impossible became reality" ;-) and it had cost me some hard days to make it true. btw: no zend encode or optimizer is installed [2002-04-23 18:35:20] [EMAIL PROTECTED] how do I go about running 'tkill'? 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
Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Critical Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.2.0 RC2 New Comment: I beleive that is what it was being called when I downloaded it, maybe I am mistaken. Anyway I am now running php 4.2.1 and am having the same problem. Windows 2000 Server Stock PHP 4.2.1 install Stock MySQL 3.29 install Stock phpBB 2.0 install The HTTP server encountered an unhandled exception while processing the ISAPI Application ' php4ts!zend_strndup + 0x2B + 0xA05E5983 Previous Comments: [2002-05-14 17:46:39] [EMAIL PROTECTED] Uh, PHP 2.0 Gold? What the heck is that? [2002-05-14 17:08:08] [EMAIL PROTECTED] Any update to this? Using PHP 2.0 Gold and still haveing this problm: php4ts!zend_strndup + 0x2B [2002-05-10 04:22:01] [EMAIL PROTECTED] I've got the same configuration (win2k, iis5 and mssql via obdc) the machine want to run propperly and i've seen the same errors. now, php is configured in the applications mappings AND in the isapi filters (seen here somewhere as a hint). the site is "stored" in a fully configured virtual host ( assign ip-address, assigned host name, cache scripts etc etc). now, it runs stable without any of the strange errors described in the other postings. dont ask me why, i'm not really happy but so far it's a prove that the "mission impossible became reality" ;-) and it had cost me some hard days to make it true. btw: no zend encode or optimizer is installed [2002-04-23 18:35:20] [EMAIL PROTECTED] how do I go about running 'tkill'? [2002-04-22 19:26:53] [EMAIL PROTECTED] There is a tool called "tkill" / kill / tlist that will let you terminate processes. Get the PID from tlist or Task Manager and then run kill with the PID for the argument. inetinfo.exe will be running under a different user that Administrator does not have the power to kill the processes of, so using Task Manager to kill inetinfo.exe is a waste of time. 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
Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Critical Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.2.0 RC2 New Comment: Uh, PHP 2.0 Gold? What the heck is that? Previous Comments: [2002-05-14 17:08:08] [EMAIL PROTECTED] Any update to this? Using PHP 2.0 Gold and still haveing this problm: php4ts!zend_strndup + 0x2B [2002-05-10 04:22:01] [EMAIL PROTECTED] I've got the same configuration (win2k, iis5 and mssql via obdc) the machine want to run propperly and i've seen the same errors. now, php is configured in the applications mappings AND in the isapi filters (seen here somewhere as a hint). the site is "stored" in a fully configured virtual host ( assign ip-address, assigned host name, cache scripts etc etc). now, it runs stable without any of the strange errors described in the other postings. dont ask me why, i'm not really happy but so far it's a prove that the "mission impossible became reality" ;-) and it had cost me some hard days to make it true. btw: no zend encode or optimizer is installed [2002-04-23 18:35:20] [EMAIL PROTECTED] how do I go about running 'tkill'? [2002-04-22 19:26:53] [EMAIL PROTECTED] There is a tool called "tkill" / kill / tlist that will let you terminate processes. Get the PID from tlist or Task Manager and then run kill with the PID for the argument. inetinfo.exe will be running under a different user that Administrator does not have the power to kill the processes of, so using Task Manager to kill inetinfo.exe is a waste of time. [2002-04-21 06:32:35] [EMAIL PROTECTED] I tried setting the app protection to 'Low (IIS Process)' and still get the error. And I tried killing inetinfo.exe and running the net stop commands from the command line, but Windows won't kill the process. This issue has turned out to be the biggest reason my I haven't embraced PHP yet -- because I hate rebooting my machine all of the time. I would love to hear of a workaround that works, and better yet, see a published fix. Any more ideas out there? 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
Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Critical Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.2.0 RC2 New Comment: Any update to this? Using PHP 2.0 Gold and still haveing this problm: php4ts!zend_strndup + 0x2B Previous Comments: [2002-05-10 04:22:01] [EMAIL PROTECTED] I've got the same configuration (win2k, iis5 and mssql via obdc) the machine want to run propperly and i've seen the same errors. now, php is configured in the applications mappings AND in the isapi filters (seen here somewhere as a hint). the site is "stored" in a fully configured virtual host ( assign ip-address, assigned host name, cache scripts etc etc). now, it runs stable without any of the strange errors described in the other postings. dont ask me why, i'm not really happy but so far it's a prove that the "mission impossible became reality" ;-) and it had cost me some hard days to make it true. btw: no zend encode or optimizer is installed [2002-04-23 18:35:20] [EMAIL PROTECTED] how do I go about running 'tkill'? [2002-04-22 19:26:53] [EMAIL PROTECTED] There is a tool called "tkill" / kill / tlist that will let you terminate processes. Get the PID from tlist or Task Manager and then run kill with the PID for the argument. inetinfo.exe will be running under a different user that Administrator does not have the power to kill the processes of, so using Task Manager to kill inetinfo.exe is a waste of time. [2002-04-21 06:32:35] [EMAIL PROTECTED] I tried setting the app protection to 'Low (IIS Process)' and still get the error. And I tried killing inetinfo.exe and running the net stop commands from the command line, but Windows won't kill the process. This issue has turned out to be the biggest reason my I haven't embraced PHP yet -- because I hate rebooting my machine all of the time. I would love to hear of a workaround that works, and better yet, see a published fix. Any more ideas out there? [2002-04-17 15:19:04] [EMAIL PROTECTED] I am getting this error with 4.2.0 RC2. I upgraded from 4.1.2 to 4.2.0 RC2 (both ISAPI) because 4.1.2 wasn't handling sessions correctly. I tried setting the app protection to 'Low (IIS Process)' and all I received were 'Invalid access to memory location' errors. PHP 4.2.0 RC2 (ISAPI) IIS5 Win2K Pro SP2 PIII 733MHz 384 MB RAM 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
Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Critical Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.2.0 RC2 New Comment: I've got the same configuration (win2k, iis5 and mssql via obdc) the machine want to run propperly and i've seen the same errors. now, php is configured in the applications mappings AND in the isapi filters (seen here somewhere as a hint). the site is "stored" in a fully configured virtual host ( assign ip-address, assigned host name, cache scripts etc etc). now, it runs stable without any of the strange errors described in the other postings. dont ask me why, i'm not really happy but so far it's a prove that the "mission impossible became reality" ;-) and it had cost me some hard days to make it true. btw: no zend encode or optimizer is installed Previous Comments: [2002-04-23 18:35:20] [EMAIL PROTECTED] how do I go about running 'tkill'? [2002-04-22 19:26:53] [EMAIL PROTECTED] There is a tool called "tkill" / kill / tlist that will let you terminate processes. Get the PID from tlist or Task Manager and then run kill with the PID for the argument. inetinfo.exe will be running under a different user that Administrator does not have the power to kill the processes of, so using Task Manager to kill inetinfo.exe is a waste of time. [2002-04-21 06:32:35] [EMAIL PROTECTED] I tried setting the app protection to 'Low (IIS Process)' and still get the error. And I tried killing inetinfo.exe and running the net stop commands from the command line, but Windows won't kill the process. This issue has turned out to be the biggest reason my I haven't embraced PHP yet -- because I hate rebooting my machine all of the time. I would love to hear of a workaround that works, and better yet, see a published fix. Any more ideas out there? [2002-04-17 15:19:04] [EMAIL PROTECTED] I am getting this error with 4.2.0 RC2. I upgraded from 4.1.2 to 4.2.0 RC2 (both ISAPI) because 4.1.2 wasn't handling sessions correctly. I tried setting the app protection to 'Low (IIS Process)' and all I received were 'Invalid access to memory location' errors. PHP 4.2.0 RC2 (ISAPI) IIS5 Win2K Pro SP2 PIII 733MHz 384 MB RAM [2002-04-17 01:29:45] [EMAIL PROTECTED] I am also receiving this error with: Win2k Server SP2 w/all security patches But I am running PHP 4.1.2 ISAPI under IIS 5.0 Thanks. 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
Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Critical Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.2.0 RC2 New Comment: how do I go about running 'tkill'? Previous Comments: [2002-04-22 19:26:53] [EMAIL PROTECTED] There is a tool called "tkill" / kill / tlist that will let you terminate processes. Get the PID from tlist or Task Manager and then run kill with the PID for the argument. inetinfo.exe will be running under a different user that Administrator does not have the power to kill the processes of, so using Task Manager to kill inetinfo.exe is a waste of time. [2002-04-21 06:32:35] [EMAIL PROTECTED] I tried setting the app protection to 'Low (IIS Process)' and still get the error. And I tried killing inetinfo.exe and running the net stop commands from the command line, but Windows won't kill the process. This issue has turned out to be the biggest reason my I haven't embraced PHP yet -- because I hate rebooting my machine all of the time. I would love to hear of a workaround that works, and better yet, see a published fix. Any more ideas out there? [2002-04-17 15:19:04] [EMAIL PROTECTED] I am getting this error with 4.2.0 RC2. I upgraded from 4.1.2 to 4.2.0 RC2 (both ISAPI) because 4.1.2 wasn't handling sessions correctly. I tried setting the app protection to 'Low (IIS Process)' and all I received were 'Invalid access to memory location' errors. PHP 4.2.0 RC2 (ISAPI) IIS5 Win2K Pro SP2 PIII 733MHz 384 MB RAM [2002-04-17 01:29:45] [EMAIL PROTECTED] I am also receiving this error with: Win2k Server SP2 w/all security patches But I am running PHP 4.1.2 ISAPI under IIS 5.0 Thanks. [2002-04-09 08:14:55] [EMAIL PROTECTED] I have been super busy lately, but, since I switched the app protection down to 'Low (IIS Process)' a week ago I haven't gotten a single error or lock up. Thanks for your persistance. Still using 4.1.2. 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
Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Critical Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.2.0 RC2 New Comment: There is a tool called "tkill" / kill / tlist that will let you terminate processes. Get the PID from tlist or Task Manager and then run kill with the PID for the argument. inetinfo.exe will be running under a different user that Administrator does not have the power to kill the processes of, so using Task Manager to kill inetinfo.exe is a waste of time. Previous Comments: [2002-04-21 06:32:35] [EMAIL PROTECTED] I tried setting the app protection to 'Low (IIS Process)' and still get the error. And I tried killing inetinfo.exe and running the net stop commands from the command line, but Windows won't kill the process. This issue has turned out to be the biggest reason my I haven't embraced PHP yet -- because I hate rebooting my machine all of the time. I would love to hear of a workaround that works, and better yet, see a published fix. Any more ideas out there? [2002-04-17 15:19:04] [EMAIL PROTECTED] I am getting this error with 4.2.0 RC2. I upgraded from 4.1.2 to 4.2.0 RC2 (both ISAPI) because 4.1.2 wasn't handling sessions correctly. I tried setting the app protection to 'Low (IIS Process)' and all I received were 'Invalid access to memory location' errors. PHP 4.2.0 RC2 (ISAPI) IIS5 Win2K Pro SP2 PIII 733MHz 384 MB RAM [2002-04-17 01:29:45] [EMAIL PROTECTED] I am also receiving this error with: Win2k Server SP2 w/all security patches But I am running PHP 4.1.2 ISAPI under IIS 5.0 Thanks. [2002-04-09 08:14:55] [EMAIL PROTECTED] I have been super busy lately, but, since I switched the app protection down to 'Low (IIS Process)' a week ago I haven't gotten a single error or lock up. Thanks for your persistance. Still using 4.1.2. [2002-04-08 12:04:38] [EMAIL PROTECTED] Ok. It definitely happens with RC2. You can restart IIS without rebooting, you've got to perform the following: kill the inetinfo.exe process using the task manager run from command line: net stop w3svc net stop iisadmin net start iisadmin net start w3svc Marking this bug critical because it should be fixed before 4.2.0 release. Still looking for fix. 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
Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Critical Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.2.0 RC2 New Comment: I tried setting the app protection to 'Low (IIS Process)' and still get the error. And I tried killing inetinfo.exe and running the net stop commands from the command line, but Windows won't kill the process. This issue has turned out to be the biggest reason my I haven't embraced PHP yet -- because I hate rebooting my machine all of the time. I would love to hear of a workaround that works, and better yet, see a published fix. Any more ideas out there? Previous Comments: [2002-04-17 15:19:04] [EMAIL PROTECTED] I am getting this error with 4.2.0 RC2. I upgraded from 4.1.2 to 4.2.0 RC2 (both ISAPI) because 4.1.2 wasn't handling sessions correctly. I tried setting the app protection to 'Low (IIS Process)' and all I received were 'Invalid access to memory location' errors. PHP 4.2.0 RC2 (ISAPI) IIS5 Win2K Pro SP2 PIII 733MHz 384 MB RAM [2002-04-17 01:29:45] [EMAIL PROTECTED] I am also receiving this error with: Win2k Server SP2 w/all security patches But I am running PHP 4.1.2 ISAPI under IIS 5.0 Thanks. [2002-04-09 08:14:55] [EMAIL PROTECTED] I have been super busy lately, but, since I switched the app protection down to 'Low (IIS Process)' a week ago I haven't gotten a single error or lock up. Thanks for your persistance. Still using 4.1.2. [2002-04-08 12:04:38] [EMAIL PROTECTED] Ok. It definitely happens with RC2. You can restart IIS without rebooting, you've got to perform the following: kill the inetinfo.exe process using the task manager run from command line: net stop w3svc net stop iisadmin net start iisadmin net start w3svc Marking this bug critical because it should be fixed before 4.2.0 release. Still looking for fix. [2002-04-05 12:38:03] [EMAIL PROTECTED] Nevermind. That's not the problem. Still looking. 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
Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Critical Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.2.0 RC2 New Comment: I am getting this error with 4.2.0 RC2. I upgraded from 4.1.2 to 4.2.0 RC2 (both ISAPI) because 4.1.2 wasn't handling sessions correctly. I tried setting the app protection to 'Low (IIS Process)' and all I received were 'Invalid access to memory location' errors. PHP 4.2.0 RC2 (ISAPI) IIS5 Win2K Pro SP2 PIII 733MHz 384 MB RAM Previous Comments: [2002-04-17 01:29:45] [EMAIL PROTECTED] I am also receiving this error with: Win2k Server SP2 w/all security patches But I am running PHP 4.1.2 ISAPI under IIS 5.0 Thanks. [2002-04-09 08:14:55] [EMAIL PROTECTED] I have been super busy lately, but, since I switched the app protection down to 'Low (IIS Process)' a week ago I haven't gotten a single error or lock up. Thanks for your persistance. Still using 4.1.2. [2002-04-08 12:04:38] [EMAIL PROTECTED] Ok. It definitely happens with RC2. You can restart IIS without rebooting, you've got to perform the following: kill the inetinfo.exe process using the task manager run from command line: net stop w3svc net stop iisadmin net start iisadmin net start w3svc Marking this bug critical because it should be fixed before 4.2.0 release. Still looking for fix. [2002-04-05 12:38:03] [EMAIL PROTECTED] Nevermind. That's not the problem. Still looking. [2002-04-04 13:23:18] [EMAIL PROTECTED] I think I've found the problem: ZEND_API char *zend_strndup(const char *s, uint length) { char *p; p = (char *) malloc(length+1); if (!p) { return (char *)NULL; } if (length) { memcpy(p, s, length); } p[length] = 0; return p; } If this is changed to ZEND_API char *zend_strndup(const char *s, uint length) { char *p; p = (char *) malloc(length+1); if (!p) { return (char *)NULL; } if (length) { memcpy(p, s, length); p[length] = 0; } return p; } does that break anything? I think the problem comes in when length==0. I can't really reproduce this problem though. I saw it once a couple of days ago, but havn't seen it since. Also will one of you that's having this problem please check to see if 4.2.0 RC 2 still has this problem? Since 4.2.0 is going to be released really soon now, I'd like to get this worked through (but if it doesn't happen anymore under 4.2.0 then we're worrying about nothing). 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
Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Critical Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.2.0 RC2 New Comment: I am also receiving this error with: Win2k Server SP2 w/all security patches But I am running PHP 4.1.2 ISAPI under IIS 5.0 Thanks. Previous Comments: [2002-04-09 08:14:55] [EMAIL PROTECTED] I have been super busy lately, but, since I switched the app protection down to 'Low (IIS Process)' a week ago I haven't gotten a single error or lock up. Thanks for your persistance. Still using 4.1.2. [2002-04-08 12:04:38] [EMAIL PROTECTED] Ok. It definitely happens with RC2. You can restart IIS without rebooting, you've got to perform the following: kill the inetinfo.exe process using the task manager run from command line: net stop w3svc net stop iisadmin net start iisadmin net start w3svc Marking this bug critical because it should be fixed before 4.2.0 release. Still looking for fix. [2002-04-05 12:38:03] [EMAIL PROTECTED] Nevermind. That's not the problem. Still looking. [2002-04-04 13:23:18] [EMAIL PROTECTED] I think I've found the problem: ZEND_API char *zend_strndup(const char *s, uint length) { char *p; p = (char *) malloc(length+1); if (!p) { return (char *)NULL; } if (length) { memcpy(p, s, length); } p[length] = 0; return p; } If this is changed to ZEND_API char *zend_strndup(const char *s, uint length) { char *p; p = (char *) malloc(length+1); if (!p) { return (char *)NULL; } if (length) { memcpy(p, s, length); p[length] = 0; } return p; } does that break anything? I think the problem comes in when length==0. I can't really reproduce this problem though. I saw it once a couple of days ago, but havn't seen it since. Also will one of you that's having this problem please check to see if 4.2.0 RC 2 still has this problem? Since 4.2.0 is going to be released really soon now, I'd like to get this worked through (but if it doesn't happen anymore under 4.2.0 then we're worrying about nothing). [2002-04-04 10:27:27] [EMAIL PROTECTED] I've been having the same problem. Win2k (All security updates) IIS 5.0 Pentium III 733 ISAPI Version 4.1.2 I switched security on each virtual directory to 'Low(IIS Process) and haven't gotten the error since. This isn't a satisfactory fix, but maybe it'll help figure out what is causing the problem. 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
Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Critical Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.2.0 RC2 New Comment: I have been super busy lately, but, since I switched the app protection down to 'Low (IIS Process)' a week ago I haven't gotten a single error or lock up. Thanks for your persistance. Still using 4.1.2. Previous Comments: [2002-04-08 12:04:38] [EMAIL PROTECTED] Ok. It definitely happens with RC2. You can restart IIS without rebooting, you've got to perform the following: kill the inetinfo.exe process using the task manager run from command line: net stop w3svc net stop iisadmin net start iisadmin net start w3svc Marking this bug critical because it should be fixed before 4.2.0 release. Still looking for fix. [2002-04-05 12:38:03] [EMAIL PROTECTED] Nevermind. That's not the problem. Still looking. [2002-04-04 13:23:18] [EMAIL PROTECTED] I think I've found the problem: ZEND_API char *zend_strndup(const char *s, uint length) { char *p; p = (char *) malloc(length+1); if (!p) { return (char *)NULL; } if (length) { memcpy(p, s, length); } p[length] = 0; return p; } If this is changed to ZEND_API char *zend_strndup(const char *s, uint length) { char *p; p = (char *) malloc(length+1); if (!p) { return (char *)NULL; } if (length) { memcpy(p, s, length); p[length] = 0; } return p; } does that break anything? I think the problem comes in when length==0. I can't really reproduce this problem though. I saw it once a couple of days ago, but havn't seen it since. Also will one of you that's having this problem please check to see if 4.2.0 RC 2 still has this problem? Since 4.2.0 is going to be released really soon now, I'd like to get this worked through (but if it doesn't happen anymore under 4.2.0 then we're worrying about nothing). [2002-04-04 10:27:27] [EMAIL PROTECTED] I've been having the same problem. Win2k (All security updates) IIS 5.0 Pentium III 733 ISAPI Version 4.1.2 I switched security on each virtual directory to 'Low(IIS Process) and haven't gotten the error since. This isn't a satisfactory fix, but maybe it'll help figure out what is causing the problem. [2002-04-04 10:09:46] [EMAIL PROTECTED] Bug #16362 was marked a duplicate of this bug. 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
Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Critical Bug Type: IIS related Operating System: Windows 2000 Pro -PHP Version: 4.1.1 +PHP Version: 4.2.0 RC2 New Comment: Ok. It definitely happens with RC2. You can restart IIS without rebooting, you've got to perform the following: kill the inetinfo.exe process using the task manager run from command line: net stop w3svc net stop iisadmin net start iisadmin net start w3svc Marking this bug critical because it should be fixed before 4.2.0 release. Still looking for fix. Previous Comments: [2002-04-05 12:38:03] [EMAIL PROTECTED] Nevermind. That's not the problem. Still looking. [2002-04-04 13:23:18] [EMAIL PROTECTED] I think I've found the problem: ZEND_API char *zend_strndup(const char *s, uint length) { char *p; p = (char *) malloc(length+1); if (!p) { return (char *)NULL; } if (length) { memcpy(p, s, length); } p[length] = 0; return p; } If this is changed to ZEND_API char *zend_strndup(const char *s, uint length) { char *p; p = (char *) malloc(length+1); if (!p) { return (char *)NULL; } if (length) { memcpy(p, s, length); p[length] = 0; } return p; } does that break anything? I think the problem comes in when length==0. I can't really reproduce this problem though. I saw it once a couple of days ago, but havn't seen it since. Also will one of you that's having this problem please check to see if 4.2.0 RC 2 still has this problem? Since 4.2.0 is going to be released really soon now, I'd like to get this worked through (but if it doesn't happen anymore under 4.2.0 then we're worrying about nothing). [2002-04-04 10:27:27] [EMAIL PROTECTED] I've been having the same problem. Win2k (All security updates) IIS 5.0 Pentium III 733 ISAPI Version 4.1.2 I switched security on each virtual directory to 'Low(IIS Process) and haven't gotten the error since. This isn't a satisfactory fix, but maybe it'll help figure out what is causing the problem. [2002-04-04 10:09:46] [EMAIL PROTECTED] Bug #16362 was marked a duplicate of this bug. [2002-04-03 19:35:48] [EMAIL PROTECTED] I got this error after aplying the lateste security updates on my win2k server. It works fine at the begginig but after 5 mins I get this error. It hangs all the IIS service. This doesn't happen in CGI mode. OS: Win2K Server Patches: SP2 + Lateste Security updates System: P3 @ 550 Mhz - 256 MB RAM PHP VER: 4.1.2. PHP Mode: ISAPI 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
Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.1.1 New Comment: Nevermind. That's not the problem. Still looking. Previous Comments: [2002-04-04 13:23:18] [EMAIL PROTECTED] I think I've found the problem: ZEND_API char *zend_strndup(const char *s, uint length) { char *p; p = (char *) malloc(length+1); if (!p) { return (char *)NULL; } if (length) { memcpy(p, s, length); } p[length] = 0; return p; } If this is changed to ZEND_API char *zend_strndup(const char *s, uint length) { char *p; p = (char *) malloc(length+1); if (!p) { return (char *)NULL; } if (length) { memcpy(p, s, length); p[length] = 0; } return p; } does that break anything? I think the problem comes in when length==0. I can't really reproduce this problem though. I saw it once a couple of days ago, but havn't seen it since. Also will one of you that's having this problem please check to see if 4.2.0 RC 2 still has this problem? Since 4.2.0 is going to be released really soon now, I'd like to get this worked through (but if it doesn't happen anymore under 4.2.0 then we're worrying about nothing). [2002-04-04 10:27:27] [EMAIL PROTECTED] I've been having the same problem. Win2k (All security updates) IIS 5.0 Pentium III 733 ISAPI Version 4.1.2 I switched security on each virtual directory to 'Low(IIS Process) and haven't gotten the error since. This isn't a satisfactory fix, but maybe it'll help figure out what is causing the problem. [2002-04-04 10:09:46] [EMAIL PROTECTED] Bug #16362 was marked a duplicate of this bug. [2002-04-03 19:35:48] [EMAIL PROTECTED] I got this error after aplying the lateste security updates on my win2k server. It works fine at the begginig but after 5 mins I get this error. It hangs all the IIS service. This doesn't happen in CGI mode. OS: Win2K Server Patches: SP2 + Lateste Security updates System: P3 @ 550 Mhz - 256 MB RAM PHP VER: 4.1.2. PHP Mode: ISAPI [2002-02-19 09:06:12] [EMAIL PROTECTED] Nope, I am not using Zend Encoder or Optimizer. Just running plain PHP for now. 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
Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.1.1 New Comment: I think I've found the problem: ZEND_API char *zend_strndup(const char *s, uint length) { char *p; p = (char *) malloc(length+1); if (!p) { return (char *)NULL; } if (length) { memcpy(p, s, length); } p[length] = 0; return p; } If this is changed to ZEND_API char *zend_strndup(const char *s, uint length) { char *p; p = (char *) malloc(length+1); if (!p) { return (char *)NULL; } if (length) { memcpy(p, s, length); p[length] = 0; } return p; } does that break anything? I think the problem comes in when length==0. I can't really reproduce this problem though. I saw it once a couple of days ago, but havn't seen it since. Also will one of you that's having this problem please check to see if 4.2.0 RC 2 still has this problem? Since 4.2.0 is going to be released really soon now, I'd like to get this worked through (but if it doesn't happen anymore under 4.2.0 then we're worrying about nothing). Previous Comments: [2002-04-04 10:27:27] [EMAIL PROTECTED] I've been having the same problem. Win2k (All security updates) IIS 5.0 Pentium III 733 ISAPI Version 4.1.2 I switched security on each virtual directory to 'Low(IIS Process) and haven't gotten the error since. This isn't a satisfactory fix, but maybe it'll help figure out what is causing the problem. [2002-04-04 10:09:46] [EMAIL PROTECTED] Bug #16362 was marked a duplicate of this bug. [2002-04-03 19:35:48] [EMAIL PROTECTED] I got this error after aplying the lateste security updates on my win2k server. It works fine at the begginig but after 5 mins I get this error. It hangs all the IIS service. This doesn't happen in CGI mode. OS: Win2K Server Patches: SP2 + Lateste Security updates System: P3 @ 550 Mhz - 256 MB RAM PHP VER: 4.1.2. PHP Mode: ISAPI [2002-02-19 09:06:12] [EMAIL PROTECTED] Nope, I am not using Zend Encoder or Optimizer. Just running plain PHP for now. [2002-02-19 08:52:53] [EMAIL PROTECTED] Are you using Zendencoder? I have the same problem on a machine running Zendoptimizer with some pages that were Zendencoded. The server crashed every 20-30 request or so. I took off the pages Zendencoded and its working fine now... Seems that the problem stands there... 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
Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.1.1 New Comment: I've been having the same problem. Win2k (All security updates) IIS 5.0 Pentium III 733 ISAPI Version 4.1.2 I switched security on each virtual directory to 'Low(IIS Process) and haven't gotten the error since. This isn't a satisfactory fix, but maybe it'll help figure out what is causing the problem. Previous Comments: [2002-04-04 10:09:46] [EMAIL PROTECTED] Bug #16362 was marked a duplicate of this bug. [2002-04-03 19:35:48] [EMAIL PROTECTED] I got this error after aplying the lateste security updates on my win2k server. It works fine at the begginig but after 5 mins I get this error. It hangs all the IIS service. This doesn't happen in CGI mode. OS: Win2K Server Patches: SP2 + Lateste Security updates System: P3 @ 550 Mhz - 256 MB RAM PHP VER: 4.1.2. PHP Mode: ISAPI [2002-02-19 09:06:12] [EMAIL PROTECTED] Nope, I am not using Zend Encoder or Optimizer. Just running plain PHP for now. [2002-02-19 08:52:53] [EMAIL PROTECTED] Are you using Zendencoder? I have the same problem on a machine running Zendoptimizer with some pages that were Zendencoded. The server crashed every 20-30 request or so. I took off the pages Zendencoded and its working fine now... Seems that the problem stands there... [2002-02-01 15:41:48] [EMAIL PROTECTED] I am getting an access violation in php4ts!zend_strndup + 0x2B + 0xA05CB1AD. It is reproducable after about 20 or 30 requests, but it isn't a certain page that causes it. A page refresh may or may not display the page without error. Eventually the server will no longer serve pages at all and only a reboot will bring the web server back. Stopping IIS just sits there attempting to stop the service. Details: Windows 2000 Pro with service pack 2 and all critical and security updates from windowsupdate.microsoft.com K6-2 500MHz with 192Meg RAM I have the exact setup on my machine using an Athlon 1.2GHz with 512Meg RAM without any problem. However on two machines with an AMD K6-2 (configured identically) the web server will stop responding to requests consistently. I have also tested this on my Dell laptop with an Intel PIII/700MHz 256 Meg RAM with same Windows 2000 pro w/sp2 and all updates without any problem. When the server does stop serving pages the DLLHOST.EXE process virtual memory size goes to the max for the machine. I have installed php as an ISAPI module. I have also tried installing PHP as a CGI and have the same problem. I have tested this with php 4.0.6, 4.1.0, and 4.1.1 and have the same problem in zend_strndup with all three. I am using the windows zip file from the php.net download page. Also I am using the Interbase extension. No other extensions are being used. I hope I included enough info here. Thanks. -- Edit this bug report at http://bugs.php.net/?id=15333&edit=1
Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.1.1 New Comment: Bug #16362 was marked a duplicate of this bug. Previous Comments: [2002-04-03 19:35:48] [EMAIL PROTECTED] I got this error after aplying the lateste security updates on my win2k server. It works fine at the begginig but after 5 mins I get this error. It hangs all the IIS service. This doesn't happen in CGI mode. OS: Win2K Server Patches: SP2 + Lateste Security updates System: P3 @ 550 Mhz - 256 MB RAM PHP VER: 4.1.2. PHP Mode: ISAPI [2002-02-19 09:06:12] [EMAIL PROTECTED] Nope, I am not using Zend Encoder or Optimizer. Just running plain PHP for now. [2002-02-19 08:52:53] [EMAIL PROTECTED] Are you using Zendencoder? I have the same problem on a machine running Zendoptimizer with some pages that were Zendencoded. The server crashed every 20-30 request or so. I took off the pages Zendencoded and its working fine now... Seems that the problem stands there... [2002-02-01 15:41:48] [EMAIL PROTECTED] I am getting an access violation in php4ts!zend_strndup + 0x2B + 0xA05CB1AD. It is reproducable after about 20 or 30 requests, but it isn't a certain page that causes it. A page refresh may or may not display the page without error. Eventually the server will no longer serve pages at all and only a reboot will bring the web server back. Stopping IIS just sits there attempting to stop the service. Details: Windows 2000 Pro with service pack 2 and all critical and security updates from windowsupdate.microsoft.com K6-2 500MHz with 192Meg RAM I have the exact setup on my machine using an Athlon 1.2GHz with 512Meg RAM without any problem. However on two machines with an AMD K6-2 (configured identically) the web server will stop responding to requests consistently. I have also tested this on my Dell laptop with an Intel PIII/700MHz 256 Meg RAM with same Windows 2000 pro w/sp2 and all updates without any problem. When the server does stop serving pages the DLLHOST.EXE process virtual memory size goes to the max for the machine. I have installed php as an ISAPI module. I have also tried installing PHP as a CGI and have the same problem. I have tested this with php 4.0.6, 4.1.0, and 4.1.1 and have the same problem in zend_strndup with all three. I am using the windows zip file from the php.net download page. Also I am using the Interbase extension. No other extensions are being used. I hope I included enough info here. Thanks. -- Edit this bug report at http://bugs.php.net/?id=15333&edit=1
Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.1.1 New Comment: I got this error after aplying the lateste security updates on my win2k server. It works fine at the begginig but after 5 mins I get this error. It hangs all the IIS service. This doesn't happen in CGI mode. OS: Win2K Server Patches: SP2 + Lateste Security updates System: P3 @ 550 Mhz - 256 MB RAM PHP VER: 4.1.2. PHP Mode: ISAPI Previous Comments: [2002-02-19 09:06:12] [EMAIL PROTECTED] Nope, I am not using Zend Encoder or Optimizer. Just running plain PHP for now. [2002-02-19 08:52:53] [EMAIL PROTECTED] Are you using Zendencoder? I have the same problem on a machine running Zendoptimizer with some pages that were Zendencoded. The server crashed every 20-30 request or so. I took off the pages Zendencoded and its working fine now... Seems that the problem stands there... [2002-02-01 15:41:48] [EMAIL PROTECTED] I am getting an access violation in php4ts!zend_strndup + 0x2B + 0xA05CB1AD. It is reproducable after about 20 or 30 requests, but it isn't a certain page that causes it. A page refresh may or may not display the page without error. Eventually the server will no longer serve pages at all and only a reboot will bring the web server back. Stopping IIS just sits there attempting to stop the service. Details: Windows 2000 Pro with service pack 2 and all critical and security updates from windowsupdate.microsoft.com K6-2 500MHz with 192Meg RAM I have the exact setup on my machine using an Athlon 1.2GHz with 512Meg RAM without any problem. However on two machines with an AMD K6-2 (configured identically) the web server will stop responding to requests consistently. I have also tested this on my Dell laptop with an Intel PIII/700MHz 256 Meg RAM with same Windows 2000 pro w/sp2 and all updates without any problem. When the server does stop serving pages the DLLHOST.EXE process virtual memory size goes to the max for the machine. I have installed php as an ISAPI module. I have also tried installing PHP as a CGI and have the same problem. I have tested this with php 4.0.6, 4.1.0, and 4.1.1 and have the same problem in zend_strndup with all three. I am using the windows zip file from the php.net download page. Also I am using the Interbase extension. No other extensions are being used. I hope I included enough info here. Thanks. -- Edit this bug report at http://bugs.php.net/?id=15333&edit=1
Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.1.1 New Comment: Nope, I am not using Zend Encoder or Optimizer. Just running plain PHP for now. Previous Comments: [2002-02-19 08:52:53] [EMAIL PROTECTED] Are you using Zendencoder? I have the same problem on a machine running Zendoptimizer with some pages that were Zendencoded. The server crashed every 20-30 request or so. I took off the pages Zendencoded and its working fine now... Seems that the problem stands there... [2002-02-01 15:41:48] [EMAIL PROTECTED] I am getting an access violation in php4ts!zend_strndup + 0x2B + 0xA05CB1AD. It is reproducable after about 20 or 30 requests, but it isn't a certain page that causes it. A page refresh may or may not display the page without error. Eventually the server will no longer serve pages at all and only a reboot will bring the web server back. Stopping IIS just sits there attempting to stop the service. Details: Windows 2000 Pro with service pack 2 and all critical and security updates from windowsupdate.microsoft.com K6-2 500MHz with 192Meg RAM I have the exact setup on my machine using an Athlon 1.2GHz with 512Meg RAM without any problem. However on two machines with an AMD K6-2 (configured identically) the web server will stop responding to requests consistently. I have also tested this on my Dell laptop with an Intel PIII/700MHz 256 Meg RAM with same Windows 2000 pro w/sp2 and all updates without any problem. When the server does stop serving pages the DLLHOST.EXE process virtual memory size goes to the max for the machine. I have installed php as an ISAPI module. I have also tried installing PHP as a CGI and have the same problem. I have tested this with php 4.0.6, 4.1.0, and 4.1.1 and have the same problem in zend_strndup with all three. I am using the windows zip file from the php.net download page. Also I am using the Interbase extension. No other extensions are being used. I hope I included enough info here. Thanks. -- Edit this bug report at http://bugs.php.net/?id=15333&edit=1
Bug #15333 Updated: strndup access violation
ID: 15333 Updated by: [EMAIL PROTECTED] -Reported By: [EMAIL PROTECTED] +Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IIS related Operating System: Windows 2000 Pro PHP Version: 4.1.1 New Comment: Are you using Zendencoder? I have the same problem on a machine running Zendoptimizer with some pages that were Zendencoded. The server crashed every 20-30 request or so. I took off the pages Zendencoded and its working fine now... Seems that the problem stands there... Previous Comments: [2002-02-01 15:41:48] [EMAIL PROTECTED] I am getting an access violation in php4ts!zend_strndup + 0x2B + 0xA05CB1AD. It is reproducable after about 20 or 30 requests, but it isn't a certain page that causes it. A page refresh may or may not display the page without error. Eventually the server will no longer serve pages at all and only a reboot will bring the web server back. Stopping IIS just sits there attempting to stop the service. Details: Windows 2000 Pro with service pack 2 and all critical and security updates from windowsupdate.microsoft.com K6-2 500MHz with 192Meg RAM I have the exact setup on my machine using an Athlon 1.2GHz with 512Meg RAM without any problem. However on two machines with an AMD K6-2 (configured identically) the web server will stop responding to requests consistently. I have also tested this on my Dell laptop with an Intel PIII/700MHz 256 Meg RAM with same Windows 2000 pro w/sp2 and all updates without any problem. When the server does stop serving pages the DLLHOST.EXE process virtual memory size goes to the max for the machine. I have installed php as an ISAPI module. I have also tried installing PHP as a CGI and have the same problem. I have tested this with php 4.0.6, 4.1.0, and 4.1.1 and have the same problem in zend_strndup with all three. I am using the windows zip file from the php.net download page. Also I am using the Interbase extension. No other extensions are being used. I hope I included enough info here. Thanks. -- Edit this bug report at http://bugs.php.net/?id=15333&edit=1