https://bugs.llvm.org/show_bug.cgi?id=39664

            Bug ID: 39664
           Summary: Test getline_nohang.cc in fact hangs
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: tsan
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

I am seeing the tsan test getline_nohang.cc hang quite frequently on Linux SLES
12, on both X86_64 and AArch64.  The backtrace indicates it's stuck waiting on
an I/O lock which is exactly the behavior the test is testing for.  So it seems
the fix for this test isn't enough for some Linux variants.

(gdb) bt
#0  0x00007fb3e26cd13b in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007fb3e264cdc2 in __GI__IO_flush_all () from /lib64/libc.so.6
#2  0x00007fb3e264cebf in _IO_cleanup () from /lib64/libc.so.6
#3  0x00007fb3e260e0eb in __run_exit_handlers () from /lib64/libc.so.6
#4  0x00007fb3e260e185 in exit () from /lib64/libc.so.6
#5  0x00007fb3e25f76ec in __libc_start_main () from /lib64/libc.so.6
#6  0x0000000000420639 in _start () at ../sysdeps/x86_64/start.S:118

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to