<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 - Race condition in regression test bug49334.cpp"
href="https://bugs.llvm.org/show_bug.cgi?id=50739">50739</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Race condition in regression test bug49334.cpp
</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>Windows NT
</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>llvm@meinersbur.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, tianshilei1992@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>The regression test <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp occasionally fails because of a race condition
in the asynchronous data movement. The test case was introduced in
<a href="https://reviews.llvm.org/D97329">https://reviews.llvm.org/D97329</a> to fix <a href="http://llvm.org/PR49334">http://llvm.org/PR49334</a>. PR49334 was a
null dereference not a race condition.
== <a href="https://lab.llvm.org/staging/#/builders/154/builds/540">https://lab.llvm.org/staging/#/builders/154/builds/540</a>
******************** TEST 'libomptarget :: nvptx64-nvidia-cuda ::
offloading/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp' FAILED ********************
Script:
--
: 'RUN: at line 1';
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/./bin/clang++
-fopenmp -fno-experimental-isel --cuda-path=/opt/cuda -I
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test
-I
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
-L
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/libomptarget
-L
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
-fopenmp-targets=nvptx64-nvidia-cuda
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test/offloading/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp
-o
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/libomptarget/test/nvptx64-nvidia-cuda/offloading/Output/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp.tmp
&&
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/libomptarget/test/nvptx64-nvidia-cuda/offloading/Output/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp.tmp
|
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/./bin/FileCheck
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test/offloading/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp
--
Exit Code: 2
Command Output (stdout):
--
$ ":" "RUN: at line 1"
$
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/./bin/clang++"
"-fopenmp" "-fno-experimental-isel" "--cuda-path=/opt/cuda" "-I"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test"
"-I"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src"
"-L"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/libomptarget"
"-L"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src"
"-fopenmp-targets=nvptx64-nvidia-cuda"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test/offloading/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp"
"-o"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/libomptarget/test/nvptx64-nvidia-cuda/offloading/Output/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp.tmp"
# command stderr:
clang-13: warning: Unknown CUDA version. cuda.h: CUDA_VERSION=11030. Assuming
the latest supported version 10.1 [-Wunknown-cuda-version]
$
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/libomptarget/test/nvptx64-nvidia-cuda/offloading/Output/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp.tmp"
note: command had no output on stdout or stderr
error: command failed with exit status: 1
$
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/./bin/FileCheck"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test/offloading/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp"
# command stderr:
FileCheck error: '<stdin>' is empty.
FileCheck command line:
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/./bin/FileCheck
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test/offloading/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp
error: command failed with exit status: 2
--
********************
******************** TEST 'libomptarget :: x86_64-pc-linux-gnu ::
offloading/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp' FAILED ********************
Script:
--
: 'RUN: at line 1';
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/./bin/clang++
-fopenmp -fno-experimental-isel --cuda-path=/opt/cuda -I
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test
-I
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
-L
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/libomptarget
-L
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
-fopenmp-targets=x86_64-pc-linux-gnu
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test/offloading/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp
-o
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/libomptarget/test/x86_64-pc-linux-gnu/offloading/Output/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp.tmp
&&
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/libomptarget/test/x86_64-pc-linux-gnu/offloading/Output/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp.tmp
|
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/./bin/FileCheck
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test/offloading/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp
--
Exit Code: 2
Command Output (stdout):
--
$ ":" "RUN: at line 1"
$
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/./bin/clang++"
"-fopenmp" "-fno-experimental-isel" "--cuda-path=/opt/cuda" "-I"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test"
"-I"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src"
"-L"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/libomptarget"
"-L"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src"
"-fopenmp-targets=x86_64-pc-linux-gnu"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test/offloading/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp"
"-o"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/libomptarget/test/x86_64-pc-linux-gnu/offloading/Output/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp.tmp"
$
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/libomptarget/test/x86_64-pc-linux-gnu/offloading/Output/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp.tmp"
note: command had no output on stdout or stderr
error: command failed with exit status: 1
$
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/./bin/FileCheck"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test/offloading/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp"
# command stderr:
FileCheck error: '<stdin>' is empty.
FileCheck command line:
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/./bin/FileCheck
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test/offloading/<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Segfault when running code with target nowait compiled for x86 offloading"
href="show_bug.cgi?id=49334">bug49334</a>.cpp
error: command failed with exit status: 2
--
********************</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>