You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Occasionally while Atom isn't the foreground window all the GUI windows for Atom will disappear, but leave behind several processes that start using 100% of the available CPU.
Steps to Reproduce
Unknown 😞
Expected behavior:
Atom not to crash.
Actual behavior:
The GUI interface entirely disappears, while several processes are left running in the background that use as much CPU as is available. Worker processes from packages (such as linter-eslint's ones) remain and aren't using CPU, it appears to be only core processes.
Reproduces how often:
At least once a day.
Versions
OS: Windows 10 x64
Atom : 1.37.0-nightly0
Electron: 3.1.3
Chrome : 66.0.3359.181
Node : 10.2.0
apm 2.1.3
npm 6.2.0
node 8.9.3 x64
atom 1.37.0-nightly0
python 2.7.15
git 2.19.1.windows.1
visual studio 2015
Additional Information
Interestingly if the crash isn't noticed and another Atom window is launched it starts a new main processes instead of launching a window on the existing (crashed) one.
Hmmm, just had this happen while right clicking on an item in the unstaged changes list of the git tab and it closed the windows when I clicked "Discard changes".
I think in most of the cases where it's crashed in the background I've been running npm install in the open project... but I have the file system watcher set to emulated based on Atom events (since my work file system is broken) so if something is seeing those changes it is ignoring that setting.
Possibly a false alarm - I think on Windows the breakpad frames are always on top of the stack. It's the non-interpreted frames above it that are interesting. Drat.
I'm trying to reproduce this one without much success so far: I'm using a Windows x64 build from the latest changes in #18916 and trying to remove and reinstall all npm packages from the atom project and the editor seems to hold well.
A couple of things have changed since this issue had been reported:
Now we use @atom/notify as the default watcher, so any crash related to the watcher is probably gone.
We've upgraded electron from v3.1.3 to v3.1.9. Based on the release notes a few crashes have been fixed between these versions.
I'll keep running tests on that build, if I cannot reproduce it at the end of the day I'll take this one for fixed (we can always reopen if we see any future crash).
If this makes a difference, I use the "Emulated with Atom Events" option (due to a terrible network share at work), so I don't think this was related to the filesystem watcher.
If this makes a difference, I use the "Emulated with Atom Events" option (due to a terrible network share at work), so I don't think this was related to the filesystem watcher.
Interesting... anyways we've just reverted the @atom/notify PR and we're not seeing crashes anyways (this can be because the upgraded nsfw version or the electron one).
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
Arcanemagus commentedon Feb 14, 2019
Hmmm, just had this happen while right clicking on an item in the unstaged changes list of the git tab and it closed the windows when I clicked "Discard changes".
So it's not limited to windows in the background.
winstliu commentedon Feb 14, 2019
Mine's died twice now while running an npm install in that project.
winstliu commentedon Feb 15, 2019
Okay, so this seems to happen frequently when there's a lot of disk operations going on in the project folder.
Arcanemagus commentedon Feb 15, 2019
I think in most of the cases where it's crashed in the background I've been running
npm installin the open project... but I have the file system watcher set to emulated based on Atom events (since my work file system is broken) so if something is seeing those changes it is ignoring that setting.DevMensIT commentedon Feb 16, 2019
i tried this and its works for me .
" %USERPROFILE%.atom "
delete it and try to open it again.
smashwilson commentedon Feb 23, 2019
It looks like this is a bug in Electron's crash handler? Here's a stack I pulled from WinDbg:
smashwilson commentedon Feb 23, 2019
Possibly a false alarm - I think on Windows the breakpad frames are always on top of the stack. It's the non-interpreted frames above it that are interesting. Drat.
rafeca commentedon May 15, 2019
I'm trying to reproduce this one without much success so far: I'm using a Windows x64 build from the latest changes in #18916 and trying to remove and reinstall all
npmpackages from the atom project and the editor seems to hold well.A couple of things have changed since this issue had been reported:
@atom/notifyas the default watcher, so any crash related to the watcher is probably gone.I'll keep running tests on that build, if I cannot reproduce it at the end of the day I'll take this one for fixed (we can always reopen if we see any future crash).
winstliu commentedon May 15, 2019
I've also been running the 3.1 branch since
@atom/notifygot merged, and I haven't seen any new crashes.rafeca commentedon May 15, 2019
Awesome! thanks for your comment @50Wliu , I'm going to close this one then (haven't seen any crash either).
Arcanemagus commentedon May 15, 2019
If this makes a difference, I use the "Emulated with Atom Events" option (due to a terrible network share at work), so I don't think this was related to the filesystem watcher.
rafeca commentedon May 16, 2019
Interesting... anyways we've just reverted the
@atom/notifyPR and we're not seeing crashes anyways (this can be because the upgradednsfwversion or the electron one).@Arcanemagus can you give a try to any recent build using electron v3 and check if you experience any crash? e.g any artifact from https://dev.azure.com/github/Atom/_build/results?buildId=40690&view=results will make trick.
Arcanemagus commentedon May 16, 2019
Ah ha, looks like there was finally a Windows build that succeeded, I'll switch over to that 😉.
lock commentedon Nov 12, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!