Fleet changelogs · dev.ecs0.net
rdmsm4x-changelog-20260916-1234-replicantdb-sigpipe-issue-20260916-14

rdmsm4x-changelog-20260916-1234-replicantdb-sigpipe-issue-20260916-14

Remediated pre-existing SIGPIPE crash in replicantDB ProcessFleetSearchTransport that caused swift test to exit rc=1 at test #522 mid-suite.

Root Cause

In ProcessFleetSearchTransport.run, the parent process writes script to stdinPipe.fileHandleForWriting. When the child process (/bin/sh -s or /usr/bin/ssh) terminates early without reading all bytes from stdin (e.g. matching CLI schema marker early, connection failure, or syntax/flag error), writing to the pipe whose reader has closed delivered POSIX SIGPIPE to the caller. Under default signal handling (SIG_DFL), this abruptly killed the xctest process mid-run with signal code 13, masking the true test outcomes.

Remediation

Verification Evidence