Edit report at https://bugs.php.net/bug.php?id=41577&edit=1
ID: 41577
Comment by: ku at digitaldolphins dot jp
Reported by: boen dot robot at gmail dot com
Summary: DOTNET is successful once per server run
Status: Assigned
Type: Bug
Package: COM related
Operating System: Windows XP Professional SP2
PHP Version: 5CVS-2007-06-03 (snap)
Assigned To: wez
Block user comment: N
Private report: N
New Comment:
I have this problem too.
It seems that the access to the released pointer may cause it.
line 233 in C:\php-sdk\php54dev\vc9\x86\php-5.4.11\ext\com_dotnet\com_dotnet.c
---
hr = stuff->dotnet_domain->lpVtbl->CreateInstance(stuff->dotnet_domain,
oleassembly_sys, oletype_sys, &unk);
---
stuff->dotnet_domain is released in both php_com_dotnet_rshutdown and
php_com_dotnet_mshutdown.
However it would not be recovered for further requests.
Either rinit or com_dotnet_create_instance may need check for pointer access.
Thanks
Previous Comments:
------------------------------------------------------------------------
[2008-06-03 16:32:00] sam at bitopia dot co dot uk
I had this problem, and finally managed to solve it by running php as cgi
instead of an apache module, google for how to do it, but basically it's
disabling the apache module, then adding three lines in the apache conf
------------------------------------------------------------------------
[2008-01-28 19:58:33] jthorpe at statestreet dot com
I am also experiencing this problem.
Here's the crash message...
Unhandled exception at 0x00ad736d in httpd.exe: 0xC0000005: Access violation
reading location 0x00000000.
and the end of the call stack...
> php5ts.dll!00ad736d()
ntdll.dll!7c91056d()
user32.dll!7e419951()
ntdll.dll!7c910833()
ntdll.dll!7c910833()
------------------------------------------------------------------------
[2007-12-20 16:52:03] heathfrankel at internode dot on dot net
Is this related http://support.microsoft.com/kb/837318?
------------------------------------------------------------------------
[2007-12-20 15:58:45] heathfrankel at internode dot on dot net
I have also exerienced this issue and it is likely to be a show stopper for a
very important project for our company. I have tried this on Win XP and Win
2003, I have used PHP5.2 from PHP.NET and from WAMPSERVER, I have used IIS and
Apache. It oocurs for my own .NET objects and for the standard PHP
documentation example. It is all the same. Finally after much searching I
have found this Bug Report, now I don't feel so alone but still in the learch.
A quick fix would be appreciated.
------------------------------------------------------------------------
[2007-08-15 08:32:34] [email protected]
Assigned to the maintainer.
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=41577
--
Edit this bug report at https://bugs.php.net/bug.php?id=41577&edit=1