[PATCH] D39038: Mark lld/test/ELF as flaky.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 20 10:00:40 PDT 2017


NAKAMURA Takumi via Phabricator via llvm-commits
<llvm-commits at lists.llvm.org> writes:

> chapuni added a comment.
>
> Reproduced with RelWithDebInfo.
> Crashing in pthread_detach.
>
>   #0  pthread_detach (th=140643334551296) at pthread_detach.c:50

This is probably

if ((pd->cancelhandling & EXITING_BITMASK) != 0)

Can you confirm what is the glibc version? Is see gcc 4.8 in the
backtrace, so this is probably an old system.

>   #1  0x00007fea272cf875 in __gthread_detach (__threadid=<optimized out>)
>       at /build/buildd/gcc-4.8-4.8.4/build/x86_64-linux-gnu/libstdc++-v3/include/x86_64-linux-gnu/bits/gthr-default.h:674
>   #2  std::thread::detach (this=this at entry=0x7fea21648e30)
>       at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:121
>   #3  0x00007fea278defe8 in operator() (__closure=0x9fbbe8)
>       at /home/tnakamura/llvm/llvm-project/llvm/lib/Support/Parallel.cpp:80
>   #4  _M_invoke<> (this=0x9fbbe8) at /usr/include/c++/4.8/functional:1732
>   #5  operator() (this=0x9fbbe8) at /usr/include/c++/4.8/functional:1720
>   #6  std::thread::_Impl<std::_Bind_simple<(anonymous namespace)::ThreadPoolExecutor::ThreadPoolExecutor(unsigned int)::__lambda5()> >::_M_run(void) (
>       this=0x9fbbd0) at /usr/include/c++/4.8/thread:115
>   #7  0x00007fea272cfa40 in std::(anonymous namespace)::execute_native_thread_routine (__p=<optimized out>)
>       at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84
>   #8  0x00007fea26a3b184 in start_thread (arg=0x7fea21649700)
>       at pthread_create.c:312
>   #9  0x00007fea26f52ffd in clone ()
>       at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
>
> I will investigated later what happened.
>
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D39038
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list