php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35066 Crash using COM with ISAPI
Submitted: 2005-11-02 15:31 UTC Modified: 2005-12-01 09:58 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: bke15 at gmx dot de Assigned: wez (profile)
Status: Closed Package: COM related
PHP Version: 5CVS-2005-11-28 (snap) OS: Windows 2003 Server
Private report: No CVE-ID: None
 [2005-11-02 15:31 UTC] bke15 at gmx dot de
Description:
------------
I am using com functions in PHP5 very frequent. While I created a new COM Object via :

$xslDom = new COM( "MSXML2.FreethreadedDOMDocument.4.0" );
$xslDom->Load($XSLFile);

i get sometimes a server crash. I can't reproduce it, but if i reload the page frequently the crash occurs some of each 10 requests.

Versions 5.0.5 and 5.0.4 do the job very fine.

Reproduce code:
---------------
$xslDom = new COM( "MSXML2.FreethreadedDOMDocument.4.0" );
$xslDom->Load($XSLFile);

Actual result:
--------------
Server Crash - the process exit code was '0xc0000005'.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-02 15:43 UTC] sniper@php.net
Assigned to the maintainer.

 [2005-11-02 16:00 UTC] wez@php.net
Are you running ISAPI or Apache?
 [2005-11-02 16:14 UTC] bke15 at gmx dot de
I am running on ISAPI on all cases.
 [2005-11-26 23:01 UTC] IMarvinTPA at bigfoot dot com
I'm getting this crash every time on WinXP SP1, PHP 5.1 release, IIS 5.1 (PWS)

The line of code that does it in:
$oCapicom = new COM("CAPICOM.EncryptedData");

IMarv
 [2005-11-28 15:14 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip


 [2005-11-29 09:47 UTC] bke15 at gmx dot de
The error is now (PHP5.1.1) very seldom but still existent. Using a loadtester on my Webserver i get application Errors each 5 Minutes. Using the same script with 5.0.5 works fine.
 [2005-12-01 02:38 UTC] IMarvinTPA at bigfoot dot com
My issue appears to be resolved.

Thank you!

IMarv
 [2005-12-01 09:58 UTC] tony2001@php.net
Fixed -> closed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 07:01:27 2024 UTC