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

When I change font the application will crash

when i select menu 'tools->Option->Diff tab'
click change Font button
sourcetree will crash

somebody have same question?

how can i fix this problem?

 

1 answer

0 votes
Ana Retamal Atlassian Team Jan 12, 2018

Hi! Can you tell us which Sourcetree and OS version are you using? Also, which font are you selecting when the app crash? Does it happen for any font?

Regards!

Ana

OS:win7 7601 : Service Pack 1
Sourcetree:2.3.5 and 2.4.7 both same problem

font:sorry i'm Taiwanese people,i'm not sure isn't Consolas ?

sourcetree error.jpg

here is sourcetree.log file

-----------------------------------------------------------------------

ERROR [2018-01-16 12:22:41,726] [1] [SourceTree.Analytics.Crash.BugSplat.CrashAnalyticsService] [DispatcherUnhandledExceptionHandler] - DispatcherUnhandledExceptionHandler for [Sourcetree, 2.3.5.0] called with [System.Windows.Threading.Dispatcher, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs]
System.TypeInitializationException: 'System.Windows.Media.Fonts' 的類型初始設定式發生例外狀況。 ---> System.IO.FileFormatException: No FontFamily element found in FontFamilyCollection that matches current OS or greater: Windows7SP1 ---> System.IO.FileFormatException: No FontFamily element found in FontFamilyCollection that matches current OS or greater: Windows7SP1
於 MS.Internal.FontFace.CompositeFontParser.Fail(String message, Exception innerException)
於 MS.Internal.FontFace.CompositeFontParser.ParseFontFamilyCollectionElement()
於 MS.Internal.FontFace.CompositeFontParser..ctor(Stream fileStream)
--- 內部例外狀況堆疊追蹤的結尾 ---
於 MS.Internal.FontFace.CompositeFontParser.Fail(String message, Exception innerException)
於 MS.Internal.FontFace.CompositeFontParser..ctor(Stream fileStream)
於 MS.Internal.FontCache.FamilyCollection.SystemCompositeFonts.GetCompositeFontFamilyAtIndex(Int32 index)
於 MS.Internal.FontCache.FamilyCollection.GetFontFamilies(Uri fontFamilyBaseUri, String fontFamilyLocationReference)
於 System.Windows.Media.Fonts.CreateFamilyCollection(Uri fontLocation, Uri fontFamilyBaseUri, String fontFamilyLocationReference)
於 System.Windows.Media.Fonts..cctor()
--- 內部例外狀況堆疊追蹤的結尾 ---
於 SourceTree.ViewModel.FontPickerWindowViewModel..ctor()
於 SourceTree.ViewModel.PreferencesWindowViewModel.ChangeDiffFont()
於 MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
於 System.Windows.Controls.Primitives.ButtonBase.OnClick()
於 System.Windows.Controls.Button.OnClick()
於 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
於 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
於 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
於 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
於 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
於 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
於 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
於 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
於 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
於 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
於 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
於 System.Windows.Input.InputManager.ProcessStagingArea()
於 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
於 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
於 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
於 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
於 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
於 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
於 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
於 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
於 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Is there any solution for this problem?

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,917 views 0 12
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