[llvm-bugs] [Bug 25799] New: setuid(0) hangs on power BE with tsan

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Dec 10 11:57:41 PST 2015


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

            Bug ID: 25799
           Summary: setuid(0) hangs on power BE with tsan
           Product: compiler-rt
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: seurer at linux.vnet.ibm.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The test cases projects/compiler-rt/test/tsan/setuid.c and
projects/compiler-rt/test/tsan/setuid2.c hang when run on power big endian.  It
works fine on little endian.  Note that tsan was just recently activated for
power.  To duplicate the failure just run make check-all on a power big endian
machine.

>From the comment in setuid.c it looks like this is something that has happened
before.

// Setuid call used to hang because the background tsan thread did not handle
// SIGSETXID signal. Note that we don't care whether setuid call succeeds
// or not.

-- 
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/20151210/47e36256/attachment.html>


More information about the llvm-bugs mailing list