==786695== Memcheck, a memory error detector ==786695== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. ==786695== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info ==786695== Command: /home/william/install/ruby-3_2_3-debug/bin/ruby -I.:. ./import_fragments_runme.rb ==786695== Parent PID: 786684 ==786695== ==786695== Warning: client switching stacks? SP change: 0x1ffe8020c0 --> 0x1ffefff7f0 ==786695== to suppress, use: --max-stackframe=8378160 or greater ==786695== Conditional jump or move depends on uninitialised value(s) ==786695== at 0x3B7694: add_insn_info (compile.c:2244) ==786695== by 0x3B8894: iseq_set_sequence (compile.c:2546) ==786695== by 0x3B5A01: iseq_setup (compile.c:1514) ==786695== by 0x3B4643: rb_iseq_compile_node (compile.c:856) ==786695== by 0x1A4BCD: rb_iseq_new_with_opt (iseq.c:1011) ==786695== by 0x3B5546: new_child_iseq (compile.c:1363) ==786695== by 0x3D59AF: iseq_compile_each0 (compile.c:9878) ==786695== by 0x3D3597: iseq_compile_each (compile.c:9407) ==786695== by 0x3BBF12: compile_block (compile.c:4205) ==786695== by 0x3D374B: iseq_compile_each0 (compile.c:9437) ==786695== by 0x3D3597: iseq_compile_each (compile.c:9407) ==786695== by 0x3B4198: rb_iseq_compile_node (compile.c:785) ==786695== Uninitialised value was created by a heap allocation ==786695== at 0x4846828: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==786695== by 0x166EF4: objspace_xmalloc0 (gc.c:12337) ==786695== by 0x1672C8: ruby_xmalloc2_body (gc.c:12589) ==786695== by 0x16CDDD: ruby_xmalloc2 (gc.c:14773) ==786695== by 0x3B7D56: iseq_set_sequence (compile.c:2383) ==786695== by 0x3B5A01: iseq_setup (compile.c:1514) ==786695== by 0x3B4643: rb_iseq_compile_node (compile.c:856) ==786695== by 0x1A4BCD: rb_iseq_new_with_opt (iseq.c:1011) ==786695== by 0x3B5546: new_child_iseq (compile.c:1363) ==786695== by 0x3D59AF: iseq_compile_each0 (compile.c:9878) ==786695== by 0x3D3597: iseq_compile_each (compile.c:9407) ==786695== by 0x3BBF12: compile_block (compile.c:4205) ==786695== ==786695== Invalid read of size 8 ==786695== at 0x32D259: RBASIC_CLASS (rbasic.h:155) ==786695== by 0x339804: opt_equality_specialized (vm_insnhelper.c:2287) ==786695== by 0x339954: opt_equality (vm_insnhelper.c:2321) ==786695== by 0x34DA05: vm_exec_core (insns.def:1174) ==786695== by 0x36299B: rb_vm_exec (vm.c:2383) ==786695== by 0x363730: rb_iseq_eval_main (vm.c:2633) ==786695== by 0x13CEB8: rb_ec_exec_node (eval.c:289) ==786695== by 0x13D025: ruby_run_node (eval.c:330) ==786695== by 0x138454: rb_main (main.c:38) ==786695== by 0x1384CC: main (main.c:57) ==786695== Address 0x1ffeffe2b8 is on thread 1's stack ==786695== 1624 bytes below stack pointer ==786695== ==786695== Invalid read of size 8 ==786695== at 0x32D259: RBASIC_CLASS (rbasic.h:155) ==786695== by 0x33989D: opt_equality_specialized (vm_insnhelper.c:2302) ==786695== by 0x339954: opt_equality (vm_insnhelper.c:2321) ==786695== by 0x34DA05: vm_exec_core (insns.def:1174) ==786695== by 0x36299B: rb_vm_exec (vm.c:2383) ==786695== by 0x363730: rb_iseq_eval_main (vm.c:2633) ==786695== by 0x13CEB8: rb_ec_exec_node (eval.c:289) ==786695== by 0x13D025: ruby_run_node (eval.c:330) ==786695== by 0x138454: rb_main (main.c:38) ==786695== by 0x1384CC: main (main.c:57) ==786695== Address 0x1ffeffe2b8 is on thread 1's stack ==786695== 1624 bytes below stack pointer ==786695== ==786695== Invalid read of size 8 ==786695== at 0x32D259: RBASIC_CLASS (rbasic.h:155) ==786695== by 0x32DAD4: rb_class_of (globals.h:175) ==786695== by 0x339591: vm_search_method (vm_insnhelper.c:2178) ==786695== by 0x339692: vm_method_cfunc_is (vm_insnhelper.c:2237) ==786695== by 0x33998F: opt_equality (vm_insnhelper.c:2324) ==786695== by 0x34DA05: vm_exec_core (insns.def:1174) ==786695== by 0x36299B: rb_vm_exec (vm.c:2383) ==786695== by 0x363730: rb_iseq_eval_main (vm.c:2633) ==786695== by 0x13CEB8: rb_ec_exec_node (eval.c:289) ==786695== by 0x13D025: ruby_run_node (eval.c:330) ==786695== by 0x138454: rb_main (main.c:38) ==786695== by 0x1384CC: main (main.c:57) ==786695== Address 0x1ffeffe2b8 is on thread 1's stack ==786695== 1488 bytes below stack pointer ==786695== ==786695== Invalid read of size 4 ==786695== at 0x2EE81D: hash_table_index (id_table.c:132) ==786695== by 0x2EEBB4: rb_id_table_lookup (id_table.c:230) ==786695== by 0x339232: vm_search_cc (vm_insnhelper.c:1988) ==786695== by 0x3394B2: rb_vm_search_method_slowpath (vm_insnhelper.c:2084) ==786695== by 0x339519: vm_search_method_slowpath0 (vm_insnhelper.c:2106) ==786695== by 0x339613: vm_search_method_fastpath (vm_insnhelper.c:2172) ==786695== by 0x339613: vm_search_method (vm_insnhelper.c:2182) ==786695== by 0x339692: vm_method_cfunc_is (vm_insnhelper.c:2237) ==786695== by 0x33998F: opt_equality (vm_insnhelper.c:2324) ==786695== by 0x34DA05: vm_exec_core (insns.def:1174) ==786695== by 0x36299B: rb_vm_exec (vm.c:2383) ==786695== by 0x363730: rb_iseq_eval_main (vm.c:2633) ==786695== by 0x13CEB8: rb_ec_exec_node (eval.c:289) ==786695== Address 0xa is not stack'd, malloc'd or (recently) free'd ==786695== ==786695== ==786695== Process terminating with default action of signal 6 (SIGABRT) ==786695== at 0x4ADBB2C: __pthread_kill_implementation (pthread_kill.c:44) ==786695== by 0x4ADBB2C: __pthread_kill_internal (pthread_kill.c:78) ==786695== by 0x4ADBB2C: pthread_kill@@GLIBC_2.34 (pthread_kill.c:89) ==786695== by 0x4A8227D: raise (raise.c:26) ==786695== by 0x4A658FE: abort (abort.c:79) ==786695== by 0x410D68: die (error.c:776) ==786695== by 0x41102E: rb_bug_for_fatal_signal (error.c:817) ==786695== by 0x2B91BD: sigsegv (signal.c:964) ==786695== by 0x4A8232F: ??? (in /usr/lib/x86_64-linux-gnu/libc.so.6) ==786695== by 0x2EE81C: hash_table_index (id_table.c:132) ==786695== ==786695== HEAP SUMMARY: ==786695== in use at exit: 37,271,274 bytes in 21,263 blocks ==786695== total heap usage: 45,447 allocs, 24,184 frees, 52,578,135 bytes allocated ==786695== ==786695== LEAK SUMMARY: ==786695== definitely lost: 2,272 bytes in 37 blocks ==786695== indirectly lost: 544 bytes in 2 blocks ==786695== possibly lost: 2,304 bytes in 1 blocks ==786695== still reachable: 37,266,154 bytes in 21,223 blocks ==786695== suppressed: 0 bytes in 0 blocks ==786695== Rerun with --leak-check=full to see details of leaked memory ==786695== ==786695== For lists of detected and suppressed errors, rerun with: -s ==786695== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)