Open GoogleCodeExporter opened 8 years ago
The bot is red so I'll add some ignores for Mac to make it green with a TODO. http://build.chromium.org/buildbot/tsan/builders/buildbot-mac/builds/1647/steps/ test_4/logs/stdio ==47044== WARNING: Possible data race during write of size 4 at 0xB0102F10: {{{ ==47044== T10 (locks held: {}): ==47044== #0 MyThread::ThreadBody(MyThread*) unittest/bin/racecheck_unittest-darwin-x86-O0 ==47044== #1 ThreadSanitizerStartThread /private/tmp/valgrind.XeMY6i/lib/valgrind/vgpreload_tsan-debug-x86-darwin.so ==47044== Concurrent read(s) happened at (OR AFTER) these points: ==47044== T6 (locks held: {}): ==47044== #0 ??? ==47044== #1 _pthread_free_pthread_onstack /usr/lib/libSystem.B.dylib ==47044== #2 _pthread_exit /usr/lib/libSystem.B.dylib ==47044== #3 thread_start /usr/lib/libSystem.B.dylib ==47044== Race verifier data: 0x26285,0xFFFF0260 ==47044== }}} ==47044== WARNING: Possible data race during write of size 4 at 0xB038CCBC: {{{ ==47044== T150 (locks held: {}): ==47044== #0 pthread_lib_enter /private/tmp/valgrind.XeMY6i/lib/valgrind/vgpreload_tsan-debug-x86-darwin.so ==47044== #1 pthread_mutex_lock /private/tmp/valgrind.XeMY6i/lib/valgrind/vgpreload_tsan-debug-x86-darwin.so ==47044== #2 _pthread_cond_wait /usr/lib/libSystem.B.dylib ==47044== #3 pthread_cond_wait$UNIX2003 /usr/lib/libSystem.B.dylib ==47044== #4 pthread_cond_wait$* /private/tmp/valgrind.XeMY6i/lib/valgrind/vgpreload_tsan-debug-x86-darwin.so ==47044== #5 Mutex::WaitLoop(Condition) unittest/bin/racecheck_unittest-darwin-x86-O0 ==47044== #6 Mutex::LockWhen(Condition) unittest/bin/racecheck_unittest-darwin-x86-O0 ==47044== #7 ProducerConsumerQueue::Get() unittest/bin/racecheck_unittest-darwin-x86-O0 ==47044== #8 ThreadPool::Worker(void*) unittest/bin/racecheck_unittest-darwin-x86-O0 ==47044== #9 MyThread::ThreadBody(MyThread*) unittest/bin/racecheck_unittest-darwin-x86-O0 ==47044== #10 ThreadSanitizerStartThread /private/tmp/valgrind.XeMY6i/lib/valgrind/vgpreload_tsan-debug-x86-darwin.so ==47044== Concurrent write(s) happened at (OR AFTER) these points: ==47044== T143 (locks held: {}): ==47044== #0 pthread_lib_exit /private/tmp/valgrind.XeMY6i/lib/valgrind/vgpreload_tsan-debug-x86-darwin.so ==47044== #1 pthread_mutex_lock /private/tmp/valgrind.XeMY6i/lib/valgrind/vgpreload_tsan-debug-x86-darwin.so ==47044== #2 _pthread_cond_wait /usr/lib/libSystem.B.dylib ==47044== #3 pthread_cond_wait$UNIX2003 /usr/lib/libSystem.B.dylib ==47044== #4 pthread_cond_wait$* /private/tmp/valgrind.XeMY6i/lib/valgrind/vgpreload_tsan-debug-x86-darwin.so ==47044== #5 Mutex::WaitLoop(Condition) unittest/bin/racecheck_unittest-darwin-x86-O0 ==47044== #6 Mutex::LockWhen(Condition) unittest/bin/racecheck_unittest-darwin-x86-O0 ==47044== #7 ProducerConsumerQueue::Get() unittest/bin/racecheck_unittest-darwin-x86-O0 ==47044== #8 ThreadPool::Worker(void*) unittest/bin/racecheck_unittest-darwin-x86-O0 ==47044== #9 MyThread::ThreadBody(MyThread*) unittest/bin/racecheck_unittest-darwin-x86-O0 ==47044== Race verifier data: 0x20B3DEB8,0x20B3DF8B ==47044== }}}
Original issue reported on code.google.com by timurrrr on 27 May 2010 at 8:17
timurrrr
Added some ignores: http://code.google.com/p/data-race-test/source/detail?r=2156 http://code.google.com/p/data-race-test/source/detail?r=2159
Original comment by timurrrr on 27 May 2010 at 9:00
Original issue reported on code.google.com by
timurrrr
on 27 May 2010 at 8:17