On Thu, 6 Dec 2007, Tom Hughes wrote:

> I get an assertion in memcheck trying to valgrind a windows program
> under wine. This is the current trunk code with a tweaked version of
> the patch from
> http://wiki.winehq.org/Wine_and_Valgrind applied.
>
> I'm just running "valgrind --trace-children=yes notepad"  and I get:
>
> Memcheck: mc_main.c:957 (get_sec_vbits8): Assertion 'n' failed.
> Memcheck: get_sec_vbits8: no node for address 0x6FA9EA0 (0x6FA9EAC)
>
> ==9850==    at 0x38018ACD: report_and_quit (m_libcassert.c:140)
> ==9850==    by 0x8: ???
> ==9850==    by 0x9: ???
> ==9850==    by 0x9: ???
> ==9850==    by 0x40000005: ???
> ==9850==    by 0xFFFFFFFE: ???
>
> Any ideas?

It's a problem with the secondary V bits table in Memcheck.  That table 
holds the full V bits for all memory bytes that are partially defined. 
It's happened a couple of times, but always in situations that are 
impossible for me to reproduce.  If you are able to reduce it to a small 
test, or are able to do any debugging yourself, that would be very helpful.

One thing you could do is try commenting out all these lines and see if it 
goes away.  If it does, you could then experiment with which combinations 
make it go away.

#define PERF_FAST_LOADV    1
#define PERF_FAST_STOREV   1

#define PERF_FAST_SARP     1

#define PERF_FAST_STACK    1
#define PERF_FAST_STACK2   1


Nick

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Valgrind-developers mailing list
Valgrind-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to