Webapp crash takes down all browser windows — add process isolation option #6250
Replies: 1 comment
|
Second independent occurrence, with a different browser and a different GPU vendor — same signature as the report above. Environment
What happened Chrome had been up for 1 day. In a Google Meet call, moved a browser window from the external monitor (2560x1080@75, HDMI) to the laptop panel (1920x1080@60, eDP). The browser process died instantly and took every window with it — normal tabs plus all seven webapps. Both scopes are the same Chrome — the browser process re-parents itself into its own Ruled out
No forensic trace at all This is the part that matches the original report most closely:
Silent death, no core, no minidump — consistent with a crash absorbed by Chrome's own handler. Same as the 6 GB / 4-day Brave case above, with an entirely different browser build and a different GPU stack. That makes a browser-specific or vendor-specific cause unlikely. Why All seven webapps launch through With Adjacent Issue #2314 ("Moving browser between monitors kill all apps") has 31 comments reporting this same cascade across Chrome, Brave, Edge, Chromium and Zen, triggered by moving windows between monitors — which is exactly the trigger here. Whatever the root fault is, isolation is what limits the damage. Also worth flagging for whoever picks up PR #4749: profile flags are browser-specific ( |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Problem
Webapps installed via
omarchy-webapp-installlaunch withbrave --app=URL, which connects to the existing main browser process. If a webapp crashes or the main process becomes unstable, all browser windows die simultaneously — including unrelated tabs and other webapps.Crash report
What happened:
brave --app=https://grok.comat 08:33brave --app=https://outlook.office.com/mail/at 08:36Resource usage at death:
Proposed solution
Add an
--isolateoption toomarchy-launch-webappthat launches webapps with--user-data-dir=, creating a fully separate browser process tree. If the isolated webapp crashes, the main browser is unaffected.This is browser-agnostic —
--user-data-diris supported by all Chromium-based browsers thatomarchy-launch-webappsupports (Chrome, Brave, Edge, Opera, Vivaldi, Helium, and the Chromium fallback). The isolated data directory is stored under~/.local/share/omarchy/webapps/<name>rather than any browser-specific config path.Trade-off: Isolated webapps don't share cookies/sessions with the main browser, so users need to log in separately.
Usage
Interactive:
omarchy-webapp-installprompts with agum confirmasking whether to isolate.Programmatic:
omarchy-webapp-install --isolate "Grok" https://grok.com/ Grok.pngPR: #4749
All reactions