<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - Runtime seg-faults when OMP_THREAD_LIMIT is set and "target teams" construct is used"
href="https://bugs.llvm.org/show_bug.cgi?id=42906">42906</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Runtime seg-faults when OMP_THREAD_LIMIT is set and "target teams" construct is used
</td>
</tr>
<tr>
<th>Product</th>
<td>OpenMP
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Runtime Library
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>satzeni@nvidia.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=22347" name="attach_22347" title="Reproducer for the bug">attachment 22347</a> <a href="attachment.cgi?id=22347&action=edit" title="Reproducer for the bug">[details]</a></span>
Reproducer for the bug
Compile and run in the following way:
$ clang -fopenmp test.c
$ OMP_THREAD_LIMIT=8 ./a.out
OMP: Warning #96: Cannot form a team with 192 threads, using 8 instead.
OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS),
KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
Assertion failure at kmp_runtime.cpp(2434): other_threads[i].
OMP: Error #13: Assertion failure at kmp_runtime.cpp(2434).</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>