fork-dev / Tracker

Bug and issue tracker for Fork for Mac
511 stars 12 forks source link

Crashing when staging a directory #1832

Closed nandgate closed 5 months ago

nandgate commented 1 year ago

Every time I stage a directory, or select multiple files and stage with Fork I get the "pinwheel of doom" and I need to force quit the application. Staging individual file works fine so this is the workaround.

I don't know what information would help diagnose this. The report from the OS is quite long, here is the front of the log with Fork specific info.

Date/Time:        2023-02-28 21:29:42.081 -0700
End time:         2023-02-28 21:31:14.396 -0700
OS Version:       macOS 13.0.1 (Build 22A400)
Architecture:     x86_64h
Report Version:   40
Incident Identifier: 38DAB1C2-D4FB-44C2-9CC4-84786224BDC9

Data Source:      Stackshots
Shared Cache:     840E528A-0C70-3C6A-B7B4-4F05F32CCC51 slid base address 0x7ff805652000, slide 0x5652000 (System Primary)
Shared Cache:     96279E0D-A7FE-3F36-9F08-1C7351817539 slid base address 0x7ff83c0d3000, slide 0x3c0d3000 (DriverKit)

Command:          Fork
Path:             /Applications/Fork.app/Contents/MacOS/Fork
Identifier:       com.DanPristupov.Fork
Version:          2.26.1 (2.26.1)
Team ID:          Q6M7LEEA66
Is First Party:   No
Architecture:     x86_64
Parent:           launchd [1]
PID:              54703
Time Since Fork:  497s

Event:            hang
Duration:         92.31s
Duration Sampled: 2.30s (process was unresponsive for 90 seconds before sampling)
Steps:            23 (100ms sampling interval)

Hardware model:   MacBookPro16,1
Active cpus:      16
HW page size:     4096
VM page size:     4096

Time Since Boot:  692275s
Time Awake Since Boot: 561293s
Time Since Wake:  2434s

Fan speed:        1838 rpm
Total CPU Time:   1.287s (3.3G cycles, 2.8G instructions, 1.16c/i)
Advisory levels:  Battery -> 3, User -> 2, ThermalPressure -> 0, Combined -> 2
Free disk space:  1520.77 GB/1863.39 GB, low space threshold 3072 MB
Vnodes Available: 38.19% (100499/263168)

Preferred User Language: en-US, en
Country Code:     US
Keyboards:        U.S.
OS Cryptex File Extents: 298

--------------------------------------------------
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:
  23  start + 2432 (dyld + 25360) [0x7ff8056ec310]
  23  ??? (Fork + 19817) [0x10d1d7d69]
  23  NSApplicationMain + 817 (AppKit + 16472) [0x7ff808bde058]
  23  -[NSApplication run] + 623 (AppKit + 196632) [0x7ff808c0a018]
  23  -[NSApplication _handleEvent:] + 65 (AppKit + 4583433) [0x7ff809039009]
  23  -[NSApplication(NSEvent) sendEvent:] + 2321 (AppKit + 1706373) [0x7ff808d7a985]
  23  -[NSWindow(NSEventRouting) sendEvent:] + 345 (AppKit + 1711723) [0x7ff808d7be6b]
  23  -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 4644 (AppKit + 1716907) [0x7ff808d7d2ab]
  23  -[NSControl _rightMouseUpOrDown:] + 470 (AppKit + 5555895) [0x7ff8091266b7]
  23  -[NSView rightMouseDown:] + 100 (AppKit + 4167289) [0x7ff808fd3679]
  23  -[NSView _showMenuForEvent:] + 85 (AppKit + 9873400) [0x7ff8095447f8]
  23  -[NSMenu _popUpContextMenu:withEvent:forView:withFont:] + 226 (AppKit + 4185858) [0x7ff808fd7f02]
  23  -[NSCarbonMenuImpl _popUpContextMenu:withEvent:forView:withFont:] + 222 (AppKit + 4186248) [0x7ff808fd8088]
  23  _NSSLMPopUpCarbonMenu3 + 1125 (AppKit + 3563800) [0x7ff808f40118]
  23  SLMPerformPopUpCarbonMenu + 2217 (AppKit + 5122522) [0x7ff8090bc9da]
  23  _HandlePopUpMenuSelectionWithDictionary + 329 (HIToolbox + 535461) [0x7ff80f42aba5]
  23  _HandlePopUpMenuSelection8(OpaqueMenuRef*, OpaqueEventRef*, unsigned int, Point, unsigned short, unsigned int, unsigned int, Rect const*, unsigned short, Rect const*, Rect const*, __CFDictionary const*, __CFString const*, OpaqueMenuRef**, unsigned short*) + 410 (HIToolbox + 1762806) [0x7ff80f5565f6]
  23  PopUpMenuSelectCore(MenuData*, Point, double, Point, unsigned short, unsigned int, unsigned int, Rect const*, unsigned short, unsigned int, Rect const*, Rect const*, __CFDictionary const*, __CFString const*, OpaqueMenuRef**, unsigned short*) + 2105 (HIToolbox + 1766161) [0x7ff80f557311]
  23  FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 96 (HIToolbox + 655037) [0x7ff80f447ebd]
  23  SendMenuItemSelectedEvent + 344 (HIToolbox + 655462) [0x7ff80f448066]
  23  SendMenuCommandWithContextAndModifiers + 46 (HIToolbox + 655559) [0x7ff80f4480c7]
  23  SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 361 (HIToolbox + 504037) [0x7ff80f4230e5]
  23  SendEventToEventTarget + 39 (HIToolbox + 121305) [0x7ff80f3c59d9]
  23  SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 333 (HIToolbox + 36444) [0x7ff80f3b0e5c]
  23  DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1381 (HIToolbox + 39453) [0x7ff80f3b1a1d]
  23  NSSLMMenuEventHandler + 1015 (AppKit + 3181107) [0x7ff808ee2a33]
  23  -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 101 (AppKit + 3590368) [0x7ff808f468e0]
  23  -[NSMenu _internalPerformActionForItemAtIndex:] + 82 (AppKit + 3590808) [0x7ff808f46a98]
  23  -[NSMenu performActionForItemAtIndex:] + 113 (AppKit + 3590930) [0x7ff808f46b12]
  23  -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 142 (AppKit + 3292525) [0x7ff808efdd6d]
  23  -[NSMenuItem _corePerformAction] + 413 (AppKit + 3293279) [0x7ff808efe05f]
  23  -[NSApplication(NSResponder) sendAction:to:from:] + 323 (AppKit + 2307330) [0x7ff808e0d502]
  23  ??? (Fork + 3586399) [0x10d53e95f]
  23  ??? (Fork + 3585888) [0x10d53e760]
  23  ??? (Fork + 4171749) [0x10d5cd7e5]
  23  ??? (Fork + 2274811) [0x10d3fe5fb]
  23  -[NSConcreteFileHandle readDataOfLength:] + 405 (Foundation + 318733) [0x7ff80693cd0d]
  23  read + 10 (libsystem_kernel.dylib + 8390) [0x7ff8059df0c6]
 *23  hndl_unix_scall64 + 22 (kernel + 707990) [0xffffff8000388d96]
 *23  unix_syscall64 + 475 (kernel + 7839851) [0xffffff8000a5606b]
 *23  read + 279 (kernel + 6746295) [0xffffff800094b0b7]
 *23  ??? (kernel + 6745852) [0xffffff800094aefc]
 *23  ??? (kernel + 6764767) [0xffffff800094f8df]
 *23  ??? (kernel + 6615948) [0xffffff800092b38c]
 *23  lck_mtx_sleep + 110 (kernel + 1224062) [0xffffff8000406d7e]
 *23  thread_block_reason + 192 (kernel + 1303280) [0xffffff800041a2f0]
 *23  ??? (kernel + 1311951) [0xffffff800041c4cf]
 *23  machine_switch_context + 219 (kernel + 2521131) [0xffffff800054382b]

Process:          Fork [54703] [unique pid 452432]
UUID:             74A4B538-1870-39E3-9276-49DAD9B3047B
Path:             /Applications/Fork.app/Contents/MacOS/Fork
Identifier:       com.DanPristupov.Fork
Version:          2.26.1 (2.26.1)
Team ID:          Q6M7LEEA66
Is First Party:   No
Shared Cache:     840E528A-0C70-3C6A-B7B4-4F05F32CCC51 slid base address 0x7ff805652000, slide 0x5652000 (System Primary)
Architecture:     x86_64
Parent:           launchd [1]
UID:              501
Footprint:        114.85 MB
Time Since Fork:  497s
Num samples:      23 (1-23)
CPU Time:         0.008s (15.1M cycles, 4.8M instructions, 3.14c/i)
Note:             Unresponsive for 90 seconds before sampling
Note:             2 idle work queue threads omitted

  Thread 0x36f5e5    DispatchQueue "com.apple.main-thread"(1)    23 samples (1-23)    priority 46 (base 46)
  <thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [171], IO tier 0>
  23  start + 2432 (dyld + 25360) [0x7ff8056ec310] 1-23
    23  ??? (Fork + 19817) [0x10d1d7d69] 1-23
      23  NSApplicationMain + 817 (AppKit + 16472) [0x7ff808bde058] 1-23
        23  -[NSApplication run] + 623 (AppKit + 196632) [0x7ff808c0a018] 1-23
          23  -[NSApplication _handleEvent:] + 65 (AppKit + 4583433) [0x7ff809039009] 1-23
            23  -[NSApplication(NSEvent) sendEvent:] + 2321 (AppKit + 1706373) [0x7ff808d7a985] 1-23
              23  -[NSWindow(NSEventRouting) sendEvent:] + 345 (AppKit + 1711723) [0x7ff808d7be6b] 1-23
                23  -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 4644 (AppKit + 1716907) [0x7ff808d7d2ab] 1-23
                  23  -[NSControl _rightMouseUpOrDown:] + 470 (AppKit + 5555895) [0x7ff8091266b7] 1-23
                    23  -[NSView rightMouseDown:] + 100 (AppKit + 4167289) [0x7ff808fd3679] 1-23
                      23  -[NSView _showMenuForEvent:] + 85 (AppKit + 9873400) [0x7ff8095447f8] 1-23
                        23  -[NSMenu _popUpContextMenu:withEvent:forView:withFont:] + 226 (AppKit + 4185858) [0x7ff808fd7f02] 1-23
                          23  -[NSCarbonMenuImpl _popUpContextMenu:withEvent:forView:withFont:] + 222 (AppKit + 4186248) [0x7ff808fd8088] 1-23
                            23  _NSSLMPopUpCarbonMenu3 + 1125 (AppKit + 3563800) [0x7ff808f40118] 1-23
                              23  SLMPerformPopUpCarbonMenu + 2217 (AppKit + 5122522) [0x7ff8090bc9da] 1-23
                                23  _HandlePopUpMenuSelectionWithDictionary + 329 (HIToolbox + 535461) [0x7ff80f42aba5] 1-23
                                  23  _HandlePopUpMenuSelection8(OpaqueMenuRef*, OpaqueEventRef*, unsigned int, Point, unsigned short, unsigned int, unsigned int, Rect const*, unsigned short, Rect const*, Rect const*, __CFDictionary const*, __CFString const*, OpaqueMenuRef**, unsigned short*) + 410 (HIToolbox + 1762806) [0x7ff80f5565f6] 1-23
                                    23  PopUpMenuSelectCore(MenuData*, Point, double, Point, unsigned short, unsigned int, unsigned int, Rect const*, unsigned short, unsigned int, Rect const*, Rect const*, __CFDictionary const*, __CFString const*, OpaqueMenuRef**, unsigned short*) + 2105 (HIToolbox + 1766161) [0x7ff80f557311] 1-23
                                      23  FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 96 (HIToolbox + 655037) [0x7ff80f447ebd] 1-23
                                        23  SendMenuItemSelectedEvent + 344 (HIToolbox + 655462) [0x7ff80f448066] 1-23
                                          23  SendMenuCommandWithContextAndModifiers + 46 (HIToolbox + 655559) [0x7ff80f4480c7] 1-23
                                            23  SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 361 (HIToolbox + 504037) [0x7ff80f4230e5] 1-23
                                              23  SendEventToEventTarget + 39 (HIToolbox + 121305) [0x7ff80f3c59d9] 1-23
                                                23  SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 333 (HIToolbox + 36444) [0x7ff80f3b0e5c] 1-23
                                                  23  DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1381 (HIToolbox + 39453) [0x7ff80f3b1a1d] 1-23
                                                    23  NSSLMMenuEventHandler + 1015 (AppKit + 3181107) [0x7ff808ee2a33] 1-23
                                                      23  -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 101 (AppKit + 3590368) [0x7ff808f468e0] 1-23
                                                        23  -[NSMenu _internalPerformActionForItemAtIndex:] + 82 (AppKit + 3590808) [0x7ff808f46a98] 1-23
                                                          23  -[NSMenu performActionForItemAtIndex:] + 113 (AppKit + 3590930) [0x7ff808f46b12] 1-23
                                                            23  -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 142 (AppKit + 3292525) [0x7ff808efdd6d] 1-23
                                                              23  -[NSMenuItem _corePerformAction] + 413 (AppKit + 3293279) [0x7ff808efe05f] 1-23
                                                                23  -[NSApplication(NSResponder) sendAction:to:from:] + 323 (AppKit + 2307330) [0x7ff808e0d502] 1-23
                                                                  23  ??? (Fork + 3586399) [0x10d53e95f] 1-23
                                                                    23  ??? (Fork + 3585888) [0x10d53e760] 1-23
                                                                      23  ??? (Fork + 4171749) [0x10d5cd7e5] 1-23
                                                                        23  ??? (Fork + 2274811) [0x10d3fe5fb] 1-23
                                                                          23  -[NSConcreteFileHandle readDataOfLength:] + 405 (Foundation + 318733) [0x7ff80693cd0d] 1-23
                                                                            23  read + 10 (libsystem_kernel.dylib + 8390) [0x7ff8059df0c6] 1-23
                                                                             *23  hndl_unix_scall64 + 22 (kernel + 707990) [0xffffff8000388d96] 1-23
                                                                               *23  unix_syscall64 + 475 (kernel + 7839851) [0xffffff8000a5606b] 1-23
                                                                                 *23  read + 279 (kernel + 6746295) [0xffffff800094b0b7] 1-23
                                                                                   *23  ??? (kernel + 6745852) [0xffffff800094aefc] 1-23
                                                                                     *23  ??? (kernel + 6764767) [0xffffff800094f8df] 1-23
                                                                                       *23  ??? (kernel + 6615948) [0xffffff800092b38c] 1-23
                                                                                         *23  lck_mtx_sleep + 110 (kernel + 1224062) [0xffffff8000406d7e] 1-23
                                                                                           *23  thread_block_reason + 192 (kernel + 1303280) [0xffffff800041a2f0] 1-23
                                                                                             *23  ??? (kernel + 1311951) [0xffffff800041c4cf] 1-23
                                                                                               *23  machine_switch_context + 219 (kernel + 2521131) [0xffffff800054382b] 1-23

  Thread 0x36f613    Thread name "com.apple.coreanimation.render-server"    23 samples (1-23)    priority 55 (base 55)
  <process unclamped, process received importance donation from WindowServer [171], IO tier 0>
  23  thread_start + 15 (libsystem_pthread.dylib + 7291) [0x7ff805a18c7b] 1-23
    23  _pthread_start + 125 (libsystem_pthread.dylib + 25177) [0x7ff805a1d259] 1-23
      23  thread_fun(void*) + 25 (QuartzCore + 296576) [0x7ff80d597680] 1-23
        23  CA::Render::Server::server_thread(void*) + 534 (QuartzCore + 297121) [0x7ff80d5978a1] 1-23
          23  mach_msg + 19 (libsystem_kernel.dylib + 6537) [0x7ff8059de989] 1-23
            23  mach_msg_overwrite + 723 (libsystem_kernel.dylib + 34586) [0x7ff8059e571a] 1-23
              23  mach_msg2_trap + 10 (libsystem_kernel.dylib + 5794) [0x7ff8059de6a2] 1-23
               *23  ipc_mqueue_receive_continue + 0 (kernel + 983568) [0xffffff80003cc210] 1-23

  Thread 0x36f624    23 samples (1-23)    priority 31 (base 31)
  <thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [171], IO tier 0>
  23  thread_start + 15 (libsystem_pthread.dylib + 7291) [0x7ff805a18c7b] 1-23
    23  _pthread_start + 125 (libsystem_pthread.dylib + 25177) [0x7ff805a1d259] 1-23
      23  ??? (Fork + 5105981) [0x10d6b193d] 1-23
        23  mach_msg + 19 (libsystem_kernel.dylib + 6537) [0x7ff8059de989] 1-23
          23  mach_msg_overwrite + 723 (libsystem_kernel.dylib + 34586) [0x7ff8059e571a] 1-23
            23  mach_msg2_trap + 10 (libsystem_kernel.dylib + 5794) [0x7ff8059de6a2] 1-23
             *23  ipc_mqueue_receive_continue + 0 (kernel + 983568) [0xffffff80003cc210] 1-23

  Thread 0x36f6b9    Thread name "com.apple.NSEventThread"    23 samples (1-23)    priority 46 (base 46)    cpu time 0.007s (13.9M cycles, 4.4M instructions, 3.16c/i)
  <thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [171], IO tier 0>
  23  thread_start + 15 (libsystem_pthread.dylib + 7291) [0x7ff805a18c7b] 1-23
    23  _pthread_start + 125 (libsystem_pthread.dylib + 25177) [0x7ff805a1d259] 1-23
      23  _NSEventThread + 132 (AppKit + 1697430) [0x7ff808d78696] 1-23
        23  CFRunLoopRunSpecific + 560 (CoreFoundation + 510896) [0x7ff805af5bb0] 1-23
          23  __CFRunLoopRun + 1360 (CoreFoundation + 513914) [0x7ff805af677a] 1-23
            23  __CFRunLoopServiceMachPort + 145 (CoreFoundation + 519438) [0x7ff805af7d0e] 1-23
              23  mach_msg + 19 (libsystem_kernel.dylib + 6537) [0x7ff8059de989] 1-23
                23  mach_msg_overwrite + 723 (libsystem_kernel.dylib + 34586) [0x7ff8059e571a] 1-23
                  23  mach_msg2_trap + 10 (libsystem_kernel.dylib + 5794) [0x7ff8059de6a2] 1-23
                   *23  ipc_mqueue_receive_continue + 0 (kernel + 983568) [0xffffff80003cc210] 1-23

  Thread 0x36f753    Thread name "com.apple.NSURLConnectionLoader"    23 samples (1-23)    priority 31 (base 31)
  <thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [171], IO tier 0>
  23  thread_start + 15 (libsystem_pthread.dylib + 7291) [0x7ff805a18c7b] 1-23
    23  _pthread_start + 125 (libsystem_pthread.dylib + 25177) [0x7ff805a1d259] 1-23
      23  __NSThread__start__ + 1009 (Foundation + 362540) [0x7ff80694782c] 1-23
        23  ??? (CFNetwork + 2373472) [0x7ff80a4db760] 1-23
          23  CFRunLoopRunSpecific + 560 (CoreFoundation + 510896) [0x7ff805af5bb0] 1-23
            23  __CFRunLoopRun + 1360 (CoreFoundation + 513914) [0x7ff805af677a] 1-23
              23  __CFRunLoopServiceMachPort + 145 (CoreFoundation + 519438) [0x7ff805af7d0e] 1-23
                23  mach_msg + 19 (libsystem_kernel.dylib + 6537) [0x7ff8059de989] 1-23
                  23  mach_msg_overwrite + 723 (libsystem_kernel.dylib + 34586) [0x7ff8059e571a] 1-23
                    23  mach_msg2_trap + 10 (libsystem_kernel.dylib + 5794) [0x7ff8059de6a2] 1-23
                     *23  ipc_mqueue_receive_continue + 0 (kernel + 983568) [0xffffff80003cc210] 1-23

  Binary Images:
           0x10d1d3000 -        0x10d8a2fff  com.DanPristupov.Fork 2.26.1 (2.26.1) <74A4B538-1870-39E3-9276-49DAD9B3047B>  /Applications/Fork.app/Contents/MacOS/Fork
        0x7ff8056e6000 -     0x7ff80577a54f  dyld (1042.1)                         <28FD2071-57F3-3873-87BF-E4F674A82DE6>  /usr/lib/dyld
        0x7ff8059dd000 -     0x7ff805a16ff7  libsystem_kernel.dylib (8792.41.9)    <0C2FD2C9-777C-3355-B70F-7B1B6E9D1B0B>  /usr/lib/system/libsystem_kernel.dylib
        0x7ff805a17000 -     0x7ff805a22ff7  libsystem_pthread.dylib (514)         <13B5E252-77D1-31E1-888D-1C5F4426EA87>  /usr/lib/system/libsystem_pthread.dylib
        0x7ff805a79000 -     0x7ff805f11fff  com.apple.CoreFoundation 6.9 (1953.1) <DBC459F3-81BB-398A-8F74-3F7392392BB7>  /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
        0x7ff8068ef000 -     0x7ff807300ff6  com.apple.Foundation 6.9 (1953.1)     <ECA88952-D3AF-357E-80D8-4D31B2DC0C26>  /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
        0x7ff808bda000 -     0x7ff809bdeff6  com.apple.AppKit 6.9 (2299)           <817D572E-EB8C-3999-B7A0-68E1C4B47266>  /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
        0x7ff80a298000 -     0x7ff80a63cff7  com.apple.CFNetwork 1399.4 (1399.4)   <A0D23D24-26F2-3180-A05B-61AC1175D230>  /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
        0x7ff80d54f000 -     0x7ff80d89effd  com.apple.QuartzCore 1.11 (1042.20)   <10A00482-D136-3E49-BBD5-E9691CC8F82D>  /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
        0x7ff80f3a8000 -     0x7ff80f69fff2  com.apple.HIToolbox 2.1.1 (1160)      <FF73B93B-3C5B-3F73-948F-0A35A80F7FAD>  /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
   *0xffffff80002dc000 - 0xffffff8000cdbfff  kernel (8792.41.9)                    <BF7C9676-EF23-3E8D-A2E2-25DAC63091B6>  /System/Library/Kernels/kernel
DanPristupov commented 1 year ago

I'm sorry, I somehow missed your post back in March. Do you still experience that problem?

nandgate commented 3 months ago

I have not experienced it recently, but have also have not used Fork much the past few months (not due to Fork, just other dev work using other tools.)