|
From: Tom H. <th...@cy...> - 2004-07-27 20:01:14
|
In message <Pin...@he...>
Nicholas Nethercote <nj...@ca...> wrote:
> On Tue, 27 Jul 2004, Tom Hughes wrote:
>
> >> Thanks Tom, this fixes the problem! (And it now falls over slightly
> >> further along :) I had worked out that Valgrind was observing the
> >> requested 0x100000 alignment and the kernel wasn't, but hadn't got any
> >> further than that. The kernel's behaviour seems odd here...
>
> Actually, when not using --help (as I was) although the
> bogus-initialisation problem is fixed, it asserts when loading the client:
>
> valgrind: ume.c:364: mapelf: Assertion `((addr - off) & (align - 1)) ==
> 0' failed.
>
> The relevant values are:
>
> addr = 0x1ff27000, off = 0, align = 100000
Does it work with the first patch? Come to that, does it work if
you just take out the assertion? I wasn't entirely sure that it was
the right assertion...
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|