|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-01-18 04:19 UTC] willfitch@php.net
-Package: SPL related
+Package: SPL_Types
[2014-10-15 10:30 UTC] vpassapera at gmail dot com
[2014-10-15 21:29 UTC] vpassapera at gmail dot com
[2015-04-29 23:13 UTC] php66448 at mailinator dot com
[2017-01-10 08:14 UTC] kalle@php.net
-Status: Open
+Status: Suspended
[2017-01-10 08:14 UTC] kalle@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 20:00:01 2025 UTC |
Description: ------------ Adding a property to a class which extends a SplEnum causes a segfault. Test script: --------------- class MyEnum extends SplEnum { const BLA = 1; const BLABLA = 2; const BLABLABLA = 3; private $someProperty; } new MyEnum(1); Expected result: ---------------- No segfault. Actual result: -------------- Program received signal SIGSEGV, Segmentation fault. 0x00000000006dca67 in zend_hash_destroy () (gdb) backtrace #0 0x00000000006dca67 in zend_hash_destroy () #1 0x00007ffff4d4743d in spl_type_object_free_storage (_object=0x7ffff7fb9e00) at /tmp/pear/temp/SPL_Types/spl_type.c:66 #2 0x00000000006f6e34 in zend_objects_store_del_ref_by_handle_ex () #3 0x00000000006f6e53 in zend_objects_store_del_ref () #4 0x000000000077f197 in ?? () #5 0x00000000006f8b18 in execute_ex () #6 0x00000000006bee79 in dtrace_execute_ex () #7 0x00007ffff4f57d7d in xdebug_execute_ex (execute_data=0x7ffff7f83100) at /build/buildd/xdebug-2.2.3/build-php5/xdebug.c:1437 #8 0x00000000006d0810 in zend_execute_scripts () #9 0x0000000000670a05 in php_execute_script () #10 0x0000000000780cee in ?? () #11 0x0000000000460290 in main ()