Skip to content

Intermittent CI issue: AssertionError: Unexpected stderr LLVM ERROR: IO failure on output stream: Broken pipe != #36388

Closed

Description

@maflcko

Looks like there are new intermittent CI issues of the form AssertionError: Unexpected stderr LLVM ERROR: IO failure on output stream: Broken pipe !=.

Not sure when they started happening? Maybe after #36100?

It could make sense to try to reproduce/bisect and fix this upstream in LLVM and possibly temporarily use llvm 22?

Examples:

Activity

  1. fanquake commented on Sep 30, 2026

    @fanquake
    Member

    Not sure when they started happening? Maybe after #36100?

    Possibly. There seem to be reports of similar failures, in different contexts, from at least Clang 21.x: llvm/llvm-project#174173.

  2. maflcko commented on Sep 30, 2026

    @maflcko
    MemberAuthor

    I guess this is halfway expected:

    • Bitcoin Core ignores sigpipe:
    src/init.cpp-939-    // Ignore SIGPIPE, otherwise it will bring the daemon down if the client closes unexpectedly
    src/init.cpp:940:    signal(SIGPIPE, SIG_IGN);
    
    • The llvm-symbolizer inherits that, and when asked for ubsan suppressions over a pipe, and when that pipe gets closed (by Bitcoin Core getting killed by the test), it falls back to printing that error.

    So I guess this could just use a graceful termination instead of a kill?

  3. added a commit that references this issue on Oct 7, 2026
  4. added a commit that references this issue on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions