2010/12/10 Ildar Isaev <i...@inbox.ru>

> I'm trying to run Valgrind on ARM through scratchbox framework (
> http://www.scratchbox.org/) with QEMU emulator. Valgrind builds OK, but
> fails to run any program with following synopsis:
>
> [sbox-arm: ~/valgrind-3.6.0] > cat test.c
> int main()
> {
>         return 0;
> }
>
> [sbox-arm: ~/valgrind-3.6.0] > ./inst/bin/valgrind ./test
> valgrind: mmap(0x8000, 4096) failed in UME with error 13 (Permission
> denied).
>
> The same thing happens both for 3.6.0 release and code from source
> repository. Has anyone encountered with such a problem?
>

Hi

I don't have any experience running valgrind under qemu, but I've seen
similar problems with qemu due to security restrictions in the host. See for
example http://wiki.debian.org/mmap_min_addr or
http://lists.scratchbox.org/pipermail/scratchbox-users/2008-April/001218.html.


Hope that helps

Bruce
-- 
Dr Bruce Merry
bmerry <@> gmail <.> com
http://www.brucemerry.org.za/
http://blog.brucemerry.org.za/
------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to