Bug #53140 [Com]: PHP-CGI (FastCGI IIS) crashes when creating DOTNET instance every second time

From: Date: Fri, 18 Oct 2013 05:23:27 +0000
Subject: Bug #53140 [Com]: PHP-CGI (FastCGI IIS) crashes when creating DOTNET instance every second time
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182334@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=53140&edit=1

 ID:                 53140
 Comment by:         igorhmm at gmail dot com
 Reported by:        jeyb88 at gmail dot com
 Summary:            PHP-CGI (FastCGI IIS) crashes when creating DOTNET
                     instance every second time
 Status:             Open
 Type:               Bug
 Package:            COM related
 Operating System:   XP, Vista, Win 7,Win Server 2008
 PHP Version:        5.3.3
 Block user comment: N
 Private report:     N

 New Comment:

Guys,

I found a poor workaround: on IIS7 I've fixed just one request to recycle

I did this on specific application pool that uses this feature.

Hope this helps :)

Regards


Previous Comments:
------------------------------------------------------------------------
[2013-03-19 15:34:33] ben at imperialwebdesigns dot com

Any update on getting this resolved?

------------------------------------------------------------------------
[2013-01-08 15:08:16] johnphayes at gmail dot com

You may be able to fix this issue by recompiling PHP with the 

void php_com_dotnet_mshutdown()

defined in /ext/com_dotnet/com_dotnet.c. IIRC the problem was that that function 
was removed in this revision: 

http://svn.php.net/viewvc/php/php-src/trunk/ext/com_dotnet/com_dotnet.c?
r1=137794&r2=146718. 

So if you can download the latest source, put that function back into 
com_dotnet.c, and recompile you should be good to go.

------------------------------------------------------------------------
[2013-01-08 09:35:22] xandra_18ro at yahoo dot com

Is there a hotfix for this problem? Or a workaround perhaps.
thanks!

------------------------------------------------------------------------
[2012-03-26 16:18:30] andrew dot king at simail dot co dot uk

I can confirm that this problem also exists on PHP 5.3.2 on Windows Server 2003 32-bit with IIS
running FastCGI. Problem also occurs on WAMP server, Windows 7 64-bit running PHP 5.3.8, Apache
2.2.21 with PHP loaded as a module, not CGI.

------------------------------------------------------------------------
[2011-08-24 17:02:08] johnphayes at gmail dot com

Here is the Application Event log entry in Windows Server 2003 when this crash 
occurs in my test case above:

Source: .NET Runtime 2.0 Error

Description:
Faulting application httpd.exe, version 2.2.19.0, stamp 4dd6eda8, faulting 
module 
php5ts.dll, version 5.2.17.17, stamp 4d25fb49, debug? 0, fault address 
0x000ea66d.

This source is a little odd, because I have .NET 4.0 Runtime installed. Note 
that although I have PHP 5.2.17 installed at the moment, I have experienced this 
with 5.3 as well.

------------------------------------------------------------------------


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=53140


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=53140&edit=1


Thread (15 messages)

« previous php.bugs (#182334) next »