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

From: Date: Sun, 03 Jun 2007 15:31:09 +0000
Subject: #41577 [NEW]: DOTNET is successful once per server run
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-113306@lists.php.net to get a copy of this message
From:             boen dot robot at gmail dot com
Operating system: Windows XP Professional SP2
PHP version:      5CVS-2007-06-03 (snap)
PHP Bug Type:     COM related
Bug description:  DOTNET is successful once per server run

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 bug report at http://bugs.php.net/?id=41577&edit=1
-- 
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41577&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41577&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41577&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=41577&r=fixedcvs
Fixed in release:             http://bugs.php.net/fix.php?id=41577&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=41577&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=41577&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=41577&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=41577&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=41577&r=notwrong
Not enough info:              http://bugs.php.net/fix.php?id=41577&r=notenoughinfo
Submitted twice:              http://bugs.php.net/fix.php?id=41577&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=41577&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=41577&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=41577&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=41577&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=41577&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=41577&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=41577&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=41577&r=mysqlcfg


Thread (12 messages)

« previous php.bugs (#113306) next »