-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area/buildstalestalebot believes this issue/PR has not been touched recentlystalebot believes this issue/PR has not been touched recently
Description
All bazel tests SEGFAULT after otherwise completing all test cases successfully when compiled with clang-10 on arm64. This appears to be a clang-10 bug affecting Envoy tests via code in gperftools heap checker. See related bug reports:
- gperftools issue: Heap checker compiled on clang-10 crashes on SysCalls::wait4() on arm64 gperftools/gperftools#1241
- clang Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=48798
Since Envoy binary only crashes if run with HEAPCHECK defined (e.g., HEAPCHECK=normal), and then only when the process exits, I'm not repeating stack traces here (see the linked bug reports above).
While a compiler bug like this may seem concerning, the code pattern under which the SEGFAULT happens seems to be fairly specialized (low-level syscall inline assembly in a C++ class member function).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/buildstalestalebot believes this issue/PR has not been touched recentlystalebot believes this issue/PR has not been touched recently