This happens to me less than once a day, so this is extremely hard, if not impossible, to accurately describe how to reproduce. Essentially, the whole Brackets window becomes unreponsive. It's using no CPU, very little memory, and isn't doing anything on the network. Above all, the inner window is blank. The [X] button at the top-right is also unresponsive, which (in Windows at least) is an indication that something is suffering from a deadlock.
Which ever is the case, all I can do (I think) is to provide as much information as I have handy. Let's start with my environment:
I have some plugins:
I'll attach* performance data (not sure if it's needed, especially since it's collected after I was able to restart Brackets). Preferences is going to be attached* as well.
A screenshot of the problem:
**) Attaching non-images isn't possible, so they'll be comments below. Just so this issue isn't too much text to plough through.
Performance data:
556 brackets module dependencies resolved
22 User viewstate loading
647 window.document Ready
5, 12 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/CloseOthers/package.json
5, 3 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/CSSCodeHints/package.json
5, 13 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/DarkTheme/package.json
6, 18 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/DebugCommands/package.json
6, 32 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/HTMLCodeHints/package.json
5, 23 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/HtmlEntityCodeHints/package.json
5, 58 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/InlineColorEditor/package.json
6, 31 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/InlineTimingFunctionEditor/package.json
6, 33 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/JavaScriptCodeHints/package.json
5, 12 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/JavaScriptQuickEdit/package.json
5, 15 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/JSLint/package.json
5, 11 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/LESSSupport/package.json
6, 24 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/LightTheme/package.json
5, 10 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/QuickOpenCSS/package.json
5, 9 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/QuickOpenHTML/package.json
5, 10 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/QuickOpenJavaScript/package.json
4, 45 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/QuickView/package.json
5, 43 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/RecentProjects/package.json
5, 23 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/StaticServer/package.json
5, 43 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/UrlCodeHints/package.json
5, 62 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/WebPlatformDocs/package.json
5 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/CloseOthers/requirejs-config.json
5 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/CSSCodeHints/requirejs-config.json
18 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/DebugCommands/requirejs-config.json
25 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/HTMLCodeHints/requirejs-config.json
25 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/HtmlEntityCodeHints/requirejs-config.json
26 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/InlineColorEditor/requirejs-config.json
25 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/InlineTimingFunctionEditor/requirejs-config.json
25 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/JavaScriptCodeHints/requirejs-config.json
25 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/JavaScriptQuickEdit/requirejs-config.json
25 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/JSLint/requirejs-config.json
25 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/LESSSupport/requirejs-config.json
25 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/QuickOpenCSS/requirejs-config.json
25 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/QuickOpenHTML/requirejs-config.json
25 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/QuickOpenJavaScript/requirejs-config.json
24 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/QuickView/requirejs-config.json
24 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/RecentProjects/requirejs-config.json
24 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/StaticServer/requirejs-config.json
25 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/UrlCodeHints/requirejs-config.json
24 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/WebPlatformDocs/requirejs-config.json
28 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/defs/ecma5.json
34 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/defs/browser.json
78 readAsText: C:/Program Files (x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/defs/jquery.json
15, 15 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/brackets-code-folding/package.json
14, 16 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/brackets-display-shortcuts/package.json
15, 56 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/brackets-key-remapper/package.json
15, 56 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/brackets-morecsscodehints/package.json
15, 15 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/brackets-oncopy/package.json
15, 5 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/brackets-various-improvements/package.json
15, 23 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/camden.jshint/package.json
15, 15 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/de.richter.brackets.jsonlint/package.json
15, 54 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/gruehle.markdown-preview/package.json
16, 10 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/html-block-selector/package.json
15, 9 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/ivogabe.icons/package.json
15, 13 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/mikaeljorhult.brackets-todo/package.json
15, 5 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/pflynn.charcount/package.json
15, 54 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/pflynn.svg.preview/package.json
15, 3 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/soft-dark/package.json
5, 4 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/talmand.disable-autoclose-tags/package.json
6, 52 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/tommalbran.brackets-fonts-viewer/package.json
6, 19 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/toshsharma.bookmarks/package.json
5 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/brackets-code-folding/requirejs-config.json
5 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/brackets-display-shortcuts/requirejs-config.json
4 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/brackets-key-remapper/requirejs-config.json
4 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/brackets-morecsscodehints/requirejs-config.json
5 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/brackets-oncopy/requirejs-config.json
4 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/brackets-various-improvements/requirejs-config.json
4 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/camden.jshint/requirejs-config.json
4 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/de.richter.brackets.jsonlint/requirejs-config.json
4 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/gruehle.markdown-preview/requirejs-config.json
3 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/html-block-selector/requirejs-config.json
4 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/ivogabe.icons/requirejs-config.json
4 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/mikaeljorhult.brackets-todo/requirejs-config.json
4 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/pflynn.charcount/requirejs-config.json
3 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/pflynn.svg.preview/requirejs-config.json
4 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/talmand.disable-autoclose-tags/requirejs-config.json
3 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/tommalbran.brackets-fonts-viewer/requirejs-config.json
3 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/toshsharma.bookmarks/requirejs-config.json
1 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/soft-dark/theme.less
1 FileViewController._onCurrentDocumentChange(): true
412 Load Project: D:/Klanten/Treatwell Salon Manager/
24 readAsText: D:/Klanten/Treatwell Salon Manager/includes/js/default.js
1 refreshText: D:/Klanten/Treatwell Salon Manager/includes/js/default.js
25 getDocumentForPath: D:/Klanten/Treatwell Salon Manager/includes/js/default.js
21 Editor._resetText() D:/Klanten/Treatwell Salon Manager/includes/js/default.js
15 FileViewController._onCurrentDocumentChange(): D:/Klanten/Treatwell Salon Manager/includes/js/default.js
193 EditorManager._onCurrentDocumentChange(): D:/Klanten/Treatwell Salon Manager/includes/js/default.js
196 setCurrentDocument: D:/Klanten/Treatwell Salon Manager/includes/js/default.js
221 Open File: D:/Klanten/Treatwell Salon Manager/includes/js/default.js
1872 Application Startup
230 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/extensions/user/talmand.disable-autoclose-tags/settings.json
100 readAsText: C:/Program Files (x86)/Brackets/.git/HEAD
301 CodeInspection 'JSHint': D:/Klanten/Treatwell Salon Manager/includes/js/default.js
301 CodeInspection: D:/Klanten/Treatwell Salon Manager/includes/js/default.js
3 ProblemsPanel render: D:/Klanten/Treatwell Salon Manager/includes/js/default.js
2 readAsText: C:/Users/Martijn/AppData/Roaming/Brackets/brackets.json
0 refreshText: C:/Users/Martijn/AppData/Roaming/Brackets/brackets.json
2 getDocumentForPath: C:/Users/Martijn/AppData/Roaming/Brackets/brackets.json
12 Editor._resetText() C:/Users/Martijn/AppData/Roaming/Brackets/brackets.json
19 FileViewController._onCurrentDocumentChange(): C:/Users/Martijn/AppData/Roaming/Brackets/brackets.json
105 EditorManager._onCurrentDocumentChange(): C:/Users/Martijn/AppData/Roaming/Brackets/brackets.json
7 CodeInspection 'JSONLint': C:/Users/Martijn/AppData/Roaming/Brackets/brackets.json
7 CodeInspection: C:/Users/Martijn/AppData/Roaming/Brackets/brackets.json
165 setCurrentDocument: C:/Users/Martijn/AppData/Roaming/Brackets/brackets.json
167 Open File: C:/Users/Martijn/AppData/Roaming/Brackets/brackets.json
Preferences file:
{
"useTabChar": false,
"tabSize": 4,
"spaceUnits": 2,
"closeBrackets": false,
"showLineNumbers": true,
"styleActiveLine": true,
"wordWrap": false,
"linting.enabled": true,
"linting.collapsed": true,
"quickview.enabled": true,
"mikaeljorhult.bracketsTodo.visibleFiles": [],
"mikaeljorhult.bracketsTodo.visibleTags": {
"todo": {
"tag": "todo",
"name": "TODO",
"count": 0,
"visible": true
},
"note": {
"tag": "note",
"name": "NOTE",
"count": 0,
"visible": true
},
"fixme": {
"tag": "fixme",
"name": "FIXME",
"count": 0,
"visible": true
},
"changes": {
"tag": "changes",
"name": "CHANGES",
"count": 0,
"visible": true
},
"future": {
"tag": "future",
"name": "FUTURE",
"count": 0,
"visible": true
}
},
"markdown-preview.useGFM": true,
"markdown-preview.theme": "clean",
"code-folding.folds": {
},
"mikaeljorhult.bracketsTodo.enabled": false,
"debug.showErrorsInStatusBar": false,
"Themes-for-brackets.isCustom": false,
"Themes-for-brackets.theme": "light-table",
"themes.theme": "soft-dark",
"fonts.fontFamily": "Consolas, 'SourceCodePro-Medium', MS ????, 'MS Gothic', monospace",
"fonts.fontSize": "14px",
"themes.themeScrollbars": true,
"dnbard.documents-toolbar.icons": true,
"dnbard.documents-toolbar.tooltip": false,
"brackets-various-improvements.user-prefs": {
"enabled-features": {
"case-converter": true,
"better-interface": true,
"super-clipboard": true,
"search-files": true
},
"files-extensions": [
".js",
".css",
".html"
],
"units": "byte"
},
"brackets-ruler.rulerEnabled": false,
"brackets-ruler.guideEnabled": true,
"brackets-ruler.guidePosition": 120
}
@thany If you can tolerate it for a day or two, can you try running with all extensions disabled? Any one of them could potentially be causing trouble, so it would be great to eliminate them as causes.
Also -- do you have dev tools open in Brackets? If so, make sure you're not hitting #9011.
Thanks for the followup.
No disrespect, but the tricky bit is this issue occurring so sporadically. I may well use Brackets (with extensions) for a solid week without problems. So I'm not sure that working without extensions is the best way to eliminate where the problem exists.
I might try a different route. I could keep the dev tools open all day and just start doing my normal work. Then, if this problem occurs again, hopefully the console will show some interesting information, right?
@thany You're getting a hard native crash, so the JS dev tools won't be useful. But you _can_ gather a native crash report -- that would be very helpful for us.
Cool, I'll remember that for next time then.
Not sure I'd call it a hard native crash though. I did not get the "Brackets.exe stopped working" thing. As far as Windows was concerned, Brackets was still running normally, just not doing anything.
@thany When the window goes blank like that, it is a hard native crash. You don't see the "stopped working" message on Windows because Brackets consists of several separate processes (due to Chromium architecture), and Windows for some reason doesn't show an error when only one of those processes crashes.
Hi, I have similar problem, Brackets freezes all the time. I'm using Win7.
@codeman- Sorry to hear that Brackets is freezing for you. I assume that you have read through all of the information here and none of these suggestions fixes your problem, so please open a new issue so we can get your particular details. Be sure specify your OS/version, version of Brackets (or cloned from repo), and a set of steps to reproduce the problem. Be sure to try Debug > Reload Without Extensions to make sure that an extension is not causing the problem.
hi @redmunds, actually I'm trying to not using extensions as suggested. I will see how is it going for a few days. If it's still freezing, I will try to collect the crash report and send them.
I believe I'm having the same issue, this is what it looks like on OSX

At this stage the menus are alive, but don't do anything

Update: Only way to exit it is to Force Quite the app

@DinisCruz it may look the same, but I bet your instance of this issue has a very different root cause... Since it's essentially Chromium crashing (as far as I understand it) it could be anything.
For me, it hasn't happened again just yet. So I'm getting a sneaking suspicion that low memory may have had something to do with it. My PC has 16GB, but at the time I had a couple of VM's running and one of them crashed due to low memory. I wouldn't think this could bring down Brackets in the process, since at the time Bracket was completely loaded and running and everything... But yeah, maybe I'm wrong.
@thany you might want to install Process Monitor (http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx) and under "Options > Tray Icons" select "Physical Memory History" You will see a status indicator in the system tray showing how much physical memory is available. When you see that indicator fill up you know it's time to start killing processes. You can also keep an eye on how much memory is being used by Brackets when the render process crashes and if the available system memory is really low when it does crash.
Since I run the Brackets suite of automated tests on Windows I can tell if brackets is about to die because it starts getting really slow doing simple things due to the Javascript virtual machine spending a lot of time doing Garbage Collection in order to free up memory. The tests start running really slow so I usually end up killing the main process in Process Explorer so I can restart it which is faster than letting it run its course. It usually starts happening when the render process is using up around 1.1/1.2 gb of system memory but your mileage may vary.
Let us know what you see!
For Mac users -- the system is a little better at memory management and I've found it takes a little more to bring down the process but it can still run out of memory. I run a Macbook pro with an onboard SSD that can swap to disk very fast so it doesn't exhibit the kind of performance warning that I see on Windows.
I run the program without extensions, unfortunately the problem is still there (so I use them again).
I wasn't sure that the memory is the source of the freeze at first, because even if I run Bracks together with Flash CS4, CorelDraw (and Winamp), Bracks only increase the memory about 100 mb and total used memory was less than 1.5 gb on my PC.
But on the last Brackets .dmp (from CrashDumps folder) I've found something like this:
...
DEFAULT_BUCKET_ID: INVALID_POINTER_READ
PROCESS_NAME: Brackets.exe
ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at "0x%08lx" referenced memory at "0x%08lx". The memory could not be "%s".
EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at "0x%08lx" referenced memory at "0x%08lx". The memory could not be "%s".
...
FAULTING_THREAD: 00000a54
PRIMARY_PROBLEM_CLASS: INVALID_POINTER_READ
BUGCHECK_STR: APPLICATION_FAULT_INVALID_POINTER_READ
LAST_CONTROL_TRANSFER: from 5fdf95c3 to 5fdf956e
...
STACK_COMMAND: ~9s; .ecxr ; kb
SYMBOL_STACK_INDEX: 0
SYMBOL_NAME: libcef+ff956e
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: libcef
IMAGE_NAME: libcef.dll
DEBUG_FLR_IMAGE_TIMESTAMP: 525cff02
FAILURE_BUCKET_ID: INVALID_POINTER_READ_c0000005_libcef.dll!Unknown
BUCKET_ID: APPLICATION_FAULT_INVALID_POINTER_READ_libcef+ff956e
...
Whatever that means. If Bracks dmp files could help, I can send them (whereTo?).
@codeman- The best way to get us a Windows crash dump is to use dropbox. If you have a dropbox account, you can upload it to dropbox and just post a link to it here.
@codeman- There are also some instructions here https://github.com/adobe/brackets/wiki/Crash-Logs if you want to share the crash dump using github instead of dropbox but there are also some other details about crash dumps which may be of interest.
I don't have Dropbox account. You can download my latest dump file via 4shared at: http://www.4shared.com/file/dZs8YTNqce/Bracketsexe3308.html - the link is only for few days, let me know if you have downloaded it.
I hope someone can find a solution for the freezing bracks issue.. soon.
Thanks.
@codeman- a couple days ago I found this could be useful to upload files to the issues...https://www.zenhub.io/ its a Chrome extension and hopefully would ease uploading files for review...I've used it only once, but it seems to work.
@codeman- I tried downloading from your link today but it doesn't seem to work anymore. Could you repost it?
For reference this just happened to me with the latest version
On 2 Oct 2014 07:54, "thany" [email protected] wrote:
@DinizCruz it may look the same, but I bet your instance of this issue has
a very different root cause... Since it's essentially Chromium crashing (as
far as I understand it) it could be anything.For me, it hasn't happened again just yet. So I'm getting a sneaking
suspicion that low memory may have had something to do with it. My PC has
16GB, but at the time I had a couple of VM's running and one of them
crashed due to low memory. I wouldn't think this could bring down Brackets
in the process, since at the time Bracket was completely loaded and running
and everything... But yeah, maybe I'm wrong.—
Reply to this email directly or view it on GitHub
https://github.com/adobe/brackets/issues/9285#issuecomment-57590902.
@DinisCruz Please open a separate bug because these tend to be different causes for different people. Take a look at the crash logs page for information that you can pass along to us.
@codeman- if you can post your crash log, please start a new issue with your crash log.
@thany If you are able to reproduce this again, please reopen the bug and we can pick up the discussion from there. Thanks!
I haven't seen this happening again ever since. Maybe my system hasn't met the (assumingly interesting) conditions for this to happen, or the problem has somehow dissappeared.
Thanks for the update, and I'm glad it has been working for you
Uninstalled, using Notepad++, no more losing work, problem solved.
Its freezing and cant close it in windows 10.
when launching the layout is rendering fastly too.
Most helpful comment
Uninstalled, using Notepad++, no more losing work, problem solved.