Closed abhisen7 closed 2 weeks ago
Clang-15 is old Sanitizers constantly need updates for new OSes. Can you please try 18 or even better build from the HEAD?
Hi @vitalybuka , thanks for the feedback and sorry for coming back a bit late. I tried with Clang-18
, the segfaults seemed to go away but then I started running into compiler warnings/errors that are difficult to take care of atm, so I tried with Clang-15
inside a multipass env (running on the same machine), and fuzz target compiled just fine! The only diff is that my multipass VM runs Ubuntu 22.04.4
(same as CI), while host is running 22.04.3
. Not really sure what the exact issue is, but I guess we can move on for now.
I am debugging build failures with
llvm-tblgen
(compiled with ASAN), and it is SEGFAULTING very randomly.So I decided to look under
gdb
(run withaddress-randomization
disabled), and the trace is pointing to an issue during the__sanitizer::internal_mmap(void*, unsigned long, int, int, int, unsigned long long)
call, but the worst part is that this is totally random and non-deterministic.However, my project compiles just fine in CI. Would appreciate if you can help guide on what could possibly be going on here (besides a suspected RAM/CPU glitch)?
System specifics:
Ubuntu 22.04.3
,LLVM/Clang-15
(CI and local are both same)When
SEGFAULT
is raised: