Skip to content

Many sanitizer failures on OCL CPU in nightly #18516

@sarnex

Description

@sarnex

Describe the bug

https://github.com/intel/llvm/actions/runs/15059912010/job/42333365374

********************
Failed Tests (55):
  SYCL :: AddressSanitizer/aot/cpu.cpp
  SYCL :: AddressSanitizer/common/demangle-kernel-name.cpp
  SYCL :: AddressSanitizer/common/kernel-filter-aot-cpu.cpp
  SYCL :: AddressSanitizer/common/kernel-filter.cpp
  SYCL :: AddressSanitizer/common/options-debug.cpp
  SYCL :: AddressSanitizer/common/options-redzone.cpp
  SYCL :: AddressSanitizer/common/options-statistics.cpp
  SYCL :: AddressSanitizer/common/print-build-log-negative.cpp
  SYCL :: AddressSanitizer/invalid-argument/host-pointer.cpp
  SYCL :: AddressSanitizer/memory-leak/memory-leak-shared-lib.cpp
  SYCL :: AddressSanitizer/memory-leak/memory-leak.cpp
  SYCL :: AddressSanitizer/misaligned/misalign-int.cpp
  SYCL :: AddressSanitizer/misaligned/misalign-long.cpp
  SYCL :: AddressSanitizer/misaligned/misalign-short.cpp
  SYCL :: AddressSanitizer/multiple-reports/multiple_kernels.cpp
  SYCL :: AddressSanitizer/multiple-reports/one_kernel.cpp
  SYCL :: AddressSanitizer/nullpointer/global_nullptr.cpp
  SYCL :: AddressSanitizer/out-of-bounds/DeviceGlobal/device_global.cpp
  SYCL :: AddressSanitizer/out-of-bounds/DeviceGlobal/device_global_image_scope.cpp
  SYCL :: AddressSanitizer/out-of-bounds/DeviceGlobal/device_global_image_scope_unaligned.cpp
  SYCL :: AddressSanitizer/out-of-bounds/DeviceGlobal/multi_device_images.cpp
  SYCL :: AddressSanitizer/out-of-bounds/USM/large_group_size.cpp
  SYCL :: AddressSanitizer/out-of-bounds/USM/parallel_for_char.cpp
  SYCL :: AddressSanitizer/out-of-bounds/USM/parallel_for_double.cpp
  SYCL :: AddressSanitizer/out-of-bounds/USM/parallel_for_func.cpp
  SYCL :: AddressSanitizer/out-of-bounds/USM/parallel_for_int.cpp
  SYCL :: AddressSanitizer/out-of-bounds/USM/parallel_for_short.cpp
  SYCL :: AddressSanitizer/out-of-bounds/USM/parallel_no_local_size.cpp
  SYCL :: AddressSanitizer/out-of-bounds/USM/unaligned_shadow_memory.cpp
  SYCL :: AddressSanitizer/out-of-bounds/buffer/buffer.cpp
  SYCL :: AddressSanitizer/out-of-bounds/buffer/buffer_2d.cpp
  SYCL :: AddressSanitizer/out-of-bounds/buffer/buffer_3d.cpp
  SYCL :: AddressSanitizer/out-of-bounds/buffer/buffer_copy_fill.cpp
  SYCL :: AddressSanitizer/out-of-bounds/buffer/subbuffer.cpp
  SYCL :: AddressSanitizer/out-of-bounds/local/group_local_memory.cpp
  SYCL :: AddressSanitizer/out-of-bounds/local/group_local_memory_func.cpp
  SYCL :: AddressSanitizer/out-of-bounds/local/local_accessor_basic.cpp
  SYCL :: AddressSanitizer/out-of-bounds/local/local_accessor_function.cpp
  SYCL :: AddressSanitizer/out-of-bounds/local/local_accessor_multiargs.cpp
  SYCL :: AddressSanitizer/out-of-bounds/local/multiple_source.cpp
  SYCL :: AddressSanitizer/out-of-bounds/private/multiple_private.cpp
  SYCL :: AddressSanitizer/out-of-bounds/private/single_private.cpp
  SYCL :: AddressSanitizer/use-after-free/quarantine-no-free.cpp
  SYCL :: AddressSanitizer/use-after-free/use-after-free.cpp
  SYCL :: MemorySanitizer/check_buffer.cpp
  SYCL :: MemorySanitizer/check_buffer_memset_memcpy.cpp
  SYCL :: MemorySanitizer/check_call.cpp
  SYCL :: MemorySanitizer/check_device_global.cpp
  SYCL :: MemorySanitizer/check_divide.cpp
  SYCL :: MemorySanitizer/check_large_access.cpp
  SYCL :: MemorySanitizer/local/check_no_local_size.cpp
  SYCL :: MemorySanitizer/local/group_local_memory.cpp
  SYCL :: MemorySanitizer/local/local_accessor.cpp
  SYCL :: MemorySanitizer/local/parallel_for_work_group.cpp
  SYCL :: MemorySanitizer/private/single_private.cpp

 Command Output (stdout):
--
# RUN: at line 2
/__w/llvm/llvm/toolchain/bin//clang++ -D_GLIBCXX_USE_CXX11_ABI=0 -fsycl -fsycl-targets=spir64  /__w/llvm/llvm/llvm/sycl/test-e2e/MemorySanitizer/check_divide.cpp -Xarch_device -fsanitize=memory -O0 -g -o /__w/llvm/llvm/build-e2e/MemorySanitizer/Output/check_divide.cpp.tmp2.out
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -D_GLIBCXX_USE_CXX11_ABI=0 -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/MemorySanitizer/check_divide.cpp -Xarch_device -fsanitize=memory -O0 -g -o /__w/llvm/llvm/build-e2e/MemorySanitizer/Output/check_divide.cpp.tmp2.out
# note: command had no output on stdout or stderr
# RUN: at line 3
env ONEAPI_DEVICE_SELECTOR=opencl:cpu  not /__w/llvm/llvm/build-e2e/MemorySanitizer/Output/check_divide.cpp.tmp2.out 2>&1 | /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/MemorySanitizer/check_divide.cpp
# executed command: env ONEAPI_DEVICE_SELECTOR=opencl:cpu not /__w/llvm/llvm/build-e2e/MemorySanitizer/Output/check_divide.cpp.tmp2.out
# note: command had no output on stdout or stderr
# executed command: /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/MemorySanitizer/check_divide.cpp
# .---command stderr------------
# | /__w/llvm/llvm/llvm/sycl/test-e2e/MemorySanitizer/check_divide.cpp:30:12: error: CHECK: expected string not found in input
# |  // CHECK: use-of-uninitialized-value
# |            ^
# | <stdin>:1:1: note: scanning from here
# | ==== DeviceSanitizer: MSAN
# | ^
# | <stdin>:1:6: note: possible intended match here
# | ==== DeviceSanitizer: MSAN
# |      ^
# | 
# | Input file: <stdin>
# | Check file: /__w/llvm/llvm/llvm/sycl/test-e2e/MemorySanitizer/check_divide.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ==== DeviceSanitizer: MSAN 
# | check:30'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:30'1          ?                      possible intended match
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

To reproduce

No response

Environment

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions