Boost logo

Boost :

Subject: Re: [boost] [thread] Testing with Sanitisers (ASAN, TSAN, MSAN)
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2015-03-13 02:54:07


Le 13/03/15 07:49, Vicente J. Botet Escriba a écrit :

Other report this issue

WARNING: ThreadSanitizer: data race (pid=4677)
...

   Location is global 'std::__1::cout' of size 160 at 0x7f6d813c1b40 (libc++.so.1+0x0000002b8bd8)

See the full report here [1].

The test is using std::cout in a multi-threaded env.

Is this telling that the standard library has a data race?

Best,
Vicente

[1]
http://www.boost.org/development/tests/develop/developer/output/BenPope%20x86_64%20Ubuntu-boost-bin-v2-libs-thread-test-ex_not_interleaved2-test-clang-linux-3-6~tsan~c14_libc++-debug-address-model-64-architecture-x86-threading-multi.html


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk