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

Sourcetree Crashes when open a repository from terminal or from repository browser.

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: High High
    • None
    • 2.0.5.7
    • General
    • None
    • Severity 1 - Critical

      SourceTree crashes every time when trying to open a repository from repository browser or from the terminal.

      Crashes still persists after clearing Sourcetree preferences.

      Please find the log from the console attached.

            [SRCTREE-3287] Sourcetree Crashes when open a repository from terminal or from repository browser.

            As another datapoint since my earlier comments, OS is now OS X 10.11.5 and still same crash for me.

            Frederick Bartram added a comment - As another datapoint since my earlier comments, OS is now OS X 10.11.5 and still same crash for me.

            Just want to give an update. I did a fresh install of the OS, after that the app crashing is not happening.

            Thanks,
            Karthikeyan Vaithilingam.

            Karthikeyan Vaithilingam added a comment - Just want to give an update. I did a fresh install of the OS, after that the app crashing is not happening. Thanks, Karthikeyan Vaithilingam.

            Manju added a comment -

            bartramf1359496182 Thanks for the logs. We have a few more fixes around this area of crash which is under dev currently. We will be pushing out a beta with these fixes shortly. Just incase you haven't heard, we have launched a beta program recently - http://blog.sourcetreeapp.com/2016/03/25/sourcetree-beta-program-is-here-become-a-trusted-tester/. You can sign up for the early access beta build to verify these fixes and provide feedback for us to improve SourceTree - https://groups.google.com/d/forum/atlassian-sourcetree-beta.

            Thanks,
            Manjunath

            Manju added a comment - bartramf1359496182 Thanks for the logs. We have a few more fixes around this area of crash which is under dev currently. We will be pushing out a beta with these fixes shortly. Just incase you haven't heard, we have launched a beta program recently - http://blog.sourcetreeapp.com/2016/03/25/sourcetree-beta-program-is-here-become-a-trusted-tester/ . You can sign up for the early access beta build to verify these fixes and provide feedback for us to improve SourceTree - https://groups.google.com/d/forum/atlassian-sourcetree-beta . Thanks, Manjunath

            Manjunath, thanks for the update. I tried the 2.2.4 and it still crashes.
            I've attached the crashlog and system.log entries filtered by 'SourceTree' for the install and crash. SourceTree_2016-03-28-123034_Bashful.crash System_Log_Entries_filtered_by_SourceTree.txt
            Maybe this will help.

            Thanks,
            Frederick "Rick" Bartram

            Frederick Bartram added a comment - Manjunath, thanks for the update. I tried the 2.2.4 and it still crashes. I've attached the crashlog and system.log entries filtered by 'SourceTree' for the install and crash. SourceTree_2016-03-28-123034_Bashful.crash System_Log_Entries_filtered_by_SourceTree.txt Maybe this will help. Thanks, Frederick "Rick" Bartram

            Manju added a comment -

            We did a bunch of architectural changes with v2.2 and our latest version is 2.2.4. Could you please upgrade to the latest build and see if this is still reproducible for you?

            Thanks,
            Manjunath

            Manju added a comment - We did a bunch of architectural changes with v2.2 and our latest version is 2.2.4. Could you please upgrade to the latest build and see if this is still reproducible for you? Thanks, Manjunath

            Any updates on this issue.

            Karthikeyan Vaithilingam added a comment - Any updates on this issue.

            Posted a crashlog from the 2.1 test version that looks similar.

            Frederick Bartram added a comment - Posted a crashlog from the 2.1 test version that looks similar.

            Manju added a comment -

            Thanks! I cloned and tried opening the repo and it worked for me. Might be because I newly cloned as you had mentioned earlier. Will keep a watch on it and try to nail down where and why it crashes.

            Cheers,
            Manjunath

            Manju added a comment - Thanks! I cloned and tried opening the repo and it worked for me. Might be because I newly cloned as you had mentioned earlier. Will keep a watch on it and try to nail down where and why it crashes. Cheers, Manjunath

            Hi Manjunath,

            Please clone the repo from https://gitlab.com/seenukarthi/neram

            Thanks,
            Karthikeyan Vaithilingam.

            Karthikeyan Vaithilingam added a comment - Hi Manjunath, Please clone the repo from https://gitlab.com/seenukarthi/neram Thanks, Karthikeyan Vaithilingam.

            Manju added a comment -

            seenukarthi - Is this happening for only one specific repository? Is there a chance you could share repo link for us to test?

            Thanks,
            Manjunath

            Manju added a comment - seenukarthi - Is this happening for only one specific repository? Is there a chance you could share repo link for us to test? Thanks, Manjunath

            Manju added a comment -

            Symbolicated crash log -

            Application Specific Information:
            objc_msgSend() selector name: hash

            Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
            0 libobjc.A.dylib 0x00007fff99687e5d objc_msgSend + 29
            1 com.apple.Foundation 0x00007fff8c3925c4 -[NSConcreteMapTable objectForKey:] + 42
            2 com.apple.UIFoundation 0x00007fff95f4389d +[__NSFontTypefaceInfo typefaceInfoForPostscriptName:options:] + 155
            3 com.apple.UIFoundation 0x00007fff95f4a677 __NSGetMetaFontInstance + 1099
            4 com.torusknot.SourceTreeNotMAS -[STLogDescriptionCell drawInteriorWithFrame:inView:] (in SourceTree) (STLogDescriptionCell.m:45)
            5 com.apple.AppKit 0x00007fff9acebbf3 __40-[NSTextFieldCell drawWithFrame:inView:]_block_invoke + 451
            6 com.apple.AppKit 0x00007fff9ac73c40 +[NSAppearance _performWithCurrentAppearance:usingBlock:] + 79
            7 com.apple.AppKit 0x00007fff9aceb947 -[NSTextFieldCell drawWithFrame:inView:] + 238
            8 com.apple.AppKit 0x00007fff9adff352 -[NSTableView _drawContentsAtRow:column:withCellFrame:] + 368
            9 com.apple.AppKit 0x00007fff9adfedd1 -[NSTableView drawRow:clipRect:] + 1678
            10 com.apple.AppKit 0x00007fff9adfe55b -[NSTableView drawRowIndexes:clipRect:] + 919
            11 com.apple.AppKit 0x00007fff9acfd4ff -[NSTableView drawRect:] + 1480
            12 com.apple.AppKit 0x00007fff9ace36c6 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1331
            13 com.apple.AppKit 0x00007fff9ace305e __46-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke + 242
            14 com.apple.AppKit 0x00007fff9ace2bb7 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 2403
            15 com.apple.AppKit 0x00007fff9ace2249 -[NSView(NSLayerKitGlue) drawLayer:inContext:] + 108
            16 com.apple.AppKit 0x00007fff9ae2c1c2 -[_NSBackingLayerContents drawLayer:inContext:] + 157
            17 com.apple.QuartzCore 0x00007fff9c09b937 -[CALayer drawInContext:] + 257
            18 com.apple.AppKit 0x00007fff9ae2bc98 -[_NSTiledLayer drawTile:inContext:] + 625
            19 com.apple.AppKit 0x00007fff9ae2b9c9 -[_NSTiledLayerContents drawLayer:inContext:] + 185
            20 com.apple.QuartzCore 0x00007fff9c09b937 -[CALayer drawInContext:] + 257
            21 com.apple.AppKit 0x00007fff9ae2b907 -[NSTileLayer drawInContext:] + 169
            22 com.apple.QuartzCore 0x00007fff9c09a2dd CABackingStoreUpdate_ + 3494
            23 com.apple.QuartzCore 0x00007fff9c099531 ___ZN2CA5Layer8display_Ev_block_invoke + 59
            24 com.apple.QuartzCore 0x00007fff9c098f1d CA::Layer::display_() + 1565
            25 com.apple.AppKit 0x00007fff9ae2b81e -[NSTileLayer display] + 119
            26 com.apple.AppKit 0x00007fff9b53e3d2 -[_NSTiledLayerContents update:shouldCallPrepareContent:] + 7131
            27 com.apple.AppKit 0x00007fff9ada53e4 -[_NSTiledLayer display] + 368
            28 com.apple.QuartzCore 0x00007fff9c08ad05 CA::Layer::display_if_needed(CA::Transaction*) + 603
            29 com.apple.QuartzCore 0x00007fff9c08a82d CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 35
            30 com.apple.QuartzCore 0x00007fff9c089d01 CA::Context::commit_transaction(CA::Transaction*) + 277
            31 com.apple.QuartzCore 0x00007fff9c08994c CA::Transaction::commit() + 508
            32 com.apple.QuartzCore 0x00007fff9c09513b CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 71
            33 com.apple.CoreFoundation 0x00007fff90bf7097 _CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION_ + 23
            34 com.apple.CoreFoundation 0x00007fff90bf7007 __CFRunLoopDoObservers + 391
            35 com.apple.CoreFoundation 0x00007fff90bd5fe8 CFRunLoopRunSpecific + 328
            36 com.apple.HIToolbox 0x00007fff920e2d55 RunCurrentEventLoopInMode + 235
            37 com.apple.HIToolbox 0x00007fff920e2b8f ReceiveNextEventCommon + 432
            38 com.apple.HIToolbox 0x00007fff920e29cf _BlockUntilNextEventMatchingListInModeWithFilter + 71
            39 com.apple.AppKit 0x00007fff9ab7ad96 _DPSNextEvent + 1067
            40 com.apple.AppKit 0x00007fff9ab7a1c5 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
            41 com.apple.AppKit 0x00007fff9adea57a -[NSApplication _realDoModalLoop:peek:] + 653
            42 com.apple.AppKit 0x00007fff9ade7e19 -[NSApplication runModalForWindow:] + 238
            43 com.torusknot.SourceTreeNotMAS -[SourceTreeAppDelegate application:openFiles:] (in SourceTree) (SourceTreeAppDelegate.m:1590)
            44 com.torusknot.SourceTreeNotMAS -[SourceTreeAppDelegate applicationDidFinishLaunching:] (in SourceTree) (SourceTreeAppDelegate.m:999)
            45 com.apple.CoreFoundation 0x00007fff90bedc9c _CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER_ + 12
            46 com.apple.CoreFoundation 0x00007fff90bedc2f ___CFXRegistrationPost_block_invoke + 63
            47 com.apple.CoreFoundation 0x00007fff90bedba7 _CFXRegistrationPost + 407
            48 com.apple.CoreFoundation 0x00007fff90bed912 ___CFXNotificationPost_block_invoke + 50
            49 com.apple.CoreFoundation 0x00007fff90baa6d2 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1922
            50 com.apple.CoreFoundation 0x00007fff90ba9925 _CFXNotificationPost + 693
            51 com.apple.Foundation 0x00007fff8c3800fa -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
            52 com.apple.AppKit 0x00007fff9acc4ea1 -[NSApplication _postDidFinishNotification] + 297
            53 com.apple.AppKit 0x00007fff9acc4c0b -[NSApplication _sendFinishLaunchingNotification] + 203
            54 com.apple.AppKit 0x00007fff9adb127c -[NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:] + 356
            55 com.apple.AppKit 0x00007fff9ab7f94f -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 478
            56 com.apple.Foundation 0x00007fff8c3cea8d -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 290
            57 com.apple.Foundation 0x00007fff8c3ce907 _NSAppleEventManagerGenericHandler + 102
            58 com.apple.AE 0x00007fff989a21b5 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 531
            59 com.apple.AE 0x00007fff989a1f3c dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 31
            60 com.apple.AE 0x00007fff989a1e58 aeProcessAppleEvent + 288
            61 com.apple.HIToolbox 0x00007fff920f2ef5 AEProcessAppleEvent + 55
            62 com.apple.AppKit 0x00007fff9ab7b230 _DPSNextEvent + 2245
            63 com.apple.AppKit 0x00007fff9ab7a1c5 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
            64 com.apple.AppKit 0x00007fff9ab6ed28 -[NSApplication run] + 682
            65 com.apple.AppKit 0x00007fff9ab37fbe NSApplicationMain + 1176
            66 com.torusknot.SourceTreeNotMAS 0x000000010d743d40 0x10d742000 + 7488

            Manju added a comment - Symbolicated crash log - Application Specific Information: objc_msgSend() selector name: hash Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libobjc.A.dylib 0x00007fff99687e5d objc_msgSend + 29 1 com.apple.Foundation 0x00007fff8c3925c4 - [NSConcreteMapTable objectForKey:] + 42 2 com.apple.UIFoundation 0x00007fff95f4389d + [__NSFontTypefaceInfo typefaceInfoForPostscriptName:options:] + 155 3 com.apple.UIFoundation 0x00007fff95f4a677 __NSGetMetaFontInstance + 1099 4 com.torusknot.SourceTreeNotMAS - [STLogDescriptionCell drawInteriorWithFrame:inView:] (in SourceTree) (STLogDescriptionCell.m:45) 5 com.apple.AppKit 0x00007fff9acebbf3 __40- [NSTextFieldCell drawWithFrame:inView:] _block_invoke + 451 6 com.apple.AppKit 0x00007fff9ac73c40 + [NSAppearance _performWithCurrentAppearance:usingBlock:] + 79 7 com.apple.AppKit 0x00007fff9aceb947 - [NSTextFieldCell drawWithFrame:inView:] + 238 8 com.apple.AppKit 0x00007fff9adff352 - [NSTableView _drawContentsAtRow:column:withCellFrame:] + 368 9 com.apple.AppKit 0x00007fff9adfedd1 - [NSTableView drawRow:clipRect:] + 1678 10 com.apple.AppKit 0x00007fff9adfe55b - [NSTableView drawRowIndexes:clipRect:] + 919 11 com.apple.AppKit 0x00007fff9acfd4ff - [NSTableView drawRect:] + 1480 12 com.apple.AppKit 0x00007fff9ace36c6 - [NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1331 13 com.apple.AppKit 0x00007fff9ace305e __46- [NSView(NSLayerKitGlue) drawLayer:inContext:] _block_invoke + 242 14 com.apple.AppKit 0x00007fff9ace2bb7 - [NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 2403 15 com.apple.AppKit 0x00007fff9ace2249 - [NSView(NSLayerKitGlue) drawLayer:inContext:] + 108 16 com.apple.AppKit 0x00007fff9ae2c1c2 - [_NSBackingLayerContents drawLayer:inContext:] + 157 17 com.apple.QuartzCore 0x00007fff9c09b937 - [CALayer drawInContext:] + 257 18 com.apple.AppKit 0x00007fff9ae2bc98 - [_NSTiledLayer drawTile:inContext:] + 625 19 com.apple.AppKit 0x00007fff9ae2b9c9 - [_NSTiledLayerContents drawLayer:inContext:] + 185 20 com.apple.QuartzCore 0x00007fff9c09b937 - [CALayer drawInContext:] + 257 21 com.apple.AppKit 0x00007fff9ae2b907 - [NSTileLayer drawInContext:] + 169 22 com.apple.QuartzCore 0x00007fff9c09a2dd CABackingStoreUpdate_ + 3494 23 com.apple.QuartzCore 0x00007fff9c099531 ___ZN2CA5Layer8display_Ev_block_invoke + 59 24 com.apple.QuartzCore 0x00007fff9c098f1d CA::Layer::display_() + 1565 25 com.apple.AppKit 0x00007fff9ae2b81e - [NSTileLayer display] + 119 26 com.apple.AppKit 0x00007fff9b53e3d2 - [_NSTiledLayerContents update:shouldCallPrepareContent:] + 7131 27 com.apple.AppKit 0x00007fff9ada53e4 - [_NSTiledLayer display] + 368 28 com.apple.QuartzCore 0x00007fff9c08ad05 CA::Layer::display_if_needed(CA::Transaction*) + 603 29 com.apple.QuartzCore 0x00007fff9c08a82d CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 35 30 com.apple.QuartzCore 0x00007fff9c089d01 CA::Context::commit_transaction(CA::Transaction*) + 277 31 com.apple.QuartzCore 0x00007fff9c08994c CA::Transaction::commit() + 508 32 com.apple.QuartzCore 0x00007fff9c09513b CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 71 33 com.apple.CoreFoundation 0x00007fff90bf7097 _ CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION _ + 23 34 com.apple.CoreFoundation 0x00007fff90bf7007 __CFRunLoopDoObservers + 391 35 com.apple.CoreFoundation 0x00007fff90bd5fe8 CFRunLoopRunSpecific + 328 36 com.apple.HIToolbox 0x00007fff920e2d55 RunCurrentEventLoopInMode + 235 37 com.apple.HIToolbox 0x00007fff920e2b8f ReceiveNextEventCommon + 432 38 com.apple.HIToolbox 0x00007fff920e29cf _BlockUntilNextEventMatchingListInModeWithFilter + 71 39 com.apple.AppKit 0x00007fff9ab7ad96 _DPSNextEvent + 1067 40 com.apple.AppKit 0x00007fff9ab7a1c5 - [NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454 41 com.apple.AppKit 0x00007fff9adea57a - [NSApplication _realDoModalLoop:peek:] + 653 42 com.apple.AppKit 0x00007fff9ade7e19 - [NSApplication runModalForWindow:] + 238 43 com.torusknot.SourceTreeNotMAS - [SourceTreeAppDelegate application:openFiles:] (in SourceTree) (SourceTreeAppDelegate.m:1590) 44 com.torusknot.SourceTreeNotMAS - [SourceTreeAppDelegate applicationDidFinishLaunching:] (in SourceTree) (SourceTreeAppDelegate.m:999) 45 com.apple.CoreFoundation 0x00007fff90bedc9c _ CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER _ + 12 46 com.apple.CoreFoundation 0x00007fff90bedc2f ___CFXRegistrationPost_block_invoke + 63 47 com.apple.CoreFoundation 0x00007fff90bedba7 _CFXRegistrationPost + 407 48 com.apple.CoreFoundation 0x00007fff90bed912 ___CFXNotificationPost_block_invoke + 50 49 com.apple.CoreFoundation 0x00007fff90baa6d2 - [_CFXNotificationRegistrar find:object:observer:enumerator:] + 1922 50 com.apple.CoreFoundation 0x00007fff90ba9925 _CFXNotificationPost + 693 51 com.apple.Foundation 0x00007fff8c3800fa - [NSNotificationCenter postNotificationName:object:userInfo:] + 66 52 com.apple.AppKit 0x00007fff9acc4ea1 - [NSApplication _postDidFinishNotification] + 297 53 com.apple.AppKit 0x00007fff9acc4c0b - [NSApplication _sendFinishLaunchingNotification] + 203 54 com.apple.AppKit 0x00007fff9adb127c - [NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:] + 356 55 com.apple.AppKit 0x00007fff9ab7f94f - [NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 478 56 com.apple.Foundation 0x00007fff8c3cea8d - [NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 290 57 com.apple.Foundation 0x00007fff8c3ce907 _NSAppleEventManagerGenericHandler + 102 58 com.apple.AE 0x00007fff989a21b5 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 531 59 com.apple.AE 0x00007fff989a1f3c dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 31 60 com.apple.AE 0x00007fff989a1e58 aeProcessAppleEvent + 288 61 com.apple.HIToolbox 0x00007fff920f2ef5 AEProcessAppleEvent + 55 62 com.apple.AppKit 0x00007fff9ab7b230 _DPSNextEvent + 2245 63 com.apple.AppKit 0x00007fff9ab7a1c5 - [NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454 64 com.apple.AppKit 0x00007fff9ab6ed28 - [NSApplication run] + 682 65 com.apple.AppKit 0x00007fff9ab37fbe NSApplicationMain + 1176 66 com.torusknot.SourceTreeNotMAS 0x000000010d743d40 0x10d742000 + 7488

            Hi Manjunath,

            The crash is still happening with the shared binary.

            Also I noticed that the app crashes for one of my repository. I created a new repo and the app works when I open the new repo.

            Thanks
            Karthikeyan Vaithilingam SourceTree_2015-12-02-232105_Karthiks-MBP.crash .

            Karthikeyan Vaithilingam added a comment - Hi Manjunath, The crash is still happening with the shared binary. Also I noticed that the app crashes for one of my repository. I created a new repo and the app works when I open the new repo. Thanks Karthikeyan Vaithilingam SourceTree_2015-12-02-232105_Karthiks-MBP.crash .

            Manju added a comment -

            seenukarthi - After analyzing the crash logs, I've made a beta build with a minor change. It would be great if you can verify the fix in this beta, available for download from https://www.dropbox.com/s/yleemwwiu4dy21v/SourceTree2.0.5.8b3.zip?dl=0
            Your efforts are much appreciated!

            Thanks,
            Manjunath

            Manju added a comment - seenukarthi - After analyzing the crash logs, I've made a beta build with a minor change. It would be great if you can verify the fix in this beta, available for download from https://www.dropbox.com/s/yleemwwiu4dy21v/SourceTree2.0.5.8b3.zip?dl=0 Your efforts are much appreciated! Thanks, Manjunath

              Unassigned Unassigned
              vchoo Vivian C
              Affected customers:
              1 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: