Boost logo

Boost :

Subject: Re: [boost] [thread] Address sanitizer failures on marshall-mac
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2014-03-07 13:13:13


Le 07/03/14 18:53, Niall Douglas a écrit :
> On 7 Mar 2014 at 21:19, Andrey Semashev wrote:
>
>> I'm observing Boost.Log and Boost.Atomic test failures on marshall-mac with
>> AddressSanitizer enabled.
>>
>> The error messages don't contain function names but the backtraces have
>> Boost.Thread on top. I can also see similar failures in Boost.Thread:
>>
>> http://www.boost.org/development/tests/develop/developer/output/marshall-mac-boost-bin-v2-libs-thread-test-call_once_p-test-clang-darwin-asan-debug-threading-multi.html
>>
>> Is this a known problem in Boost.Thread? Can the backtraces be deciphered so
>> that function names are shown?
> I've seen these too when sanitising AFIO. I investigated a few in
> Boost.Thread and found them false positives.
>
> This isn't to say they are all false positives, just that there can
> appear to be a lot of them. We really ought to mark them up inline
> with the source using the valgrind magic macros (which I've done for
> AFIO).
>
> Niall
>
>
Hi,

I was aware of this issue, but I didn't reached to diagnose what was wrong.

Could you explain me how did you found that some of them are false
positives?
Could you provide a patch with the needed annotations?

Thanks,
Vicente


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