rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
95.17k stars 12.27k forks source link

Leak sanitizer UI test hangs on Macos ARM64 #88132

Open hkratz opened 2 years ago

hkratz commented 2 years ago

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/leak.rs

Expected result: Test passes.

Actual result: Test hangs:

running 1 test
test [ui] ui/sanitize/leak.rs has been running for over 60 seconds

See also: #88131

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

hkratz commented 2 years ago

This problem is still reproducible with LLVM 13.

Jules-Bertholet commented 3 months ago

@rustbot label A-sanitizers

Coder-256 commented 2 months ago

The test seems to pass now (tested with ./x.py test --stage 1 tests/ui/sanitizer/leak.rs), would it be reasonable to consider re-enabling leak sanitizer on aarch64-apple-darwin now?