#40563 [Fbk->Opn]: Comunication to COM (Appach problem)
| From: | elvir at innvue dot com | Date: | Tue, 20 Feb 2007 18:59:26 +0000 |
| Subject: | #40563 [Fbk->Opn]: Comunication to COM (Appach problem) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-109208@lists.php.net to get a copy of this message | ||
ID: 40563
User updated by: elvir at innvue dot com
Reported By: elvir at innvue dot com
-Status: Feedback
+Status: Open
Bug Type: Apache2 related
Operating System: Windows Server 2003
PHP Version: 5.2.1
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2007-02-20 18:54:17] 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:40:36] 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 17:30:54] 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 17:27:51] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40563&edit=1