Skip to content

Instantly share code, notes, and snippets.

@olsonjeffery
Created May 31, 2012 17:16
Show Gist options
  • Save olsonjeffery/2844840 to your computer and use it in GitHub Desktop.
Save olsonjeffery/2844840 to your computer and use it in GitHub Desktop.
==16928== Thread 8:
==16928== Invalid read of size 8
==16928== at 0x535DFB4: cc::irc::compute_ircs(rust_task*, std::map<rust_opaque_box*, unsigned long, std::less<rust_opaque_box*>, std::allocator<std::pair<ru
st_opaque_box* const, unsigned long> > >&) (rust_cc.cpp:232)
==16928== by 0x535E7B7: cc::do_cc(rust_task*) (rust_cc.cpp:520)
==16928== by 0x535E8BC: cc::do_final_cc(rust_task*) (rust_cc.cpp:533)
==16928== by 0x53440CA: cleanup_task(cleanup_args*) (rust_task.cpp:118)
==16928== by 0x536C4F8: ??? (in /home/jeff/src/rust/build/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustrt.so)
==16928== Address 0x6e24d08 is 8 bytes inside a block of size 48 free'd
==16928== at 0x4C282E0: free (vg_replace_malloc.c:366)
==16928== by 0x536B5EF: memory_region::free(void*) (memory_region.cpp:64)
==16928== by 0x536BF9F: boxed_region::free(rust_opaque_box*) (boxed_region.cpp:63)
==16928== by 0x5347B7A: upcall_s_free (rust_upcall.cpp:213)
==16928== by 0x536C4F8: ??? (in /home/jeff/src/rust/build/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustrt.so)
==16928==
==16928== Invalid read of size 8
==16928== at 0x53540D4: shape::type_param::from_tydesc_and_data(type_desc const*, unsigned char*, shape::arena&) (rust_shape.h:335)
==16928== by 0x535E07E: cc::irc::compute_ircs(rust_task*, std::map<rust_opaque_box*, unsigned long, std::less<rust_opaque_box*>, std::allocator<std::pair<rust_opaque_box* const, unsigned long> > >&) (rust_cc.cpp:242)
==16928== by 0x535E7B7: cc::do_cc(rust_task*) (rust_cc.cpp:520)
==16928== by 0x535E8BC: cc::do_final_cc(rust_task*) (rust_cc.cpp:533)
==16928== by 0x53440CA: cleanup_task(cleanup_args*) (rust_task.cpp:118)
==16928== by 0x536C4F8: ??? (in /home/jeff/src/rust/build/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustrt.so)
==16928== Address 0x70 is not stack'd, malloc'd or (recently) free'd
==16928==
==16928==
==16928== Process terminating with default action of signal 11 (SIGSEGV)
==16928== Access not within mapped region at address 0x70
==16928== at 0x53540D4: shape::type_param::from_tydesc_and_data(type_desc const*, unsigned char*, shape::arena&) (rust_shape.h:335)
==16928== by 0x535E07E: cc::irc::compute_ircs(rust_task*, std::map<rust_opaque_box*, unsigned long, std::less<rust_opaque_box*>, std::allocator<std::pair<rust_opaque_box* const, unsigned long> > >&) (rust_cc.cpp:242)
==16928== by 0x535E7B7: cc::do_cc(rust_task*) (rust_cc.cpp:520)
==16928== by 0x535E8BC: cc::do_final_cc(rust_task*) (rust_cc.cpp:533)
==16928== by 0x53440CA: cleanup_task(cleanup_args*) (rust_task.cpp:118)
==16928== by 0x536C4F8: ??? (in /home/jeff/src/rust/build/x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/librustrt.so)
==16928== If you believe this happened as a result of a stack
==16928== overflow in your program's main thread (unlikely but
==16928== possible), you can try to increase the size of the
==16928== main thread stack using the --main-stacksize= flag.
==16928== The main thread stack size used in this run was 16777216.
make: *** [check-stage1-T-x86_64-unknown-linux-gnu-H-x86_64-unknown-linux-gnu-std-dummy] Killed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment