[llvm-bugs] [Bug 39664] New: Test getline_nohang.cc in fact hangs

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 14 12:17:32 PST 2018


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: unassignedbugs at nondot.org
          Reporter: greened at obbligato.org
                CC: llvm-bugs at lists.llvm.org

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181114/6151ff3f/attachment.html>


More information about the llvm-bugs mailing list