Skip to content

Instantly share code, notes, and snippets.

@andoriyu
Created April 12, 2020 00:39
Show Gist options
  • Save andoriyu/be8ac40c5f51133510b3a1b1a8597d76 to your computer and use it in GitHub Desktop.
Save andoriyu/be8ac40c5f51133510b3a1b1a8597d76 to your computer and use it in GitHub Desktop.
running 1 test
==4623== Thread 2 variable_handler:
==4623== Invalid write of size 2
==4623== at 0x483C9DB: memmove (vg_replace_strmem.c:1270)
==4623== by 0x1A77E7: ucl_expand_single_variable (ucl_parser.c:466)
==4623== by 0x1A7998: ucl_expand_variable (ucl_parser.c:540)
==4623== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4623== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4623== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4623== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4623== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4623== by 0x135C2C: uclicious::variable_handlers::compound::test::compound_handler (compound.rs:144)
==4623== by 0x144B19: uclicious::variable_handlers::compound::test::compound_handler::{{closure}} (compound.rs:80)
==4623== by 0x1375ED: core::ops::function::FnOnce::call_once (function.rs:232)
==4623== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4623== Address 0x4bfcc90 is 0 bytes inside a block of size 1 alloc'd
==4623== at 0x483577F: malloc (vg_replace_malloc.c:299)
==4623== by 0x1A7937: ucl_expand_variable (ucl_parser.c:531)
==4623== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4623== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4623== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4623== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4623== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4623== by 0x135C2C: uclicious::variable_handlers::compound::test::compound_handler (compound.rs:144)
==4623== by 0x144B19: uclicious::variable_handlers::compound::test::compound_handler::{{closure}} (compound.rs:80)
==4623== by 0x1375ED: core::ops::function::FnOnce::call_once (function.rs:232)
==4623== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4623== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4623==
==4623== Invalid write of size 1
==4623== at 0x483CA14: memmove (vg_replace_strmem.c:1270)
==4623== by 0x1A77E7: ucl_expand_single_variable (ucl_parser.c:466)
==4623== by 0x1A7998: ucl_expand_variable (ucl_parser.c:540)
==4623== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4623== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4623== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4623== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4623== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4623== by 0x135C2C: uclicious::variable_handlers::compound::test::compound_handler (compound.rs:144)
==4623== by 0x144B19: uclicious::variable_handlers::compound::test::compound_handler::{{closure}} (compound.rs:80)
==4623== by 0x1375ED: core::ops::function::FnOnce::call_once (function.rs:232)
==4623== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4623== Address 0x4bfcc92 is 1 bytes after a block of size 1 alloc'd
==4623== at 0x483577F: malloc (vg_replace_malloc.c:299)
==4623== by 0x1A7937: ucl_expand_variable (ucl_parser.c:531)
==4623== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4623== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4623== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4623== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4623== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4623== by 0x135C2C: uclicious::variable_handlers::compound::test::compound_handler (compound.rs:144)
==4623== by 0x144B19: uclicious::variable_handlers::compound::test::compound_handler::{{closure}} (compound.rs:80)
==4623== by 0x1375ED: core::ops::function::FnOnce::call_once (function.rs:232)
==4623== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4623== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4623==
==4623== Invalid write of size 1
==4623== at 0x1A79CC: ucl_expand_variable (ucl_parser.c:547)
==4623== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4623== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4623== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4623== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4623== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4623== by 0x135C2C: uclicious::variable_handlers::compound::test::compound_handler (compound.rs:144)
==4623== by 0x144B19: uclicious::variable_handlers::compound::test::compound_handler::{{closure}} (compound.rs:80)
==4623== by 0x1375ED: core::ops::function::FnOnce::call_once (function.rs:232)
==4623== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4623== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4623== by 0x187610: try<(),std::panic::AssertUnwindSafe<alloc::boxed::Box<FnOnce<()>>>> (panicking.rs:281)
==4623== by 0x187610: catch_unwind<std::panic::AssertUnwindSafe<alloc::boxed::Box<FnOnce<()>>>,()> (panic.rs:394)
==4623== by 0x187610: run_test_in_process (lib.rs:539)
==4623== by 0x187610: test::run_test::run_test_inner::{{closure}} (lib.rs:452)
==4623== Address 0x4bfcc93 is 2 bytes after a block of size 1 alloc'd
==4623== at 0x483577F: malloc (vg_replace_malloc.c:299)
==4623== by 0x1A7937: ucl_expand_variable (ucl_parser.c:531)
==4623== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4623== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4623== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4623== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4623== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4623== by 0x135C2C: uclicious::variable_handlers::compound::test::compound_handler (compound.rs:144)
==4623== by 0x144B19: uclicious::variable_handlers::compound::test::compound_handler::{{closure}} (compound.rs:80)
==4623== by 0x1375ED: core::ops::function::FnOnce::call_once (function.rs:232)
==4623== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4623== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4623==
==4623== Invalid read of size 1
==4623== at 0x4838C74: strlen (vg_replace_strmem.c:460)
==4623== by 0x1BC489: std::ffi::c_str::CStr::from_ptr (c_str.rs:1007)
==4623== by 0x1552BE: <uclicious::raw::object::ObjectRef as core::fmt::Debug>::fmt (object.rs:702)
==4623== by 0x123CEF: <&T as core::fmt::Debug>::fmt (mod.rs:1959)
==4623== by 0x123D2F: <&T as core::fmt::Debug>::fmt (mod.rs:1959)
==4623== by 0x1E3B91: run (mod.rs:1097)
==4623== by 0x1E3B91: core::fmt::write (mod.rs:1061)
==4623== by 0x161AC4: std::io::Write::write_fmt (mod.rs:1426)
==4623== by 0x1BEAD3: write_fmt<Write> (impls.rs:156)
==4623== by 0x1BEAD3: {{closure}}<std::io::stdio::Stderr> (stdio.rs:797)
==4623== by 0x1BEAD3: try_with<core::cell::RefCell<core::option::Option<alloc::boxed::Box<Write>>>,closure-0,core::result::Result<(), std::io::error::Error>> (local.rs:262)
==4623== by 0x1BEAD3: print_to<std::io::stdio::Stderr> (stdio.rs:793)
==4623== by 0x1BEAD3: std::io::stdio::_eprint (stdio.rs:828)
==4623== by 0x135FAE: uclicious::variable_handlers::compound::test::compound_handler (compound.rs:151)
==4623== by 0x144B19: uclicious::variable_handlers::compound::test::compound_handler::{{closure}} (compound.rs:80)
==4623== by 0x1375ED: core::ops::function::FnOnce::call_once (function.rs:232)
==4623== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4623== Address 0x4bfcea1 is 0 bytes after a block of size 1 alloc'd
==4623== at 0x483577F: malloc (vg_replace_malloc.c:299)
==4623== by 0x1A7937: ucl_expand_variable (ucl_parser.c:531)
==4623== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4623== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4623== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4623== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4623== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4623== by 0x135C2C: uclicious::variable_handlers::compound::test::compound_handler (compound.rs:144)
==4623== by 0x144B19: uclicious::variable_handlers::compound::test::compound_handler::{{closure}} (compound.rs:80)
==4623== by 0x1375ED: core::ops::function::FnOnce::call_once (function.rs:232)
==4623== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4623== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4623==
==4623== Invalid read of size 1
==4623== at 0x1E5D4F: <core::str::lossy::Utf8LossyChunksIter as core::iter::traits::iterator::Iterator>::next (lossy.rs:64)
==4623== by 0x1DDFC5: alloc::string::String::from_utf8_lossy (string.rs:552)
==4623== by 0x1BC4AF: std::ffi::c_str::CStr::to_string_lossy (c_str.rs:1253)
==4623== by 0x1552DD: <uclicious::raw::object::ObjectRef as core::fmt::Debug>::fmt (object.rs:703)
==4623== by 0x123CEF: <&T as core::fmt::Debug>::fmt (mod.rs:1959)
==4623== by 0x123D2F: <&T as core::fmt::Debug>::fmt (mod.rs:1959)
==4623== by 0x1E3B91: run (mod.rs:1097)
==4623== by 0x1E3B91: core::fmt::write (mod.rs:1061)
==4623== by 0x161AC4: std::io::Write::write_fmt (mod.rs:1426)
==4623== by 0x1BEAD3: write_fmt<Write> (impls.rs:156)
==4623== by 0x1BEAD3: {{closure}}<std::io::stdio::Stderr> (stdio.rs:797)
==4623== by 0x1BEAD3: try_with<core::cell::RefCell<core::option::Option<alloc::boxed::Box<Write>>>,closure-0,core::result::Result<(), std::io::error::Error>> (local.rs:262)
==4623== by 0x1BEAD3: print_to<std::io::stdio::Stderr> (stdio.rs:793)
==4623== by 0x1BEAD3: std::io::stdio::_eprint (stdio.rs:828)
==4623== by 0x135FAE: uclicious::variable_handlers::compound::test::compound_handler (compound.rs:151)
==4623== by 0x144B19: uclicious::variable_handlers::compound::test::compound_handler::{{closure}} (compound.rs:80)
==4623== by 0x1375ED: core::ops::function::FnOnce::call_once (function.rs:232)
==4623== Address 0x4bfcea1 is 0 bytes after a block of size 1 alloc'd
==4623== at 0x483577F: malloc (vg_replace_malloc.c:299)
==4623== by 0x1A7937: ucl_expand_variable (ucl_parser.c:531)
==4623== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4623== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4623== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4623== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4623== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4623== by 0x135C2C: uclicious::variable_handlers::compound::test::compound_handler (compound.rs:144)
==4623== by 0x144B19: uclicious::variable_handlers::compound::test::compound_handler::{{closure}} (compound.rs:80)
==4623== by 0x1375ED: core::ops::function::FnOnce::call_once (function.rs:232)
==4623== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4623== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4623==
==4623== Invalid read of size 2
==4623== at 0x483C9D8: memmove (vg_replace_strmem.c:1270)
==4623== by 0x15705B: core::intrinsics::copy_nonoverlapping (intrinsics.rs:1523)
==4623== by 0x1226BA: core::slice::<impl [T]>::copy_from_slice (mod.rs:2231)
==4623== by 0x11CA9A: <alloc::vec::Vec<T> as alloc::vec::SpecExtend<&T,core::slice::Iter<T>>>::spec_extend (vec.rs:2117)
==4623== by 0x11DFBD: alloc::vec::Vec<T>::extend_from_slice (vec.rs:1524)
==4623== by 0x143733: alloc::slice::hack::to_vec (slice.rs:159)
==4623== by 0x1359B3: alloc::slice::<impl [T]>::to_vec (slice.rs:394)
==4623== by 0x135A43: alloc::slice::<impl alloc::borrow::ToOwned for [T]>::to_owned (slice.rs:727)
==4623== by 0x15BF08: alloc::str::<impl alloc::borrow::ToOwned for str>::to_owned (str.rs:205)
==4623== by 0x15C867: <alloc::borrow::Cow<str> as alloc::string::ToString>::to_string (string.rs:2191)
==4623== by 0x1552EC: <uclicious::raw::object::ObjectRef as core::fmt::Debug>::fmt (object.rs:703)
==4623== by 0x123CEF: <&T as core::fmt::Debug>::fmt (mod.rs:1959)
==4623== Address 0x4bfcea0 is 0 bytes inside a block of size 1 alloc'd
==4623== at 0x483577F: malloc (vg_replace_malloc.c:299)
==4623== by 0x1A7937: ucl_expand_variable (ucl_parser.c:531)
==4623== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4623== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4623== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4623== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4623== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4623== by 0x135C2C: uclicious::variable_handlers::compound::test::compound_handler (compound.rs:144)
==4623== by 0x144B19: uclicious::variable_handlers::compound::test::compound_handler::{{closure}} (compound.rs:80)
==4623== by 0x1375ED: core::ops::function::FnOnce::call_once (function.rs:232)
==4623== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4623== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4623==
==4623== Invalid read of size 1
==4623== at 0x483CA10: memmove (vg_replace_strmem.c:1270)
==4623== by 0x15705B: core::intrinsics::copy_nonoverlapping (intrinsics.rs:1523)
==4623== by 0x1226BA: core::slice::<impl [T]>::copy_from_slice (mod.rs:2231)
==4623== by 0x11CA9A: <alloc::vec::Vec<T> as alloc::vec::SpecExtend<&T,core::slice::Iter<T>>>::spec_extend (vec.rs:2117)
==4623== by 0x11DFBD: alloc::vec::Vec<T>::extend_from_slice (vec.rs:1524)
==4623== by 0x143733: alloc::slice::hack::to_vec (slice.rs:159)
==4623== by 0x1359B3: alloc::slice::<impl [T]>::to_vec (slice.rs:394)
==4623== by 0x135A43: alloc::slice::<impl alloc::borrow::ToOwned for [T]>::to_owned (slice.rs:727)
==4623== by 0x15BF08: alloc::str::<impl alloc::borrow::ToOwned for str>::to_owned (str.rs:205)
==4623== by 0x15C867: <alloc::borrow::Cow<str> as alloc::string::ToString>::to_string (string.rs:2191)
==4623== by 0x1552EC: <uclicious::raw::object::ObjectRef as core::fmt::Debug>::fmt (object.rs:703)
==4623== by 0x123CEF: <&T as core::fmt::Debug>::fmt (mod.rs:1959)
==4623== Address 0x4bfcea2 is 1 bytes after a block of size 1 alloc'd
==4623== at 0x483577F: malloc (vg_replace_malloc.c:299)
==4623== by 0x1A7937: ucl_expand_variable (ucl_parser.c:531)
==4623== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4623== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4623== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4623== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4623== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4623== by 0x135C2C: uclicious::variable_handlers::compound::test::compound_handler (compound.rs:144)
==4623== by 0x144B19: uclicious::variable_handlers::compound::test::compound_handler::{{closure}} (compound.rs:80)
==4623== by 0x1375ED: core::ops::function::FnOnce::call_once (function.rs:232)
==4623== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4623== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4623==
==4623== Invalid read of size 1
==4623== at 0x4838C74: strlen (vg_replace_strmem.c:460)
==4623== by 0x1BC489: std::ffi::c_str::CStr::from_ptr (c_str.rs:1007)
==4623== by 0x13963E: uclicious::raw::utils::to_str (utils.rs:8)
==4623== by 0x154043: uclicious::raw::object::ObjectRef::as_string (object.rs:313)
==4623== by 0x135FC5: uclicious::variable_handlers::compound::test::compound_handler (compound.rs:152)
==4623== by 0x144B19: uclicious::variable_handlers::compound::test::compound_handler::{{closure}} (compound.rs:80)
==4623== by 0x1375ED: core::ops::function::FnOnce::call_once (function.rs:232)
==4623== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4623== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4623== by 0x187610: try<(),std::panic::AssertUnwindSafe<alloc::boxed::Box<FnOnce<()>>>> (panicking.rs:281)
==4623== by 0x187610: catch_unwind<std::panic::AssertUnwindSafe<alloc::boxed::Box<FnOnce<()>>>,()> (panic.rs:394)
==4623== by 0x187610: run_test_in_process (lib.rs:539)
==4623== by 0x187610: test::run_test::run_test_inner::{{closure}} (lib.rs:452)
==4623== by 0x160F35: std::sys_common::backtrace::__rust_begin_short_backtrace (backtrace.rs:129)
==4623== by 0x165505: {{closure}}<closure-0,()> (mod.rs:475)
==4623== by 0x165505: call_once<(),closure-0> (panic.rs:318)
==4623== by 0x165505: std::panicking::try::do_call (panicking.rs:305)
==4623== Address 0x4bfcea1 is 0 bytes after a block of size 1 alloc'd
==4623== at 0x483577F: malloc (vg_replace_malloc.c:299)
==4623== by 0x1A7937: ucl_expand_variable (ucl_parser.c:531)
==4623== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4623== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4623== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4623== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4623== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4623== by 0x135C2C: uclicious::variable_handlers::compound::test::compound_handler (compound.rs:144)
==4623== by 0x144B19: uclicious::variable_handlers::compound::test::compound_handler::{{closure}} (compound.rs:80)
==4623== by 0x1375ED: core::ops::function::FnOnce::call_once (function.rs:232)
==4623== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4623== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4623==
==4623== Invalid read of size 1
==4623== at 0x1E5D4F: <core::str::lossy::Utf8LossyChunksIter as core::iter::traits::iterator::Iterator>::next (lossy.rs:64)
==4623== by 0x1DDFC5: alloc::string::String::from_utf8_lossy (string.rs:552)
==4623== by 0x1BC4AF: std::ffi::c_str::CStr::to_string_lossy (c_str.rs:1253)
==4623== by 0x139675: uclicious::raw::utils::to_str (utils.rs:9)
==4623== by 0x154043: uclicious::raw::object::ObjectRef::as_string (object.rs:313)
==4623== by 0x135FC5: uclicious::variable_handlers::compound::test::compound_handler (compound.rs:152)
==4623== by 0x144B19: uclicious::variable_handlers::compound::test::compound_handler::{{closure}} (compound.rs:80)
==4623== by 0x1375ED: core::ops::function::FnOnce::call_once (function.rs:232)
==4623== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4623== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4623== by 0x187610: try<(),std::panic::AssertUnwindSafe<alloc::boxed::Box<FnOnce<()>>>> (panicking.rs:281)
==4623== by 0x187610: catch_unwind<std::panic::AssertUnwindSafe<alloc::boxed::Box<FnOnce<()>>>,()> (panic.rs:394)
==4623== by 0x187610: run_test_in_process (lib.rs:539)
==4623== by 0x187610: test::run_test::run_test_inner::{{closure}} (lib.rs:452)
==4623== by 0x160F35: std::sys_common::backtrace::__rust_begin_short_backtrace (backtrace.rs:129)
==4623== Address 0x4bfcea1 is 0 bytes after a block of size 1 alloc'd
==4623== at 0x483577F: malloc (vg_replace_malloc.c:299)
==4623== by 0x1A7937: ucl_expand_variable (ucl_parser.c:531)
==4623== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4623== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4623== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4623== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4623== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4623== by 0x135C2C: uclicious::variable_handlers::compound::test::compound_handler (compound.rs:144)
==4623== by 0x144B19: uclicious::variable_handlers::compound::test::compound_handler::{{closure}} (compound.rs:80)
==4623== by 0x1375ED: core::ops::function::FnOnce::call_once (function.rs:232)
==4623== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4623== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4623==
test variable_handlers::compound::test::compound_handler ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 39 filtered out
==4623==
==4623== HEAP SUMMARY:
==4623== in use at exit: 1,863 bytes in 24 blocks
==4623== total heap usage: 690 allocs, 666 frees, 72,093 bytes allocated
==4623==
==4623== LEAK SUMMARY:
==4623== definitely lost: 6 bytes in 2 blocks
==4623== indirectly lost: 0 bytes in 0 blocks
==4623== possibly lost: 288 bytes in 1 blocks
==4623== still reachable: 1,569 bytes in 21 blocks
==4623== suppressed: 0 bytes in 0 blocks
==4623== Rerun with --leak-check=full to see details of leaked memory
==4623==
==4623== For counts of detected and suppressed errors, rerun with: -v
==4623== ERROR SUMMARY: 38 errors from 11 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment