Skip to content

Conversation

@voidnullvalue
Copy link

Ubuntu LTS (22.04+) prevents Electron's sandbox from launching due to seccomp-blocked clone3() syscall, causing renderer crashes.

This patch:

  • Disables sandbox: true in BrowserWindow (main window only)
  • Updates package.json to launch with --no-sandbox via CLI

Tested on Ubuntu — app launches and device panels now work without crashing.

Note: createWorker() still uses sandboxed config; may need follow-up.

@w00000dy
Copy link
Owner

Thanks for the PR!

While this fixes the clone3 crash, I am concerned about the security implications of completely disabling the sandbox.

Have you tried simply updating the Electron version instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants