|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-12-11 19:41 UTC] arekm at maven dot pl
[2011-12-12 15:58 UTC] Sjon at hortensius dot net
[2012-01-04 07:31 UTC] no at snaxor dot com
[2012-01-04 08:26 UTC] Sjon at hortensius dot net
[2012-01-20 13:37 UTC] sjon at hortensius dot net
[2012-01-27 13:19 UTC] no at snaxor dot com
[2013-08-30 07:43 UTC] maarten@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: maarten
[2013-08-30 07:43 UTC] maarten@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 01:00:01 2025 UTC |
Description: ------------ Our application segfaults after completely finishing the request. Unfortunately I cannot provide a script to reproduce this as it occurs in an application consisting of many classes. I have been poking at this with gdb for a while, but can't find the cause for this problem. How can I supply you with the information you need to resolve this? We can 'fix' the problem by die()-ing in the __destruct of the class that seems to cause this Actual result: -------------- #0 0x00000000005bf0e9 in gc_zval_possible_root (zv=0x1985580) at /usr/src/debug/php-5.3.8/Zend/zend_gc.c:143 #1 0x00000000005aeb28 in zend_hash_destroy (ht=0x1363998) at /usr/src/debug/php-5.3.8/Zend/zend_hash.c:529 #2 0x00000000005c0609 in zend_object_std_dtor (object=0x1363970) at /usr/src/debug/php-5.3.8/Zend/zend_objects.c:45 #3 0x00000000005c0629 in zend_objects_free_object_storage (object=0x1985580) at /usr/src/debug/php-5.3.8/Zend/zend_objects.c:126 #4 0x00000000005c46d6 in zend_objects_store_free_object_storage (objects=0x91bef8) at /usr/src/debug/php-5.3.8/Zend/zend_objects_API.c:92 #5 0x0000000000595757 in shutdown_executor () at /usr/src/debug/php- 5.3.8/Zend/zend_execute_API.c:304 #6 0x00000000005a1fc2 in zend_deactivate () at /usr/src/debug/php- 5.3.8/Zend/zend.c:891 #7 0x000000000054f2ce in php_request_shutdown (dummy=<value optimized out>) at /usr/src/debug/php-5.3.8/main/main.c:1640 #8 0x000000000062b10f in main (argc=3, argv=0x7fffffffea88) at /usr/src/debug/php-5.3.8/sapi/cli/php_cli.c:1363 (gdb) frame 2 #2 0x00000000005c0609 in zend_object_std_dtor (object=0x1363970) at /usr/src/debug/php-5.3.8/Zend/zend_objects.c:45 45 zend_hash_destroy(object->properties); (gdb) print *object->ce $1 = {type = 2 '\002', name = 0xcdce30 "React_Introspection_Controller", name_length = 30, parent = 0xcb3e78, refcount = 1, constants_updated = 1 '\001', ce_flags = 0, function_table = {nTableSize = 32, nTableMask = 31, nNumOfElements = 27, nNextFreeElement = 0, pInternalPointer = 0xcde7b0, pListHead = 0xcde7b0, pListTail = 0xce9d10, arBuckets = 0xce8fa8, pDestructor = 0x599450 <zend_function_dtor>, persistent = 0 '\000', nApplyCount = 0 '\000', bApplyProtection = 0 '\000'}, default_properties = {nTableSize = 8, nTableMask = 7, nNumOfElements = 5, nNextFreeElement = 0, pInternalPointer = 0xce74c8, pListHead = 0xce74c8, pListTail = 0xce7660, arBuckets = 0xcdcf50, pDestructor = 0x595420 <_zval_ptr_dtor>, persistent = 0 '\000', nApplyCount = 0 '\000', bApplyProtection = 0 '\000'}, properties_info = { nTableSize = 8, nTableMask = 7, nNumOfElements = 5, nNextFreeElement = 0, pInternalPointer = 0xce76c8, pListHead = 0xce76c8, pListTail = 0xce7850, arBuckets = 0xcde670, pDestructor = 0x586190 <zend_destroy_property_info>, persistent = 0 '\000', nApplyCount = 0 '\000', bApplyProtection = 0 '\000'}, default_static_members = {nTableSize = 8, nTableMask = 7, nNumOfElements = 0, nNextFreeElement = 0, pInternalPointer = 0x0, pListHead = 0x0, pListTail = 0x0, arBuckets = 0xcde6c0, pDestructor = 0x595420 <_zval_ptr_dtor>, persistent = 0 '\000', nApplyCount = 0 '\000', bApplyProtection = 0 '\000'}, static_members = 0x0, constants_table = {nTableSize = 8, nTableMask = 7, nNumOfElements = 0, nNextFreeElement = 0, pInternalPointer = 0x0, pListHead = 0x0, pListTail = 0x0, arBuckets = 0xcde710, pDestructor = 0x595420 <_zval_ptr_dtor>, persistent = 0 '\000', nApplyCount = 0 '\000', bApplyProtection = 0 '\000'}, builtin_functions = 0x0, constructor = 0xca2160, destructor = 0x0, clone = 0x0, __get = 0x0, __set = 0x0, __unset = 0x0, __isset = 0x0, __call = 0x0, __callstatic = 0x0, __tostring = 0x0, serialize_func = 0x0, unserialize_func = 0x0, iterator_funcs = {funcs = 0x0, zf_new_iterator = 0x0, zf_valid = 0x0, zf_current = 0x0, zf_key = 0x0, zf_next = 0x0, zf_rewind = 0x0}, create_object = 0, get_iterator = 0, interface_gets_implemented = 0, get_static_method = 0, serialize = 0, unserialize = 0, interfaces = 0xcde368, num_interfaces = 1, filename = 0xcde018 "[...]/Introspection/Controller.php", line_start = 2, line_end = 82, doc_comment = 0x0, doc_comment_len = 0, module = 0x0}