intel / intel/llvm

AddressSanitizer/nullpointer/global_nullptr.cpp fails on DG2

Open
#15,453 1 comment 0 reactions 1 assignee Claimed by @AllanZyne View on GitHub
bug confirmed
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

### 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
# | ^
# | :1:1: note: scanning from here
# | ZE_LOADER_DEBUG_TRACE:Using Loader Library Path:
# | ^
# | :2:31: note: possible intended match here
# | ZE_LOADER_DEBUG_TRACE:Tracing Layer Library Path: libze_tracing_layer.so.1
# | ^
# |
# | Input file:
# | 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

--
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.