#31482 [NEW]: Crashes when calling method on COM objetct

2005-01-10 Thread martin at hmailserver dot com
From: martin at hmailserver dot com
Operating system: Windows XP SP2
PHP version:  4.3.10
PHP Bug Type: Reproducible crash
Bug description:  Crashes when calling method on COM objetct

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


#31482 [Opn]: Crashes when calling method on COM objetct

2005-01-10 Thread martin at hmailserver dot com
 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:
---
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