llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.7k stars 11.87k forks source link

AddressSanitizer-x86_64-linux :: TestCases/strcmp.c is flaky on amd64 #48305

Open llvmbot opened 3 years ago

llvmbot commented 3 years ago
Bugzilla Link 48961
Version trunk
OS Linux
Blocks llvm/llvm-project#48661
Attachments asan.txt
Reporter LLVM Bugzilla Contributor
CC @tstellar,@vitalybuka

Extended Description

Failed in 1 out of 3 test runs:

FAIL: AddressSanitizer-x86_64-linux :: TestCases/strcmp.c (2235 of 7337)

/var/tmp/portage/sys-libs/compiler-rt-sanitizers-12.0.0_rc1/work/compiler-rt/test/asan/TestCases/strcmp.c:17:12: error: CHECK: expected string not found in input // CHECK: READ of size 1 ^

:2:70: note: scanning from here ==157813==ERROR: AddressSanitizer: stack-buffer-underflow on address 0x7ffe4c7102bf at pc 0x00000042ef69 bp 0x7ffe4c710290 sp 0x7ffe4c70fa38 ^ :3:1: note: possible intended match here READ of size 2 at 0x7ffe4c7102bf thread T0 ^ Full output attached.
tstellar commented 2 years ago

mentioned in issue llvm/llvm-project#48661

tstellar commented 3 years ago

This bug was not resolved in time for the 12.0.0 release, so it will have to wait for 12.0.1.

If you feel this is a high-priority bug that should be fixed for 12.0.0, please re-add release-12.0.0 to the Blocks field and add a comment explaining why this is high-priority.