Skip to content

AddressSanitizer/out-of-bounds/USM/parallel_for_int.cpp fails on Linux&L0V2 #22385

Description

@KornevNikita

Describe the bug

See https://github.com/intel/llvm/actions/runs/27816415015/job/82323544081?pr=22301

  # executed command: /__w/llvm/llvm/toolchain/bin/FileCheck --check-prefixes CHECK,CHECK-SHARED --input-file /__w/llvm/llvm/build-e2e/AddressSanitizer/out-of-bounds/USM/Output/parallel_for_int.cpp.tmp.txt /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/out-of-bounds/USM/parallel_for_int.cpp
  # .---command stderr------------
  # | /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/out-of-bounds/USM/parallel_for_int.cpp:36:19: error: CHECK-SHARED: expected string not found in input
  # |  // CHECK-SHARED: ERROR: DeviceSanitizer: out-of-bounds-access on Shared USM
  # |                   ^
  # | /__w/llvm/llvm/build-e2e/AddressSanitizer/out-of-bounds/USM/Output/parallel_for_int.cpp.tmp.txt:1:1: note: scanning from here
  # | ==== DeviceSanitizer: ASAN
  # | ^
  # | 
  # | Input file: /__w/llvm/llvm/build-e2e/AddressSanitizer/out-of-bounds/USM/Output/parallel_for_int.cpp.tmp.txt
  # | Check file: /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/out-of-bounds/USM/parallel_for_int.cpp
  # | 
  # | -dump-input=help explains the following input dump.
  # | 
  # | Input was:
  # | <<<<<<
  # |           1: ==== DeviceSanitizer: ASAN 
  # | check:36     X~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
  # |           2: parallel_for_int.cpp.tmp5.out: /__w/llvm/llvm/src/unified-runtime/source/loader/layers/sanitizer/sanitizer_common/sanitizer_allocator.cpp:36: void ur_sanitizer_layer::(anonymous namespace)::validateSharedUSM(uptr, DeviceType): Assertion `(Allocated >> 44) == 0x7' failed. 
  # | check:36     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  # |           3: error: Aborted 
  # | check:36     ~~~~~~~~~~~~~~~
  # | >>>>>>
  # `-----------------------------
  # error: command failed with exit status: 1

To reproduce

  1. Include a code snippet that is as short as possible
  2. Specify the command which should be used to compile the program
  3. Specify the command which should be used to launch the program
  4. Indicate what is wrong and what was expected

Environment

  • OS: [e.g Windows/Linux]
  • Target device and vendor: [e.g. Intel GPU]
  • DPC++ version: [e.g. commit hash or output of clang++ --version]
  • Dependencies version: [e.g. the output of sycl-ls --verbose]

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions