ID: 22218 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback -Bug Type: Reproducible crash +Bug Type: COM related Operating System: Windows 2000 PHP Version: 4.3.0 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2003-02-14 00:36:24] [EMAIL PROTECTED] One more bit of information... I found this in the event log: The exception generated was c0000005 at address 10030727 (php_COM_release) ------------------------------------------------------------------------ [2003-02-14 00:31:02] [EMAIL PROTECTED] I have installed PHP 4.3.0 (as a CGI module) and Apache 2.0.43 in a Windows 2000 machine. I am updating code that works on an earlier install and I am able to get most things working. However, I get a php crash ("php.exe has generated errors and will be closed by Windows") when I run scripts that use COM do MSXML validations of an XML document against a schema. The code works on previous PHP versions set up similarly, but not on this version. My code looks like this: $validate = new COM("Msxml2.DOMDocument.4.0"); $validate->async = "false"; $validate->validateOnParse = "true"; $validate->load($xmldeliveryfile); $code = $validate->parseError->errorCode; $reason = $validate->parseError->reason; It seems to be returning correct values for the error code and reason before the PHP crash, but then everything goes south. And it seems to be crashing earlier in the process if I deliberately create an XML validation error. And, yes, I do have MSXML4 installed. Any ideas? Thanks ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22218&edit=1
