Skip to content

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

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions