Skip to content

Thread sanitizer UI test fails on Macos ARM64 #88131

Closed
@hkratz

Description

@hkratz

Try on a Apple Silicon Mac:

./configure --build=aarch64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false
./x.py test --stage 1  src/test/ui/sanitize/thread.rs

Expected result: Test passes.

Actual result: Test fails with:

running 1 test
test [ui] ui/sanitize/thread.rs ... FAILED

failures:

---- [ui] ui/sanitize/thread.rs stdout ----

error: error pattern ' WARNING: ThreadSanitizer: data race' not found!

error: error pattern ' Location is heap block of size 4' not found!

error: error pattern ' allocated by main thread' not found!

error: multiple error patterns not found
status: signal: 6
command: "..."
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
ThreadSanitizer: unsupported vm address limit 0x800000000000, expected 0x000fc0000000.

------------------------------------------

@rustbot label +A-sanitizer +A-llvm +O-macos +O-arm

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateO-macosOperating system: macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions