Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-2039

Deadlock hang blocking main thread in Sourcetree

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • High
    • None
    • None
    • None
    • None
    • Severity 1 - Critical

    Description

      Usually happens when I command-tab into Sourcetree because I want to commit a change. Hangs indefinitely, this report appears when I force quit the app.

      Stack trace from main thread here: (full crash log attached)

        Thread 0xb8876    DispatchQueue 1          priority 19        
        15 ??? (SourceTree + 6644) [0x1000019f4]
          15 NSApplicationMain + 940 (AppKit) [0x7fff881e7803]
            15 -[NSApplication run] + 553 (AppKit) [0x7fff881fc9cc]
              15 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122 (AppKit) [0x7fff882088db]
                15 _DPSNextEvent + 1434 (AppKit) [0x7fff8820928e]
                  15 _BlockUntilNextEventMatchingListInModeWithFilter + 65 (HIToolbox) [0x7fff8a0fdabc]
                    15 ReceiveNextEventCommon + 479 (HIToolbox) [0x7fff8a0fdcb7]
                      15 RunCurrentEventLoopInMode + 226 (HIToolbox) [0x7fff8a0fdf0d]
                        15 CFRunLoopRunSpecific + 309 (CoreFoundation) [0x7fff8a5cb275]
                          15 __CFRunLoopRun + 1636 (CoreFoundation) [0x7fff8a5cbb14]
                            15 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 (CoreFoundation) [0x7fff8a610839]
                              15 _dispatch_main_queue_callback_4CF + 333 (libdispatch.dylib) [0x7fff944c5f03]
                                15 _dispatch_client_callout + 8 (libdispatch.dylib) [0x7fff944be2ad]
                                  15 _dispatch_call_block_and_release + 12 (libdispatch.dylib) [0x7fff944c11d7]
                                    15 ??? (SourceTree + 400142) [0x100061b0e]
                                      15 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 389 (Foundation) [0x7fff8beef6ce]
                                        15 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 118 (Foundation) [0x7fff8beb5a56]
                                          15 NSKeyValueDidChange + 453 (Foundation) [0x7fff8beb0de8]
                                            15 NSKeyValueNotifyObserver + 387 (Foundation) [0x7fff8beb1c18]
                                              15 -[NSArrayDetailBinder _refreshDetailContentInBackground:] + 964 (AppKit) [0x7fff884e35d0]
                                                15 -[NSTreeController setContent:] + 581 (AppKit) [0x7fff8857589a]
                                                  15 -[NSTreeController _prepareControllerTree] + 1219 (AppKit) [0x7fff8857336c]
                                                    15 -[NSTreeController _didChangeValuesForArrangedKeys:objectKeys:indexPathKeys:] + 54 (AppKit) [0x7fff885742c5]
                                                      15 -[NSController _notifyObserversForKeyPath:change:] + 209 (AppKit) [0x7fff88291c48]
                                                        15 -[NSObject(NSKeyValueObservingPrivate) _notifyObserversForKeyPath:change:] + 1115 (Foundation) [0x7fff8beeee71]
                                                          15 NSKeyValueNotifyObserver + 387 (Foundation) [0x7fff8beb1c18]
                                                            15 -[NSBrowserBinder observeValueForKeyPath:ofObject:change:context:] + 75 (AppKit) [0x7fff885ea676]
                                                              15 -[NSBrowserBinder _observeValueForKeyPath:ofObject:context:] + 185 (AppKit) [0x7fff885ea879]
                                                                15 -[NSBrowser loadColumnZero] + 100 (AppKit) [0x7fff8853fd69]
                                                                  15 -[NSBrowser setLastColumn:] + 608 (AppKit) [0x7fff8853f353]
                                                                    15 -[_NSBrowserColumnView _doRemoveFromSuperviewWithOutNeedingDisplay:] + 155 (AppKit) [0x7fff8854a138]
                                                                      15 -[NSScrollView removeFromSuperview] + 216 (AppKit) [0x7fff88479b6e]
                                                                        15 -[NSView removeFromSuperview] + 366 (AppKit) [0x7fff88220faa]
                                                                          15 -[NSView _invalidateFocus] + 384 (AppKit) [0x7fff88220608]
                                                                            15 -[NSNotificationCenter postNotificationName:object:userInfo:] + 68 (Foundation) [0x7fff8beab4aa]
                                                                              15 _CFXNotificationPost + 2463 (CoreFoundation) [0x7fff8a56baaf]
                                                                                15 _object_readExternalReference_gc + 205 (libobjc.A.dylib) [0x7fff872b7878]
                                                                                  15 _dispatch_sync_f_slow + 209 (libdispatch.dylib) [0x7fff944c5bd8]
                                                                                    15 semaphore_wait_trap + 10 (libsystem_kernel.dylib) [0x7fff86d5fa56]
                                                                                     *15 semaphore_wait_continue + 0 (mach_kernel) [0xffffff800023b550]
      

      Attachments

        1. sourcetree crash.txt
          845 kB
        2. sourcetree crash 2.txt
          952 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              972cf4907639 Aaron Brager
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: