It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Why Sourcetree keeps crashing???

IT happened on two consecutive days.

When I started up Sourcetree, it just popped up the registration form again

I had to complete installation and clone all my repositories again

Also I had to delete c:\users\admin\gitconfig file as it had got corrupted and wouldn't recognise my repository 

Why does this happen?

How to prevent it?

1 answer

0 votes
Ana_Retamal Atlassian Team Mar 19, 2019

Hi Partha, welcome to the Community!

We'll need more information to troubleshoot this issue and investigate what is causing Sourcetree to crash:

  1. Are you using Windows or Mac? Which version?
  2. Does it happen right after you clone the repositories? Is it triggered by any other action?
  3. Have you checked the logs? Is there any valuable information there?
  4. Did you have a look to any similar cases in our Community? You can find some examples here  or here.
  5. Can you send us a screenshot of what you see right after you start up Sourcetree?

Kind regards,

Ana

I'm using Windows 10

It happened suddenly and Sourcetree went back to install screen and I had to repeat the installation

IT happened continuously for 2 days last week

Of late it's not happening

I looked at the log for 3/13/2019 which is when the problem occurred

Here's the log

=========================================================

ERROR [2019-03-13 09:50:59,323] [5] [SourceTree.Diagnostics.FailureHandler] [Log] - 'git tag' failed with code -1: (c:\bitbucket\integrity-reports-localization)
ERROR [2019-03-13 09:50:59,417] [5] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Dispatcher Application.Current is null
ERROR [2019-03-13 09:50:59,417] [5] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to invoke async action [System.Action] dispatcher is null
ERROR [2019-03-13 09:50:59,448] [5] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Dispatcher Application.Current is null
ERROR [2019-03-13 09:50:59,448] [5] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Thread dispatcher is null
ERROR [2019-03-13 10:00:58,061] [25] [SourceTree.Diagnostics.FailureHandler] [Log] - 'git tag' failed with code -1: (c:\bitbucket\integrity-reports-localization)
ERROR [2019-03-13 10:00:58,070] [25] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Dispatcher Application.Current is null
ERROR [2019-03-13 10:00:58,070] [25] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Thread dispatcher is null
ERROR [2019-03-13 19:29:53,104] [27] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Dispatcher Application.Current is null
ERROR [2019-03-13 19:29:53,167] [27] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Thread dispatcher is null
ERROR [2019-03-13 19:29:53,238] [56] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Dispatcher Application.Current is null
ERROR [2019-03-13 19:29:53,239] [56] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Thread dispatcher is null
ERROR [2019-03-13 19:29:53,366] [24] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Dispatcher Application.Current is null
ERROR [2019-03-13 19:29:53,367] [24] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Thread dispatcher is null
ERROR [2019-03-13 21:52:17,345] [1] [SourceTree.Notifications.NotificationsManager] [Log] - Unable to set owner as parent is not visible or non-existent
ERROR [2019-03-13 21:52:23,535] [1] [SourceTree.ViewModel.RepositoryTabContainerViewModel] [Log] - Failed to load open tabs
System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderList1.Read1_ArrayOfString()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at SourceTree.ViewModel.RepositoryTabContainerViewModel.LoadOpenTabs()
ERROR [2019-03-13 21:53:00,119] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 21:53:00,121] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 21:53:00,122] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host
ERROR [2019-03-13 21:53:16,641] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 21:53:16,642] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host
ERROR [2019-03-13 21:53:16,666] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 21:54:00,529] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 21:54:00,530] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host
ERROR [2019-03-13 21:54:00,839] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 21:54:18,852] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 21:54:18,853] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host
ERROR [2019-03-13 21:54:19,946] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 21:54:55,042] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 21:54:55,411] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 21:54:55,412] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host
ERROR [2019-03-13 22:04:30,015] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 22:04:30,015] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 22:04:30,016] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host
ERROR [2019-03-13 22:04:53,483] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 22:04:53,524] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 22:04:53,525] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host
ERROR [2019-03-13 22:04:56,121] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 22:04:56,282] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 22:04:56,283] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host
ERROR [2019-03-13 22:04:56,983] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 22:04:57,001] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 22:04:57,002] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host
ERROR [2019-03-13 22:06:37,171] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 22:06:37,197] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 22:06:37,198] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host

 

=======================================================

See if you can make out anything from this log

I can't send you a screenshotr since the error is no longer occurring but basically it just went back to the install screen and I had to reinstall and clone all my repositories again

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,125 views 0 11
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you