|
From: Konstantin S. <kon...@gm...> - 2009-03-30 18:40:06
|
[changed subject] On Mon, Mar 30, 2009 at 2:10 PM, Bart Van Assche <bar...@gm...> wrote: > On Mon, Mar 30, 2009 at 4:53 PM, Konstantin Serebryany > <kon...@gm...> wrote: >>> Did you check whether DRD reports a false positive on your TLS test case ? >> >> DRD says nothing about TLS in this test (it prints lots of reports >> about _dl_lookup_symbol_x though) > > On which distro did this occur ? We have (a slightly modified) Ubuntu Hardy Heron LTS (8.04). > The following command does not > complain about _dl_lookup_symbol_x on Ubuntu 7.10 nor on openSUSE > 11.1: > > ./vg-in-place --tool=drd --check-stack-var=yes > drt/unittest/racecheck_unittest 130 using recent trunk: % ./vg-in-place --tool=drd --check-stack-var=yes ~/drt/trunk/unittest/racecheck_unittest 130 ==6335== Conflicting load by thread 1/1 at 0x0cb363a8 size 8 ==6335== at 0xC927332: _dl_lookup_symbol_x (in /usr/grte/v1/lib64/ld-2.3.6.so) ==6335== by 0xC92AB31: fixup (in /usr/grte/v1/lib64/ld-2.3.6.so) ==6335== by 0xC92A861: _dl_runtime_resolve (in /usr/grte/v1/lib64/ld-2.3.6.so) ==6335== by 0x41EB38: MyThreadArray::Start() (racecheck_unittest.cc:267) ==6335== by 0x40CB3C: test130::Run() (racecheck_unittest.cc:6059) ==6335== by 0x41F104: Test::Run() (racecheck_unittest.cc:161) ==6335== by 0x41616C: main (racecheck_unittest.cc:230) ... <more> the file default.supp does not seem to have anything relevant. In tsan I simply ignore everything inside ld-*.so. Helps with performance too. --kcc > > Bart. > |