Sourcetree stopped launching (Win7)
Asked by Jacob Whetstone:

On Windows 7.

Rebooted computer this morning, SourceTree no longer starts.

I suspected Windows Updates.

.NET security updates applied today:

KB2901126

KB2898869

<br />

Uninstalled Both.

Uninstalled and Reinstalled Sourcetree

Deleted AppData for Sourcetree

No Dice.  

**Error log:**

```
Faulting application name: SourceTree.exe, version: 1.4.1.0, time stamp: 0x52f100baFaulting module name: ntdll.dll, version: 6.1.7601.18247, time stamp: 0x521eaf24Exception code: 0xc0000374Fault offset: 0x00000000000c4102Faulting process id: 0x1b90Faulting application start time: 0x01cf389645c01315Faulting application path: C:\Program Files (x86)\Atlassian\SourceTree\SourceTree.exeFaulting module path: C:\windows\SYSTEM32\ntdll.dllReport Id: c04229d6-a489-11e3-9559-642737ddb166
```

**Report.wer:**

```
Version=1EventType=APPCRASHEventTime=130385133305193274ReportType=2Consent=1UploadTime=130385133305863312ReportIdentifier=c04229d7-a489-11e3-9559-642737ddb166IntegratorReportIdentifier=c04229d6-a489-11e3-9559-642737ddb166Response.BucketId=6788129Response.BucketTable=20Response.type=4Sig[0].Name=Application NameSig[0].Value=SourceTree.exeSig[1].Name=Application VersionSig[1].Value=1.4.1.0Sig[2].Name=Application TimestampSig[2].Value=52f100baSig[3].Name=Fault Module NameSig[3].Value=StackHash_259cSig[4].Name=Fault Module VersionSig[4].Value=6.1.7601.18247Sig[5].Name=Fault Module TimestampSig[5].Value=521eaf24Sig[6].Name=Exception CodeSig[6].Value=c0000374Sig[7].Name=Exception OffsetSig[7].Value=00000000000c4102DynamicSig[1].Name=OS VersionDynamicSig[1].Value=6.1.7601.2.1.0.256.48DynamicSig[2].Name=Locale IDDynamicSig[2].Value=1033DynamicSig[22].Name=Additional Information 1DynamicSig[22].Value=259cDynamicSig[23].Name=Additional Information 2DynamicSig[23].Value=259cf68fcd17b809dd64a7b97ab5b735DynamicSig[24].Name=Additional Information 3DynamicSig[24].Value=21a4DynamicSig[25].Name=Additional Information 4DynamicSig[25].Value=21a4f296e23ecaf8ea3afbd7ddcca42cUI[2]=C:\Program Files (x86)\Atlassian\SourceTree\SourceTree.exeUI[3]=SourceTree has stopped workingUI[4]=Windows can check online for a solution to the problem.UI[5]=Check online for a solution and close the programUI[6]=Check online for a solution later and close the programUI[7]=Close the programLoadedModule[0]=C:\Program Files (x86)\Atlassian\SourceTree\SourceTree.exeLoadedModule[1]=C:\windows\SYSTEM32\ntdll.dllLoadedModule[2]=C:\windows\SYSTEM32\MSCOREE.DLLLoadedModule[3]=C:\windows\system32\KERNEL32.dllLoadedModule[4]=C:\windows\system32\KERNELBASE.dllLoadedModule[5]=C:\windows\system32\ADVAPI32.dllLoadedModule[6]=C:\windows\system32\msvcrt.dllLoadedModule[7]=C:\windows\SYSTEM32\sechost.dllLoadedModule[8]=C:\windows\system32\RPCRT4.dllLoadedModule[9]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dllLoadedModule[10]=C:\windows\system32\SHLWAPI.dllLoadedModule[11]=C:\windows\system32\GDI32.dllLoadedModule[12]=C:\windows\system32\USER32.dllLoadedModule[13]=C:\windows\system32\LPK.dllLoadedModule[14]=C:\windows\system32\USP10.dllLoadedModule[15]=C:\windows\system32\IMM32.DLLLoadedModule[16]=C:\windows\system32\MSCTF.dllLoadedModule[17]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dllLoadedModule[18]=C:\windows\system32\MSVCR110_CLR0400.dllLoadedModule[19]=C:\windows\assembly\NativeImages_v4.0.30319_64\mscorlib\54c5d3ee1f311718f3a2feb337c5fa29\mscorlib.ni.dllLoadedModule[20]=C:\windows\system32\ole32.dllLoadedModule[21]=C:\windows\system32\CRYPTBASE.dllLoadedModule[22]=C:\windows\system32\uxtheme.dllLoadedModule[23]=C:\windows\system32\CRYPTSP.dllLoadedModule[24]=C:\windows\system32\rsaenh.dllLoadedModule[25]=C:\windows\system32\VERSION.dllLoadedModule[26]=C:\windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dllLoadedModule[27]=C:\windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dllLoadedModule[28]=C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dllLoadedModule[29]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dllLoadedModule[30]=C:\windows\system32\OLEAUT32.dllLoadedModule[31]=C:\windows\Microsoft.Net\assembly\GAC_64\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dllLoadedModule[32]=C:\windows\assembly\NativeImages_v4.0.30319_64\System\4598449d72d7ebbd53952399ed5fc710\System.ni.dllLoadedModule[33]=C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dllLoadedModule[34]=C:\windows\system32\RpcRtRemote.dllLoadedModule[35]=C:\Program Files (x86)\Atlassian\SourceTree\SourceTreeShared.dllLoadedModule[36]=C:\windows\system32\dwrite.dllLoadedModule[37]=C:\windows\Microsoft.NET\Framework64\v4.0.30319\WPF\wpfgfx_v0400.dllLoadedModule[38]=C:\windows\Microsoft.NET\Framework64\v4.0.30319\WPF\PresentationNative_v0400.dllLoadedModule[39]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\nlssorting.dllLoadedModule[40]=C:\windows\system32\dwmapi.dllLoadedModule[41]=C:\windows\system32\urlmon.dllLoadedModule[42]=C:\windows\system32\api-ms-win-downlevel-ole32-l1-1-0.dllLoadedModule[43]=C:\windows\system32\api-ms-win-downlevel-shlwapi-l1-1-0.dllLoadedModule[44]=C:\windows\system32\api-ms-win-downlevel-advapi32-l1-1-0.dllLoadedModule[45]=C:\windows\system32\api-ms-win-downlevel-user32-l1-1-0.dllLoadedModule[46]=C:\windows\system32\api-ms-win-downlevel-version-l1-1-0.dllLoadedModule[47]=C:\windows\system32\api-ms-win-downlevel-normaliz-l1-1-0.dllLoadedModule[48]=C:\windows\system32\normaliz.DLLLoadedModule[49]=C:\windows\system32\iertutil.dllLoadedModule[50]=C:\windows\system32\WININET.dllLoadedModule[51]=C:\windows\system32\Secur32.dllLoadedModule[52]=C:\windows\system32\SSPICLI.DLLLoadedModule[53]=C:\windows\system32\SHELL32.dllLoadedModule[54]=C:\windows\system32\api-ms-win-downlevel-advapi32-l2-1-0.dllLoadedModule[55]=C:\windows\system32\WINTRUST.dllLoadedModule[56]=C:\windows\system32\CRYPT32.dllLoadedModule[57]=C:\windows\system32\MSASN1.dllLoadedModule[58]=C:\windows\Microsoft.NET\Framework64\v4.0.30319\mscorsecimpl.dllLoadedModule[59]=C:\windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18201_none_a4d3b9377117c3df\COMCTL32.dllLoadedModule[60]=C:\windows\system32\imagehlp.dllLoadedModule[61]=C:\windows\system32\ncrypt.dllLoadedModule[62]=C:\windows\system32\bcrypt.dllLoadedModule[63]=C:\windows\system32\bcryptprimitives.dllLoadedModule[64]=C:\windows\system32\USERENV.dllLoadedModule[65]=C:\windows\system32\profapi.dllLoadedModule[66]=C:\windows\system32\GPAPI.dllLoadedModule[67]=C:\windows\system32\cryptnet.dllLoadedModule[68]=C:\windows\system32\WLDAP32.dllLoadedModule[69]=C:\windows\system32\SensApi.dllLoadedModule[70]=C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dllLoadedModule[71]=C:\windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationTypes\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationTypes.dllLoadedModule[72]=C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dllLoadedModule[73]=C:\windows\system32\d3d9.dllLoadedModule[74]=C:\windows\system32\d3d8thk.dllLoadedModule[75]=C:\windows\system32\aticfx64.dllLoadedModule[76]=C:\windows\system32\atiu9p64.dllLoadedModule[77]=C:\windows\system32\atiumd64.dllLoadedModule[78]=C:\windows\system32\atiumd6a.dllState[0].Key=Transport.DoneStage1State[0].Value=1FriendlyEventName=Stopped workingConsentKey=APPCRASHAppName=SourceTreeAppPath=C:\Program Files (x86)\Atlassian\SourceTree\SourceTree.exe
```

<br />

<br />


Answers:
author: Jacob Whetstone
body: I found the solution to this on my own.  

The answer was to fully uninstall and re-install my graphics drivers.  

I don't know why something as general as graphics drivers would only be affecting certian applications, but there it is.  


author: Matt Reimer
body: Noticed the same thing happening in Windows 7 with a generic(ish) dell laptop

Everything I could get from the event viewer is here. It's the same problem I think.

```
Application: SourceTree.exeFramework Version: v4.0.30319Description: The process was terminated due to an unhandled exception.Exception Info: exception code e0434352, exception address 000007FEFCC3B3DD
```

<br />

@Jacob Whetstone, when you say graphics drivers, what, specifically did you reinstall?

comments: author: Matt Reimer
body: I'm not sure what the proper workflow is here but I filed a bug on JIRA regarding this:<https://jira.atlassian.com/browse/SRCTREEWIN-3318>


author: Jacob Whetstone
body: I fully uninstalled all video drivers (via device manager) until I was down to generic VGA, then installed the latest version of ATI Catalyst, and everything was working again.


author: Jacob Whetstone
body: I don't believe this is really a bug in Sourcetree itself, but rather something between the ATI drivers and the .NET rendering libraries that Sourcetree happens to be using. It happened to me directly after a Windows update.


author: Matt Reimer
body: Jacob, I think you're right. When we uninstalled then re-installed .NET4.5.2, it appears to be working fine. I'll close my bug and hopefully others can see this and fix the issue.