Skip to content

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

@steffenlarsen

Description

@steffenlarsen

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

--

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions