• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.7.5
    • 2.7.4
    • Git
    • None
    • Severity 2 - Major

      Startup fails with an immediate crash.

            [SRCTREE-5762] App crashes on startup

            confirmed fix from v 2.7.5a.

            Thank you!

            Keith Reynolds added a comment - confirmed fix from v 2.7.5a. Thank you!

            I believe this is a duplicate of SRCTREE-5769which is now resolved. Not sure why no one from Atlassian is linking these.

            Brooke Noble added a comment - I believe this is a duplicate of  SRCTREE-5769 which is now resolved. Not sure why no one from Atlassian is linking these.

            No impact after removing ImageCache/. I don't see any new images in this directory after launching, but the directory was re-created.

             

            Darren Warner added a comment - No impact after removing ImageCache/. I don't see any new images in this directory after launching, but the directory was re-created.  

            Manju added a comment -

            Can you remove the image cache folder under the  ~/Library/Application\ Support/SourceTree/ and see if it helps. The crash logs indicate something going wrong with reading the image cache for the repo avatars. 

            Manju added a comment - Can you remove the image cache folder under the  ~/Library/Application\ Support/SourceTree/ and see if it helps. The crash logs indicate something going wrong with reading the image cache for the repo avatars. 

            I removed  /Library/Application\ Support/Sourcetree/, then launched SourceTree and it was Ok.

            Then I scanned my project directory. The import worked, but SourceTree now crashes part way through checking repo status. So it seems to be something in one of my repositories that's triggering this crash.

             

            Darren Warner added a comment - I removed  /Library/Application\ Support/Sourcetree/, then launched SourceTree and it was Ok. Then I scanned my project directory. The import worked, but SourceTree now crashes part way through checking repo status. So it seems to be something in one of my repositories that's triggering this crash.  

            Jurn Overmars added a comment - - edited

            For me it has been solved to delete the directory `/Library/Application\ Support/Sourcetree/` and because this is not a solution i restored a backup from yesterday (Timemachine) and this worked as well. So it looks like the files in this directory are corrupt or the permissions are changed. 

             

             I also updated the Sourcetree but this was not a solution either.

            Crash Report:
            https://gist.github.com/xleeuwx/79179c4afa08d092a0d60af518f8fa35

            If needed i have more where that came from. 

             

            FYI: thinks that i notice what that i needed to accept the privacy policy from Gitlab and i have Gitlab / Github / Bitbucket accounts in my Sourcetree. The current working project that was open a Github project. 

            So i accepted the policy and moved on but i am not sure if this is the cause of the problem but i have not updated the Sourcetree in a few weeks. So the problem occurred this morning 06-06-2018 at ~01:00 GMT+2 i am not sure if this all have something to do with the issue but maybe it can help

            Jurn Overmars added a comment - - edited For me it has been solved to delete the directory `/Library/Application\ Support/Sourcetree/` and because this is not a solution i restored a backup from yesterday (Timemachine) and this worked as well. So it looks like the files in this directory are corrupt or the permissions are changed.     I also updated the Sourcetree but this was not a solution either. Crash Report: https://gist.github.com/xleeuwx/79179c4afa08d092a0d60af518f8fa35 If needed i have more where that came from.    FYI: thinks that i notice what that i needed to accept the privacy policy from Gitlab and i have Gitlab / Github / Bitbucket accounts in my Sourcetree. The current working project that was open a Github project.  So i accepted the policy and moved on but i am not sure if this is the cause of the problem but i have not updated the Sourcetree in a few weeks. So the problem occurred this morning 06-06-2018 at ~01:00 GMT+2 i am not sure if this all have something to do with the issue but maybe it can help

            Same issue in version 2.7 (144):

            https://gist.github.com/jamyc/6c0819e10e349b9643cac845e6338165

             

            Removed Sourcetree and installed 2.7.4 (175) and still crashes:

            https://gist.github.com/jamyc/bb2a64de990e9f794da459d43a74d863

            Jamy Cuijpers added a comment - Same issue in version 2.7 (144): https://gist.github.com/jamyc/6c0819e10e349b9643cac845e6338165   Removed Sourcetree and installed 2.7.4 (175) and still crashes: https://gist.github.com/jamyc/bb2a64de990e9f794da459d43a74d863

            Brooke Noble added a comment - Same problem, here's my crash log https://gist.github.com/bdn75/d74361a8a5527958601b600a612eac9f

            Darren Warner added a comment - https://gist.github.com/dazwin/0d3e5dee95532979fac99190b8ee464c

            Manju added a comment -

            I'm afraid not, some of the information to symbolicate the crashes are available in the actual .crash file. Would you be able to share it by some other means. And, I'll work with the team here to get the permissions for attachments fixed so that you don't see this problem next time around. Thanks!

            Manju added a comment - I'm afraid not, some of the information to symbolicate the crashes are available in the actual .crash file. Would you be able to share it by some other means. And, I'll work with the team here to get the permissions for attachments fixed so that you don't see this problem next time around. Thanks!

            I don't have permission to create attachments, is this enough ...?

            Application Specific Backtrace 1:
            0   CoreFoundation                      0x00007fff3ad4032b __exceptionPreprocess + 171
            1   libobjc.A.dylib                     0x00007fff6275fc76 objc_exception_throw + 48
            2   CoreFoundation                      0x00007fff3add1dcd +[NSException raise:format:] + 205
            3   Foundation                          0x00007fff3cdd5485 -[NSString(NSPathUtilities) stringByAppendingPathExtension:] + 113
            4   Sourcetree                          0x000000010d45f8d9 Sourcetree + 641241
            5   Sourcetree                          0x000000010d45f5dc Sourcetree + 640476
            6   libdispatch.dylib                   0x00007fff6334764a _dispatch_call_block_and_release + 12
            7   libdispatch.dylib                   0x00007fff6333fe08 _dispatch_client_callout + 8
            8   libdispatch.dylib                   0x00007fff6334cd15 _dispatch_queue_override_invoke + 880
            9   libdispatch.dylib                   0x00007fff633419f9 _dispatch_root_queue_drain + 515
            10  libdispatch.dylib                   0x00007fff633417a5 _dispatch_worker_thread3 + 101
            11  libsystem_pthread.dylib             0x00007fff63691169 _pthread_wqthread + 1387
            12  libsystem_pthread.dylib             0x00007fff63690be9 start_wqthread + 13
             

            Darren Warner added a comment - I don't have permission to create attachments, is this enough ...? Application Specific Backtrace 1: 0 CoreFoundation 0x00007fff3ad4032b __exceptionPreprocess + 171 1 libobjc.A.dylib 0x00007fff6275fc76 objc_exception_throw + 48 2 CoreFoundation 0x00007fff3add1dcd +[NSException raise:format:] + 205 3 Foundation 0x00007fff3cdd5485 -[NSString(NSPathUtilities) stringByAppendingPathExtension:] + 113 4 Sourcetree 0x000000010d45f8d9 Sourcetree + 641241 5 Sourcetree 0x000000010d45f5dc Sourcetree + 640476 6 libdispatch.dylib 0x00007fff6334764a _dispatch_call_block_and_release + 12 7 libdispatch.dylib 0x00007fff6333fe08 _dispatch_client_callout + 8 8 libdispatch.dylib 0x00007fff6334cd15 _dispatch_queue_override_invoke + 880 9 libdispatch.dylib 0x00007fff633419f9 _dispatch_root_queue_drain + 515 10 libdispatch.dylib 0x00007fff633417a5 _dispatch_worker_thread3 + 101 11 libsystem_pthread.dylib 0x00007fff63691169 _pthread_wqthread + 1387 12 libsystem_pthread.dylib 0x00007fff63690be9 start_wqthread + 13

            Manju added a comment -

            dwarner3, I request you to attach the logs from your machine. We will need crash log for each version to symbolicate each of them individually and confirm they are the exact same crash to analyze and fix. 

            Thanks!

            Manju added a comment - dwarner3 , I request you to attach the logs from your machine. We will need crash log for each version to symbolicate each of them individually and confirm they are the exact same crash to analyze and fix.  Thanks!

            Looks like I'm getting the same crash (v2.7.4). The stack dump matches the one in the environment (and Keith's 2nd crash dump from the link above)

            Darren Warner added a comment - Looks like I'm getting the same crash (v2.7.4). The stack dump matches the one in the environment (and Keith's 2nd crash dump from the link above)

            Keith Reynolds added a comment - See the second attachment in that Gist. Direct link would be: https://gist.githubusercontent.com/mtbkeith/2cfa18901b473efa2a4c99ad8cb6f02a/raw/aa686865919d26b9d5ffde59753a31be4cbfaf35/Sourcetree_2018-06-05-153145_K-MBP.crash

            Manju added a comment -

            Thanks! That works. I noticed that you are on an older version of the app. Can you update to the latest version and see if it still crashes? You can download the latest build from here - https://bitbucket.org/atlassianlabs/sourcetree-betas/downloads/OSX_Latest.zip

            Manju added a comment - Thanks! That works. I noticed that you are on an older version of the app. Can you update to the latest version and see if it still crashes? You can download the latest build from here -  https://bitbucket.org/atlassianlabs/sourcetree-betas/downloads/OSX_Latest.zip

            Keith Reynolds added a comment - I just put it up on github; https://gist.github.com/mtbkeith/2cfa18901b473efa2a4c99ad8cb6f02a

            Here is what I am able to see. Again, I assume permissions are not enabled to u/l. In this very text box I can mention Attachments but unable to "add new". FYI I do use a private JIRA so do have knowledge of the product.

            https://vimeo.com/273587284

            Keith Reynolds added a comment - Here is what I am able to see. Again, I assume permissions are not enabled to u/l. In this very text box I can mention Attachments but unable to "add new". FYI I do use a private JIRA so do have knowledge of the product. https://vimeo.com/273587284

            Manju added a comment - - edited

            You can use the attachments section in this ticket. I hope you can see this.

            Manju added a comment - - edited You can use the attachments section in this ticket. I hope you can see this.

            Sure. Can you just advise how to attach a file as I do not see it on the web interface; may be tied to permissions? or, must it be an external link?

            Keith Reynolds added a comment - Sure. Can you just advise how to attach a file as I do not see it on the web interface; may be tied to permissions? or, must it be an external link?

            Manju added a comment -

            Could you please add the crash log from the disk?

            You can find .crash files with names starting with Sourcetree in this location ~/Library/Logs/DiagnosticReports/ 

            Manju added a comment - Could you please add the crash log from the disk? You can find .crash files with names starting with Sourcetree in this location ~/Library/Logs/DiagnosticReports/ 

              Unassigned Unassigned
              4f4aaecdf797 Keith Reynolds
              Affected customers:
              3 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: