#41577 [Com]: DOTNET is successful once per server run

From: Date: Mon, 28 Jan 2008 19:58:34 +0000
Subject: #41577 [Com]: DOTNET is successful once per server run
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-121609@lists.php.net to get a copy of this message
ID: 41577 Comment by: jthorpe at statestreet dot com Reported By: boen dot robot at gmail dot com Status: Assigned Bug Type: COM related Operating System: Windows XP Professional SP2 PHP Version: 5CVS-2007-06-03 (snap) Assigned To: wez New Comment: 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() Previous Comments: ------------------------------------------------------------------------ [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] jani@php.net Assigned to the maintainer. ------------------------------------------------------------------------ [2007-06-03 15:31:09] boen dot robot at gmail dot com Description: ------------ When I run any PHP file using the DOTNET class, The class is first run as it should (the sample from the documentation does ineed produce "Hello .Net"), but after a page refresh, or if a navigate away from the page and go back, the server crashes. I have PHP installed locally as an Apache 2.2.4 module. I tryed turning off my antivirus (NOD32 in case it's relevant), but that didn't helped either. I have all .NET 1.1, .NET 2.0 and .NET 3.0 with all updates from Microsoft Update. Reproduce code: --------------- <?php $stack = new DOTNET("mscorlib", "System.Collections.Stack") or die('not created'); die('created'); ?> Expected result: ---------------- The file should output "created" every time it's executed, unless perhaps I had an error in the constructor, in which case it should output "not created". Actual result: -------------- "created" is only outputted the first time. After that... A server crash with this in the error details: szAppName : httpd.exe szAppVer : 2.2.4.0 szModName : php5ts.dll szModVer : 5.2.4.4 offset : 000e622d ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41577&edit=1

« previous php.bugs (#121609) next »