-
Notifications
You must be signed in to change notification settings - Fork 96
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
Freeze when "Select Active Targets" #447
Comments
Do you get a crash report or anything actionable? Do you have any reason to suspect it's because of the genesis theme? |
@noseglid feeling pretty silly now, am also no longer able to reproduce the issue. Closed, sorry for taking up your time :/ |
I'm actually experiencing this issue right now on Windows 10. My atom is up to date, the build package is up to date... I'm not sure what's happening. |
I have the same issue, no idea where it's coming from and no crash reports (haven't waited longer than 5 minutes though). |
When did it start to happen? What have changed? Does a restart solve it? Reinstall? |
@noseglid I just installed it, along with the |
I'm guessing somethings ends up in an infinite loop. That's normally what happens when everything freezes. Is (at least) 1 CPU running at 100% when it's frozen? If so, this could be a way to debug further: https://www.joyent.com/blog/mdb-and-node-js. I have never used it for nodejs, unfortunately but something like that is the only way forward I can think of at least. |
Cool! Let me know if there's anything I can do to help from here. I think the |
For me, It's a new computer. I installed atom, installed the atom-build package, and hit [ctrl]+[alt]+[t] in order to open the targets list. So everything is a fresh install on my side of things. Not sure if I'm missing an unknown dependency somehow. I'll look at it more when I get home. |
Uninstalled/reinstalled atom and the atom-build package. I have no other packages installed at this time. I've looked through the windows event viewer, watched the resource monitor, and I can't seem to figure out what's causing it to freeze up. It won't even open the target menu; it just sits there and does nothing. |
I'm experiencing something similar. I have two projects with the same gulpfile.babel.js. In one of the project Atoms freezes when I select "Select Active Targets". The only difference between the two projects is, that in the project, where it freezes the gulpfile.babel.js is located in a subdirectory of the project. I'm on OS X 10.11 with Atom 1.8 Project 1 (works fine)
Project 2 (freezes)
|
@simonknittel Could possibly be because it's completely lacking a build file. I'll try and review the code to see if there could be any races or something similar there. Thanks for info. |
Same issue here, OS X, atom 1.8 (for more spec see). Project's files are within a subdirectory plus it has two |
In my case, it's because I was missing .atom-build.yml, in the project root. When I put that back in there it worked. |
@smonetti Thanks for the input. It shouldn't freeze even if there is no |
Same issue here. When I press F7(Ctrl+Alt+T) with Makefile, it freezes. I'm using Linux environment. My cpu is dualcore, when freezes after pressed F7, CPU usage goes about 50%. |
Same here on Linux. Atom 1.10.2 |
So many with this issue now... Anyone who is able to reproduce care to do
|
same issue here.
and one where only two .js files (no package.json or similar) were located. removed the second one from my project folders and it works now. Seems like Atom can't handle two projects when one of them is just a simple folder with some .js or so :/ |
I didn't debug but can confirm that I have the same situation as @Abszissex: one Atom "project" with multiple folders added to it. Since I have all of my hundred-something repositories in there, I'd like atom-build to only look in the current Git working directory, or only try to search up in the directory structure to the point where a |
Same issue here after upgrading to Atom 1.11 from 1.10. |
Just moved |
Interesting... @gevial Does the issue return if you put the |
@noseglid Strange, now I've moved my |
Crappy elusive bug :) |
Same error here on Ubuntu Linux -- Atom freezes on Select Targets. Adding atom-build.yml fixes it, removing atom-build.yml brings the problem back. |
when my rust project folder is already open, and I did cargo new --myrustproject to make a src , gitignore and something else. |
Currently experiencing this issue on Windows 10 Pro 64bit, Atom 1.13.0, I believe I have no valid build targets, or at least I haven't added any; I added Calling Using console logging, I have identified that it calls |
Adding ".atom-build.yml" or ".atom-build.json" did not work for me. Fresh install of Atom on Linux and the "build" package. Installing the "build-make" package fixed the issue for me. |
In TargetManager, getTargets, and by extension fillTargets, has an implicit requirement that pathTarget.targets is not empty. If it is we re-call refreshTargets which would end up with infinite recursion. The fix is to pre-emptively check before the fillTargets call
In TargetManager, getTargets, and by extension fillTargets, has an implicit requirement that pathTarget.targets is not empty. If it is we re-call refreshTargets which would end up with infinite recursion. We don't actually need to call fillTargets as we already know which targets are available, we can just set them ourselves
In TargetManager, getTargets, and by extension fillTargets, has an implicit requirement that pathTarget.targets is not empty. If it is we re-call refreshTargets which would end up with infinite recursion. We have enough information to retrace the steps fillTargets currently takes so we can just set them ourselves
Thanks to @sphaerophoria for correctly identifying the issue and providing an initial solution in #503. Fixes: #484, #447
Thanks to @sphaerophoria for correctly identifying the issue and providing an initial solution in #503. Fixes: #484, #447
Fixed by #520 |
Description
Atom freezes whenever I press
cmd-alt-t
or selectSelect Active Targets
in the command palette.I am on Atom 1.8.0 (OS X 10.11.5), and
Build
is the only enabled plugin.I am using the Genesis theme (https://atom.io/themes/genesis-ui).
The Genesis theme works fine with all my other plugins.
(if it is a problem in the theme, please let me know and I will file a bug in the appropriate project)
Steps
Outcome
Recording
The text was updated successfully, but these errors were encountered: