Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Sourcetree randomly quits

Michael Walz
Contributor
October 24, 2025

Since this morning I'm experiencing random crashes with sourcetree (actually sourctree silently quits). Deleting the %localappdata%\Atlassian directory didn't help.

Actually as I'm writing this the problem doesn't occur anymore, but I fear it might come back at any moment.

Environnment:
- Sourcetree version 3.4.26
- Windows 10 Pro, Version 22H2, build 19045.6456

This happens:
- I start sourcetree. There are just two open tabs
- After some time (from less than 1 minute to several minutes, or even longer) sourcetree silently quits, even without doing any interaction with sourcetree.

Each crash creates 2 new entries with the same time stamp in the Windows Event log:

--- Entry 1
Nom de l’application défaillante SourceTree.exe, version : 3.4.26.0, horodatage : 0x68d0f19c
Nom du module défaillant : KERNELBASE.dll, version : 10.0.19041.6280, horodatage : 0x56511854
Code d’exception : 0xe0434352
Décalage d’erreur : 0x0000000000025369
ID du processus défaillant : 0x162a8
Heure de début de l’application défaillante : 0x01dc44df793b9c8e
Chemin d’accès de l’application défaillante : C:\Users\Michael\AppData\Local\SourceTree\app-3.4.26\SourceTree.exe
Chemin d’accès du module défaillant: C:\Windows\System32\KERNELBASE.dll
ID de rapport : 18c65d82-660b-4b68-a779-5364eba6c7b3
Nom complet du package défaillant :
ID de l’application relative au package défaillant :

--- Entry 2
Application : SourceTree.exe
Version du Framework : v4.0.30319
Description : le processus a été arrêté en raison d'une exception non gérée.
Informations sur l'exception : System.NullReferenceException
à SourceTree.Analytics.Emau.EMauSubmissionService+<SubmitBatch>d__40.MoveNext()
à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
à System.Runtime.CompilerServices.TaskAwaiter`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetResult()
à SourceTree.Analytics.Emau.EMauSubmissionService+<Submit>d__39.MoveNext()
à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
à System.Runtime.CompilerServices.TaskAwaiter`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetResult()
à SourceTree.Analytics.Emau.EMauSubmissionService+<SubmissionTimer_Elapsed>d__37.MoveNext()
à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
à System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
à System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
à System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
à System.Threading.ThreadPoolWorkQueue.Dispatch()


The %localappdata%\Atlassian\SourceTree\sourcetree.log contains lots of entries like this:

ERROR [2025-10-24 14:41:08,748] [37] [SourceTree.Analytics.Services.AnalyticsService] [Log] - POST Interaction submission FAILED
Refit.ApiException: Response status code does not indicate success: 429 (Too Many Requests).
à Refit.RequestBuilderImplementation.<>c__DisplayClass15_0`2.<<BuildCancellableTaskFuncForMethod>b__0>d.MoveNext() dans c:\temp\releaser\refit\Refit\RequestBuilderImplementation.cs:ligne 399
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
à System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
à Refit.Implementation.Generated.AtlassianAnalyticsServiceClientApiIBatch.<global::Atlassian-AnalyticsService-Client-Api-IBatch-Put>d__8.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
à System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
à Atlassian.AnalyticsService.Client.AnalyticsServiceClient.<Post>d__12.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
à System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
à SourceTree.Analytics.Services.AnalyticsService.<SubmitBatch>d__15.MoveNext()
ERROR [2025-10-24 14:41:39,021] [109] [SourceTree.Analytics.Services.AnalyticsService] [Log] - POST Interaction submission FAILED
Refit.ApiException: Response status code does not indicate success: 429 (Too Many Requests).
à Refit.RequestBuilderImplementation.<>c__DisplayClass15_0`2.<<BuildCancellableTaskFuncForMethod>b__0>d.MoveNext() dans c:\temp\releaser\refit\Refit\RequestBuilderImplementation.cs:ligne 399
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
à System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
à Refit.Implementation.Generated.AtlassianAnalyticsServiceClientApiIBatch.<global::Atlassian-AnalyticsService-Client-Api-IBatch-Put>d__8.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
à System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
à Atlassian.AnalyticsService.Client.AnalyticsServiceClient.<Post>d__12.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
à System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
à SourceTree.Analytics.Services.AnalyticsService.<SubmitBatch>d__15.MoveNext()

 

 

2 answers

0 votes
Tomislav Tobijas
Community Champion
October 24, 2025

Hi @Michael Walz ,

There's this thread and a raised bug (although it's for Win 11): SourceTree 3.4.26 crashing but I feel it might be the problem with the version, as numerous (or OS...) as several people have reported issues lately, specifically with v3.4.26. 👀

Cheers,
Tobi

0 votes
Brant Schroeder
Community Champion
October 24, 2025

@Michael Walz when is the last time you restarted your computer?  Is there a pending Windows update waiting to be applied?

Brant Schroeder
Community Champion
October 24, 2025

I would suggest adding the following to the user.config

<setting name="AnalyticsHasAgreed" serializeAs="String">
                <value>False</value>
            </setting>
Users are saying that this helps but does not fully solve the issue, but it is allowing them to work for longer periods.  

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events