-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[Core][Win8 x86 OS only]: Brackets will crash if reload Brackets after cancelling the extension updating. #4331
Comments
So it turns out that it is a timing issue with tearing down the app. Here is the thread that crashes call stack:
Here is the main thread's callstack:
I'm not sure why atexit() is being called: |
Tracking this issue as it is a CEF bug and may have existed in previous versions of Brackets/CEF. Reducing priority to medium |
This seems like it's higher priority now since it's been reported in another scenario. We should probably call on the CEF team to help us out even though this was not reproducible in the reference app. Marking this one "needs review" so we can discuss it with the ARB |
There is another scenario that needs to be checked here: |
Making this high priority since we're tracking other scenarios |
This one is related to #4522. If I don't have any files open then Brackets will not crash. Continuing to investigate separately until we have a stack trace for the crash on the Mac but it's starting to feel like those two are the same crash. |
Not sure they're related...this one doesn't require dev tools to be open, whereas #4522 does. |
(at least as far as I can tell...I can't repro it on Mac with dev tools closed.) |
@njx does 4522 still crash without open any files open? |
No, and it seems sensitive to the type of file that's open. I'll add more comments there. |
@julieyuan can you confirm that using the next nightly build and having devtools open when changing languages does not crash. We're trying to narrow this one down and it looks like leaving devtools open with the changes from adobe/brackets-shell#282 fixes the issue. We're working with the CEF team and Adobe to try to figure out why but it would help us if you could confirm it. |
@JeffryBooher , I checked it in latest build 0.28.0.8470, on win8x86 English OS. If I let devtools open and switch between different languages, brackets doesn't crash. but if the devtools doesn't open,and then I switch languages from Chinese to English, Bracktes will crash. Here is the snapshot for changing languages with devtools opening: |
Bumping the priority down on this and removing the milestone. It seems that it only crashes on Windows 8 32 bit and it's something in CEF that is crashing. We have an issue open with the CEF team to isolate the cause of the crash but it's not reproducible with the reference app. Also leaving dev tools open avoids the crash. |
Additional Notes to maintain concurrency: The CEF Team has been investigating this and filed an issue with the chromium project: And submitted a patch to fix it. The patch will most likely be rejected but it does serve as a spring board to get the discussion going. It looks like the issue has gotten some traction by a couple of chromium contributors. |
@julieyuan can you reproduce it with Sprint 30? We introduced a new CEF that fixed quite a number of crashers so hopefully this is one of them. |
Hi @JeffryBooher , I checked this issue with Sprint 31(0.31.0-9351). This issue not reproduces. But the related issue #4365 still happening. Should I close this one and reopen #4365? Or I just keep this one open to track this kind staff? |
@julieyuan that's fine. Close this one and reopen #4365 |
Ok. Thanks. Closing it. |
Steps:
Results:
The Brackets will crash and pop up the crash dialog.
Expected:
It should be reloaded successfully.
ENV: Win8 x86 ENU. Not reproduce in Win7 OS, Win8x64 or MAC.
Build: 0.27.0.8201
Comments:
Here is the error log in crash dialog to offer more info.
Problem signature:
Problem Event Name: APPCRASH
Application Name: Brackets.exe
Application Version: 0.27.0.0
Application Timestamp: 51c6bbea
Fault Module Name: libcef.dll
Fault Module Version: 3.1453.1255.0
Fault Module Timestamp: 518b812f
Exception Code: c0000005
Exception Offset: 011054db
OS Version: 6.2.9200.2.0.0.256.4
Locale ID: 1033
Additional Information 1: 55bd
Additional Information 2: 55bdb125e5f5eebba32ff4470f6d6db1
Additional Information 3: d8e7
Additional Information 4: d8e728cfa3b4627b86f2920172200c49
Please refer to screenshot for details:

The text was updated successfully, but these errors were encountered: