Skip to content

All tests segfault on arm64 & clang-10 #14756

@jrajahalme

Description

@jrajahalme

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:

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/buildstalestalebot believes this issue/PR has not been touched recently

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions