Skip to content
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

Can't open on Mac "Application Not Responding" #6160

Closed
1 task done
tao opened this issue Jun 1, 2023 · 6 comments
Closed
1 task done

Can't open on Mac "Application Not Responding" #6160

tao opened this issue Jun 1, 2023 · 6 comments
Labels
defect [core label] panic / crash [core label]

Comments

@tao
Copy link

tao commented Jun 1, 2023

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

I just downloaded Zed 0.88.3 to try it out for the first time but the app won't open. It goes straight to an "Application Not Responding" error.

I tried this on Mac 13.3 and then tried updating to 13.4 and it didn't help.

I have a new Mac mini Apple M2 Pro, with 16GB of Ram.

Environment

I can't open the app.

If applicable, add mockups / screenshots to help explain present your vision of the feature

I can't open the app.

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.

Zed.log

@tao tao added admin read Pending admin review defect [core label] triage Maintainer needs to classify the issue labels Jun 1, 2023
@54m1r
Copy link

54m1r commented Jun 1, 2023

I ran into the same issue on macOS 13.3.1.

@knopp
Copy link

knopp commented Jun 1, 2023

Here's the stacktrace from main thread:

Call graph:
    2451 Thread_114785   DispatchQueue_1: com.apple.main-thread  (serial)
    + 2451 start  (in dyld) + 2544  [0x182f0fe50]
    +   2451 main  (in zed) + 52  [0x1041374c4]
    +     2451 std::rt::lang_start_internal::h91996717d3eb1d2a  (in zed) + 648  [0x106974a00]
    +       2451 std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hc3f148c1ca5179e3  (in zed) + 16  [0x104188374]
    +         2451 std::sys_common::backtrace::__rust_begin_short_backtrace::hb1a10f7055dd7300  (in zed) + 12  [0x104138c14]
    +           2451 Zed::main::hf6ac4bf48b833618  (in zed) + 3092  [0x1041357dc]
    +             2451 gpui::app::App::run::hdb6e06032b32dfe9  (in zed) + 208  [0x104155a40]
    +               2451 _$LT$gpui..platform..mac..platform..MacForegroundPlatform$u20$as$u20$gpui..platform..ForegroundPlatform$GT$::run::h2e12df4f720a961a  (in zed) + 328  [0x106505e2c]
    +                 2451 -[NSApplication run]  (in AppKit) + 464  [0x186590e0c]
    +                   2451 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]  (in AppKit) + 728  [0x18659c9dc]
    +                     2451 _DPSNextEvent  (in AppKit) + 1412  [0x18659db58]
    +                       2451 AEProcessAppleEvent  (in HIToolbox) + 68  [0x18ca0950c]
    +                         2451 aeProcessAppleEvent  (in AE) + 488  [0x189664240]
    +                           2451 ???  (in AE)  load address 0x189660000 + 0xb1a0  [0x18966b1a0]
    +                             2451 ???  (in AE)  load address 0x189660000 + 0xb874  [0x18966b874]
    +                               2451 _NSAppleEventManagerGenericHandler  (in Foundation) + 80  [0x1841f9498]
    +                                 2451 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:]  (in Foundation) + 316  [0x1841f9638]
    +                                   2451 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:]  (in AppKit) + 492  [0x1865a2688]
    +                                     2451 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:]  (in AppKit) + 488  [0x1865a2a7c]
    +                                       2451 -[NSApplication _sendFinishLaunchingNotification]  (in AppKit) + 172  [0x1865a49e8]
    +                                         2451 -[NSApplication _postDidFinishNotification]  (in AppKit) + 284  [0x1865a4c38]
    +                                           2451 -[NSNotificationCenter postNotificationName:object:userInfo:]  (in Foundation) + 88  [0x1841cf38c]
    +                                             2451 _CFXNotificationPost  (in CoreFoundation) + 708  [0x1832dfb64]
    +                                               2451 _CFXRegistrationPost  (in CoreFoundation) + 440  [0x1833abf8c]
    +                                                 2451 ___CFXRegistrationPost_block_invoke  (in CoreFoundation) + 88  [0x1833ac044]
    +                                                   2451 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__  (in CoreFoundation) + 148  [0x18330e560]
    +                                                     2451 gpui::platform::mac::platform::did_finish_launching::ha240608478db6ef2  (in zed) + 136  [0x10650a050]
    +                                                       2451 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h1402717b2c11d352  (in zed) + 904  [0x104149898]
    +                                                         2451 settings::settings_file::handle_settings_file_changes::hef023a060d85eb19  (in zed) + 60  [0x1061180e0]
    +                                                           2451 async_io::driver::block_on::h30d88071d3137fff  (in zed) + 284  [0x1061445f0]
    +                                                             2451 parking::Inner::park::he4fe35bea8bd379e  (in zed) + 220  [0x1067bd27c]
    +                                                               2451 std::sync::condvar::Condvar::wait::h334d410b33819de3  (in zed) + 136  [0x1067bcb80]
    +                                                                 2451 _pthread_cond_wait  (in libsystem_pthread.dylib) + 1232  [0x18323a638]
    +                                                                   2451 __psynch_cvwait  (in libsystem_kernel.dylib) + 8  [0x1831fd84c]

