==713== Memcheck, a memory error detector ==713== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. ==713== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info ==713== Command: php test.php ==713== ==713== Use of uninitialised value of size 8 ==713== at 0x5056F3: zend_get_properties_for (in /usr/bin/php8.4) ==713== by 0x7AFC876: get_spl_storage (var.c:308) ==713== by 0x7AFC876: handle_spl_classes (var.c:342) ==713== by 0x7AFC876: fetch_zval_from_symbol_table (var.c:586) ==713== by 0x7AFCB7F: xdebug_get_php_symbol (var.c:860) ==713== by 0x7B0E32F: get_symbol (handler_dbgp.c:389) ==713== by 0x7B0FEA8: add_variable_node (handler_dbgp.c:1555) ==713== by 0x7B0FEA8: attach_context_vars (handler_dbgp.c:1921) ==713== by 0x7B0FEA8: xdebug_dbgp_handle_context_get (handler_dbgp.c:2099) ==713== by 0x7B13DA4: xdebug_dbgp_parse_option (handler_dbgp.c:2206) ==713== by 0x7B13DA4: xdebug_dbgp_cmdloop.isra.0 (handler_dbgp.c:2316) ==713== by 0x7B148ED: xdebug_dbgp_breakpoint (handler_dbgp.c:2691) ==713== by 0x7B09A81: xdebug_debugger_statement_call (debugger.c:360) ==713== by 0x7AEEDD6: xdebug_statement_call (xdebug.c:780) ==713== by 0x500201: zend_llist_apply_with_argument (in /usr/bin/php8.4) ==713== by 0x22C140: ??? (in /usr/bin/php8.4) ==713== by 0x234F45: ??? (in /usr/bin/php8.4) ==713== ==713== Invalid read of size 8 ==713== at 0x5056F3: zend_get_properties_for (in /usr/bin/php8.4) ==713== by 0x7AFC876: get_spl_storage (var.c:308) ==713== by 0x7AFC876: handle_spl_classes (var.c:342) ==713== by 0x7AFC876: fetch_zval_from_symbol_table (var.c:586) ==713== by 0x7AFCB7F: xdebug_get_php_symbol (var.c:860) ==713== by 0x7B0E32F: get_symbol (handler_dbgp.c:389) ==713== by 0x7B0FEA8: add_variable_node (handler_dbgp.c:1555) ==713== by 0x7B0FEA8: attach_context_vars (handler_dbgp.c:1921) ==713== by 0x7B0FEA8: xdebug_dbgp_handle_context_get (handler_dbgp.c:2099) ==713== by 0x7B13DA4: xdebug_dbgp_parse_option (handler_dbgp.c:2206) ==713== by 0x7B13DA4: xdebug_dbgp_cmdloop.isra.0 (handler_dbgp.c:2316) ==713== by 0x7B148ED: xdebug_dbgp_breakpoint (handler_dbgp.c:2691) ==713== by 0x7B09A81: xdebug_debugger_statement_call (debugger.c:360) ==713== by 0x7AEEDD6: xdebug_statement_call (xdebug.c:780) ==713== by 0x500201: zend_llist_apply_with_argument (in /usr/bin/php8.4) ==713== by 0x22C140: ??? (in /usr/bin/php8.4) ==713== by 0x234F45: ??? (in /usr/bin/php8.4) ==713== Address 0x20 is not stack'd, malloc'd or (recently) free'd ==713== ==713== ==713== Process terminating with default action of signal 11 (SIGSEGV) ==713== Access not within mapped region at address 0x20 ==713== at 0x5056F3: zend_get_properties_for (in /usr/bin/php8.4) ==713== by 0x7AFC876: get_spl_storage (var.c:308) ==713== by 0x7AFC876: handle_spl_classes (var.c:342) ==713== by 0x7AFC876: fetch_zval_from_symbol_table (var.c:586) ==713== by 0x7AFCB7F: xdebug_get_php_symbol (var.c:860) ==713== by 0x7B0E32F: get_symbol (handler_dbgp.c:389) ==713== by 0x7B0FEA8: add_variable_node (handler_dbgp.c:1555) ==713== by 0x7B0FEA8: attach_context_vars (handler_dbgp.c:1921) ==713== by 0x7B0FEA8: xdebug_dbgp_handle_context_get (handler_dbgp.c:2099) ==713== by 0x7B13DA4: xdebug_dbgp_parse_option (handler_dbgp.c:2206) ==713== by 0x7B13DA4: xdebug_dbgp_cmdloop.isra.0 (handler_dbgp.c:2316) ==713== by 0x7B148ED: xdebug_dbgp_breakpoint (handler_dbgp.c:2691) ==713== by 0x7B09A81: xdebug_debugger_statement_call (debugger.c:360) ==713== by 0x7AEEDD6: xdebug_statement_call (xdebug.c:780) ==713== by 0x500201: zend_llist_apply_with_argument (in /usr/bin/php8.4) ==713== by 0x22C140: ??? (in /usr/bin/php8.4) ==713== by 0x234F45: ??? (in /usr/bin/php8.4) ==713== If you believe this happened as a result of a stack ==713== overflow in your program's main thread (unlikely but ==713== possible), you can try to increase the size of the ==713== main thread stack using the --main-stacksize= flag. ==713== The main thread stack size used in this run was 8388608. ==713== ==713== HEAP SUMMARY: ==713== in use at exit: 3,092,356 bytes in 22,597 blocks ==713== total heap usage: 27,175 allocs, 4,578 frees, 5,009,716 bytes allocated ==713== ==713== LEAK SUMMARY: ==713== definitely lost: 25,410 bytes in 795 blocks ==713== indirectly lost: 40 bytes in 1 blocks ==713== possibly lost: 1,852,338 bytes in 13,263 blocks ==713== still reachable: 1,214,568 bytes in 8,538 blocks ==713== suppressed: 0 bytes in 0 blocks ==713== Rerun with --leak-check=full to see details of leaked memory ==713== ==713== Use --track-origins=yes to see where uninitialised values come from ==713== For lists of detected and suppressed errors, rerun with: -s ==713== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)