Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: disable partition alloc on mac #33114

Merged
merged 1 commit into from Mar 1, 2022
Merged

Conversation

VerteDinde
Copy link
Member

@VerteDinde VerteDinde commented Mar 1, 2022

Description of Change

Closes #32718

After re-enabling partition alloc in Electron 17, we began seeing crashes when spawning child processes on Mac. This PR disables partition alloc for Mac builds to address the crash.

Checklist

Release Notes

Notes: Fixed an occasional crash on Mac when spawning a child process.

@VerteDinde VerteDinde added semver/patch backwards-compatible bug fixes target/17-x-y labels Mar 1, 2022
@VerteDinde VerteDinde requested review from a team as code owners March 1, 2022 21:59
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Mar 1, 2022
@VerteDinde
Copy link
Member Author

It looks like the AppVeyor crashes are also happening on other PRs, so I don't think related to this change.

Copy link
Member

@clavin clavin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks the same as last time we disabled this 👍

@VerteDinde VerteDinde merged commit 306147d into main Mar 1, 2022
@VerteDinde VerteDinde deleted the disable-partition-alloc-mac branch March 1, 2022 22:16
@release-clerk
Copy link

release-clerk bot commented Mar 1, 2022

Release Notes Persisted

Fixed an occasional crash on Mac when spawning a child process.

@trop
Copy link
Contributor

trop bot commented Mar 1, 2022

I have automatically backported this PR to "17-x-y", please check out #33116

@trop
Copy link
Contributor

trop bot commented Mar 1, 2022

I have automatically backported this PR to "18-x-y", please check out #33117

@deepak1556
Copy link
Member

Do we have additional context on why the partition allocator started crashing fork calls from uv_spawn ?

@nornagon
Copy link
Member

nornagon commented Mar 7, 2022

What's the plan for re-enabling this?

@pr0t4zy
Copy link
Contributor

pr0t4zy commented May 9, 2022

This can be reverted now, with #33114 integrated.

@erickzhao
Copy link
Member

See #33981 for WIP

khalwa pushed a commit to solarwindscloud/electron that referenced this pull request Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-pr 🌱 PR opened in the last 24 hours semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Segmentation fault in uv_spawn with Electron 17.0.0
7 participants