K 10 svn:author V 3 dim K 8 svn:date V 27 2021-12-22T10:12:05.025903Z K 7 svn:log V 971 Temporarily disable libunwind's FrameHeaderCache, until there is a resolution for . The cache implementation depends on dl_iterate_phdr(3) ensuring that its callbacks are not called simultaneously for multiple threads, but that is only the case for the dl_iterate_phdr() implementation in rtld. In a statically linked executable, libc's dl_iterate_phdr() is used, which does no such locking. If multiple threads then call into the unwinder at the same time, it is possible to trigger a segfault. In particular, the statically linked lld which is built during the cross-tools stage can segfault in this way, because it starts multiple worker threads that can exit in parallel. Since our pthread_exit(3) invokes the unwinder, it will therefore call into it in parallel too. (cherry picked from commit 9ff1cc58cd72f7109ae728ca32935cf9e8ca8ced) Git Hash: 9185066430a022a520dd8812dca34c8411c7e8aa Git Author: dim@FreeBSD.org END