llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
27.57k stars 11.32k forks source link

[openmp] runtime/test/affinity/Output/redetect.c test hangs #50745

Open llvmbot opened 3 years ago

llvmbot commented 3 years ago
Bugzilla Link 51403
Version unspecified
OS Linux
Blocks llvm/llvm-project#51489
Reporter LLVM Bugzilla Contributor
CC @jpeyton52,@tstellar

Extended Description

I can reliably reproduce this when building with GCC 11.2.0 and Clang 13.0.0-rc1, both when building with -O2 and -O0 -g.

This is on Linux 5.13.8, glibc 2.33, openmp release/13.x branch.

If I'm reading the backtraces right, it seems that the first thread is in wait(), while all the remaining threads are waiting on a futex.

Process 3138661 stopped

(lldb) bt error: libc.so.6 {0x00005c83}: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x42) attribute, but range extraction failed (invalid range list offset 0x42), please file a bug and attach the file at the start of this error message error: libc.so.6 {0x00005e0f}: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x37) attribute, but range extraction failed (invalid range list offset 0x37), please file a bug and attach the file at the start of this error message

(lldb) thread select 2

tstellar commented 2 years ago

mentioned in issue llvm/llvm-project#51489

jpeyton52 commented 2 years ago

I'm having trouble reproducing the hang. Is there a particular environment setting (linux kernel, linux distro, glibc version, hardware, etc.) that is critical to replicating the bug?