@JosephTLyons JosephTLyons added panic / crash [core label] and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Jun 1, 2023
ForLoveOfCats referenced this issue Jun 1, 2023
The files will still get created if the user opens their settings and
saves, otherwise everything will transparently work

Release Notes:

- Fixed an issue where a missing settings file would cause a hang on
startup
([#1590](https://github.com/zed-industries/community/issues/1590)).
maxbrunsfeld referenced this issue Jun 1, 2023
The files will still get created if the user opens their settings and
saves, otherwise everything will transparently work

Release Notes:

- Fixed an issue where a missing settings file would cause a hang on
startup
([#1590](https://github.com/zed-industries/community/issues/1590)).
maxbrunsfeld referenced this issue Jun 1, 2023
The files will still get created if the user opens their settings and
saves, otherwise everything will transparently work

Release Notes:

- Fixed an issue where a missing settings file would cause a hang on
startup
([#1590](https://github.com/zed-industries/community/issues/1590)).
@AlexRojkov-okta
Copy link

0.88.3 and 0.88.4 - App unresponsive after start. No UI shows. Thanks for looking into this.

Date/Time:        2023-06-01 08:41:52.138 -0700
End time:         2023-06-01 08:42:28.242 -0700
OS Version:       macOS 12.6.5 (Build 21G531)
Architecture:     x86_64h
Report Version:   35.1
Incident Identifier: D070ADE8-E25F-48F1-B750-86A8F79062EF

Data Source:      Stackshots
Shared Cache:     E0BE2D6E-28EF-33AB-8499-8D9D42337BE7 slid base address 0x7ff804394000, slide 0x4394000
Shared Cache:     57DB871C-A979-37D2-B7C1-B4A0600112B9 slid base address 0x7ff8040e3000, slide 0x40e3000

Command:          zed
Path:             /Applications/Zed.app/Contents/MacOS/zed
Identifier:       dev.zed.Zed
Version:          0.88.4 (20230601.145642)
Team ID:          MQ55VZLNZQ
Architecture:     x86_64
Parent:           launchd [1]
PID:              8813
Time Since Fork:  36s

Event:            hang
Duration:         36.10s
Duration Sampled: 1.10s (process was unresponsive for 35 seconds before sampling)
Steps:            11 (100ms sampling interval)

Hardware model:   Macmini7,1
Active cpus:      4
HW page size:     4096
VM page size:     4096

Time Awake Since Boot: 1638211s
Time Since Wake:  n/a (machine hasn't slept)

Fan speed:        1791 rpm
Total CPU Time:   0.432s (1368.4M cycles, 938.3M instructions, 1.46c/i)
Advisory levels:  Battery -> 3, User -> 2, ThermalPressure -> 0, Combined -> 2
Free disk space:  98.13 GB/233.57 GB, low space threshold 3072 MB

--------------------------------------------------
Timeline format: stacks are sorted chronologically
Use -i and -heavy to re-report with count sorting
--------------------------------------------------


Heaviest stack for the main thread of the target process:
  11  start + 462 (dyld + 21806) [0x115e1852e]
  11  main + 44 (zed + 123964) [0x10506143c]
  11  std::rt::lang_start_internal::h733b9f59d292f4af + 784 (zed + 48069792) [0x107e1aca0]
  11  std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h70fc64fde041709a + 12 (zed + 494828) [0x1050bbcec]
  11  std::sys_common::backtrace::__rust_begin_short_backtrace::hf1f757012b4cb488 + 6 (zed + 129926) [0x105062b86]
  11  Zed::main::h48a59bea541690ce + 3681 (zed + 115345) [0x10505f291]
  11  gpui::app::App::run::h1575cbc2921946c8 + 197 (zed + 272197) [0x105085745]
  11  _$LT$gpui..platform..mac..platform..MacForegroundPlatform$u20$as$u20$gpui..platform..ForegroundPlatform$GT$::run::ha82b014a05e5ad09 + 335 (zed + 42941695) [0x107936cff]
  11  -[NSApplication run] + 586 (AppKit + 195801) [0x7ff8071a4cd9]
  11  -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394 (AppKit + 251434) [0x7ff8071b262a]
  11  _DPSNextEvent + 2036 (AppKit + 259010) [0x7ff8071b43c2]
  11  AEProcessAppleEvent + 54 (HIToolbox + 261346) [0x7ff80d43ace2]
  11  aeProcessAppleEvent + 419 (AE + 17183) [0x7ff80ae2c31f]
  11  ??? (AE + 44250) [0x7ff80ae32cda]
  11  ??? (AE + 46192) [0x7ff80ae33470]
  11  _NSAppleEventManagerGenericHandler + 80 (Foundation + 214422) [0x7ff8055ac596]
  11  -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 308 (Foundation + 214820) [0x7ff8055ac724]
  11  -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 665 (AppKit + 282000) [0x7ff8071b9d90]
  11  -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 541 (AppKit + 282940) [0x7ff8071ba13c]
  11  -[NSApplication _sendFinishLaunchingNotification] + 208 (AppKit + 292204) [0x7ff8071bc56c]
  11  -[NSApplication _postDidFinishNotification] + 305 (AppKit + 292894) [0x7ff8071bc81e]
  11  -[NSNotificationCenter postNotificationName:object:userInfo:] + 82 (Foundation + 38910) [0x7ff8055817fe]
  11  _CFXNotificationPost + 735 (CoreFoundation + 291784) [0x7ff8047433c8]
  11  _CFXRegistrationPost + 496 (CoreFoundation + 1125040) [0x7ff80480eab0]
  11  ___CFXRegistrationPost_block_invoke + 49 (CoreFoundation + 1125170) [0x7ff80480eb32]
  11  __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12 (CoreFoundation + 481084) [0x7ff80477173c]
  11  gpui::platform::mac::platform::did_finish_launching::h3208ee52aad5f575 + 147 (zed + 42960979) [0x10793b853]
  11  core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hf534abb966ccfcd2 + 756 (zed + 222468) [0x105079504]
  11  settings::settings_file::handle_settings_file_changes::h49a7f33614521b1e + 55 (zed + 37997079) [0x10747fa17]
  11  async_io::driver::block_on::h9cee42696902a8ca + 344 (zed + 37993336) [0x10747eb78]
  11  parking::Inner::park::h20d947b94d86abbc + 210 (zed + 46146114) [0x107c45242]
  11  std::sync::condvar::Condvar::wait::h0ab9c89f54776edb + 112 (zed + 46143984) [0x107c449f0]
  11  __psynch_cvwait + 10 (libsystem_kernel.dylib + 17370) [0x7ff80467b3da]
 *11  psynch_cvcontinue + 0 (pthread + 20825) [0xffffff800376d159]


Process:          zed (Zed) [8813] [unique pid 108302]
UUID:             C901A235-E767-3C4E-AD03-F79B5B74F3F1
Path:             /Applications/Zed.app/Contents/MacOS/zed
Identifier:       dev.zed.Zed
Version:          0.88.4 (20230601.145642)
Team ID:          MQ55VZLNZQ
Shared Cache:     E0BE2D6E-28EF-33AB-8499-8D9D42337BE7 slid base address 0x7ff804394000, slide 0x4394000
Architecture:     x86_64
Parent:           launchd [1]
UID:              501
Footprint:        40.75 MB
Time Since Fork:  36s
Num samples:      11 (1-11)
Note:             Unresponsive for 35 seconds before sampling
Note:             1 idle work queue thread omitted

  Thread 0x5749b0    DispatchQueue "com.apple.main-thread"(1)    Thread name "main"    11 samples (1-11)    priority 46 (base 46)
  <thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [150], IO tier 0>
  11  start + 462 (dyld + 21806) [0x115e1852e] 1-11
    11  main + 44 (zed + 123964) [0x10506143c] 1-11
      11  std::rt::lang_start_internal::h733b9f59d292f4af + 784 (zed + 48069792) [0x107e1aca0] 1-11
        11  std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h70fc64fde041709a + 12 (zed + 494828) [0x1050bbcec] 1-11
          11  std::sys_common::backtrace::__rust_begin_short_backtrace::hf1f757012b4cb488 + 6 (zed + 129926) [0x105062b86] 1-11
            11  Zed::main::h48a59bea541690ce + 3681 (zed + 115345) [0x10505f291] 1-11
              11  gpui::app::App::run::h1575cbc2921946c8 + 197 (zed + 272197) [0x105085745] 1-11
                11  _$LT$gpui..platform..mac..platform..MacForegroundPlatform$u20$as$u20$gpui..platform..ForegroundPlatform$GT$::run::ha82b014a05e5ad09 + 335 (zed + 42941695) [0x107936cff] 1-11
                  11  -[NSApplication run] + 586 (AppKit + 195801) [0x7ff8071a4cd9] 1-11
                    11  -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394 (AppKit + 251434) [0x7ff8071b262a] 1-11
                      11  _DPSNextEvent + 2036 (AppKit + 259010) [0x7ff8071b43c2] 1-11
                        11  AEProcessAppleEvent + 54 (HIToolbox + 261346) [0x7ff80d43ace2] 1-11
                          11  aeProcessAppleEvent + 419 (AE + 17183) [0x7ff80ae2c31f] 1-11
                            11  ??? (AE + 44250) [0x7ff80ae32cda] 1-11
                              11  ??? (AE + 46192) [0x7ff80ae33470] 1-11
                                11  _NSAppleEventManagerGenericHandler + 80 (Foundation + 214422) [0x7ff8055ac596] 1-11
                                  11  -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 308 (Foundation + 214820) [0x7ff8055ac724] 1-11
                                    11  -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 665 (AppKit + 282000) [0x7ff8071b9d90] 1-11
                                      11  -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 541 (AppKit + 282940) [0x7ff8071ba13c] 1-11
                                        11  -[NSApplication _sendFinishLaunchingNotification] + 208 (AppKit + 292204) [0x7ff8071bc56c] 1-11
                                          11  -[NSApplication _postDidFinishNotification] + 305 (AppKit + 292894) [0x7ff8071bc81e] 1-11
                                            11  -[NSNotificationCenter postNotificationName:object:userInfo:] + 82 (Foundation + 38910) [0x7ff8055817fe] 1-11
                                              11  _CFXNotificationPost + 735 (CoreFoundation + 291784) [0x7ff8047433c8] 1-11
                                                11  _CFXRegistrationPost + 496 (CoreFoundation + 1125040) [0x7ff80480eab0] 1-11
                                                  11  ___CFXRegistrationPost_block_invoke + 49 (CoreFoundation + 1125170) [0x7ff80480eb32] 1-11
                                                    11  __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12 (CoreFoundation + 481084) [0x7ff80477173c] 1-11
                                                      11  gpui::platform::mac::platform::did_finish_launching::h3208ee52aad5f575 + 147 (zed + 42960979) [0x10793b853] 1-11
                                                        11  core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hf534abb966ccfcd2 + 756 (zed + 222468) [0x105079504] 1-11
                                                          11  settings::settings_file::handle_settings_file_changes::h49a7f33614521b1e + 55 (zed + 37997079) [0x10747fa17] 1-11
                                                            11  async_io::driver::block_on::h9cee42696902a8ca + 344 (zed + 37993336) [0x10747eb78] 1-11
                                                              11  parking::Inner::park::h20d947b94d86abbc + 210 (zed + 46146114) [0x107c45242] 1-11
                                                                11  std::sync::condvar::Condvar::wait::h0ab9c89f54776edb + 112 (zed + 46143984) [0x107c449f0] 1-11
                                                                  11  __psynch_cvwait + 10 (libsystem_kernel.dylib + 17370) [0x7ff80467b3da] 1-11
                                                                   *11  psynch_cvcontinue + 0 (pthread + 20825) [0xffffff800376d159] 1-11
\

@JosephTLyons
Copy link
Contributor

Can you all try v0.88.5 and see if this is resolved for you?

@AlexRojkov-okta
Copy link

Thanks, .5 fixes it.

@JosephTLyons
Copy link
Contributor

I'm going to close this issue out. If anyone runs into Application Not Responding issues on v0.88.5 or greater, re-open please!

@JosephTLyons JosephTLyons transferred this issue from zed-industries/community Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect [core label] panic / crash [core label]
Projects
None yet
Development

No branches or pull requests

5 participants