Skip to content

core: verified group stop reports a group gone when /proc stat is unreadable #324

Closed

Description

@ElbertePlinio

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

  1. added
    bug
    on Oct 9, 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

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions