Skip to content

Instantly share code, notes, and snippets.

@mooman219
Created March 18, 2020 06:40
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 mooman219/de56680876c980ee7c55524b354a2ef8 to your computer and use it in GitHub Desktop.
Save mooman219/de56680876c980ee7c55524b354a2ef8 to your computer and use it in GitHub Desktop.
Invalid write of size 4
==115836== at 0x18A4D6: add (raster.rs:39)
==115836== by 0x18A4D6: line (raster.rs:90)
==115836== by 0x18A4D6: fontdue::raster::Raster::draw (raster.rs:30)
==115836== by 0x1896B4: fontdue::font::Font::rasterize_indexed (font.rs:219)
==115836== by 0x18941D: fontdue::font::Font::rasterize (font.rs:209)
==115836== by 0x120852: letter_render_tests::render_liberation_serif_characters (letter_render_tests.rs:48)
==115836== by 0x11CC09: letter_render_tests::render_liberation_serif_characters::{{closure}} (letter_render_tests.rs:44)
==115836== by 0x11F0DD: core::ops::function::FnOnce::call_once (function.rs:232)
==115836== by 0x13100E: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once (boxed.rs:1015)
==115836== by 0x1A5246: __rust_maybe_catch_panic (lib.rs:86)
==115836== by 0x14BE20: try<(),std::panic::AssertUnwindSafe<alloc::boxed::Box<FnOnce<()>>>> (panicking.rs:281)
==115836== by 0x14BE20: catch_unwind<std::panic::AssertUnwindSafe<alloc::boxed::Box<FnOnce<()>>>,()> (panic.rs:394)
==115836== by 0x14BE20: run_test_in_process (lib.rs:539)
==115836== by 0x14BE20: test::run_test::run_test_inner::{{closure}} (lib.rs:452)
==115836== by 0x125745: std::sys_common::backtrace::__rust_begin_short_backtrace (backtrace.rs:129)
==115836== by 0x129D15: {{closure}}<closure-0,()> (mod.rs:475)
==115836== by 0x129D15: call_once<(),closure-0> (panic.rs:318)
==115836== by 0x129D15: std::panicking::try::do_call (panicking.rs:305)
==115836== by 0x1A5246: __rust_maybe_catch_panic (lib.rs:86)
==115836== Address 0x6ab2f60 is 16 bytes after a block of size 80 in arena "client"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment