You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Linux sitting guard: resolve an autobind peer one sample later before failing closed (773 race stops) #432
wrap71, the Linux sitting guard, flags an outside-peer-connection when a process in a run connects to an abstract autobind address and the guard cannot identify the holder in the same snapshot. The extended rule 773 excuses such a connection only when the snapshot already shows a Chrome or crashpad listener that belongs to the run.
A short-lived Chrome-tree process can connect, or be forked, between two samples about 107 ms apart. Its peer pid then has no record yet, or the holder is already gone. The guard fails closed and stops the step. That is correct, and it never reached a person, but it costs runs.
On 2026-11-19 this happened three times on arm64's :0 in about 8 runs that launched Chrome:
task 109's V5 at H''''';
F3's V3;
task 113's pilot.
x64's F3 V3 stopped the same way earlier. Each stop was cleared under rule 730(b) with a record.
Work
When the holder is absent or unrecorded and the connecting pid is in the run's Chrome tree, wait one more sample, or read the peer through sock_diag before judging. It still flags if the holder is foreign or never resolves.
Add negative controls:
a foreign listener on an autobind address, which still flags;
a decoy connection, which still flags.
Acceptance
Stops of this class drop to 0 across 20 runs that launch Chrome on :0.
arm64, H8 = 048140a (linux-engine 0.4.3, cua-engine dd74e19b…), counted V5 on the arm64 VM's own :0 (nobody's display), 2026-11-22T03:42:26Z. wrap71 stopped the run 80.948 s in, on one outside-peer-connection. The flagged process was the run's own Chrome: pid 1064015, comm chrome, profile and home under the run's own cua171-run-* directory, seen once at 80.92 s. Its peer was the autobind address @7bbca (inode 48322360), with no peer pid and no peer comm. There were 0 decoy connections, 0 leftovers and 0 audit rows. The run's own side was clean, and the run reached no terminal row because of the stop. Cleared on ruling 1046; the stopped dir is kept and V5 reruns whole.
Rate on arm64's :0 so far: 16 V5 sittings started (counted and development), 4 stopped, all of this outside-peer autobind class, each 8.8–80.9 s in, by the run's own Chrome or a process gone before its record. The same class stopped F3's V3 at H5 (6.6 s). x64 has had no autobind stop in 4 counted sittings. A capture sidecar (peer inode resolved against /proc at the flag, raw data kept off the repo) is being proved on arm's next V5 so the peer can be attributed.
Cause found, for one stop: arm64's V5 rerun at H8 (048140a, linux-engine 0.4.3), stopped by wrap71 7.4 s in on 2026-11-22.
A capture sidecar ran beside the sitting, outside the H8 tree. Each 100 ms it took ss -xpe into a 3 s ring. At the flag it resolved the peer inode against /proc/*/fd.
The flag: the run's chrome connected to the autobind address @cd628 (inode 48627584). wrap71 recorded no peer pid.
The peer's holder: chrome_crashpad, the run's own Chrome crash handler. Its database is under the run's own home.
Why wrap71 missed it: the handler daemonizes, so it is reparented to wrap71 itself (the subreaper), not to the harness. wrap71 attributes only the harness's subtree, so it treated the peer as outside the run and stopped. That is fail-closed. Nothing reached outside the run.
The earlier arm64 stops (H5 stopped-1, H8's first) have the same signature: a run chrome, and a peer with no pid. They are likely this class too, but unproved, since they had no capture.
Fix direction (after M5, not on H8's guard): at a flag, wrap71 resolves the peer inode's holder.
A holder that descends from wrap71 itself is the run's own, and the run continues.
Any other holder, or no holder found, still stops.
Activity
SSFSKIM commentedon Nov 22, 2026
arm64, H8 = 048140a (linux-engine 0.4.3, cua-engine dd74e19b…), counted V5 on the arm64 VM's own :0 (nobody's display), 2026-11-22T03:42:26Z. wrap71 stopped the run 80.948 s in, on one outside-peer-connection. The flagged process was the run's own Chrome: pid 1064015, comm chrome, profile and home under the run's own cua171-run-* directory, seen once at 80.92 s. Its peer was the autobind address @7bbca (inode 48322360), with no peer pid and no peer comm. There were 0 decoy connections, 0 leftovers and 0 audit rows. The run's own side was clean, and the run reached no terminal row because of the stop. Cleared on ruling 1046; the stopped dir is kept and V5 reruns whole.
Rate on arm64's :0 so far: 16 V5 sittings started (counted and development), 4 stopped, all of this outside-peer autobind class, each 8.8–80.9 s in, by the run's own Chrome or a process gone before its record. The same class stopped F3's V3 at H5 (6.6 s). x64 has had no autobind stop in 4 counted sittings. A capture sidecar (peer inode resolved against /proc at the flag, raw data kept off the repo) is being proved on arm's next V5 so the peer can be attributed.
SSFSKIM commentedon Nov 22, 2026
Cause found, for one stop: arm64's V5 rerun at H8 (048140a, linux-engine 0.4.3), stopped by wrap71 7.4 s in on 2026-11-22.
A capture sidecar ran beside the sitting, outside the H8 tree. Each 100 ms it took
ss -xpeinto a 3 s ring. At the flag it resolved the peer inode against /proc/*/fd.The earlier arm64 stops (H5 stopped-1, H8's first) have the same signature: a run chrome, and a peer with no pid. They are likely this class too, but unproved, since they had no capture.
Fix direction (after M5, not on H8's guard): at a flag, wrap71 resolves the peer inode's holder.
Tests:
#171 M5: the counted reach at H8 on 0.4.3 in the Decision Log (ruling…