|
From: Tom H. <to...@co...> - 2005-02-13 13:36:38
|
In message <420...@ey...>
Eyal Lebedinsky <ey...@ey...> wrote:
> Dirk Mueller wrote:
> > On Sunday 13 February 2005 09:14, Jeremy Fitzhardinge wrote:
> >
> >
> >>- res = VG_(do_syscall)(__NR_getrlimit, resource, (UWord)rlim);
> >>+ res = VG_(do_syscall)(__NR_ugetrlimit, resource, (UWord)rlim);
> >>+ if (res == -VKI_ENOSYS)
> >>+ res = VG_(do_syscall)(__NR_ugetrlimit, resource, (UWord)rlim);
>
> I applied the posted patch and my test still fails at the same point with
> the same error. was this change supposed to fix it?
I don't think it was supposed to fix your bug, no. That was the fix
the 2G stack bug that somebody raised on the bug tracker yesterday.
> VG_(get_memory_from_mmap): newSuperblock's request for 1048576 bytes failed.
> VG_(get_memory_from_mmap): 33599270 bytes already allocated.
>
> Sorry. You could try using a tool that uses less memory;
> eg. addrcheck instead of memcheck.
That usually just means your program is too big for valgrind
to cope with and it ran out of memory trying to load the debug
information or something.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|