Skip to content

fix: crash when thread isolated pool is enabled in the renderer process - #40377

Merged
jkleinsc merged 1 commit into
26-x-yfrom
robo/disable_pkeys_26_x_y
Oct 31, 2023
Merged

jkleinsc merged 1 commit into
26-x-yfrom
robo/disable_pkeys_26_x_y

Conversation

@deepak1556

Copy link
Copy Markdown
Member

Description of Change

Data collected from the linked issue,

  1. Issue is isolated to Linux x64 users
  2. Issue does not happen with builds that had enable_pkeys = false
  3. Affected users run with renderer sandbox disabled which disables zygote in our case
  4. Some users have reported crash does not happen with Chromium 118
  5. I am unable to repro the issue on Ubuntu 22.04 vm with 4k page size, seems isolated to specific setups.

Given pkeys feature is only enabled on Linux x64 and is primarily used to implement thread isolated allocator whose consumer is v8 CFI which is currently disabled on this branch, I am inclined to disable the feature as there are no negative side effects. Also, given the issue is claimed to be addressed in Electron 27 and higher, this is an isolated fix which should make Electron 26 stable for the affected uesrs.

Fixes #39775

Release Notes

Notes: fix crash in renderer process due to partition allocator when sandbox is disabled

@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Oct 31, 2023
@deepak1556 deepak1556 added semver/patch backwards-compatible bug fixes backport-check-skip Skip trop's backport validity checking 26-x-y and removed new-pr 🌱 PR opened recently labels Oct 31, 2023
@jkleinsc
jkleinsc merged commit 92c9342 into 26-x-y Oct 31, 2023
@jkleinsc
jkleinsc deleted the robo/disable_pkeys_26_x_y branch October 31, 2023 21:00
@release-clerk

release-clerk Bot commented Oct 31, 2023

Copy link
Copy Markdown

Release Notes Persisted

fix crash in renderer process due to partition allocator when sandbox is disabled

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

Labels

26-x-y backport-check-skip Skip trop's backport validity checking semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants