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.
Atom 1.2.0 crashes when closing a full-screen window on OS X 10.11.1 #9584
Copy link
Copy link
Closed
Description
To reproduce:
- Run
atom --safe - Make the window full-screen
- Tap
⌘-Shift-Wto close the window - Wait for the crash!
Happy to share a full dump if needed. The more interesting bits:
Process: Atom [45448]
Path: /Applications/Atom.app/Contents/MacOS/Atom
Identifier: com.github.atom
Version: 1.2.0 (1.2.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Atom [45448]
User ID: 501
Date/Time: 2015-11-13 15:08:10.822 -0800
OS Version: Mac OS X 10.11.1 (15B42)
Report Version: 11
Anonymous UUID: D2B1C999-B2A2-9608-8E2F-B5130BFB7F1E
Sleep/Wake UUID: 1C61E36F-68DB-4D79-A073-505FC8BC9455
Time Awake Since Boot: 63000 seconds
Time Since Wake: 20000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000007fc45dc3ca0
VM Regions Near 0x7fc45dc3ca0:
Memory Tag 255 00000772e2200000-00000772e22dd000 [ 884K] rw-/rwx SM=PRV
-->
Memory Tag 255 0000095bba000000-0000095bba100000 [ 1024K] rw-/rwx SM=PRV
Application Specific Information:
objc_msgSend() selector name: windowDidResize:
Global Trace Buffer (reverse chronological seconds):
5.002928 CFNetwork 0x00007fff8d2a6163 TCP Conn 0x7fc45abd44b0 SSL Handshake DONE
5.189474 CFNetwork 0x00007fff8d2a603f TCP Conn 0x7fc45abd44b0 starting SSL negotiation
5.189741 CFNetwork 0x00007fff8d2a4a0f TCP Conn 0x7fc45abd44b0 complete. fd: 54, err: 0
5.189947 CFNetwork 0x00007fff8d3331ad TCP Conn 0x7fc45abd44b0 event 1. err: 0
5.261386 CFNetwork 0x00007fff8d2a3cdf TCP Conn 0x7fc45abd44b0 started
5.291244 CFNetwork 0x00007fff8d26789e Creating default cookie storage with process/bundle identifier
5.291244 CFNetwork 0x00007fff8d267836 Faulting in CFHTTPCookieStorage singleton
5.291251 CFNetwork 0x00007fff8d2676c5 Faulting in NSHTTPCookieStorage singleton
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x00007fff91bb2e5d objc_msgSend + 29
1 com.apple.CoreFoundation 0x00007fff84f39c2f ___CFXRegistrationPost_block_invoke + 63
2 com.apple.CoreFoundation 0x00007fff84f39ba7 _CFXRegistrationPost + 407
3 com.apple.CoreFoundation 0x00007fff84f39912 ___CFXNotificationPost_block_invoke + 50
4 com.apple.CoreFoundation 0x00007fff84ef66d2 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1922
5 com.apple.CoreFoundation 0x00007fff84ef5925 _CFXNotificationPost + 693
6 com.apple.Foundation 0x00007fff9ab550fa -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
7 com.apple.AppKit 0x00007fff95e2971c -[NSWindow _setFrameCommon:display:stashSize:] + 3477
8 com.apple.AppKit 0x00007fff95e28979 -[NSWindow _setFrame:display:allowImplicitAnimation:stashSize:] + 222
9 com.apple.AppKit 0x00007fff95e28894 -[NSWindow setFrame:display:] + 67
10 com.apple.AppKit 0x00007fff95f96762 __25-[NSWindow setStyleMask:]_block_invoke + 2241
11 com.apple.AppKit 0x00007fff95e91f05 NSPerformVisuallyAtomicChange + 147
12 com.apple.AppKit 0x00007fff95f95e56 -[NSWindow setStyleMask:] + 222
13 com.apple.AppKit 0x00007fff9609569f -[NSWindow _didExitFullScreen:] + 247
14 com.apple.AppKit 0x00007fff96665489 __123-[_NSWindowFullScreenTransition _performExitFullScreenModeForWindow:windowController:options:customWindows:doKitAnimation:]_block_invoke_2 + 397
15 com.apple.AppKit 0x00007fff966651ec __123-[_NSWindowFullScreenTransition _performExitFullScreenModeForWindow:windowController:options:customWindows:doKitAnimation:]_block_invoke + 1300
16 com.apple.AppKit 0x00007fff96580a9f __177-[NSDockConnection(FullScreenMessages) sendFullScreenExitForTransition:synchronous:window:exitForClose:backgroundWindows:participatingWindows:customAnimation:completionHandler:]_block_invoke + 60
17 libxpc.dylib 0x00007fff8905a74b _xpc_connection_reply_callout + 26
18 libxpc.dylib 0x00007fff8905a6ec _xpc_connection_call_reply + 36
19 libdispatch.dylib 0x00007fff870663c3 _dispatch_client_callout + 8
20 libdispatch.dylib 0x00007fff87079c1b _dispatch_main_queue_callback_4CF + 1685
21 com.apple.CoreFoundation 0x00007fff84f63999 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
22 com.apple.CoreFoundation 0x00007fff84f229cd __CFRunLoopRun + 1949
23 com.apple.CoreFoundation 0x00007fff84f21fc8 CFRunLoopRunSpecific + 296
24 com.apple.HIToolbox 0x00007fff8d799d55 RunCurrentEventLoopInMode + 235
25 com.apple.HIToolbox 0x00007fff8d799b8f ReceiveNextEventCommon + 432
26 com.apple.HIToolbox 0x00007fff8d7999cf _BlockUntilNextEventMatchingListInModeWithFilter + 71
27 com.apple.AppKit 0x00007fff95d57d96 _DPSNextEvent + 1067
28 com.apple.AppKit 0x00007fff95d571c5 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
29 com.apple.AppKit 0x00007fff95d4bd28 -[NSApplication run] + 682
30 com.github.electron.framework 0x00000001062994a1 0x10612e000 + 1488033
31 com.github.electron.framework 0x0000000106298abc 0x10612e000 + 1485500
32 com.github.electron.framework 0x00000001062ce813 0x10612e000 + 1706003
33 com.github.electron.framework 0x000000010678de8b 0x10612e000 + 6684299
34 com.github.electron.framework 0x000000010678ddc5 0x10612e000 + 6684101
35 com.github.electron.framework 0x0000000106790272 0x10612e000 + 6693490
36 com.github.electron.framework 0x000000010678a11f 0x10612e000 + 6668575
37 com.github.electron.framework 0x000000010671401c 0x10612e000 + 6184988
38 com.github.electron.framework 0x0000000106713676 0x10612e000 + 6182518
39 com.github.electron.framework 0x000000010612ff0d AtomMain + 77
40 com.github.atom 0x0000000106122eea main + 58
41 libdyld.dylib 0x00007fff8975b5ad start + 1
Activity
winstliu commentedon Nov 13, 2015
/cc @zcbenz
silentsokolov commentedon Nov 16, 2015
+1
mistadikay commentedon Nov 17, 2015
same here
davepeck commentedon Nov 17, 2015
Seems like this might land as an issue in the
atom/electronrepo?lee-dohm commentedon Nov 19, 2015
There is extra context on Discuss here:
https://discuss.atom.io/t/bug-atom-crash-after-close-fullscreen-window-on-mac/22716
I've never been able to reproduce this, personally.
75lb commentedon Nov 20, 2015
this is a constant problem for me too, my reproduction steps are the same as above.. here is my crash log
Mac OSX 10.11.1
reproduced in Atom 1.2.3 and 1.3.0-beta3
benogle commentedon Nov 20, 2015
Note: more crash logs at #9686
OmgImAlexis commentedon Nov 26, 2015
Just a head's up, I've never had this issue with anything before El Capitan so it's definitely specific to that version of OS X.
mac: Clears the delegate when window is going to be closed
mac: Clears the delegate when window is going to be closed
13 remaining items
jahio commentedon Dec 8, 2015
That's odd, it looks like it's either hiding the minor version (.2) from you, or maybe somehow you're actually on the .0 version still, in spite of actually upgrading? I'm curious, what region does the App Store consider you to be under? I'm physically and in terms of my Apple account in the United States; if you're not, I wonder: are they holding other regions back?!
moeriki commentedon Dec 8, 2015
They might be. I'm in Europe. How old is this latest beta you're on? I've been receiving betas for OS X steadily since half a year. Started a bit before El Capitan was out.
winstliu commentedon Dec 8, 2015
/cc @zcbenz to look at @jaustinhughey's comments that this will be fixed in the next El Capitan release.
davepeck commentedon Dec 8, 2015
This bug is not fixed with the release of El Capitan 10.11.2. @zcbenz Already checked in the fix for Electron (which reads to me more like a workaround for an underlying OS X bug) so it's just a question of time before a new version of Atom is available that doesn't crash.
carlcs commentedon Dec 11, 2015
This is still an issue with OS 10.11.2 release and Atom 1.3.1.
davepeck commentedon Dec 11, 2015
This is fixed with Atom 1.4.0-beta0
Cangit commentedon Dec 12, 2015
Was this not fixed 23 days ago with Electron 0.34.5? Unfortunately the recently released Atom 1.3.0 and 1.3.1 is shipping with Electron 0.34.3 for unknown reasons. There should be a priority to get Atom 1.3.x patched with Electron 0.34.5, since 0.34.4 and 0.34.5 are just bugfix versions.
winstliu commentedon Dec 12, 2015
I'll ask the core team to consider releasing a patch release with 0.34.5.
davidhariri commentedon Dec 21, 2015
This is still an issue on El Capitan with Atom 1.3.2
lee-dohm commentedon Dec 21, 2015
@davidhariri Yes, it is fixed in the v1.4.x betas.
davidawad commentedon Dec 27, 2015
+1 still having this issue
andre0799 commentedon Dec 29, 2015
+1 (1.3.2 stable)
winstliu commentedon Dec 29, 2015
This has been fixed in the 1.4 betas already. If you are still experiencing this on 1.4.0 or later, please file a new issue. Thanks!
winstliu commentedon Jan 8, 2016
Atom 1.3.3 is now out which fixes this crash. Sorry for the delay!