> Memcheck: mc_leakcheck.c:698 (vgMemCheck_do_detect_memory_leaks): > Assertion 'lc_shadows[i]->data + lc_shadows[i]->szB <= > lc_shadows[i+1]->data' failed. > at report_and_quit (m_libcassert.c:140) [snip] > by shutdown_actions_NORETURN (m_main.c:2025) > by run_a_thread_NORETURN (syswrap-linux.c:144)
This is a classic "garbage collection" assertion. The error happened long ago and far away: one or more malloc/realloc/free was not seen, or there was some other error in the accounting for one or more blocks. To fix it you either need an oracle, or a way to check the assertion after every change in the accounting for blocks. It might be helpful to check the assertion at other times, too [such as: at every CALL and/or RETURN] just in case you do not realize all the places where the accounting could change. -- John Reiser, [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Valgrind-developers mailing list Valgrind-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-developers