https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112692
Bug ID: 112692
Summary: LSAN is not compatiable with qemu user
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Keywords: testsuite-fail
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at
gcc dot gnu.org
Target Milestone: ---
For an example:
```
spawn qemu-aarch64 ./pr79196.exe
==1949451==LeakSanitizer has encountered a fatal error.
==1949451==HINT: For debugging, try setting environment variable
LSAN_OPTIONS=verbosity=1:log_threads=1
==1949451==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)
FAIL: gcc.dg/asan/pr79196.c -O0 execution test
```
Would be useful not to cause a fatal error like this while running on qemu
user.
This is the failure left from what I sent out back in 2020:
https://inbox.sourceware.org/gcc-patches/CA+=Sn1kH8UpByHo7FKAeZPT=rasjalespsxw9sztze_qg4e...@mail.gmail.com/
The coloring issue I mentioned there has since been fixed, I have not looked
into why though.