| Issue |
171209
|
| Summary |
MemorySanitizer-AARCH64 :: release_origin.c test is failing with aarch64 CI
|
| Labels |
compiler-rt:msan
|
| Assignees |
|
| Reporter |
tstellar
|
Full Logs: https://github.com/llvm/llvm-project/actions/runs/19983421929/job/57407242812
Error from the logs:
```
FAIL: MemorySanitizer-AARCH64 :: release_origin.c (2365 of 4882)
******************** TEST 'MemorySanitizer-AARCH64 :: release_origin.c' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/__w/llvm-project/llvm-project/build/./bin/clang -fsanitize=memory -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -gline-tables-only -fsanitize-memory-track-origins=0 -O0 /__w/llvm-project/llvm-project/compiler-rt/test/msan/release_origin.c -o /__w/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/AARCH64/Output/release_origin.c.tmp && env MSAN_OPTIONS=soft_rss_limit_mb=18:verbosity=1:allocator_may_return_null=1 /__w/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/AARCH64/Output/release_origin.c.tmp 2>&1 | FileCheck /__w/llvm-project/llvm-project/compiler-rt/test/msan/release_origin.c -implicit-check-not="soft rss limit" -check-prefixes=CHECK,NOORIG
# executed command: /__w/llvm-project/llvm-project/build/./bin/clang -fsanitize=memory -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -gline-tables-only -fsanitize-memory-track-origins=0 -O0 /__w/llvm-project/llvm-project/compiler-rt/test/msan/release_origin.c -o /__w/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/AARCH64/Output/release_origin.c.tmp
# note: command had no output on stdout or stderr
# executed command: env MSAN_OPTIONS=soft_rss_limit_mb=18:verbosity=1:allocator_may_return_null=1 /__w/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/AARCH64/Output/release_origin.c.tmp
# note: command had no output on stdout or stderr
# executed command: FileCheck /__w/llvm-project/llvm-project/compiler-rt/test/msan/release_origin.c '-implicit-check-not=soft rss limit' -check-prefixes=CHECK,NOORIG
# note: command had no output on stdout or stderr
# RUN: at line 2
/__w/llvm-project/llvm-project/build/./bin/clang -fsanitize=memory -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -gline-tables-only -fsanitize-memory-track-origins=2 -O0 /__w/llvm-project/llvm-project/compiler-rt/test/msan/release_origin.c -o /__w/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/AARCH64/Output/release_origin.c.tmp && env MSAN_OPTIONS=soft_rss_limit_mb=36:verbosity=1:allocator_may_return_null=1 /__w/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/AARCH64/Output/release_origin.c.tmp 2>&1 | FileCheck /__w/llvm-project/llvm-project/compiler-rt/test/msan/release_origin.c -implicit-check-not="soft rss limit" -check-prefixes=CHECK,ORIGIN
# executed command: /__w/llvm-project/llvm-project/build/./bin/clang -fsanitize=memory -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -gline-tables-only -fsanitize-memory-track-origins=2 -O0 /__w/llvm-project/llvm-project/compiler-rt/test/msan/release_origin.c -o /__w/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/AARCH64/Output/release_origin.c.tmp
# note: command had no output on stdout or stderr
# executed command: env MSAN_OPTIONS=soft_rss_limit_mb=36:verbosity=1:allocator_may_return_null=1 /__w/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/AARCH64/Output/release_origin.c.tmp
# note: command had no output on stdout or stderr
# executed command: FileCheck /__w/llvm-project/llvm-project/compiler-rt/test/msan/release_origin.c '-implicit-check-not=soft rss limit' -check-prefixes=CHECK,ORIGIN
# .---command stderr------------
# | /__w/llvm-project/llvm-project/compiler-rt/test/msan/release_origin.c:37:12: error: ORIGIN: expected string not found in input
# | // ORIGIN: soft rss limit unexhausted
# | ^
# | <stdin>:80:7: note: scanning from here
# | memset
# | ^
# | <stdin>:81:1: note: possible intended match here
# | free
# | ^
# | command line:1:22: error: IMPLICIT-CHECK-NOT: excluded string found in input
# | -implicit-check-not='soft rss limit'
# | ^
# | <stdin>:82:28: note: found here
# | ==518489==MemorySanitizer: soft rss limit unexhausted (36Mb vs 17Mb)
# | ^~~~~~~~~~~~~~
# |
# | Input file: <stdin>
# | Check file: /__w/llvm-project/llvm-project/compiler-rt/test/msan/release_origin.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 75: malloc
# | 76: MemorySanitizer: Started BackgroundThread
# | 77: MemorySanitizer: RSS: 57Mb
# | 78: MemorySanitizer: StackDepot: 3 ids; 9M allocated
# | 79: ==518489==MemorySanitizer: soft rss limit exhausted (36Mb vs 57Mb)
# | 80: memset
# | check:37'0 X error: no match found
# | 81: free
# | check:37'0 ~~~~
# | check:37'1 ? possible intended match
# | 82: ==518489==MemorySanitizer: soft rss limit unexhausted (36Mb vs 17Mb)
# | not:imp1 !~~~~~~~~~~~~~ error: no match expected
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs