<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - setuid(0) hangs on power BE with tsan"
href="https://llvm.org/bugs/show_bug.cgi?id=25799">25799</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>setuid(0) hangs on power BE with tsan
</td>
</tr>
<tr>
<th>Product</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>seurer@linux.vnet.ibm.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>