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

chore: bump electron@22.11.0 #175843

Closed
wants to merge 6 commits into from
Closed

chore: bump electron@22.11.0 #175843

wants to merge 6 commits into from

Conversation

deepak1556
Copy link
Collaborator

Disables v8 memory cage temporarily for extensions depending on native modules to make the transition https://www.electronjs.org/blog/v8-memory-cage#i-want-to-refactor-a-node-native-module-to-support-electron-21-how-do-i-do-that

@deepak1556
Copy link
Collaborator Author

@deepak1556
Copy link
Collaborator Author

Tests were crashing because native modules are built with v8 headers from https://electronjs.org/headers which has memory cage enabled https://github.com/electron/electron/blob/c3f06ef037cb2eaf649d963f13d27265a68d7018/patches/node/build_ensure_v8_pointer_compression_sandbox_is_enabled_on_64bit.patch#L52

Disabling the cage in the headers was able to resolve the crash but now the question is how do we address it for native modules shipped with extensions that build off the above headers ?

@deepak1556 deepak1556 force-pushed the robo/update_electron branch from 71a4d41 to 80df165 Compare March 3, 2023 03:08
@deepak1556 deepak1556 force-pushed the robo/update_electron branch from 88e8e46 to 24f5828 Compare March 3, 2023 09:45
@deepak1556
Copy link
Collaborator Author

We are not disabling the V8 sandbox, closing in favor of #177600

@deepak1556 deepak1556 closed this Mar 19, 2023
@deepak1556 deepak1556 deleted the robo/update_electron branch March 19, 2023 10:52
@github-actions github-actions bot locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant