|
From: Tom H. <th...@cy...> - 2007-11-04 03:28:05
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2007-11-04 03:15:02 GMT Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 287 tests, 33 stderr failures, 1 stdout failure, 27 post failures == memcheck/tests/addressable (stderr) memcheck/tests/badjump (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/erringfds (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-pool-0 (stderr) memcheck/tests/leak-pool-1 (stderr) memcheck/tests/leak-pool-2 (stderr) memcheck/tests/leak-pool-3 (stderr) memcheck/tests/leak-pool-4 (stderr) memcheck/tests/leak-pool-5 (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/long_namespace_xml (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/partial_load_dflt (stderr) memcheck/tests/partial_load_ok (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigkill (stderr) memcheck/tests/stack_changes (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) memcheck/tests/x86/xor-undef-x86 (stderr) memcheck/tests/xml1 (stderr) massif/tests/alloc-fns-A (post) massif/tests/alloc-fns-B (post) massif/tests/basic (post) massif/tests/big-alloc (post) massif/tests/culling1 (stderr) massif/tests/culling2 (stderr) massif/tests/custom_alloc (post) massif/tests/deep-A (post) massif/tests/deep-B (stderr) massif/tests/deep-B (post) massif/tests/deep-C (stderr) massif/tests/deep-C (post) massif/tests/deep-D (post) massif/tests/ignoring (post) massif/tests/insig (post) massif/tests/long-time (post) massif/tests/new-cpp (post) massif/tests/null (post) massif/tests/one (post) massif/tests/overloaded-new (post) massif/tests/peak (post) massif/tests/peak2 (stderr) massif/tests/peak2 (post) massif/tests/realloc (stderr) massif/tests/realloc (post) massif/tests/thresholds_0_0 (post) massif/tests/thresholds_0_10 (post) massif/tests/thresholds_10_0 (post) massif/tests/thresholds_10_10 (post) massif/tests/thresholds_5_0 (post) massif/tests/thresholds_5_10 (post) massif/tests/zero1 (post) massif/tests/zero2 (post) none/tests/mremap (stderr) none/tests/mremap2 (stdout) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Last 20 lines of verbose log follow echo fi gcc -Winline -Wall -Wshadow -g -m32 -Wno-long-long -o long-time long-time.o if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -g -O2 -MT new-cpp.o -MD -MP -MF ".deps/new-cpp.Tpo" \ -c -o new-cpp.o `test -f 'new-cpp.cpp' || echo './'`new-cpp.cpp; \ then mv -f ".deps/new-cpp.Tpo" ".deps/new-cpp.Po"; \ else rm -f ".deps/new-cpp.Tpo"; exit 1; \ fi new-cpp.cpp: In function `int main()': new-cpp.cpp:20: invalid use of undefined type `struct main()::s' new-cpp.cpp:20: forward declaration of `struct main()::s' new-cpp.cpp:20: ISO C++ forbids defining types within new make[4]: *** [new-cpp.o] Error 1 make[4]: Leaving directory `/tmp/vgtest/2007-11-04/valgrind/massif/tests' make[3]: *** [check-am] Error 2 make[3]: Leaving directory `/tmp/vgtest/2007-11-04/valgrind/massif/tests' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/tmp/vgtest/2007-11-04/valgrind/massif' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/tmp/vgtest/2007-11-04/valgrind' make: *** [check] Error 2 ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sun Nov 4 03:20:17 2007 --- new.short Sun Nov 4 03:28:04 2007 *************** *** 6,27 **** ! Last 20 lines of verbose log follow echo ! fi ! gcc -Winline -Wall -Wshadow -g -m32 -Wno-long-long -o long-time long-time.o ! if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -g -O2 -MT new-cpp.o -MD -MP -MF ".deps/new-cpp.Tpo" \ ! -c -o new-cpp.o `test -f 'new-cpp.cpp' || echo './'`new-cpp.cpp; \ ! then mv -f ".deps/new-cpp.Tpo" ".deps/new-cpp.Po"; \ ! else rm -f ".deps/new-cpp.Tpo"; exit 1; \ ! fi ! new-cpp.cpp: In function `int main()': ! new-cpp.cpp:20: invalid use of undefined type `struct main()::s' ! new-cpp.cpp:20: forward declaration of `struct main()::s' ! new-cpp.cpp:20: ISO C++ forbids defining types within new ! make[4]: *** [new-cpp.o] Error 1 ! make[4]: Leaving directory `/tmp/vgtest/2007-11-04/valgrind/massif/tests' ! make[3]: *** [check-am] Error 2 ! make[3]: Leaving directory `/tmp/vgtest/2007-11-04/valgrind/massif/tests' ! make[2]: *** [check-recursive] Error 1 ! make[2]: Leaving directory `/tmp/vgtest/2007-11-04/valgrind/massif' ! make[1]: *** [check-recursive] Error 1 ! make[1]: Leaving directory `/tmp/vgtest/2007-11-04/valgrind' ! make: *** [check] Error 2 --- 6,71 ---- ! Regression test results follow ! ! == 287 tests, 33 stderr failures, 1 stdout failure, 27 post failures == ! memcheck/tests/addressable (stderr) ! memcheck/tests/badjump (stderr) ! memcheck/tests/describe-block (stderr) ! memcheck/tests/erringfds (stderr) ! memcheck/tests/leak-0 (stderr) ! memcheck/tests/leak-cycle (stderr) ! memcheck/tests/leak-pool-0 (stderr) ! memcheck/tests/leak-pool-1 (stderr) ! memcheck/tests/leak-pool-2 (stderr) ! memcheck/tests/leak-pool-3 (stderr) ! memcheck/tests/leak-pool-4 (stderr) ! memcheck/tests/leak-pool-5 (stderr) ! memcheck/tests/leak-regroot (stderr) ! memcheck/tests/leak-tree (stderr) ! memcheck/tests/long_namespace_xml (stderr) ! memcheck/tests/match-overrun (stderr) ! memcheck/tests/partial_load_dflt (stderr) ! memcheck/tests/partial_load_ok (stderr) ! memcheck/tests/partiallydefinedeq (stderr) ! memcheck/tests/pointer-trace (stderr) ! memcheck/tests/sigkill (stderr) ! memcheck/tests/stack_changes (stderr) ! memcheck/tests/x86/scalar (stderr) ! memcheck/tests/x86/scalar_supp (stderr) ! memcheck/tests/x86/xor-undef-x86 (stderr) ! memcheck/tests/xml1 (stderr) ! massif/tests/alloc-fns-A (post) ! massif/tests/alloc-fns-B (post) ! massif/tests/basic (post) ! massif/tests/big-alloc (post) ! massif/tests/culling1 (stderr) ! massif/tests/culling2 (stderr) ! massif/tests/custom_alloc (post) ! massif/tests/deep-A (post) ! massif/tests/deep-B (stderr) ! massif/tests/deep-B (post) ! massif/tests/deep-C (stderr) ! massif/tests/deep-C (post) ! massif/tests/deep-D (post) ! massif/tests/ignoring (post) ! massif/tests/insig (post) ! massif/tests/long-time (post) ! massif/tests/new-cpp (post) ! massif/tests/null (post) ! massif/tests/one (post) ! massif/tests/overloaded-new (post) ! massif/tests/peak (post) ! massif/tests/peak2 (stderr) ! massif/tests/peak2 (post) ! massif/tests/realloc (stderr) ! massif/tests/realloc (post) ! massif/tests/thresholds_0_0 (post) ! massif/tests/thresholds_0_10 (post) ! massif/tests/thresholds_10_0 (post) ! massif/tests/thresholds_10_10 (post) ! massif/tests/thresholds_5_0 (post) ! massif/tests/thresholds_5_10 (post) ! massif/tests/zero1 (post) ! massif/tests/zero2 (post) ! none/tests/mremap (stderr) ! none/tests/mremap2 (stdout) ! |
|
From: Nicholas N. <nj...@cs...> - 2007-11-04 05:25:13
|
On Sun, 4 Nov 2007, Tom Hughes wrote: > Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2007-11-04 03:15:02 GMT > Results differ from 24 hours ago > > Checking out valgrind source tree ... done > Configuring valgrind ... done > Building valgrind ... done > Running regression tests ... failed > > Regression test results follow > > == 287 tests, 33 stderr failures, 1 stdout failure, 27 post failures == > memcheck/tests/addressable (stderr) > memcheck/tests/badjump (stderr) > memcheck/tests/describe-block (stderr) > memcheck/tests/erringfds (stderr) > memcheck/tests/leak-0 (stderr) > memcheck/tests/leak-cycle (stderr) > memcheck/tests/leak-pool-0 (stderr) > memcheck/tests/leak-pool-1 (stderr) > memcheck/tests/leak-pool-2 (stderr) > memcheck/tests/leak-pool-3 (stderr) > memcheck/tests/leak-pool-4 (stderr) > memcheck/tests/leak-pool-5 (stderr) > memcheck/tests/leak-regroot (stderr) > memcheck/tests/leak-tree (stderr) > memcheck/tests/long_namespace_xml (stderr) > memcheck/tests/match-overrun (stderr) > memcheck/tests/partial_load_dflt (stderr) > memcheck/tests/partial_load_ok (stderr) > memcheck/tests/partiallydefinedeq (stderr) > memcheck/tests/pointer-trace (stderr) > memcheck/tests/sigkill (stderr) > memcheck/tests/stack_changes (stderr) > memcheck/tests/x86/scalar (stderr) > memcheck/tests/x86/scalar_supp (stderr) > memcheck/tests/x86/xor-undef-x86 (stderr) > memcheck/tests/xml1 (stderr) > massif/tests/alloc-fns-A (post) > massif/tests/alloc-fns-B (post) > massif/tests/basic (post) > massif/tests/big-alloc (post) > massif/tests/culling1 (stderr) > massif/tests/culling2 (stderr) > massif/tests/custom_alloc (post) > massif/tests/deep-A (post) > massif/tests/deep-B (stderr) > massif/tests/deep-B (post) > massif/tests/deep-C (stderr) > massif/tests/deep-C (post) > massif/tests/deep-D (post) > massif/tests/ignoring (post) > massif/tests/insig (post) > massif/tests/long-time (post) > massif/tests/new-cpp (post) > massif/tests/null (post) > massif/tests/one (post) > massif/tests/overloaded-new (post) > massif/tests/peak (post) > massif/tests/peak2 (stderr) > massif/tests/peak2 (post) > massif/tests/realloc (stderr) > massif/tests/realloc (post) > massif/tests/thresholds_0_0 (post) > massif/tests/thresholds_0_10 (post) > massif/tests/thresholds_10_0 (post) > massif/tests/thresholds_10_10 (post) > massif/tests/thresholds_5_0 (post) > massif/tests/thresholds_5_10 (post) > massif/tests/zero1 (post) > massif/tests/zero2 (post) > none/tests/mremap (stderr) > none/tests/mremap2 (stdout) Tom, can you send me diffs for some of the Massif ones? Any idea why so many tests fail on this machine? Nick |
|
From: Nicholas N. <nj...@cs...> - 2007-11-04 21:45:58
|
On Sun, 4 Nov 2007, Julian Seward wrote: >> Tom, can you send me diffs for some of the Massif ones? Any idea why so >> many tests fail on this machine? > > I have a vanilla Red Hat 7.3 installation on QEMU. Attached are the > results from that. The single cause of all of these appears to be that each program is doing a heap allocation of size 24 bytes very early on, ie. before any of the allocations in the main part of the C program are done. We have to understand why that's happening before we can fix these. It may explain why so many Memcheck results are also going wrong for this machine. N |
|
From: Julian S. <js...@ac...> - 2007-11-04 22:29:29
|
On Sunday 04 November 2007 22:45, Nicholas Nethercote wrote: > On Sun, 4 Nov 2007, Julian Seward wrote: > >> Tom, can you send me diffs for some of the Massif ones? Any idea why so > >> many tests fail on this machine? > > > > I have a vanilla Red Hat 7.3 installation on QEMU. Attached are the > > results from that. > > The single cause of all of these appears to be that each program is doing a > heap allocation of size 24 bytes very early on, ie. before any of the > allocations in the main part of the C program are done. We have to > understand why that's happening before we can fix these. Perhaps glibc, or ld.so and its myriad function calls, etc, are doing an allocation before we get to main. Do your tests assume that there are zero allocations prior to main being called? If so, how about having a massif-specific client request which you call at the start of main, to say "forget everything and start with a clean slate" ? > It may explain > why so many Memcheck results are also going wrong for this machine. Ah, good point. J |