I assume it happens on valgrind-2.4.
In 2.4, valgrind loader will first load stage2 into address 0xb0000000, or
0xf0000000 (depends on the linux version), and the stage2 load the real
application.
I guess this is because the address of valgrind's loader is mapped to
0xb0000000, which is conflict the address of stage2. You might have to
recompile it.
On Fri, 27 May 2005 ale...@ex... wrote:
> Guys,
>
> We've been using Valgrind here for quite a while, and I have never seen
> this problem ... I have built Valgrind on a Linux box and whenever I try
> to run it, I get this:
>
> %valgrind --version
> Executable range 0xb0000000-0xb01eafc0 is outside the
> acceptable range 0x80d4000-0x3ffff000
> valgrind: failed to load /usr/lib/valgrind/stage2: Cannot allocate
> memory
>
>
> There is not much different on this machine versus others ... Please,
> help me to figure out why this is happening!
> Below is the system info from the Linux machine.
>
> Thanks a lot!
> Alex
>
>
> GNU C Library stable release version 2.3.2, by Roland McGrath et al.
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> Compiled by GNU CC version 3.3.1 (MontaVista 3.3.1-7.0.0.0401153
> 2004-08-21).
> Compiled on a Linux 2.4.20_dev system on 2004-08-21.
> Available extensions:
> GNU libio by Per Bothner
> crypt add-on version 2.1 by Michael Glad and others
> linuxthreads-0.10 by Xavier Leroy
> BIND-8.2.3-T5B
> libthread_db work sponsored by Alpha Processor Inc
> NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
>
> MontaVista(R) Linux(R) Carrier Grade Edition 3.1
> Linux/i686 2.4.20_mvlcge31_p2-langley5
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Yahoo.
> Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> Search APIs Find out how you can build Yahoo! directly into your own
> Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> _______________________________________________
> Valgrind-users mailing list
> Val...@li...
> https://lists.sourceforge.net/lists/listinfo/valgrind-users
>
|