Repository navigation
fix: revert enabling WASM trap handlers in all Node.js processes - #48973
Conversation
…)" This reverts commit ca0b46b.
|
This is an issue with the main process and possibly I introduced a breaking change. Basically the wasm trap handlers need to be initialized before any wasm file can be compiled, however due to the requirement of feature flag parsing the code to enable it was added once the user main script start but before app#ready is called in electron/shell/browser/electron_browser_main_parts.cc Lines 278 to 280 in 925966f NodeBindings::Initialize in
|
|
For child processes renderer and utility, it is done at the correct stages as feature list there gets initialized by content layer before our code gets invoked so it allowed moving the code earlier before user script execution. |
|
Spoke to @deepak1556 and @MarshallOfSound outside of this PR, we're going to land this clean revert to fix the crash and then do a fast follow fix 🙇♀️ |
|
Release Notes Persisted
|
|
I have automatically backported this PR to "39-x-y", please check out #48975 |
|
I have automatically backported this PR to "40-x-y", please check out #48976 |
…ctron#48973) Revert "fix: enable wasm trap handlers in all Node.js processes (electron#48788)" This reverts commit ca0b46b.
…ctron#48973) Revert "fix: enable wasm trap handlers in all Node.js processes (electron#48788)" This reverts commit ca0b46b.
…ctron#48973) Revert "fix: enable wasm trap handlers in all Node.js processes (electron#48788)" This reverts commit ca0b46b.
Description of Change
Addresses #48956
Looking into the dmp file stacktrace attached to the above issue, the wasm trap handlers appear to be crashing shortly after app launch. This PR reverts the change while we investigate and find a forward fix.
This reverts commit ca0b46b and PR #48788
Checklist
npm testpassesRelease Notes
Notes: Fixed an issue where some apps would throw an exception on launch.