Skip to content

headed mode: Chromium window closes immediately on macOS 26 (Sequoia) #2138

Closed

Description

@chrisreedbates

Bug report

gstack version: 1.34.1.0 (upgrade to 1.58.5.0 available but not yet applied)
OS: macOS Darwin 25.5.0 (macOS 26 / Sequoia)
Running inside: Claude Code VSCode extension


What happens

Using $B connect (headed mode / connect-chrome skill), gstack reports a successful connection, but the visible Chromium window disappears within seconds of opening. There is no time to interact with it.

Reproduction steps

  1. Run $B connect inside Claude Code (VSCode extension).
  2. gstack prints "Connected to real Chrome", shows a PID, reports status healthy.
  3. A Chromium window appears briefly on screen.
  4. The window closes on its own within a few seconds (no user interaction).
  5. On the next $B disconnect attempt, gstack reports "server was unresponsive — force cleaned".

What works

  • $B connect returns success (PID shown, status healthy).
  • $B goto <url> navigates successfully (returns HTTP 200).
  • $B focus returns "Browser window activated".
  • Everything works at the API level; only the visible window disappears.

Additional context: Chrome profile mismatch

Regular Google Chrome is installed with multiple profiles, but none of them is the Default profile. The existing profiles are numbered: Profile 4, 9, 10, 11, 12, 13.

gstack appears to look for Default/Cookies (or similar), which does not exist. This may be contributing to the crash or early exit if gstack cannot find or load the expected profile directory and then abandons the process silently.

Expected behavior

The Chromium window should stay open and remain interactive for the duration of the session, consistent with the behavior documented for headed / connect-chrome mode.

Attempted workarounds

Reproduced multiple times with identical results. The window never stays open long enough to interact with.


Happy to provide any additional diagnostic output (e.g., gstack server logs, Chromium crash logs from ~/Library/Logs/DiagnosticReports/) if that would help narrow this down.

Activity

  1. time-attack commented on Jul 15, 2026

    @time-attack
    Contributor

    @16francej — recommend closing this issue as a duplicate of #2242. That issue tracks the currently reproduced headed-mode failure and its signed-bundle and handoff-watchdog causes, while this report predates the reproducing version. Preserve this report’s version and symptom there, and cover numbered-profile cookie selection separately with isolated-home tests.

  2. garrytan commented on Aug 15, 2026

    @garrytan
    Owner

    Same root cause as #2242: the rebrand step mutated the signed Chrome-for-Testing bundle, invalidating its signature — on macOS 26 the GPU process dies (exit_code=5) and the headed window closes immediately. Fixed in fork-port wave 2 by removing the rebrand, self-healing already-broken bundles, and a v1.65 migration that re-fetches a clean Chromium.

    Commits: a30ca53c, fb20ada4. Pinned by: browse/test/rebrand-signed-bundle.test.ts, test/migrations-v1.65.0.0.test.ts

    Ships in #2577 (v1.65.0.0).

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions