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
Electron causing kernel panic on OS X Catalina #26023
Comments
|
Thanks for reaching out! Next time, please fill out the issue template instead of deleting it. This is necessary so that we can be certain we have all the information we need to address your submission efficiently and correctly. For example, I'm assuming that you're seeing this in 9-x-y because that's the version in ZCoin's package.json, but if you'd filled out the template instead of deleting it then no guessing nor hunting would've been necessary. Thanks for understanding and meeting us half way next time! If this is identical to the panic that VS Code is seeing, I'll CC @deepak1556 for thoughts since he commented on microsoft/vscode#86913 and is active on both VS Code and Electron. |
|
Hey, sorry about the template. Next time I'll make sure to leave it. I have now experienced another panic, so I'll add another one to your file. As I said before though, it's basically the same thing as the other two issues. |
|
I have also experienced this a lot, sharing the logs from the last crash here |
|
I'm experiencing this issue aswel as of yesterday. I'm not entirely sure if this is an OS issue or an issue with Electron (or something else all together), but since my report also mentions "Electron Helper" specifically, I thought it best to post here. @sproxet @0xdeafcafe with which versions did you (start) to experience this issue? Might help to triage the issue if it's know when it started to happen. I updated from |
|
I've seen it happen on various versions of electron, but I'm current on |
|
Please report this to Apple, kernel panics are by definition an OS issue. |
|
Although perhaps fundamentally an OS issue, Electron does appear to be doing something to aggravate the issue. I've tried both electron I've reverted back to Electron 3 ( |
|
Try |
|
I'm getting the issue also only when I develop for Electron. I use VSCode all week doing mainly PHP work without touching Electron, and macOS doesn't crash at all. As soon as I start developing on Electron on the week-end (currently using Please don't close that issue assuming it's an Apple issue. I might get back to older version of Electron to see if it happens. I can't work properly lately using Electron and it's a shame |
|
Saw people in this thread using 9 and 10, and still experiencing crashes. So I thought I'd rolled back to version So something is happening from version 9 that could be worth looking into @nornagon Cheers update: Spent another week-end developing on Electron using 8, experienced 0 crash. |
|
Bump. I'm on a new Mac with a M1 chip and Big Sur and currently running Electron in development-mode is causing 3-10 kernel panics a day. It's hugely frustrating and almost making developing Electron apps impossible. If someone could get to the bottom of this that would be hugely appreciated. |
|
OK, so I narrowed down the problem -- at least for me. It had to do with chokidar which uses the underlying I hope this information helps someone track down the root cause. PS: If anyone knows of an open issue where I can post this information please let me know. I couldn't find one as of the time of this post. |
|
Just crossposting this here as it seems this issue is not dead. Obsidian is another Electron-based app that is gaining popularity and has now started suffering from a similar KP: https://forum.obsidian.md/t/kernel-panic-on-macos-11-crash-reboot/12020 |
|
Got a similar issue on electron macos 12.0.2 while using my dev build, and watching reloading with ibazel. |
|
I just experienced this in Obsidian and am now absolutely petrified that the electron-based software I'm planning to use for a gig at the Barbican in a few weeks could do this, which would be... a shame. (Probably a good insentive for me to focus on rendering out some video). |
|
Flipper causes kernel panics for me every few days |
|
I have occasional (once every a few days - a few weeks) KP with FreeTube |
FWIW I have an Electron app that involves quit a bit of switching video, and I do have some other issues with that (particularly on Windows, hopefully later I'll figure out what may be bugs in Electron vs my code vs my GPU being on the blink) but haven't witnessed any KPs with it on Mac (and I'm praying that isn't about to change!). |
I have more feedback on this:
Could edit: Kept the app running for 6 hours, still no crash. This is the first time I able to use version 12+ without KP. |
It seems that Electron Helper is causing kernel panics on OS X Catalina. I have experienced this problem repeatedly in my own code (https://github.com/zcoinofficial/zcoin-client), and have also found it referenced in two other projects:
microsoft/vscode#86913 (comment)
facebook/flipper#1477
I'm not actually able to find the exact log of my own panic, but it is the same spinlock error as referenced in the two above issues. The next time it happens I'll add it to this issue.
The text was updated successfully, but these errors were encountered: