Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

HWASAN OOMs on compilation of redis #47791

Open Quuxplusone opened 3 years ago

Quuxplusone commented 3 years ago
Bugzilla Link PR48822
Status NEW
Importance P normal
Reported by Alexander Saoutkin (a.saoutkin@gmail.com)
Reported on 2021-01-20 11:05:47 -0800
Last modified on 2021-01-29 02:53:51 -0800
Version 11.0
Hardware PC Linux
CC llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments preprocessed_source.c (459070 bytes, text/x-csrc)
Blocks
Blocked by
See also
On compilation of redis, HWASAN OOMS, with RAM steadily but quickly increasing
until oom_reaper is called.

To replicate:
1. git clone --depth 1 --branch 6.0.9 <https://github.com/redis/redis.git
2. cd redis
3. make CC=clang CXX=clang++ CFLAGS="-fsanitize=hwaddress -fno-omit-frame-
pointer" LDFLAGS="-fsanitize=hwaddress" MALLOC=libc

Environment (in QEMU):
Operating System: openSUSE Tumbleweed 20201108 JeOS
Kernel Version (custom built): 5.10-rc3

Other Notes:
The balooning RAM usage always happens after "CC redis-benchmark.o" is
outputted.
Quuxplusone commented 3 years ago

Attached preprocessed_source.c (459070 bytes, text/x-csrc): pre-processed source.