KernelAddress

Results comments of KernelAddress

It's in there: $ nm -A libstdc++.so.6.0.19 | egrep "shared|counted" libstdc++.so.6.0.19:00000000000bb9c0 W _ZNKSbIwSt11char_traitsIwESaIwEE4_Rep12_M_is_sharedEv libstdc++.so.6.0.19:00000000000b9020 W _ZNKSs4_Rep12_M_is_sharedEv libstdc++.so.6.0.19:00000000000b0b50 t _ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EEaSERKS2_ libstdc++.so.6.0.19:00000000000b0c20 t _ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv libstdc++.so.6.0.19:00000000000b0d80 T _ZNSt6thread15_M_start_threadESt10shared_ptrINS_10_Impl_baseEE _Sp_counted_base::_M_release has lots of atomics,...

>Sure I have a plan: build it from source! Do you mean that msan-instrumented libstdc++ distributed with clang and linked in when -fsanitize=memory? >What is the preferred solution? Suppression? This...

Reports in std::shared_ptr are false. The problem is that libstdc++ is not instrumented, in particular tsan misses atomic reference counters. Evgeniy, you must have more serious issues with libstdc++ in...

There are 2 problems with code generation: 1. The increment of x is compiled to load-inc-store, instead of single inc instruction. I think this issue is minor performance-wise. Compiling of...

Filed https://code.google.com/p/thread-sanitizer/issues/detail?id=45

Makes sense. I agree that suppressions need to work for all reports.

This does not work with mutexes, you need some kind of semaphore for this use case. Implementations of pthread will start switching to transactional memory by default soon, and this...

Unlock of a non-locked mutex is a very serious error. It's better to fix it asap. We never had a need to suppress it. What is your use case?

But we need online symbolization for tsan, so it's not "as in other tools".