Skip to content

Electron apps crash on systems with 16K page size #45560

Closed

Description

@waltmck

Preflight Checklist

Electron Version

34.0.2

What operating system(s) are you using?

Other Linux

Operating System Version

Linux 6.12.12-asahi

What arch are you using?

arm64 (including Apple Silicon)

Last Known Working Electron version

33.3.2

Expected Behavior

Electron 34 apps do not crash when run on an ARM system with 16K page size (support for which is architecturally required by the ARM64 spec).

Actual Behavior

They do in fact crash.

Testcase Gist URL

No response

Additional Information

The upgrade to Chromium 132 introduced this severe bug which crashes the renderer on systems using 16K pages due to an incorrect hard-coded page size. Chromium 134 will include a fix for the issue, but they do not seem interested in backporting it to Chromium 132. Per the discussion on the upstream bug, your two options are:

  • Backport the fix and maintain it as a patch to Chromium 132
  • Pass --js-flags="--nodecommit_pooled_pages" to Chromium.

Activity

  1. moved this to 👀 Unsorted Items in 34-x-yon Feb 10, 2025
  2. added
    bug/regression ↩️
    on Feb 11, 2025
  3. self-assigned this
    on Feb 11, 2025
  4. advait-zx commented on Feb 17, 2025

    @advait-zx

    Integrate the patch into the Chromium 132 codebase used by your Electron application.
    where's the source code?

  5. codebytere commented on Feb 17, 2025

    @codebytere
    Member

    Closed by #45571

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

Metadata

Metadata

Assignees

Labels

34-x-ybug 🪲bug/regression ↩️crash 💥platform/linux

Type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions