Skip to content

desktop: viewer stop never signals a zombie Chrome leader that still has live threads #329

Closed

Description

@ElbertePlinio

Found in review of the fix for #327 (branch fix/324-327-proc-stop-unverified).

signalOwnedViewerProcesses in packages/desktop-linux/src/viewer-state.ts checks the leader with processIdentityMatches and members with readProcessIdentity. Both treat every zombie as dead. So when the Chrome leader is a zombie that still has live threads, the viewer stop sends no signal, waits, and throws ViewerProcessesAliveError.

After #327 the launch directory and profile are kept in that case, so no data is lost. But the viewer cannot finish such a group by itself. Core stopProcessGroupVerified can signal that group, because its leader identity stays verifiable while the leader is a zombie.

  • Let the viewer stop signal a verified zombie leader or member that still has live threads
  • Test: the viewer stop ends a real zombie leader with a live thread and then removes the launch

Activity

  1. added
    bug
    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

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions