|
From: Victor R. <vm....@gm...> - 2015-05-30 15:47:21
|
HI team I am having a problem with make nonexp-regtest and make regtest in my Valgrind spec file: https://download.clearlinux.org/current/source/SRPMS/valgrind-3.10.1-6.src.rpm The team in IRC channel point me the spec file from fedora : http://pkgs.fedoraproject.org/cgit/valgrind.git/tree/valgrind.spec There is a simple test that just check the sanity of valgrind: ./vg-in-place /bin/true That needs the ld.so , I can add it witht hte glibc-debuginfo . After adding that the make nonexp-regtest hangs at : descr_belowsp: valgrind -q ./descr_belowsp If anyone has just apss by this problems I am more than welcome ( sure I am doing something wrong ) Best regards Victor Rodriguez |
|
From: Philippe W. <phi...@sk...> - 2015-05-31 09:46:38
|
On Sat, 2015-05-30 at 10:47 -0500, Victor Rodriguez wrote: > That needs the ld.so , I can add it witht hte glibc-debuginfo . After > adding that the make nonexp-regtest hangs at : > > descr_belowsp: valgrind -q ./descr_belowsp The first thing to do for such a hanging test is to start it "interactively" with more traces. You have to look in descr_belowsp.vgtest and then give the valgrind and/or program options. You can then add some debugging/tracing options. So, in this case, first something like: ./vg-in-place -q ./memcheck/tests/descr_belowsp If that does not show something, use e.g. /vg-in-place -v -v -v -d -d -d ./memcheck/tests/descr_belowsp You might then also debug the test program under Valgrind (use gdb+vgdb) and compare with a native run. Philippe |