-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Mac OSX - Freeze - Grey Screen (in project using enchant.js) #7308
Comments
I'm having the same problem. It seems to have started yesterday when I was using Brackets 36. Upgraded to 37 and also rebooted, problem remains. It happens quite often, sometimes after 2 minutes, the last time after 30 minutes. I seem to have collected quite a few crash-reports on my system, I will try to attach them to this issue. Edit: I can't find how to attach a zip-file. I have a zip-file with about 10 crash-reports regarding this issue sitting here. Here is a dump of the last crash (I checked the other crashes and they also show that the WebCore: Worker thread crashes): (pflynn: Edit: moved to https://gist.github.com/peterflynn/ce072a1ab1ea7d550b2c to improve readability) |
Marking high priority - we should try to symbolize this stack trace. |
@IjzerenHein - you can't upload zip files unfortunately, but maybe you could paste a few more stack traces into gists on gist.github.com and post links to them here. Thanks! |
@njx - I've placed the crash dumps here: https://gist.github.com/IjzerenHein/9766462 |
@dangoor - it looks like this is in the Tern worker, so assigning to you. @IjzerenHein - thanks! |
@IjzerenHein Is it possible to estimate how many .js files are in your project, and how many KB/MB those files comprise in total? Do you have a large set of |
@peterflynn, Yes there are quite a bit of files, see this gist: https://gist.github.com/IjzerenHein/9773968 It basically consists of the ionic seed project: |
Seems to be related to #7262. |
After reading #7262, I took some screenshots of the activity monitor. It seems to be related to the Brackets Helper: |
@ooJulien Can you please take a look at #7262 and see if the excluding directories workaround solves your problem too? It appears that it addresses @IjzerenHein's reported issue, but we want to hear from you before deciding how to handle this specific issue. Thanks! |
@bchintx I am going to need some help to try this workaround as I do not know how to implement it in my project (beginner here...) :( Not sure I am having the same issue on my side though: the only framework I am using is enchant.js and my main.js file was still small the first time I encountered this issue. main.js: My project folder only includes three files: enchant.js, main.js and an index.html |
@ooJulien Thanks for the details about your project. That will help, especially if I can reproduce what you're seeing. Just to double check something: was the enchant.js the uncompressed enchant.js or is it enchant.min.js? I'm trying to reproduce the issue with enchant.js. |
So far, running release 37 on Mac OS 10.9.2, with main.js as above and enchant.js, I have been unable to reproduce the crash and I'm even getting decent code hints when I type |
@dangoor I was using the uncompressed enchant.js when it happened. |
@ooJulien I'm still not able to reproduce this crash. One thing I will say is that it's not dissimilar to others we've seen and I'm hoping that rearchitecting our JS code hints integration will allow us to reduce the impact. In the meantime, you could add enchant.js to excluded files in the JS code hints. It's sad that you won't get code hints for that, but it's better than crashing... |
Adjusting priority to medium, as this is similar to other issues we've seen. |
The issue @IjzerenHein mentioned is definitely a dupe of #7262 (Ionic related crashes), so I've retitled this to describe @ooJulien's issue more specifically |
I know it will seems weird but I had similar issue with tern worker moving to very high CPU (like 600%) on mac os, and sometimes crash, I debugged a bit the tern worker and it seems that
after updating it to :
it worked, my project is a bit strange (it use flow file with type annotations guess it's not helping acorn) has a lot of node_modules. |
I have noticed that it does not always seem to halt on a file with a real problem. I would guess that Flow type annotations would indeed confuse Acorn. |
What happens:
The screen turns grey. Brackets does not respond anymore.
How to reproduce:
There is no clear pattern to trigger this issue. Already happened while typing or navigating between applications.
Brackets version: Sprint 37
OS version: OSX Mavericks 10.9.2
Reproduced using the "reload without extensions" option.
Similar to: brackets-userland/brackets-git#149
The text was updated successfully, but these errors were encountered: