-
Notifications
You must be signed in to change notification settings - Fork 16k
[Bug]: Received signal 11 SEGV_ACCERR 0000000005b5 - Renderer crash #36832
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
Comments
Hello @jupnit. Thanks for reporting this and helping to make Electron better! Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use. Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests. Now adding the |
This comment was marked as duplicate.
This comment was marked as duplicate.
Hello, After further analysis, I found out that this was happening because I had disabled sandboxing for preload -
When I enable sandbox, I have to remove/replace all Node.Js module usage in preload but otherwise my app works fine. But strange thing is that the app also works fine with |
I'm glad you found a workaround! Still, Electron shouldn't crash with or without sandboxing. There's nothing actionable in the crash report in the initial description, but @jupnit if you're still interested in this issue, please try isolating the crash further, e.g. with a standalone testcase that maintainers can use to try and reproduce the problem |
Hello @jupnit. Thanks for reporting this and helping to make Electron better! Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use. Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests. Now adding the |
1 similar comment
Hello @jupnit. Thanks for reporting this and helping to make Electron better! Would it be possible for you to make a standalone testcase with only t 8000 he code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use. Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests. Now adding the |
I'm also facing a similar issue, I have created a reproduction. It requires macOS to run a setup script. https://github.com/vivid-lapin/electron-v22-native-module-repro |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue on a supported version of Electron please open a new issue and include instructions for reproducing the issue. |
Preflight Checklist
Electron Version
22.0.0
What operating system are you using?
macOS
Operating System Version
macOS Monterey 12.6.2
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
21.3.3
Expected Behavior
Renderer process should not crash.
Actual Behavior
Renderer process is crashing on upgrade to electron v22. This happens in both Windows and MacOS. App is working fine with last stable electron version 21.3.3.
Unable to debug the exact root cause but we are using
[single-spa-angular](https://github.com/single-spa/single-spa-angular)
module in our project and this crash happens just after loadingsingle-spa-angular-internals.umd.js
script asynchronously.Using
export ELECTRON_ENABLE_STACK_DUMPING=true
, I get following log -Received signal 11 SEGV_ACCERR 0000000005b5
[0x00010d44b530]
[0x00010d3ea190]
[0x00010d44b4b0]
[0x0001b23934a4]
[0x000110a89a2c]
....`
The only reason we want to upgrade to electron v22 is because it comes with bumped version of
electron/get
to 2.0.0. This version ofelectron/get
has a fix for a security vulnerability as described in this issue. If this can be backported to electron version 21.3.3, we can still continue to use that version.Testcase Gist URL
No response
Additional Information
Unfortunately, I cannot upload my project or any part of it. I'm hoping people with more experience can point out how to debug this issue. Ideally to identify what's causing the problem.
The text was updated successfully, but these errors were encountered: