|
From: Nicholas N. <nj...@cs...> - 2005-11-12 16:19:29
|
On Sat, 12 Nov 2005, Jeroen N. Witmond wrote: > The patch works. Thanks! Committed. > This change in name has not made it into README_DEVELOPERS yet. See > attached file READE_DEVELOPERS.patch. True, thanks. > Now I am able to memcheck nulgrind (using tests/true as client program), > resulting in a number of errors, apparently from both tools, the most > spectacular error being: "valgrind: VG_(scheduler), phase 3: run_innerloop > detected host state invariant failure" See attached file selfhost.txt for > the full output. That invariant failure is what I get if the ENABLE_INNER ifdef in m_dispatch-x86-linux.S is not present. But I get a different failure, see attachment. > Am I doing something wrong? No, it looks fine. > Can I help in any way in debugging and fxing this problem? Sure :) As I said, self-hosting is not very reliable yet, so any help in making it work better would be very helpful. I can't give you any very specific pointers to fix this current problem, though. One thing to note: running Memcheck on Valgrind currently won't be as useful as it could be because Valgrind's on allocator (m_mallocfree.c) requires annotating with client requests to indicate when blocks are allocated and freed. Nick |