--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
"NOTE: Valgrind for some tests is currently broken on debug builds. If
you get an mmap() error, try using a Chromium release build. [8 Sept
2011]"
Stéphane
I'm having the same problem. Haven't found a solution to it.
On Fri, Sep 9, 2011 at 5:10 PM, Greg Spencer <gspe...@chromium.org> wrote:
I'm having trouble running valgrind on my Goobuntu workstation using the instructions here:I built chrome using:GYP_DEFINES='werror= target_arch=ia32 debug_extra_cflags="-g -fno-inline -fno-omit-frame-pointer -fno-builtin" release_extra_cflags="-g -fno-inline -fno-omit-frame-pointer -fno-builtin" release_valgrind_build=1 debug_optimize=1 release_optimize=1 mac_debug_optimization=1 mac_release_optimization=1' gclient runhooks --forcemake -j16 chrome unit_tests
But when I try and run chrome under valgrind, I get the following:(chromium_75634) -- src > sh ./tools/valgrind/valgrind.sh out/Debug/chromeUsing valgrind binaries from /usr/local/space/depot/chrome/src/third_party/valgrind/linux_x64+ PATH=/usr/local/space/depot/chrome/src/third_party/valgrind/linux_x64/bin:.:/home/gspencer/depot_tools:/usr/bin:/usr/bin/X11:/usr/sbin:/sbin:/usr/local/bin:/usr/local/symlinks:/usr/local/scripts:/usr/local/buildtools/java/jdk/bin:/usr/local/sbin:/bin:/home/gspencer/.cheats/cmd+ export VALGRIND_LIB=/usr/local/space/depot/chrome/src/third_party/valgrind/linux_x64/lib/valgrind+ VALGRIND_LIB=/usr/local/space/depot/chrome/src/third_party/valgrind/linux_x64/lib/valgrind+ export VALGRIND_LIB_INNER=/usr/local/space/depot/chrome/src/third_party/valgrind/linux_x64/lib/valgrind+ VALGRIND_LIB_INNER=/usr/local/space/depot/chrome/src/third_party/valgrind/linux_x64/lib/valgrind+ G_SLICE=always-malloc+ NSS_DISABLE_UNLOAD=1+ NSS_DISABLE_ARENA_FREE_LIST=1+ G_DEBUG=fatal_warnings+ GTEST_DEATH_TEST_USE_FORK=1+ valgrind --trace-children=yes --suppressions=./tools/valgrind/memcheck/suppressions.txt '--db-command=/usr/bin/gdb32 -nw %f %p' --db-attach=yes --malloc-fill=41 --free-fill=41 --num-callers=30 out/Debug/chromevalgrind: mmap(0x108000, 72445952) failed in UME with error 22 (Invalid argument).valgrind: this can be caused by executables with very large text, data or bss segments.