Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AddressSanitizer/nullpointer/global_nullptr.cpp fails on DG2 #15453

Open
steffenlarsen opened this issue Sep 20, 2024 · 0 comments
Open

AddressSanitizer/nullpointer/global_nullptr.cpp fails on DG2 #15453

steffenlarsen opened this issue Sep 20, 2024 · 0 comments
Labels
bug Something isn't working confirmed

Comments

@steffenlarsen
Copy link
Contributor

steffenlarsen commented Sep 20, 2024

Describe the bug

The AddressSanitizer/nullpointer/global_nullptr.cpp is failing on DG2 after the address sanitizer test were enabled for DG2.

See https://github.com/intel/llvm/actions/runs/10955772842/job/30420746325.

Additional context

Output:

******************** TEST 'SYCL :: AddressSanitizer/nullpointer/global_nullptr.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
.../llvm/toolchain/bin//clang++  -Werror  -fsycl -fsycl-targets=spir64  .../llvm/llvm/sycl/test-e2e/AddressSanitizer/nullpointer/global_nullptr.cpp -Xarch_device -fsanitize=address -O0 -g -o .../llvm/build-e2e/AddressSanitizer/nullpointer/Output/global_nullptr.cpp.tmp
# executed command: .../llvm/toolchain/bin//clang++ -Werror -fsycl -fsycl-targets=spir64 .../llvm/llvm/sycl/test-e2e/AddressSanitizer/nullpointer/global_nullptr.cpp -Xarch_device -fsanitize=address -O0 -g -o .../llvm/build-e2e/AddressSanitizer/nullpointer/Output/global_nullptr.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 3
env ONEAPI_DEVICE_SELECTOR=level_zero:gpu  not .../llvm/build-e2e/AddressSanitizer/nullpointer/Output/global_nullptr.cpp.tmp 2>&1 | .../llvm/toolchain/bin/FileCheck .../llvm/llvm/sycl/test-e2e/AddressSanitizer/nullpointer/global_nullptr.cpp
# executed command: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu not .../llvm/build-e2e/AddressSanitizer/nullpointer/Output/global_nullptr.cpp.tmp
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: .../llvm/toolchain/bin/FileCheck .../llvm/llvm/sycl/test-e2e/AddressSanitizer/nullpointer/global_nullptr.cpp
# .---command stderr------------
# | .../llvm/llvm/sycl/test-e2e/AddressSanitizer/nullpointer/global_nullptr.cpp:28:12: error: CHECK: expected string not found in input
# |  // CHECK: ERROR: DeviceSanitizer: null-pointer-access on Unknown Memory
# |            ^
# | <stdin>:1:1: note: scanning from here
# | ZE_LOADER_DEBUG_TRACE:Using Loader Library Path: 
# | ^
# | <stdin>:2:31: note: possible intended match here
# | ZE_LOADER_DEBUG_TRACE:Tracing Layer Library Path: libze_tracing_layer.so.1
# |                               ^
# | 
# | Input file: <stdin>
# | Check file: .../llvm/llvm/sycl/test-e2e/AddressSanitizer/nullpointer/global_nullptr.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ZE_LOADER_DEBUG_TRACE:Using Loader Library Path:  
# | check:28'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             2: ZE_LOADER_DEBUG_TRACE:Tracing Layer Library Path: libze_tracing_layer.so.1 
# | check:28'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:28'1                                   ?                                             possible intended match
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--
@steffenlarsen steffenlarsen added bug Something isn't working confirmed labels Sep 20, 2024
steffenlarsen added a commit to steffenlarsen/llvm that referenced this issue Sep 20, 2024
…n DG2

The sycl/test-e2e/AddressSanitizer/nullpointer/global_nullptr.cpp test
had compilation errors whe first enabled on DG2. The compilation error
was fixed in intel#15450, but the test
fails during execution on DG2. This commit disables the test for DG2.

See intel#15453.

Signed-off-by: Larsen, Steffen <[email protected]>
steffenlarsen added a commit that referenced this issue Sep 20, 2024
…n DG2 (#15454)

The sycl/test-e2e/AddressSanitizer/nullpointer/global_nullptr.cpp test
had compilation errors whe first enabled on DG2. The compilation error
was fixed in #15450, but the test
fails during execution on DG2. This commit disables the test for DG2.

See #15453.

Signed-off-by: Larsen, Steffen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed
Projects
None yet
Development

No branches or pull requests

1 participant