|
From: Alexander P. <gl...@go...> - 2009-08-14 11:26:21
|
Here you are: mcgrind:valgrind-new glider$ Inst/bin/valgrind --tool=helgrind --read-var-info=yes helgrind/tests/hg03_inherit ==77903== Helgrind, a thread error detector ==77903== Copyright (C) 2007-2009, and GNU GPL'd, by OpenWorks LLP et al. ==77903== Using Valgrind-3.5.0.SVN and LibVEX; rerun with -h for copyright info ==77903== Command: helgrind/tests/hg03_inherit ==77903== --77903-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf0 --77903-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf0 --77903-- warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0xf0 ==77903== Thread #3 was created ==77903== at 0x227FDE: __bsdthread_create (in /usr/lib/libSystem.B.dylib) ==77903== by 0x19F87: pthread_create_WRK (hg_intercepts.c:229) ==77903== by 0x1A014: pthread_create (hg_intercepts.c:262) ==77903== by 0x1FAD: main (hg03_inherit.c:46) ==77903== ==77903== Thread #1 is the program's root thread ==77903== ==77903== Possible data race during write of size 4 at 0x2034 by thread #3 ==77903== at 0x1EFE: t2 (hg03_inherit.c:28) ==77903== by 0x1A07D: mythread_wrapper (hg_intercepts.c:201) ==77903== by 0x228154: _pthread_start (in /usr/lib/libSystem.B.dylib) ==77903== by 0x228011: thread_start (in /usr/lib/libSystem.B.dylib) ==77903== This conflicts with a previous read of size 4 by thread #1 ==77903== at 0x1FD8: main (hg03_inherit.c:60) ==77903== Location 0x2034 is 0 bytes inside shared[1], ==77903== declared at hg03_inherit.c:11, in frame #0 of thread 3 ==77903== ==77903== ==77903== For counts of detected and suppressed errors, rerun with: -v ==77903== Use --history-level=approx or =none to gain increased speed, at ==77903== the cost of reduced accuracy of conflicting-access information ==77903== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 77 from 61) On Fri, Aug 14, 2009 at 3:09 PM, Nicholas Nethercote<n.n...@gm...> wrote: > On Fri, Aug 14, 2009 at 9:04 PM, Alexander Potapenko<gl...@go...> wrote: >> Nightly build on mcgrind ( Darwin 9.7.0 i386 ) >> Started at 2009-08-14 14:44:07 MSD >> Ended at 2009-08-14 15:02:10 MSD >> Results differ from 24 hours ago >> ================================================= >> ./valgrind-new/helgrind/tests/hg03_inherit.stderr.diff >> ================================================= >> --- hg03_inherit.stderr.exp 2009-08-14 14:52:53.000000000 +0400 >> +++ hg03_inherit.stderr.out 2009-08-14 15:00:05.000000000 +0400 >> @@ -1,4 +1,7 @@ >> >> +warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x........ >> +warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x........ >> +warning: evaluate_Dwarf3_Expr: unhandled DW_OP_ 0x........ >> Thread #x was created >> ... >> by 0x........: pthread_create@* (hg_intercepts.c:...) > > This warning is causing lots of test failures on that machine, but > it's hard to understand because details are being filtered out. > > Can you rerun the test by hand (ie. "valgrind --tool=helgrind > --read-var-info=yes helgrind/tests/hg03_inherit") and post the > non-filtered results? Thanks. > > Nick > -- Alexander Potapenko Software Engineer Google Moscow |