<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/63908>63908</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Error #13: Assertion failure at kmp_runtime.cpp(6918)
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
orlitzky
</td>
</tr>
</table>
<pre>
While running the OpenBLAS test suite, `openblas_utest` built with clang-16.0.5 (and OpenMP support) hits this assertion and hangs the test suite:
```
TEST 35/37 potrf:smoketest_trivial [OK]
TEST 36/37 kernel_regress:skx_avx [OK]
TEST 37/37 fork:safety_after_fork_in_parent Assertion failure at kmp_runtime.cpp(6918): temp_reg_status_file_name.
OMP: Error #13: Assertion failure at kmp_runtime.cpp(6918).
OMP: Hint Please submit a bug report with this message, compile and run commands used, and machine configuration info including native compiler and operating system versions. Faster response will be obtained by including all program sources. For information on submitting this issue, please see https://bugs.llvm.org/.
Assertion failure at kmp_runtime.cpp(6918): temp_reg_status_file_name.
OMP: Error #13: Assertion failure at kmp_runtime.cpp(6918).
OMP: Hint Please submit a bug report with this message, compile and run commands used, and machine configuration info including native compiler and operating system versions. Faster response will be obtained by including all program sources. For information on submitting this issue, please see https://bugs.llvm.org/.
```
This was originally reported by another Gentoo user (https://bugs.gentoo.org/910415), but I can reproduce it myself. I believe the source is in https://github.com/xianyi/OpenBLAS/blob/develop/utest/test_post_fork.c
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzsVUFv4zYT_TXUZRBBomzZOuiQbFbft2gXCbAL9ChQ0khiTZECZ-jE_fUFZWebLhYFih5bwLBBc-bNzHujJ0WkJ4tYi_2D2D8mKvDsfO280fzb6ZJ0brjUv8zaIPhgrbYT8IzwtKJ9-Pn-CzASAwXNKOQHEGXmVrSdUdSGeCXKDLqgDcOL5hl6o-x0l5dplu5ByKOywwb1-RkorKvzLGQFs2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