-
-
Save Berdir/f93e56c8a2643501ce51 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gdb --args '/usr/local/bin/php7' '/home/berdir/tools/drush/drush.php' '--php=php7' 'si' '-y' 'standard' '-v' '-d' | |
Program received signal SIGSEGV, Segmentation fault. | |
zend_hash_destroy (ht=ht@entry=0x0) at /home/berdir/tools/php-src/Zend/zend_hash.c:1116 | |
1116 if (ht->nNumUsed) { | |
(gdb) bt | |
#0 zend_hash_destroy (ht=ht@entry=0x0) at /home/berdir/tools/php-src/Zend/zend_hash.c:1116 | |
#1 0x00000000007ee9dd in zend_object_std_dtor (object=0x7fffec1f3e00) at /home/berdir/tools/php-src/Zend/zend_objects.c:67 | |
#2 0x00000000007f349c in zend_objects_store_free_object_storage (objects=objects@entry=0x10ace70 <executor_globals+816>) at /home/berdir/tools/php-src/Zend/zend_objects_API.c:90 | |
#3 0x00000000007a5da3 in shutdown_executor () at /home/berdir/tools/php-src/Zend/zend_execute_API.c:335 | |
#4 0x00000000007b534b in zend_deactivate () at /home/berdir/tools/php-src/Zend/zend.c:961 | |
#5 0x00000000007575e7 in php_request_shutdown (dummy=<optimized out>) at /home/berdir/tools/php-src/main/main.c:1806 | |
#6 0x00000000008510d2 in do_cli (argc=0, argv=0x7fffe7600000) at /home/berdir/tools/php-src/sapi/cli/php_cli.c:1135 | |
#7 0x00000000004368a0 in main (argc=0, argv=0x7fffe7600000) at /home/berdir/tools/php-src/sapi/cli/php_cli.c:1334 | |
(gdb) list | |
1111 Bucket *p, *end; | |
1112 | |
1113 IS_CONSISTENT(ht); | |
1114 HT_ASSERT(GC_REFCOUNT(ht) <= 1); | |
1115 | |
1116 if (ht->nNumUsed) { | |
1117 p = ht->arData; | |
1118 end = p + ht->nNumUsed; | |
1119 if (ht->pDestructor) { | |
1120 SET_INCONSISTENT(HT_IS_DESTROYING); | |
(gdb) print ht | |
$1 = (HashTable *) 0x0 | |
(gdb) print ht->nNumUsed | |
Cannot access memory at address 0x18 | |
(gdb) print (char *)ht->nNumUsed | |
Cannot access memory at address 0x18 | |
(gdb) frame 1 | |
#1 0x00000000007ee9dd in zend_object_std_dtor (object=0x7fffec1f3e00) at /home/berdir/tools/php-src/Zend/zend_objects.c:67 | |
67 zend_hash_destroy(guards); | |
(gdb) print object | |
$1 = (zend_object *) 0x7fffec1f3e00 | |
(gdb) print *object | |
$2 = {gc = {refcount = 3883819680, u = {v = {type = 255 '\377', flags = 127 '\177', gc_info = 0}, type_info = 32767}}, handle = 11701, ce = 0x7fffed559928, handlers = 0x107ff40 <std_object_handlers>, | |
properties = 0x0, properties_table = {{value = {lval = 140737153431464, dval = 6.9533392603974868e-310, counted = 0x7fffec0977a8, str = 0x7fffec0977a8, arr = 0x7fffec0977a8, obj = 0x7fffec0977a8, | |
res = 0x7fffec0977a8, ref = 0x7fffec0977a8, ast = 0x7fffec0977a8, zv = 0x7fffec0977a8, ptr = 0x7fffec0977a8, ce = 0x7fffec0977a8, func = 0x7fffec0977a8, ww = {w1 = 3960043432, w2 = 32767}}, u1 = { | |
v = {type = 6 '\006', type_flags = 20 '\024', const_flags = 0 '\000', reserved = 0 '\000'}, type_info = 5126}, u2 = {var_flags = 1701473897, next = 1701473897, cache_slot = 1701473897, | |
lineno = 1701473897, num_args = 1701473897, fe_pos = 1701473897, fe_iter_idx = 1701473897}}}} | |
(gdb) print *object->ce | |
$3 = {type = 2 '\002', name = 0x7fffed8ce3f0, parent = 0x0, refcount = 1, ce_flags = 1048576, default_properties_count = 4, default_static_members_count = 0, default_properties_table = 0x7fffed53cb00, | |
default_static_members_table = 0x0, static_members_table = 0x0, function_table = {gc = {refcount = 1, u = {v = {type = 7 '\a', flags = 0 '\000', gc_info = 0}, type_info = 7}}, u = {v = {flags = 8 '\b', | |
nApplyCount = 0 '\000', nIteratorsCount = 0 '\000', reserve = 0 '\000'}, flags = 8}, nTableMask = 4294967280, arData = 0x7fffed937940, nNumUsed = 9, nNumOfElements = 9, nTableSize = 16, | |
nInternalPointer = 0, nNextFreeElement = 0, pDestructor = 0x7aa3f0 <zend_function_dtor>}, properties_info = {gc = {refcount = 1, u = {v = {type = 7 '\a', flags = 0 '\000', gc_info = 0}, | |
type_info = 7}}, u = {v = {flags = 8 '\b', nApplyCount = 0 '\000', nIteratorsCount = 0 '\000', reserve = 0 '\000'}, flags = 8}, nTableMask = 4294967288, arData = 0x7fffed5a9ba0, nNumUsed = 4, | |
nNumOfElements = 4, nTableSize = 8, nInternalPointer = 0, nNextFreeElement = 0, pDestructor = 0x0}, constants_table = {gc = {refcount = 1, u = {v = {type = 7 '\a', flags = 0 '\000', gc_info = 0}, | |
type_info = 7}}, u = {v = {flags = 0 '\000', nApplyCount = 0 '\000', nIteratorsCount = 0 '\000', reserve = 0 '\000'}, flags = 0}, nTableMask = 4294967294, arData = 0xd22830, nNumUsed = 0, | |
nNumOfElements = 0, nTableSize = 8, nInternalPointer = 4294967295, nNextFreeElement = 0, pDestructor = 0x7a5660 <_zval_ptr_dtor>}, constructor = 0x7fffed559ba0, destructor = 0x0, clone = 0x0, | |
__get = 0x0, __set = 0x0, __unset = 0x0, __isset = 0x0, __call = 0x0, __callstatic = 0x0, __tostring = 0x0, __debugInfo = 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 = 0x0, get_iterator = 0x0, interface_gets_implemented = 0x0, | |
get_static_method = 0x0, serialize = 0x0, unserialize = 0x0, num_interfaces = 0, num_traits = 0, interfaces = 0x0, traits = 0x0, trait_aliases = 0x0, trait_precedences = 0x0, info = {user = { | |
filename = 0x7fffed563e40, line_start = 24, line_end = 122, doc_comment = 0x7fffed563cc0}, internal = {builtin_functions = 0x7fffed563e40, module = 0x7a00000018}}} | |
(gdb) print *object->ce->name | |
$4 = {gc = {refcount = 1, u = {v = {type = 6 '\006', flags = 2 '\002', gc_info = 0}, type_info = 518}}, h = 14218169556197756050, len = 72, val = "S"} | |
$6 = 0x7fffed8ce408 "Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphNode" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment