I'm running Ubuntu lucid amd64 with today's valgrind upload so I used
qemu-x86_64, this:
/usr/bin/qemu-x86_64 -L / /bin/ls
works and this:
valgrind -v /usr/bin/qemu-x86_64 -L / /bin/ls
works too! but is really surprisingly slow.
l...@bee ~ 36408 % valgrind -v /usr/bin/qemu-x86_64 -L / /bin/ls
2010/02/13 01:25:15
==20102== Memcheck, a memory error detector
==20102== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==20102== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for
copyright info
==20102== Command: /usr/bin/qemu-x86_64 -L / /bin/ls
==20102==
--20102-- Valgrind options:
--20102-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
--20102-- -v
--20102-- Contents of /proc/version:
--20102-- Linux version 2.6.32-12-generic (bui...@crested) (gcc version 4.4.3
(Ubuntu 4.4.3-2ubuntu1) ) #17-Ubuntu SMP Fri Feb 5 08:16:30 UTC 2010
--20102-- Arch and hwcaps: AMD64, amd64-sse3-cx16
--20102-- Page sizes: currently 4096, max supported 4096
--20102-- Valgrind library directory: /usr/lib/valgrind
--20102-- Reading syms from /lib/ld-2.11.1.so (0x4000000)
--20102-- Reading debug info from /lib/ld-2.11.1.so ..
--20102-- .. CRC mismatch (computed 81ef17e2 wanted 8b061df0)
--20102-- Reading debug info from /usr/lib/debug/lib/ld-2.11.1.so ..
--20102-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux (0x38000000)
--20102-- object doesn't have a dynamic symbol table
--20102-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
--20102-- Reading suppressions file: /usr/lib/valgrind/default.supp
--20102-- REDIR: 0x4017d20 (strlen) redirected to 0x38040277
(vgPlain_amd64_linux_REDIR_FOR_strlen)
--20102-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so
(0x4222000)
--20102-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so
(0x4424000)
==20102== WARNING: new redirection conflicts with existing -- ignoring it
--20102-- new: 0x04017d20 (strlen ) R-> 0x04428710 strlen
--20102-- REDIR: 0x4017b90 (index) redirected to 0x4428320 (index)
--20102-- REDIR: 0x4017c10 (strcmp) redirected to 0x4428cf0 (strcmp)
--20102-- Reading syms from /lib/librt-2.11.1.so (0x462d000)
--20102-- Reading debug info from /lib/librt-2.11.1.so ..
--20102-- .. CRC mismatch (computed c6475326 wanted 788f8ec6)
--20102-- Reading debug info from /usr/lib/debug/lib/librt-2.11.1.so ..
--20102-- Reading syms from /lib/libpthread-2.11.1.so (0x4835000)
--20102-- Reading debug info from /lib/libpthread-2.11.1.so ..
--20102-- .. CRC mismatch (computed ac656ca3 wanted 1d6c74ff)
--20102-- Reading debug info from /usr/lib/debug/lib/libpthread-2.11.1.so ..
--20102-- Reading syms from /lib/libm-2.11.1.so (0x4a52000)
--20102-- Reading debug info from /lib/libm-2.11.1.so ..
--20102-- .. CRC mismatch (computed 9f4c1939 wanted f447cd59)
--20102-- Reading debug info from /usr/lib/debug/lib/libm-2.11.1.so ..
--20102-- Reading syms from /lib/libc-2.11.1.so (0x4cd5000)
--20102-- Reading debug info from /lib/libc-2.11.1.so ..
--20102-- .. CRC mismatch (computed 52bf01b9 wanted 2b5b547c)
--20102-- Reading debug info from /usr/lib/debug/lib/libc-2.11.1.so ..
--20102-- REDIR: 0x4d58b80 (__GI_strrchr) redirected to 0x4428140 (__GI_strrchr)
--20102-- REDIR: 0x4d570c0 (__GI_strlen) redirected to 0x44286d0 (__GI_strlen)
--20102-- REDIR: 0x4d508a0 (malloc) redirected to 0x4427426 (malloc)
--20102-- REDIR: 0x4d5ace0 (memcpy) redirected to 0x4428dc0 (memcpy)
--20102-- REDIR: 0x4d555a0 (index) redirected to 0x42225dc (_vgnU_ifunc_wrapper)
==20102== WARNING: new redirection conflicts with existing -- ignoring it
--20102-- new: 0x04d555d0 (__GI_strchr ) R-> 0x044281e0 index
--20102-- REDIR: 0x4d555d0 (__GI_strchr) redirected to 0x4428220 (__GI_strchr)
--20102-- REDIR: 0x4d57290 (strncmp) redirected to 0x42225dc
(_vgnU_ifunc_wrapper)
--20102-- REDIR: 0x4e00060 (__strncmp_ssse3) redirected to 0x4428b70 (strncmp)
--20102-- REDIR: 0x4d598d0 (memset) redirected to 0x4429930 (memset)
--20102-- REDIR: 0x4d51c80 (free) redirected to 0x4427036 (free)
--20102-- REDIR: 0x4d52570 (realloc) redirected to 0x44274d7 (realloc)
--20102-- REDIR: 0x4d55650 (strcmp) redirected to 0x42225dc
(_vgnU_ifunc_wrapper)
--20102-- REDIR: 0x4dfee00 (__strcmp_ssse3) redirected to 0x4428c50 (strcmp)
--20102-- REDIR: 0x4d52950 (calloc) redirected to 0x44266e9 (calloc)
--20102-- Reading syms from /bin/ls (0x400000)
--20102-- Reading debug info from /bin/ls ..
--20102-- .. CRC mismatch (computed 038ae3e2 wanted e35962e0)
--20102-- object doesn't have a symbol table
--20102-- REDIR: 0x4d5c2d0 (strchrnul) redirected to 0x4429a10 (strchrnul)
ERROR: ioctl(SNDCTL_DSP_MAPINBUF): target=0x80085013 host=0x80105013
ERROR: ioctl(SNDCTL_DSP_MAPOUTBUF): target=0x80085014 host=0x80105014
==20102== Warning: ignored attempt to set SIGKILL handler in sigaction();
==20102== the SIGKILL signal is uncatchable
==20102== Warning: ignored attempt to set SIGRT32 handler in sigaction();
==20102== the SIGRT32 signal is used internally by Valgrind
--20102-- REDIR: 0x4d58b20 (strncpy) redirected to 0x42225dc
(_vgnU_ifunc_wrapper)
--20102-- REDIR: 0x4dfc280 (???) redirected to 0x44288d0 (strncpy)
--20102-- REDIR: 0x4d56ae0 (strcpy) redirected to 0x42225dc
(_vgnU_ifunc_wrapper)
--20102-- REDIR: 0x4dfb860 (???) redirected to 0x4428730 (strcpy)
--20102-- Reading syms from /lib/libselinux.so.1 (0x426b6000)
--20102-- object doesn't have a symbol table
--20102-- Reading syms from /lib/libacl.so.1.1.0 (0x428d4000)
--20102-- Reading debug info from /lib/libacl.so.1.1.0 ..
--20102-- .. CRC mismatch (computed c1ea3c04 wanted 297d6d26)
--20102-- object doesn't have a symbol table
--20102-- Reading syms from /lib/libdl-2.11.1.so (0x43078000)
--20102-- Reading debug info from /lib/libdl-2.11.1.so ..
--20102-- .. CRC mismatch (computed 7e12d650 wanted c42f7f90)
--20102-- Reading debug info from /usr/lib/debug/lib/libdl-2.11.1.so ..
--20102-- Reading syms from /lib/libattr.so.1.1.0 (0x4327d000)
--20102-- Reading debug info from /lib/libattr.so.1.1.0 ..
--20102-- .. CRC mismatch (computed aa603317 wanted 08b26063)
--20102-- object doesn't have a symbol table
--20102-- REDIR: 0x4d5a400 (mempcpy) redirected to 0x4429a80 (mempcpy)
qemu: Unsupported syscall: 202
==20102== Warning: ignored attempt to set SIGRT32 handler in sigaction();
==20102== the SIGRT32 signal is used internally by Valgrind
qemu: Unsupported syscall: 202
(files in my home dir)
==20102==
==20102== HEAP SUMMARY:
==20102== in use at exit: 17,846 bytes in 64 blocks
==20102== total heap usage: 236 allocs, 172 frees, 45,461 bytes allocated
==20102==
==20102== Searching for pointers to 64 not-freed blocks
==20102== Checked 105,893,160 bytes
==20102==
==20102== LEAK SUMMARY:
==20102== definitely lost: 0 bytes in 0 blocks
==20102== indirectly lost: 0 bytes in 0 blocks
==20102== possibly lost: 0 bytes in 0 blocks
==20102== still reachable: 17,846 bytes in 64 blocks
==20102== suppressed: 0 bytes in 0 blocks
==20102== Rerun with --leak-check=full to see details of leaked memory
==20102==
==20102== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)
--20102--
--20102-- used_suppression: 2 dl-hack3-cond-1
--20102-- used_suppression: 2 glibc-2.5.x-on-SUSE-10.2-(PPC)-2a
==20102==
==20102== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)
** Changed in: valgrind (Ubuntu)
Status: New => Fix Released
--
does not work on qemu
https://bugs.launchpad.net/bugs/479104
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs