Bug #77626 [Asn->Csd]: Persistence confusion in php_com_import_typelib()

From: Date: Fri, 15 Feb 2019 17:58:46 +0000
Subject: Bug #77626 [Asn->Csd]: Persistence confusion in php_com_import_typelib()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-219598@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77626&edit=1 ID: 77626 Updated by: cmb@php.net Reported by: cmb@php.net Summary: Persistence confusion in php_com_import_typelib() -Status: Assigned +Status: Closed Type: Bug Package: COM related Operating System: Windows PHP Version: 7.3Git-2019-02-15 (Git) Assigned To: cmb Block user comment: N Private report: N New Comment: Automatic comment on behalf of cmbecker69@gmx.de Revision: http://git.php.net/?p=php-src.git;a=commit;h=767fa3dc02f39b64015539d9948874947cf20d5d Log: Fix #77626: Persistence confusion in php_com_import_typelib() Previous Comments: ------------------------------------------------------------------------ [2019-02-15 17:46:11] cmb@php.net Description: ------------ When constants are registered while loading type libraries, the constant names are always allocated persistenly, but the constants themselves may be allocated non-persistently. This issue has been introduced with commit 5eb1f92, and as such does only affect PHP-7.3+. [1] <http://git.php.net/?p=php-src.git;a=commit;h=5eb1f92f31cafc48384f9096012f421b37f6d425> Test script: --------------- make test TESTS=ext\com_dotnet\tests\bug39606.phpt Expected result: ---------------- Test succeeds even for debug builds Actual result: -------------- Test fails for debug builds with: Assertion failed: !(zval_gc_flags((s)->gc.u.type_info) & (1<<7)), file zend\zend_string.h, line 290 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77626&edit=1

« previous php.bugs (#219598) next »