[libcxx-commits] [libcxx] [libc++][test][msan] Fix bots after #67799 (PR #73152)

Vitaly Buka via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 22 14:33:56 PST 2023


vitalybuka wrote:

```
0x00007f687662439c in ?? () from /lib/x86_64-linux-gnu/libatomic.so.1
#1  0x00005560625417af in std::__1::__cxx_atomic_compare_exchange_weak[abi:ne180000]<long double>(std::__1::__cxx_atomic_base_impl<long double>*, long double*, long double, std::__1::memory_order, std::__1::memory_order) (__a=0x7fffc4b8c8b0, 
    __expected=0x7fffc4b8c5e0, __value=4.30000000000000004441, __success=std::__1::memory_order::seq_cst, 
    __failure=std::__1::memory_order::relaxed) at /b/my/libcxx_build_msan/include/c++/v1/__atomic/cxx_atomic_impl.h:446
#2  0x0000556062541484 in std::__1::__atomic_base<long double, false>::compare_exchange_weak[abi:ne180000](long double&, long double, std::__1::memory_order, std::__1::memory_order) (this=0x7fffc4b8c8b0, __e=@0x7fffc4b8c5e0: 3.10000000000000008882, 
    __d=4.30000000000000004441, __s=std::__1::memory_order::seq_cst, __f=std::__1::memory_order::relaxed)
    at /b/my/libcxx_build_msan/include/c++/v1/__atomic/atomic_base.h:79
#3  0x00005560625410e7 in std::__1::atomic<long double>::__rmw_op[abi:ne180000]<std::__1::atomic<long double>&, std::__1::plus<void>, std::__1::atomic<long double>::__fetch_add[abi:ne180000]<std::__1::atomic<long double>&>(std::__1::atomic<long double>&, long double, std::__1::memory_order)::{lambda(auto:1, auto:2, auto:3)#1}>(std::__1::atomic<long double>&, long double, std::__1::memory_order, std::__1::plus<void>, std::__1::atomic<long double>::__fetch_add[abi:ne180000]<std::__1::atomic<long double>&>(std::__1::atomic<long double>&, long double, std::__1::memory_order)::{lambda(auto:1, auto:2, auto:3)#1}) (__self=..., 
    __operand=1.19999999999999995559, __m=std::__1::memory_order::seq_cst, __operation=..., __builtin_op=...)
    at /b/my/libcxx_build_msan/include/c++/v1/__atomic/atomic.h:182
#4  0x0000556062540f1a in std::__1::atomic<long double>::__fetch_add[abi:ne180000]<std::__1::atomic<long double>&>(std::__1::atomic<long double>&, long double, std::__1::memory_order) (__self=..., __operand=1.19999999999999995559, 
    __m=std::__1::memory_order::seq_cst) at /b/my/libcxx_build_msan/include/c++/v1/__atomic/atomic.h:202
#5  0x0000556062540df0 in std::__1::atomic<long double>::fetch_add[abi:ne180000](long double, std::__1::memory_order) (
    this=0x7fffc4b8c8b0, __op=1.19999999999999995559, __m=std::__1::memory_order::seq_cst)
    at /b/my/libcxx_build_msan/include/c++/v1/__atomic/atomic.h:243
#6  0x000055606253fe6a in std::__1::atomic<long double>::operator+=[abi:ne180000](long double) (this=0x7fffc4b8c8b0, 
    __op=1.19999999999999995559) at /b/my/libcxx_build_msan/include/c++/v1/__atomic/atomic.h:262
#7  0x000055606253f646 in test_impl<long double, std::__1::type_identity_t> ()
    at /b/my/llvm-project/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.plus_equals.pass.cpp:41
#8  0x0000556062500d99 in test<long double> ()
    at /b/my/llvm-project/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.plus_equals.pass.cpp:90
#9  0x0000556062500d59 in main ()
    at /b/my/llvm-project/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.plus_equals.pass.cpp:99
(gdb) s
```

https://github.com/llvm/llvm-project/pull/73152


More information about the libcxx-commits mailing list