Skip to content

Instantly share code, notes, and snippets.

@andoriyu
Created April 12, 2020 00:54
Show Gist options
  • Save andoriyu/4779e8e049d1ee3ee1e99fabadd33177 to your computer and use it in GitHub Desktop.
Save andoriyu/4779e8e049d1ee3ee1e99fabadd33177 to your computer and use it in GitHub Desktop.
running 1 test
==4644== Thread 2 raw::parser::tes:
==4644== Invalid write of size 2
==4644== at 0x483C9DB: memmove (vg_replace_strmem.c:1270)
==4644== by 0x1A77E7: ucl_expand_single_variable (ucl_parser.c:466)
==4644== by 0x1A7998: ucl_expand_variable (ucl_parser.c:540)
==4644== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4644== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4644== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4644== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4644== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4644== by 0x1264AD: uclicious::raw::parser::test::basic_vars_handler (parser.rs:280)
==4644== by 0x1351E9: uclicious::raw::parser::test::basic_vars_handler::{{closure}} (parser.rs:242)
==4644== by 0x137BFD: core::ops::function::FnOnce::call_once (function.rs:232)
==4644== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4644== Address 0x4bfcad0 is 0 bytes inside a block of size 1 alloc'd
==4644== at 0x483577F: malloc (vg_replace_malloc.c:299)
==4644== by 0x1A7937: ucl_expand_variable (ucl_parser.c:531)
==4644== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4644== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4644== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4644== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4644== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4644== by 0x1264AD: uclicious::raw::parser::test::basic_vars_handler (parser.rs:280)
==4644== by 0x1351E9: uclicious::raw::parser::test::basic_vars_handler::{{closure}} (parser.rs:242)
==4644== by 0x137BFD: core::ops::function::FnOnce::call_once (function.rs:232)
==4644== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4644== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4644==
==4644== Invalid write of size 1
==4644== at 0x483CA14: memmove (vg_replace_strmem.c:1270)
==4644== by 0x1A77E7: ucl_expand_single_variable (ucl_parser.c:466)
==4644== by 0x1A7998: ucl_expand_variable (ucl_parser.c:540)
==4644== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4644== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4644== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4644== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4644== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4644== by 0x1264AD: uclicious::raw::parser::test::basic_vars_handler (parser.rs:280)
==4644== by 0x1351E9: uclicious::raw::parser::test::basic_vars_handler::{{closure}} (parser.rs:242)
==4644== by 0x137BFD: core::ops::function::FnOnce::call_once (function.rs:232)
==4644== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4644== Address 0x4bfcad2 is 1 bytes after a block of size 1 alloc'd
==4644== at 0x483577F: malloc (vg_replace_malloc.c:299)
==4644== by 0x1A7937: ucl_expand_variable (ucl_parser.c:531)
==4644== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4644== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4644== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4644== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4644== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4644== by 0x1264AD: uclicious::raw::parser::test::basic_vars_handler (parser.rs:280)
==4644== by 0x1351E9: uclicious::raw::parser::test::basic_vars_handler::{{closure}} (parser.rs:242)
==4644== by 0x137BFD: core::ops::function::FnOnce::call_once (function.rs:232)
==4644== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4644== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4644==
==4644== Invalid write of size 1
==4644== at 0x1A79CC: ucl_expand_variable (ucl_parser.c:547)
==4644== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4644== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4644== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4644== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4644== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4644== by 0x1264AD: uclicious::raw::parser::test::basic_vars_handler (parser.rs:280)
==4644== by 0x1351E9: uclicious::raw::parser::test::basic_vars_handler::{{closure}} (parser.rs:242)
==4644== by 0x137BFD: core::ops::function::FnOnce::call_once (function.rs:232)
==4644== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4644== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4644== by 0x187610: try<(),std::panic::AssertUnwindSafe<alloc::boxed::Box<FnOnce<()>>>> (panicking.rs:281)
==4644== by 0x187610: catch_unwind<std::panic::AssertUnwindSafe<alloc::boxed::Box<FnOnce<()>>>,()> (panic.rs:394)
==4644== by 0x187610: run_test_in_process (lib.rs:539)
==4644== by 0x187610: test::run_test::run_test_inner::{{closure}} (lib.rs:452)
==4644== Address 0x4bfcad3 is 2 bytes after a block of size 1 alloc'd
==4644== at 0x483577F: malloc (vg_replace_malloc.c:299)
==4644== by 0x1A7937: ucl_expand_variable (ucl_parser.c:531)
==4644== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4644== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4644== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4644== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4644== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4644== by 0x1264AD: uclicious::raw::parser::test::basic_vars_handler (parser.rs:280)
==4644== by 0x1351E9: uclicious::raw::parser::test::basic_vars_handler::{{closure}} (parser.rs:242)
==4644== by 0x137BFD: core::ops::function::FnOnce::call_once (function.rs:232)
==4644== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4644== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4644==
==4644== Invalid read of size 1
==4644== at 0x4838C74: strlen (vg_replace_strmem.c:460)
==4644== by 0x1BC489: std::ffi::c_str::CStr::from_ptr (c_str.rs:1007)
==4644== by 0x1552BE: <uclicious::raw::object::ObjectRef as core::fmt::Debug>::fmt (object.rs:702)
==4644== by 0x123CEF: <&T as core::fmt::Debug>::fmt (mod.rs:1959)
==4644== by 0x123D2F: <&T as core::fmt::Debug>::fmt (mod.rs:1959)
==4644== by 0x1E3B91: run (mod.rs:1097)
==4644== by 0x1E3B91: core::fmt::write (mod.rs:1061)
==4644== by 0x161AC4: std::io::Write::write_fmt (mod.rs:1426)
==4644== by 0x1BEAD3: write_fmt<Write> (impls.rs:156)
==4644== by 0x1BEAD3: {{closure}}<std::io::stdio::Stderr> (stdio.rs:797)
==4644== 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)
==4644== by 0x1BEAD3: print_to<std::io::stdio::Stderr> (stdio.rs:793)
==4644== by 0x1BEAD3: std::io::stdio::_eprint (stdio.rs:828)
==4644== by 0x12681D: uclicious::raw::parser::test::basic_vars_handler (parser.rs:287)
==4644== by 0x1351E9: uclicious::raw::parser::test::basic_vars_handler::{{closure}} (parser.rs:242)
==4644== by 0x137BFD: core::ops::function::FnOnce::call_once (function.rs:232)
==4644== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4644== Address 0x4bfcad1 is 0 bytes after a block of size 1 alloc'd
==4644== at 0x483577F: malloc (vg_replace_malloc.c:299)
==4644== by 0x1A7937: ucl_expand_variable (ucl_parser.c:531)
==4644== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4644== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4644== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4644== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4644== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4644== by 0x1264AD: uclicious::raw::parser::test::basic_vars_handler (parser.rs:280)
==4644== by 0x1351E9: uclicious::raw::parser::test::basic_vars_handler::{{closure}} (parser.rs:242)
==4644== by 0x137BFD: core::ops::function::FnOnce::call_once (function.rs:232)
==4644== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4644== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4644==
==4644== Invalid read of size 1
==4644== at 0x1E5D4F: <core::str::lossy::Utf8LossyChunksIter as core::iter::traits::iterator::Iterator>::next (lossy.rs:64)
==4644== by 0x1DDFC5: alloc::string::String::from_utf8_lossy (string.rs:552)
==4644== by 0x1BC4AF: std::ffi::c_str::CStr::to_string_lossy (c_str.rs:1253)
==4644== by 0x1552DD: <uclicious::raw::object::ObjectRef as core::fmt::Debug>::fmt (object.rs:703)
==4644== by 0x123CEF: <&T as core::fmt::Debug>::fmt (mod.rs:1959)
==4644== by 0x123D2F: <&T as core::fmt::Debug>::fmt (mod.rs:1959)
==4644== by 0x1E3B91: run (mod.rs:1097)
==4644== by 0x1E3B91: core::fmt::write (mod.rs:1061)
==4644== by 0x161AC4: std::io::Write::write_fmt (mod.rs:1426)
==4644== by 0x1BEAD3: write_fmt<Write> (impls.rs:156)
==4644== by 0x1BEAD3: {{closure}}<std::io::stdio::Stderr> (stdio.rs:797)
==4644== 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)
==4644== by 0x1BEAD3: print_to<std::io::stdio::Stderr> (stdio.rs:793)
==4644== by 0x1BEAD3: std::io::stdio::_eprint (stdio.rs:828)
==4644== by 0x12681D: uclicious::raw::parser::test::basic_vars_handler (parser.rs:287)
==4644== by 0x1351E9: uclicious::raw::parser::test::basic_vars_handler::{{closure}} (parser.rs:242)
==4644== by 0x137BFD: core::ops::function::FnOnce::call_once (function.rs:232)
==4644== Address 0x4bfcad1 is 0 bytes after a block of size 1 alloc'd
==4644== at 0x483577F: malloc (vg_replace_malloc.c:299)
==4644== by 0x1A7937: ucl_expand_variable (ucl_parser.c:531)
==4644== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4644== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4644== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4644== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4644== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4644== by 0x1264AD: uclicious::raw::parser::test::basic_vars_handler (parser.rs:280)
==4644== by 0x1351E9: uclicious::raw::parser::test::basic_vars_handler::{{closure}} (parser.rs:242)
==4644== by 0x137BFD: core::ops::function::FnOnce::call_once (function.rs:232)
==4644== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4644== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4644==
==4644== Invalid read of size 2
==4644== at 0x483C9D8: memmove (vg_replace_strmem.c:1270)
==4644== by 0x15705B: core::intrinsics::copy_nonoverlapping (intrinsics.rs:1523)
==4644== by 0x1226BA: core::slice::<impl [T]>::copy_from_slice (mod.rs:2231)
==4644== by 0x11CA9A: <alloc::vec::Vec<T> as alloc::vec::SpecExtend<&T,core::slice::Iter<T>>>::spec_extend (vec.rs:2117)
==4644== by 0x11DFBD: alloc::vec::Vec<T>::extend_from_slice (vec.rs:1524)
==4644== by 0x143733: alloc::slice::hack::to_vec (slice.rs:159)
==4644== by 0x1359B3: alloc::slice::<impl [T]>::to_vec (slice.rs:394)
==4644== by 0x135A43: alloc::slice::<impl alloc::borrow::ToOwned for [T]>::to_owned (slice.rs:727)
==4644== by 0x15BF08: alloc::str::<impl alloc::borrow::ToOwned for str>::to_owned (str.rs:205)
==4644== by 0x15C867: <alloc::borrow::Cow<str> as alloc::string::ToString>::to_string (string.rs:2191)
==4644== by 0x1552EC: <uclicious::raw::object::ObjectRef as core::fmt::Debug>::fmt (object.rs:703)
==4644== by 0x123CEF: <&T as core::fmt::Debug>::fmt (mod.rs:1959)
==4644== Address 0x4bfcad0 is 0 bytes inside a block of size 1 alloc'd
==4644== at 0x483577F: malloc (vg_replace_malloc.c:299)
==4644== by 0x1A7937: ucl_expand_variable (ucl_parser.c:531)
==4644== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4644== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4644== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4644== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4644== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4644== by 0x1264AD: uclicious::raw::parser::test::basic_vars_handler (parser.rs:280)
==4644== by 0x1351E9: uclicious::raw::parser::test::basic_vars_handler::{{closure}} (parser.rs:242)
==4644== by 0x137BFD: core::ops::function::FnOnce::call_once (function.rs:232)
==4644== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4644== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4644==
==4644== Invalid read of size 1
==4644== at 0x483CA10: memmove (vg_replace_strmem.c:1270)
==4644== by 0x15705B: core::intrinsics::copy_nonoverlapping (intrinsics.rs:1523)
==4644== by 0x1226BA: core::slice::<impl [T]>::copy_from_slice (mod.rs:2231)
==4644== by 0x11CA9A: <alloc::vec::Vec<T> as alloc::vec::SpecExtend<&T,core::slice::Iter<T>>>::spec_extend (vec.rs:2117)
==4644== by 0x11DFBD: alloc::vec::Vec<T>::extend_from_slice (vec.rs:1524)
==4644== by 0x143733: alloc::slice::hack::to_vec (slice.rs:159)
==4644== by 0x1359B3: alloc::slice::<impl [T]>::to_vec (slice.rs:394)
==4644== by 0x135A43: alloc::slice::<impl alloc::borrow::ToOwned for [T]>::to_owned (slice.rs:727)
==4644== by 0x15BF08: alloc::str::<impl alloc::borrow::ToOwned for str>::to_owned (str.rs:205)
==4644== by 0x15C867: <alloc::borrow::Cow<str> as alloc::string::ToString>::to_string (string.rs:2191)
==4644== by 0x1552EC: <uclicious::raw::object::ObjectRef as core::fmt::Debug>::fmt (object.rs:703)
==4644== by 0x123CEF: <&T as core::fmt::Debug>::fmt (mod.rs:1959)
==4644== Address 0x4bfcad2 is 1 bytes after a block of size 1 alloc'd
==4644== at 0x483577F: malloc (vg_replace_malloc.c:299)
==4644== by 0x1A7937: ucl_expand_variable (ucl_parser.c:531)
==4644== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4644== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4644== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4644== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4644== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4644== by 0x1264AD: uclicious::raw::parser::test::basic_vars_handler (parser.rs:280)
==4644== by 0x1351E9: uclicious::raw::parser::test::basic_vars_handler::{{closure}} (parser.rs:242)
==4644== by 0x137BFD: core::ops::function::FnOnce::call_once (function.rs:232)
==4644== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4644== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4644==
==4644== Invalid read of size 1
==4644== at 0x4838C74: strlen (vg_replace_strmem.c:460)
==4644== by 0x1BC489: std::ffi::c_str::CStr::from_ptr (c_str.rs:1007)
==4644== by 0x13963E: uclicious::raw::utils::to_str (utils.rs:8)
==4644== by 0x154043: uclicious::raw::object::ObjectRef::as_string (object.rs:313)
==4644== by 0x126834: uclicious::raw::parser::test::basic_vars_handler (parser.rs:289)
==4644== by 0x1351E9: uclicious::raw::parser::test::basic_vars_handler::{{closure}} (parser.rs:242)
==4644== by 0x137BFD: core::ops::function::FnOnce::call_once (function.rs:232)
==4644== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4644== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4644== by 0x187610: try<(),std::panic::AssertUnwindSafe<alloc::boxed::Box<FnOnce<()>>>> (panicking.rs:281)
==4644== by 0x187610: catch_unwind<std::panic::AssertUnwindSafe<alloc::boxed::Box<FnOnce<()>>>,()> (panic.rs:394)
==4644== by 0x187610: run_test_in_process (lib.rs:539)
==4644== by 0x187610: test::run_test::run_test_inner::{{closure}} (lib.rs:452)
==4644== by 0x160F35: std::sys_common::backtrace::__rust_begin_short_backtrace (backtrace.rs:129)
==4644== by 0x165505: {{closure}}<closure-0,()> (mod.rs:475)
==4644== by 0x165505: call_once<(),closure-0> (panic.rs:318)
==4644== by 0x165505: std::panicking::try::do_call (panicking.rs:305)
==4644== Address 0x4bfcad1 is 0 bytes after a block of size 1 alloc'd
==4644== at 0x483577F: malloc (vg_replace_malloc.c:299)
==4644== by 0x1A7937: ucl_expand_variable (ucl_parser.c:531)
==4644== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4644== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4644== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4644== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4644== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4644== by 0x1264AD: uclicious::raw::parser::test::basic_vars_handler (parser.rs:280)
==4644== by 0x1351E9: uclicious::raw::parser::test::basic_vars_handler::{{closure}} (parser.rs:242)
==4644== by 0x137BFD: core::ops::function::FnOnce::call_once (function.rs:232)
==4644== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4644== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4644==
==4644== Invalid read of size 1
==4644== at 0x1E5D4F: <core::str::lossy::Utf8LossyChunksIter as core::iter::traits::iterator::Iterator>::next (lossy.rs:64)
==4644== by 0x1DDFC5: alloc::string::String::from_utf8_lossy (string.rs:552)
==4644== by 0x1BC4AF: std::ffi::c_str::CStr::to_string_lossy (c_str.rs:1253)
==4644== by 0x139675: uclicious::raw::utils::to_str (utils.rs:9)
==4644== by 0x154043: uclicious::raw::object::ObjectRef::as_string (object.rs:313)
==4644== by 0x126834: uclicious::raw::parser::test::basic_vars_handler (parser.rs:289)
==4644== by 0x1351E9: uclicious::raw::parser::test::basic_vars_handler::{{closure}} (parser.rs:242)
==4644== by 0x137BFD: core::ops::function::FnOnce::call_once (function.rs:232)
==4644== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4644== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4644== by 0x187610: try<(),std::panic::AssertUnwindSafe<alloc::boxed::Box<FnOnce<()>>>> (panicking.rs:281)
==4644== by 0x187610: catch_unwind<std::panic::AssertUnwindSafe<alloc::boxed::Box<FnOnce<()>>>,()> (panic.rs:394)
==4644== by 0x187610: run_test_in_process (lib.rs:539)
==4644== by 0x187610: test::run_test::run_test_inner::{{closure}} (lib.rs:452)
==4644== by 0x160F35: std::sys_common::backtrace::__rust_begin_short_backtrace (backtrace.rs:129)
==4644== Address 0x4bfcad1 is 0 bytes after a block of size 1 alloc'd
==4644== at 0x483577F: malloc (vg_replace_malloc.c:299)
==4644== by 0x1A7937: ucl_expand_variable (ucl_parser.c:531)
==4644== by 0x1A7B5C: ucl_copy_or_store_ptr (ucl_parser.c:604)
==4644== by 0x1AA886: ucl_parse_value (ucl_parser.c:1707)
==4644== by 0x1AC7B0: ucl_state_machine (ucl_parser.c:2461)
==4644== by 0x1AEA44: ucl_parser_add_chunk_full (ucl_parser.c:2947)
==4644== by 0x14F34A: uclicious::raw::parser::Parser::add_chunk_full (parser.rs:75)
==4644== by 0x1264AD: uclicious::raw::parser::test::basic_vars_handler (parser.rs:280)
==4644== by 0x1351E9: uclicious::raw::parser::test::basic_vars_handler::{{closure}} (parser.rs:242)
==4644== by 0x137BFD: core::ops::function::FnOnce::call_once (function.rs:232)
==4644== by 0x16C7FE: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==4644== by 0x1CBCF6: __rust_maybe_catch_panic (lib.rs:86)
==4644==
test raw::parser::test::basic_vars_handler ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 39 filtered out
==4644==
==4644== HEAP SUMMARY:
==4644== in use at exit: 3 bytes in 1 blocks
==4644== total heap usage: 677 allocs, 676 frees, 71,293 bytes allocated
==4644==
==4644== LEAK SUMMARY:
==4644== definitely lost: 3 bytes in 1 blocks
==4644== indirectly lost: 0 bytes in 0 blocks
==4644== possibly lost: 0 bytes in 0 blocks
==4644== still reachable: 0 bytes in 0 blocks
==4644== suppressed: 0 bytes in 0 blocks
==4644== Rerun with --leak-check=full to see details of leaked memory
==4644==
==4644== For counts of detected and suppressed errors, rerun with: -v
==4644== ERROR SUMMARY: 20 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