ID: 31482 User updated by: martin at hmailserver dot com Reported By: martin at hmailserver dot com Status: Open Bug Type: Reproducible crash Operating System: Windows XP SP2 PHP Version: 4.3.10 New Comment:
OK, this is what I ment. Time's much over here in sweden... "To confirm that it was not a bug in my code, I created a small dummy ATL server component in Visual Studio 2003 (containing almost no code) which exposed a dummy method that just showed a message box. When I create an instance of it in VBA, PHP4.3.9 and PHP 5.0.3 it works fine. It crashes in 4.3.10 and the latest available development build." Previous Comments: ------------------------------------------------------------------------ [2005-01-11 00:41:51] martin at hmailserver dot com Description: ------------ PHP 4.3.10 crashes every time I try to call an method on an COM object. Several users of "my" software has reported the same problem. When using PHP 4.3.9 or 5.0.3 it does not crash. To confirm that it was not a bug in my code, I created a small dummy ATL server component in Visual Studio 2003 (containing almost no code) which a exposed dummy method that just created a message box. When I create an instance of it in VBA, PHP4.3.9 and PHP 5.0.3. It crashes in 4.3.10 and the latest available development build. Reproduce code: --------------- <? $app = new COM("DummyTest.Dummy"); $app->Test(); ?> You either need to download the DummyTest ATL server from here and compile it yourself (in VS 2003) http://www.hmailserver.com/PHPBug/DummyTest.rar Or download the DLL and register it using regsvr32.exe http://www.hmailserver.com/PHPBug/DummyTest.dll Expected result: ---------------- The Test() function shows a message with the text OK. Test it in 4.3.9 or 5.0.3 to see expected result. Actual result: -------------- It crashes every single time I've tried it. On my computer, the following message is shown: An exception 'Unhandled Win32 Exception' has occured in PHP.exe. Couldn't find information on how to turn on backtrace in an win32 environment. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31482&edit=1