Bug #78650 [Opn->Fbk]: new COM Crash
| From: | requinix@php.net | Date: | Tue, 08 Oct 2019 20:51:07 +0000 |
| Subject: | Bug #78650 [Opn->Fbk]: new COM Crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-223147@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78650&edit=1
ID: 78650
Updated by: requinix@php.net
Reported by: bugzilla77 at gmail dot com
Summary: new COM Crash
-Status: Open
+Status: Feedback
Type: Bug
Package: Reproducible crash
Operating System: Windows 10 Pro 1903
PHP Version: 7.4.0RC3
Block user comment: N
Private report: N
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2019-10-08 18:56:06] bugzilla77 at gmail dot com
Description:
------------
PHP 7.4.0RC3 crashes
but
PHP 7.3.10 do not crash
Test script:
---------------
<?php
$o=new COM('com.sun.star.ServiceManager');
$pv=$o->Bridge_GetStruct('com.sun.star.beans.PropertyValue');
$pv->Name='Hidden';$pv->Value=false;
$d=$o->CreateInstance('com.sun.star.frame.Desktop')->LoadComponentFromURL('private:factory/swriter','_blank',0,[$pv]);
$d->DocumentProperties->Title='Hello';
$d->Close(true);
print('OK');
?>
Expected result:
----------------
OK
Actual result:
--------------
crash
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78650&edit=1