php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40563 Comunication to COM (Appach problem)
Submitted: 2007-02-20 17:27 UTC Modified: 2007-02-28 01:00 UTC
From: elvir at innvue dot com Assigned:
Status: No Feedback Package: Apache2 related
PHP Version: 5.2.1 OS: Windows Server 2003
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: elvir at innvue dot com
New email:
PHP Version: OS:

 

 [2007-02-20 17:27 UTC] elvir at innvue dot com
Description:
------------
A PHP script comunicate to COM object developed in C++. I After executing script in a loop i get the following error:

Apache HTTP Server encountered a problem and needed to close.
Please tell Microsoft about this problem...

szAppName : Apache.exe     szAppVer : 2.0.55.0     szModName : oleaut32.dll
szModVer : 5.2.3790.1830     offset : 00003c34     

C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\WER6fa0.dir00\Apache.exe.mdmp
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\WER6fa0.dir00\appcompat.txt



Reproduce code:
---------------
<?php

 ...

 $obj = new COM("EModRemoteCommands.SystemServer") or die ("Cannot Comunicate to Oxford Object");

 $myobj = $obj->UpdateSetTopBoxInfo($myxml);

 ...
?>

Expected result:
----------------
The script produce correct results until the Appache error is produced. 
Note that error will not shout down or reboot apache. No logs file is loaded to apach logs.
When error is produced the php will display page no found (HTTP 404). 
When we go to prevoius page the codes will be executed correctly. Then we can use the web application until next error is produced...
If error is not produced durring script execution then it will be produced after next rebooting of windoes OS.  

I tried to update PHP with the lastest vaalibale updates on PHP web site. The error is produced again and again...   

Actual result:
--------------
Using:
Windows Server 2003 

No IIS installed
Apache 2
Php 5.2
MySql

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-20 17:30 UTC] tony2001@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


 [2007-02-20 18:40 UTC] elvir at innvue dot com
Hello

I get a confiusing problem. Durring execution php scripts - there is no error. 
After rebooting the machine i get appache error. But, i am still able to use PHP and execute scripts.
This is happen if and only if i am calling COM object from php. 

I am not able to generate a backtrace since there is no bug in execuiting php. But i am sure that calling COM object from php force apache to produce an error. Since the error doesnt happen after executing simple pages.

- Elvir
 [2007-02-20 18:54 UTC] tony2001@php.net
So there is no reproduce script, no backtrace, almost no information, just you saying that something is wrong somewhere.
I'd say the guilty part is your COM object, can you disprove that?

 [2007-02-20 18:59 UTC] elvir at innvue dot com
I am trying to get as more as possible informations.
I will let you know if i get something.

COM Object has no relation with apache. It is a separated file. For now I can prove that it happen if end only if COM object is called...

- Elvir
 [2007-02-28 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC