Crash on launch (Windows 7)
Asked by Dan Hennion:

Hi,

I'm not sure what triggered this, it seemed to just stop working one day. I have an install on a windows 7 machine at work that will no longer load. The program simply crashes every time I try to run it. I don't have admin on this machine, but my boss spent a few hours trying to get it to work. From my understanding, he reinstalled the program a few times, cleared appdata, cleared registry entries. Still couldn't get it to work. I'll try my best without admin to provide details for diagnosis. Here's the crash report on launch:

```
Problem signature:  Problem Event Name:	APPCRASH  Application Name:	SourceTree.exe  Application Version:	1.5.1.0  Application Timestamp:	53426321  Fault Module Name:	clr.dll  Fault Module Version:	4.0.30319.18444  Fault Module Timestamp:	52717f9a  Exception Code:	c0000005  Exception Offset:	000000000006c892  OS Version:	6.1.7601.2.1.0.256.48  Locale ID:	1033  Additional Information 1:	e5fd  Additional Information 2:	e5fde5ac9bc271f1ffbb142eb609eec7  Additional Information 3:	6d16  Additional Information 4:	6d164edf93c39c20ec43125205a33640
```

I looked for a log file in: %USER%\\AppData\\Local\\Atlassian\\SourceTree But only have a user.config at the moment.

Help appreciated, thanks!


Answers:
author: Dan Hennion
body: Thank you, Henrique. The link you provided does not seem to be working, unfortunately.

comments: author: HenriqueA
body: Sorry the broken link Daniel,  

Could you please try download the version 1.4.1? I'm sending to you the link:  
[](http://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.4.1.exe)[http://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.4.1.exe\<br\< a=""\>\>](http://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.4.1.exe%3Cbr)Kind Regards,  
Henrique Lechner


author: Dan Hennion
body: I made sure to completely remove the old version, remove registry keys, appdata, etc. I tried both 1.4.1 as well as the most recent version (slightly newer than what was on this machine) but unfortunately I still get the same crash no matter what.


author: Francois Joubert
body: Good day, I am having the same problem. App crash on launch. I have re-installed, cleared appdata, tried the old version.. nothing works.Francois


author: Alexander Biemann
body: I've just installed version 1.6.13 and it also crashes on launch on Windows 7


author: Alexander Biemann
body: For your debugging, this is the error event in the .NET runtime ...Application: SourceTree.exeFramework Version: v4.0.30319Description: The process was terminated due to an unhandled exception.Exception Info: System.TypeInitializationExceptionStack: at SourceTree.App.OnStartup(System.Windows.StartupEventArgs) at System.Windows.Application.\<.ctor\>b__1(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) at System.Windows.Application.RunInternal(System.Windows.Window) at System.Windows.Application.Run() at SourceTree.App.Main()


author: Alexander Biemann
body: Faulting application name: SourceTree.exe, version: 1.6.13.0, time stamp: 0x54d431e8Faulting module name: KERNELBASE.dll, version: 6.1.7601.18409, time stamp: 0x5315a05aException code: 0xe0434352Fault offset: 0x000000000000940dFaulting process id: 0xb760Faulting application start time: 0x01d04f05664f71fbFaulting application path: C:\\Android\\SourceTree\\SourceTree.exeFaulting module path: C:\\Windows\\system32\\KERNELBASE.dllReport Id: a4a67fd3-baf8-11e4-a381-9d2bc5a6dc22


author: Alexander Biemann
body: Please note, prior to application launch, SourceTree was fully installed; see event reported by MsiInstaller "Windows Installer installed the product. Product Name: SourceTree. Product Version: 1.6.13. Product Language: 2057. Manufacturer: Atlassian. Installation success or error status: 0."


author: B Doyle
body: I am also having the same problem after installing 1.6.14 on windows7. any resolution?


author: Freddy Hansen
body: Me too. Win 7. Sourcetree 1.6.14. Tried uninstall and install old version - same problem.


author: Robert Swainson
body: I saw this issue today with Win 7 64 bit and Sourctree 1.6.14. A repair on Microsoft .NET framework 4.5.2 fixed it for me.


author: HenriqueA
body: Hi Daniel,

I suggest you to try an old SourceTree version on this computer, then we can further investigate if it's not a bug.

To help you further I'm sharing here the link to SourceTree 1.4.2 for windows from the official Atlassian website:

* [](http://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.4.2.exe)<http://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.4.2.exe>

And please share your results with us :)

Kind Regards,

Henrique Lechner

comments: author: Seth
body: Henrique, are you an Atlassian employee? Some of your responses seem to imply so ("we can further investigate"), but other Atlassian employees have "\[Atlassian\]" in their name.


author: HenriqueA
body: Seth, Yes I work for Atlassian :)  

I've also updated my nickname to reflect it.  

It's good to share the results of the tests, so it helps other users who faced the same issue.  


author: Seth
body: I agree that it's often good for these discussions to be public. It's just nice to know whether an answer/suggestion is coming from a community member or staff.


Tags: crash

windows