Skip to content

Instantly share code, notes, and snippets.

@arjenschol
Created May 22, 2014 14:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arjenschol/c52c9debe23d970480b0 to your computer and use it in GitHub Desktop.
Save arjenschol/c52c9debe23d970480b0 to your computer and use it in GitHub Desktop.
Program received signal SIGSEGV, Segmentation fault.
0x00000000009bd702 in zval_scan (pz=0x45f059000) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_gc.c:516
516 if (GC_ZVAL_GET_COLOR(pz) == GC_GREY) {
(gdb) bt full
#0 0x00000000009bd702 in zval_scan (pz=0x45f059000) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_gc.c:516
p = 0x4d24ef8
#1 0x00000000009bd8ee in zval_scan (pz=0x45f059000) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_gc.c:544
i = 0
n = 3
table = 0x4c8aaff
props = 0x0
get_gc = 0x9c39f1 <zend_std_get_gc>
obj = 0x7ffff47892f8
p = 0x0
#2 0x00000000009bd99a in zval_scan (pz=0x46d0c30) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_gc.c:568
p = 0x54dbbc0
#3 0x00000000009bdbae in gc_scan_roots () at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_gc.c:627
current = 0x7ffff7e63130
#4 0x00000000009be25f in gc_collect_cycles () at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_gc.c:796
p = 0x7fffffffa2a0
q = 0x67400000a17
orig_free_list = 0xc8
orig_next_to_free = 0xed9f20
count = 0
#5 0x00000000009a8993 in zif_gc_collect_cycles (ht=0, return_value=0x45db8e8, return_value_ptr=0x0, this_ptr=0x0, return_value_used=0) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_builtin_functions.c:361
__z = 0x45db8e8
#6 0x00000000009d172b in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff7fb6a40) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_vm_execute.h:550
ret = 0x7ffff7fb6a20
opline = 0x32c0288
should_change_scope = 0 '\000'
fbc = 0x124cda0
#7 0x00000000009d601b in ZEND_DO_FCALL_SPEC_CONST_HANDLER (execute_data=0x7ffff7fb6a40) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_vm_execute.h:2329
opline = 0x32c0288
fname = 0x32c15b0
call = 0x7ffff7fb6b00
#8 0x00000000009d0e1e in execute_ex (execute_data=0x7ffff7fb6a40) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_vm_execute.h:363
ret = 10292670
original_in_execution = 1 '\001'
#9 0x00000000009d0ea7 in zend_execute (op_array=0x32bdf80) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_vm_execute.h:388
No locals.
#10 0x000000000097ee7f in zend_call_function (fci=0x7fffffffa580, fci_cache=0x7fffffffa550) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_execute_API.c:939
i = 0
original_return_value = 0x7ffff7fb5058
calling_symbol_table = 0x0
original_op_array = 0x2d45758
original_opline_ptr = 0x7ffff7fb6530
current_scope = 0x2d1d5c8
current_called_scope = 0x3295da0
calling_scope = 0x3295da0
called_scope = 0x3295da0
current_this = 0x3d48928
execute_data = {opline = 0x0, function_state = {function = 0x32bdf80, arguments = 0x7ffff7fb66d8}, op_array = 0x0, object = 0x3d48928, symbol_table = 0x0, prev_execute_data = 0x7ffff7fb6530, old_error_reporting = 0x0, nested = 1 '\001',
original_return_value = 0x7ffff7fb5058, current_scope = 0x2d1d5c8, current_called_scope = 0x3295da0, current_this = 0x3d48928, fast_ret = 0x2d79c40, call_slots = 0x7ffff7fb6680, call = 0x7ffff7fb6680}
fci_cache_local = {initialized = 128 '\200', function_handler = 0x200000000, calling_scope = 0x200000002, called_scope = 0xe9ce99, object_ptr = 0x7fffffffa520}
#11 0x00000000007dd8aa in zif_call_user_func_array (ht=2, return_value=0x431cbb8, return_value_ptr=0x0, this_ptr=0x0, return_value_used=1) at /home/arjen/phpfarm/src/php-5.5.12/ext/standard/basic_functions.c:4806
params = 0x4320eb0
retval_ptr = 0x0
fci = {size = 72, function_table = 0x3295dc8, function_name = 0x52ed8a0, symbol_table = 0x0, retval_ptr_ptr = 0x7fffffffa5d0, param_count = 0, params = 0x3abc838, object_ptr = 0x3d48928, no_separation = 1 '\001'}
fci_cache = {initialized = 1 '\001', function_handler = 0x32bdf80, calling_scope = 0x3295da0, called_scope = 0x3295da0, object_ptr = 0x3d48928}
#12 0x00000000009d172b in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff7fb6530) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_vm_execute.h:550
ret = 0x7ffff7fb5fb0
opline = 0x2d78830
should_change_scope = 0 '\000'
fbc = 0x129a750
#13 0x00000000009d601b in ZEND_DO_FCALL_SPEC_CONST_HANDLER (execute_data=0x7ffff7fb6530) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_vm_execute.h:2329
opline = 0x2d78830
fname = 0x2c0ff68
call = 0x7ffff7fb6680
#14 0x00000000009d0e1e in execute_ex (execute_data=0x7ffff7fb6530) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_vm_execute.h:363
ret = 0
original_in_execution = 1 '\001'
#15 0x00000000009d0ea7 in zend_execute (op_array=0x7ffff7fee0d8) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_vm_execute.h:388
No locals.
---Type <return> to continue, or q <return> to quit---
#16 0x000000000097ee7f in zend_call_function (fci=0x7fffffffa8b0, fci_cache=0x7fffffffa880) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_execute_API.c:939
i = 0
original_return_value = 0x0
calling_symbol_table = 0x1245228 <executor_globals+360>
original_op_array = 0x7ffff7fec478
original_opline_ptr = 0x7ffff7fb2168
current_scope = 0x0
current_called_scope = 0x0
calling_scope = 0x0
called_scope = 0x0
current_this = 0x0
execute_data = {opline = 0x0, function_state = {function = 0x7ffff7fee0d8, arguments = 0x7ffff7fb2218}, op_array = 0x0, object = 0x0, symbol_table = 0x1245228 <executor_globals+360>, prev_execute_data = 0x7ffff7fb2168, old_error_reporting = 0x0, nested = 0 '\000',
original_return_value = 0x0, current_scope = 0x79, current_called_scope = 0x71, current_this = 0x0, fast_ret = 0x7ffff7fb29a0, call_slots = 0x7ffff7fb21e8, call = 0x7ffff7fb21e8}
fci_cache_local = {initialized = 59 ';', function_handler = 0xffffffff00000000, calling_scope = 0x100000001, called_scope = 0xe9ce95, object_ptr = 0x7fffffffa850}
#17 0x00000000007dd6f7 in zif_call_user_func (ht=1, return_value=0x7ffff7fee238, return_value_ptr=0x0, this_ptr=0x0, return_value_used=0) at /home/arjen/phpfarm/src/php-5.5.12/ext/standard/basic_functions.c:4781
retval_ptr = 0x0
fci = {size = 72, function_table = 0x1247e30, function_name = 0x7ffff7e1eb18, symbol_table = 0x0, retval_ptr_ptr = 0x7fffffffa8f8, param_count = 0, params = 0x0, object_ptr = 0x0, no_separation = 1 '\001'}
fci_cache = {initialized = 0 '\000', function_handler = 0x7ffff7fee0d8, calling_scope = 0x0, called_scope = 0x0, object_ptr = 0x0}
#18 0x00000000009d172b in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff7fb2168) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_vm_execute.h:550
ret = 0x7ffff7fb20e8
opline = 0x7ffff7fec9e8
should_change_scope = 0 '\000'
fbc = 0x129a600
#19 0x00000000009d601b in ZEND_DO_FCALL_SPEC_CONST_HANDLER (execute_data=0x7ffff7fb2168) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_vm_execute.h:2329
opline = 0x7ffff7fec9e8
fname = 0x7ffff7fed970
call = 0x7ffff7fb21e8
#20 0x00000000009d0e1e in execute_ex (execute_data=0x7ffff7fb2168) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_vm_execute.h:363
ret = 0
original_in_execution = 0 '\000'
#21 0x00000000009d0ea7 in zend_execute (op_array=0x7ffff7fec478) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend_vm_execute.h:388
No locals.
#22 0x00000000009929e8 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /home/arjen/phpfarm/src/php-5.5.12/Zend/zend.c:1316
files = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffffffab60, reg_save_area = 0x7fffffffaaa0}}
i = 1
file_handle = 0x7fffffffdf80
orig_op_array = 0x0
orig_retval_ptr_ptr = 0x0
orig_interactive = 0
#23 0x0000000000901148 in php_execute_script (primary_file=0x7fffffffdf80) at /home/arjen/phpfarm/src/php-5.5.12/main/main.c:2506
realfile = "/mnt/serve-a-lot_arjen/checkouts/React_UnitTester-2.0/cli/runTests.php\000\000\002\000\000\000\000\000\000\000\001", '\000' <repeats 15 times>, "\020\315\377\377\377\177\000\000\300\261B\000\000\000\000\000\000\343\377\377\377\177", '\000' <repeats 18 times>, "\254\302\217\000\000\000\000\000\020\027%\001\000\000\000\000\260p$\001", '\000' <repeats 28 times>, "\200,\003\366\377\177\000\000\001\000\000\000\000\000\000\000\300"...
__orig_bailout = 0x7fffffffce60
__bailout = {{__jmpbuf = {0, -4703889597047374685, 4370880, 140737488347904, 0, 0, -4703889595782792029, 4703890560863567011}, __mask_was_saved = 0, __saved_mask = {__val = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18949328, 4370880, 140737488347904, 0, 0, 0}}}}
prepend_file_p = 0x0
append_file_p = 0x0
prepend_file = {type = ZEND_HANDLE_FILENAME, filename = 0x0, opened_path = 0x0, handle = {fd = 0, fp = 0x0, stream = {handle = 0x0, isatty = 0, mmap = {len = 0, pos = 0, map = 0x0, buf = 0x0, old_handle = 0x0, old_closer = 0x0}, reader = 0x0, fsizer = 0x0, closer = 0x0}},
free_filename = 0 '\000'}
append_file = {type = ZEND_HANDLE_FILENAME, filename = 0x0, opened_path = 0x0, handle = {fd = 0, fp = 0x0, stream = {handle = 0x0, isatty = 0, mmap = {len = 0, pos = 0, map = 0x0, buf = 0x0, old_handle = 0x0, old_closer = 0x0}, reader = 0x0, fsizer = 0x0, closer = 0x0}},
free_filename = 0 '\000'}
old_cwd = 0x7fffffffab60 ""
use_heap = 0 '\000'
retval = 0
#24 0x0000000000a4027c in do_cli (argc=9, argv=0x1247050) at /home/arjen/phpfarm/src/php-5.5.12/sapi/cli/php_cli.c:994
__orig_bailout = 0x7fffffffe100
__bailout = {{__jmpbuf = {0, -4703889598215488349, 4370880, 140737488347904, 0, 0, -4703889597049471837, 4703890982392167587}, __mask_was_saved = 0, __saved_mask = {__val = {0, 1861453399940882393, 19729264, 140737488342800, 10094714, 140737488343164, 15556048, 3614,
140737488342800, 6465900, 11725260720810000, 140737488343164, 140737488342896, 140737488342848, 12884901906, 140737488342848}}}}
c = -1
file_handle = {type = ZEND_HANDLE_MAPPED, filename = 0x1247140 "/home/arjen/checkouts/React_UnitTester-2.0/cli/runTests.php", opened_path = 0x0, handle = {fd = -134298128, fp = 0x7ffff7fec5f0, stream = {handle = 0x7ffff7fec5f0, isatty = 0, mmap = {len = 2206, pos = 0,
map = 0x7ffff7e55000, buf = 0x7ffff7e5500f <error: Cannot access memory at address 0x7ffff7e5500f>, old_handle = 0x143ce00, old_closer = 0x9b129d <zend_stream_stdio_closer>}, reader = 0x9b126e <zend_stream_stdio_reader>,
fsizer = 0x9b12ce <zend_stream_stdio_fsizer>, closer = 0x9b13e0 <zend_stream_mmap_closer>}}, free_filename = 0 '\000'}
behavior = 1
reflection_what = 0x0
request_started = 1
exit_status = 0
php_optarg = 0x1247112 "extension=memcached.so"
orig_optarg = 0x0
php_optind = 4
orig_optind = 1
---Type <return> to continue, or q <return> to quit---
exec_direct = 0x0
exec_run = 0x0
exec_begin = 0x0
exec_end = 0x0
arg_free = 0x1247140 "/home/arjen/checkouts/React_UnitTester-2.0/cli/runTests.php"
arg_excp = 0x1247068
script_file = 0x1247140 "/home/arjen/checkouts/React_UnitTester-2.0/cli/runTests.php"
translated_path = 0x143d410 "/mnt/serve-a-lot_arjen/checkouts/React_UnitTester-2.0/cli/runTests.php"
interactive = 0
lineno = 2
param_error = 0x0
hide_argv = 0
#25 0x0000000000a41383 in main (argc=9, argv=0x1247050) at /home/arjen/phpfarm/src/php-5.5.12/sapi/cli/php_cli.c:1378
__orig_bailout = 0x0
__bailout = {{__jmpbuf = {0, -4703889598173545309, 4370880, 140737488347904, 0, 0, -4703889598217585501, 4703890938119060643}, __mask_was_saved = 0, __saved_mask = {__val = {140737354089160, 1, 0, 1, 140737354129712, 140737316932480, 0, 140737354130568, 140737488347584,
8589927176, 140737488347568, 4131212846, 4287781, 4294967295, 140737351951421, 140737317020072}}}}
c = -1
exit_status = 0
module_started = 1
sapi_started = 1
php_optarg = 0x1247112 "extension=memcached.so"
php_optind = 3
use_extended_info = 0
ini_path_override = 0x0
ini_entries = 0x1247470 "html_errors=0\nregister_argc_argv=1\nimplicit_flush=1\noutput_buffering=0\nmax_execution_time=0\nmax_input_time=-1\nextension=memcached.so\n"
ini_entries_len = 133
ini_ignore = 1
sapi_module = 0x1224800 <cli_sapi_module>
==14343== Invalid read of size 1
==14343== at 0x7AEBA8: zval_mark_grey (zend_gc.c:426)
==14343== by 0x7AFAE4: gc_collect_cycles (zend_gc.c:501)
==14343== by 0x7A11E8: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x694921: zif_call_user_func_array (basic_functions.c:4806)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x6947F8: zif_call_user_func (basic_functions.c:4781)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x79216A: zend_execute_scripts (zend.c:1316)
==14343== by 0x7315F0: php_execute_script (main.c:2506)
==14343== by 0x849F5B: do_cli (php_cli.c:994)
==14343== by 0x4312E6: main (php_cli.c:1378)
==14343== Address 0xd21e7a4 is 20 bytes inside a block of size 32 free'd
==14343== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14343== by 0x7AF8F8: gc_collect_cycles (zend_gc.c:851)
==14343== by 0x7AFED2: gc_zval_possible_root (zend_gc.c:166)
==14343== by 0x844975: zend_leave_helper_SPEC (zend_gc.h:183)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x7A78EB: zend_call_method (zend_interfaces.c:97)
==14343== by 0x7B3E00: zend_std_cast_object_tostring (zend_object_handlers.c:1533)
==14343== by 0x791811: zend_make_printable_zval (zend.c:258)
==14343== by 0x7F68B1: ZEND_CAST_SPEC_CV_HANDLER (zend_vm_execute.h:30830)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x6947F8: zif_call_user_func (basic_functions.c:4781)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x694921: zif_call_user_func_array (basic_functions.c:4806)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x7A78EB: zend_call_method (zend_interfaces.c:97)
==14343== by 0x7B316A: zend_std_call_getter (zend_object_handlers.c:158)
==14343== by 0x7B4CA4: zend_std_read_property (zend_object_handlers.c:470)
==14343== by 0x7B9EC2: zend_fetch_property_address_read_helper_SPEC_VAR_CONST (zend_vm_execute.h:14913)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x7A78EB: zend_call_method (zend_interfaces.c:97)
==14343== by 0x7B316A: zend_std_call_getter (zend_object_handlers.c:158)
==14343== by 0x7B4CA4: zend_std_read_property (zend_object_handlers.c:470)
==14343== by 0x7BD1CB: zend_fetch_property_address_read_helper_SPEC_UNUSED_CV (zend_vm_execute.h:29236)
==14343==
==14343== Invalid read of size 4
==14343== at 0x7AEB80: zval_mark_grey (zend_gc.c:427)
==14343== by 0x7AFAE4: gc_collect_cycles (zend_gc.c:501)
==14343== by 0x7A11E8: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x694921: zif_call_user_func_array (basic_functions.c:4806)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x6947F8: zif_call_user_func (basic_functions.c:4781)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x79216A: zend_execute_scripts (zend.c:1316)
==14343== by 0x7315F0: php_execute_script (main.c:2506)
==14343== by 0x849F5B: do_cli (php_cli.c:994)
==14343== by 0x4312E6: main (php_cli.c:1378)
==14343== Address 0xd21e7a0 is 16 bytes inside a block of size 32 free'd
==14343== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14343== by 0x7AF8F8: gc_collect_cycles (zend_gc.c:851)
==14343== by 0x7AFED2: gc_zval_possible_root (zend_gc.c:166)
==14343== by 0x844975: zend_leave_helper_SPEC (zend_gc.h:183)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x7A78EB: zend_call_method (zend_interfaces.c:97)
==14343== by 0x7B3E00: zend_std_cast_object_tostring (zend_object_handlers.c:1533)
==14343== by 0x791811: zend_make_printable_zval (zend.c:258)
==14343== by 0x7F68B1: ZEND_CAST_SPEC_CV_HANDLER (zend_vm_execute.h:30830)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x6947F8: zif_call_user_func (basic_functions.c:4781)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x694921: zif_call_user_func_array (basic_functions.c:4806)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x7A78EB: zend_call_method (zend_interfaces.c:97)
==14343== by 0x7B316A: zend_std_call_getter (zend_object_handlers.c:158)
==14343== by 0x7B4CA4: zend_std_read_property (zend_object_handlers.c:470)
==14343== by 0x7B9EC2: zend_fetch_property_address_read_helper_SPEC_VAR_CONST (zend_vm_execute.h:14913)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x7A78EB: zend_call_method (zend_interfaces.c:97)
==14343== by 0x7B316A: zend_std_call_getter (zend_object_handlers.c:158)
==14343== by 0x7B4CA4: zend_std_read_property (zend_object_handlers.c:470)
==14343== by 0x7BD1CB: zend_fetch_property_address_read_helper_SPEC_UNUSED_CV (zend_vm_execute.h:29236)
==14343==
==14343== Invalid read of size 8
==14343== at 0x7AEA64: zval_mark_grey (zend_gc.c:378)
==14343== by 0x7AEB93: zval_mark_grey (zend_gc.c:432)
==14343== by 0x7AFAE4: gc_collect_cycles (zend_gc.c:501)
==14343== by 0x7A11E8: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x694921: zif_call_user_func_array (basic_functions.c:4806)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x6947F8: zif_call_user_func (basic_functions.c:4781)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x79216A: zend_execute_scripts (zend.c:1316)
==14343== by 0x7315F0: php_execute_script (main.c:2506)
==14343== by 0x849F5B: do_cli (php_cli.c:994)
==14343== by 0x4312E6: main (php_cli.c:1378)
==14343== Address 0xd21e7a8 is 24 bytes inside a block of size 32 free'd
==14343== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14343== by 0x7AF8F8: gc_collect_cycles (zend_gc.c:851)
==14343== by 0x7AFED2: gc_zval_possible_root (zend_gc.c:166)
==14343== by 0x844975: zend_leave_helper_SPEC (zend_gc.h:183)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x7A78EB: zend_call_method (zend_interfaces.c:97)
==14343== by 0x7B3E00: zend_std_cast_object_tostring (zend_object_handlers.c:1533)
==14343== by 0x791811: zend_make_printable_zval (zend.c:258)
==14343== by 0x7F68B1: ZEND_CAST_SPEC_CV_HANDLER (zend_vm_execute.h:30830)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x6947F8: zif_call_user_func (basic_functions.c:4781)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x694921: zif_call_user_func_array (basic_functions.c:4806)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x7A78EB: zend_call_method (zend_interfaces.c:97)
==14343== by 0x7B316A: zend_std_call_getter (zend_object_handlers.c:158)
==14343== by 0x7B4CA4: zend_std_read_property (zend_object_handlers.c:470)
==14343== by 0x7B9EC2: zend_fetch_property_address_read_helper_SPEC_VAR_CONST (zend_vm_execute.h:14913)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x7A78EB: zend_call_method (zend_interfaces.c:97)
==14343== by 0x7B316A: zend_std_call_getter (zend_object_handlers.c:158)
==14343== by 0x7B4CA4: zend_std_read_property (zend_object_handlers.c:470)
==14343== by 0x7BD1CB: zend_fetch_property_address_read_helper_SPEC_UNUSED_CV (zend_vm_execute.h:29236)
==14343==
==14343== Invalid write of size 8
==14343== at 0x7AEA7F: zval_mark_grey (zend_gc.c:381)
==14343== by 0x7AEB93: zval_mark_grey (zend_gc.c:432)
==14343== by 0x7AFAE4: gc_collect_cycles (zend_gc.c:501)
==14343== by 0x7A11E8: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x694921: zif_call_user_func_array (basic_functions.c:4806)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x6947F8: zif_call_user_func (basic_functions.c:4781)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x79216A: zend_execute_scripts (zend.c:1316)
==14343== by 0x7315F0: php_execute_script (main.c:2506)
==14343== by 0x849F5B: do_cli (php_cli.c:994)
==14343== by 0x4312E6: main (php_cli.c:1378)
==14343== Address 0xd21e7a8 is 24 bytes inside a block of size 32 free'd
==14343== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14343== by 0x7AF8F8: gc_collect_cycles (zend_gc.c:851)
==14343== by 0x7AFED2: gc_zval_possible_root (zend_gc.c:166)
==14343== by 0x844975: zend_leave_helper_SPEC (zend_gc.h:183)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x7A78EB: zend_call_method (zend_interfaces.c:97)
==14343== by 0x7B3E00: zend_std_cast_object_tostring (zend_object_handlers.c:1533)
==14343== by 0x791811: zend_make_printable_zval (zend.c:258)
==14343== by 0x7F68B1: ZEND_CAST_SPEC_CV_HANDLER (zend_vm_execute.h:30830)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x6947F8: zif_call_user_func (basic_functions.c:4781)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x694921: zif_call_user_func_array (basic_functions.c:4806)
==14343== by 0x84817E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x7A78EB: zend_call_method (zend_interfaces.c:97)
==14343== by 0x7B316A: zend_std_call_getter (zend_object_handlers.c:158)
==14343== by 0x7B4CA4: zend_std_read_property (zend_object_handlers.c:470)
==14343== by 0x7B9EC2: zend_fetch_property_address_read_helper_SPEC_VAR_CONST (zend_vm_execute.h:14913)
==14343== by 0x7BA477: execute_ex (zend_vm_execute.h:363)
==14343== by 0x782E0C: zend_call_function (zend_execute_API.c:939)
==14343== by 0x7A78EB: zend_call_method (zend_interfaces.c:97)
==14343== by 0x7B316A: zend_std_call_getter (zend_object_handlers.c:158)
==14343== by 0x7B4CA4: zend_std_read_property (zend_object_handlers.c:470)
==14343== by 0x7BD1CB: zend_fetch_property_address_read_helper_SPEC_UNUSED_CV (zend_vm_execute.h:29236)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment