Skip to content

Instantly share code, notes, and snippets.

@HParker
Created April 4, 2024 17:09
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 HParker/258981161c8c6a2bfcb7eebf3814f681 to your computer and use it in GitHub Desktop.
Save HParker/258981161c8c6a2bfcb7eebf3814f681 to your computer and use it in GitHub Desktop.
==18580== 1,104 bytes in 1 blocks are possibly lost in loss record 2 of 3
==18580== at 0x4845828: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==18580== by 0x159B49: UnknownInlinedFun (alloc.rs:14)
==18580== by 0x159B49: UnknownInlinedFun (stats.rs:38)
==18580== by 0x159B49: UnknownInlinedFun (stats.rs:29)
==18580== by 0x159B49: UnknownInlinedFun (alloc.rs:98)
==18580== by 0x159B49: UnknownInlinedFun (alloc.rs:181)
==18580== by 0x159B49: UnknownInlinedFun (alloc.rs:241)
==18580== by 0x159B49: UnknownInlinedFun (alloc.rs:15)
==18580== by 0x159B49: new_uninitialized<alloc::alloc::Global> (mod.rs:1754)
==18580== by 0x159B49: fallible_with_capacity<alloc::alloc::Global> (mod.rs:1792)
==18580== by 0x159B49: prepare_resize<alloc::alloc::Global> (mod.rs:2871)
==18580== by 0x159B49: resize_inner<alloc::alloc::Global> (mod.rs:3067)
==18580== by 0x159B49: reserve_rehash_inner<alloc::alloc::Global> (mod.rs:2957)
==18580== by 0x159B49: hashbrown::raw::RawTable<T,A>::reserve_rehash (mod.rs:1235)
==18580== by 0x577589: UnknownInlinedFun (mod.rs:1183)
==18580== by 0x577589: find_or_find_insert_slot<(usize, fn(&mut yjit::codegen::JITState, &mut yjit::backend::ir::Assembler, &mut yjit::asm::OutlinedCb, *const yjit::cruby::autogened::rb_callinfo, *const yjit::cruby::autogened::rb_callable_method_entry_struct, core::option::Option<yjit::codegen::BlockHandler>, i32, core::option::Option<yjit::cruby::VALUE>) -> bool), alloc::alloc::Global, hashbrown::map::equivalent_key::{closure_env#0}<usize, usize, fn(&mut yjit::codegen::JITState, &mut yjit::backend::ir::Assembler, &mut yjit::asm::OutlinedCb, *const yjit::cruby::autogened::rb_callinfo, *const yjit::cruby::autogened::rb_callable_method_entry_struct, core::option::Option<yjit::codegen::BlockHandler>, i32, core::option::Option<yjit::cruby::VALUE>) -> bool>, hashbrown::map::make_hasher::{closure_env#0}<usize, fn(&mut yjit::codegen::JITState, &mut yjit::backend::ir::Assembler, &mut yjit::asm::OutlinedCb, *const yjit::cruby::autogened::rb_callinfo, *const yjit::cruby::autogened::rb_callable_method_entry_struct, core::option::Option<yjit::codegen::BlockHandler>, i32, core::option::Option<yjit::cruby::VALUE>) -> bool, std::collections::hash::map::RandomState>> (mod.rs:1417)
==18580== by 0x577589: hashbrown::map::HashMap<K,V,S,A>::insert (map.rs:1754)
==18580== by 0x5413F5: insert<usize, fn(&mut yjit::codegen::JITState, &mut yjit::backend::ir::Assembler, &mut yjit::asm::OutlinedCb, *const yjit::cruby::autogened::rb_callinfo, *const yjit::cruby::autogened::rb_callable_method_entry_struct, core::option::Option<yjit::codegen::BlockHandler>, i32, core::option::Option<yjit::cruby::VALUE>) -> bool, std::collections::hash::map::RandomState> (map.rs:1105)
==18580== by 0x5413F5: yjit::codegen::yjit_reg_method (codegen.rs:10096)
==18580== by 0x541176: yjit::codegen::yjit_reg_method_codegen_fns (codegen.rs:10049)
==18580== by 0x584C37: rb_yjit_init (yjit.rs:34)
==18580== by 0x384703: ruby_opt_init.part.0 (ruby.c:1801)
==18580== by 0x384CEC: ruby_opt_init (ruby.c:1747)
==18580== by 0x384CEC: load_file_internal (ruby.c:2675)
==18580== by 0x22D8F7: rb_ensure (eval.c:1000)
==18580== by 0x385F23: load_file (ruby.c:2836)
==18580== by 0x385F23: process_script (ruby.c:2077)
==18580== by 0x385F23: process_options (ruby.c:2463)
==18580== by 0x386F7D: ruby_process_options (ruby.c:3090)
==18580== by 0x22C636: ruby_options (eval.c:117)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment