Bug #78650 [NEW]: new COM Crash
| From: | bugzilla77 at gmail dot com | Date: | Tue, 08 Oct 2019 18:56:07 +0000 |
| Subject: | Bug #78650 [NEW]: new COM Crash | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-223146@lists.php.net to get a copy of this message | ||
From: bugzilla77 at gmail dot com
Operating system: Windows 10 Pro 1903
PHP version: 7.4.0RC3
Package: Reproducible crash
Bug Type: Bug
Bug description:new COM Crash
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 bug report at https://bugs.php.net/bug.php?id=78650&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78650&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78650&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78650&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78650&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78650&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78650&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78650&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78650&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78650&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78650&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78650&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78650&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78650&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78650&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78650&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78650&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78650&r=mysqlcfg