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
core: verified group stop reports a group gone when /proc stat is unreadable #324
Found in review of PR #323 (#320). It also exists on main.
readProcStat in packages/core/src/proc.ts returns undefined when /proc/<pid>/stat cannot be read, including EPERM. The verified group stop then treats the leader and members as absent. If every relevant read fails with EPERM, for example with /proc mounted with hidepid, stopProcessGroupVerified can report "already-dead" or "terminated" while processes remain. Chrome teardown could then remove a live profile.
Treat an unreadable stat in the stop path as unverified, not gone
Decide the outcome the stop returns in that case and how callers handle it
Test: with stat reads failing with EPERM, the stop does not report the group gone
Activity