Bug #78650 [Fbk->Ver]: new COM Crash

From: Date: Wed, 09 Oct 2019 08:06:22 +0000
Subject: Bug #78650 [Fbk->Ver]: new COM Crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-223151@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: cmb@php.net Reported by: bugzilla77 at gmail dot com Summary: new COM Crash -Status: Feedback +Status: Verified Type: Bug Package: Reproducible crash Operating System: Windows 10 Pro 1903 PHP Version: 7.4.0RC3 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Backtrace: 0000000000000000() (Unbekannte Quelle:0) php7_debug.dll!zend_fetch_property_address(_zval_struct * result, _zval_struct * container, unsigned int container_op_type, _zval_struct * prop_ptr, unsigned int prop_op_type, void * * cache_slot, int type, unsigned int flags, unsigned char init_undef, const _zend_op * opline, _zend_execute_data * execute_data) Line 2816 (c:\php-sdk\phpdev\vc15\x64\php-src-7.4\Zend\zend_execute.c:2816) php7_debug.dll!ZEND_FETCH_OBJ_W_SPEC_CV_CONST_HANDLER(_zend_execute_data * execute_data) Line 39389 (c:\php-sdk\phpdev\vc15\x64\php-src-7.4\Zend\zend_vm_execute.h:39389) php7_debug.dll!execute_ex(_zend_execute_data * ex) Line 53354 (c:\php-sdk\phpdev\vc15\x64\php-src-7.4\Zend\zend_vm_execute.h:53354) php7_debug.dll!zend_execute(_zend_op_array * op_array, _zval_struct * return_value) Line 57640 (c:\php-sdk\phpdev\vc15\x64\php-src-7.4\Zend\zend_vm_execute.h:57640) php7_debug.dll!zend_execute_scripts(int type, _zval_struct * retval, int file_count, ...) Line 1664 (c:\php-sdk\phpdev\vc15\x64\php-src-7.4\Zend\zend.c:1664) php7_debug.dll!php_execute_script(_zend_file_handle * primary_file) Line 2619 (c:\php-sdk\phpdev\vc15\x64\php-src-7.4\main\main.c:2619) php.exe!do_cli(int argc, char * * argv) Line 962 (c:\php-sdk\phpdev\vc15\x64\php-src-7.4\sapi\cli\php_cli.c:962) php.exe!main(int argc, char * * argv) Line 1352 (c:\php-sdk\phpdev\vc15\x64\php-src-7.4\sapi\cli\php_cli.c:1352) php.exe!invoke_main() Line 79 (d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:79) php.exe!__scrt_common_main_seh() Line 288 (d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288) php.exe!__scrt_common_main() Line 331 (d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:331) php.exe!mainCRTStartup() Line 17 (d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp:17) kernel32.dll!00007ffe11d67bd4() (Unbekannte Quelle:0) ntdll.dll!00007ffe1388ced1() (Unbekannte Quelle:0) Previous Comments: ------------------------------------------------------------------------ [2019-10-08 20:51:06] requinix@php.net 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. ------------------------------------------------------------------------ [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

« previous php.bugs (#223151) next »