Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-14615

Sourcetree crashes intermittently when single tab open showing bookmarks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 3.4.26
    • General
    • None
    • Severity 2 - Major

      Sourcetree crashes intermittently when single tab open showing bookmarks. Had this happen several times when setting up a new machine with Sourcetree 3.4.26. Happened when no repositories open and the first tab was showing the bookmarks shortly after opening Sourcetree. OS Windows 11 Enterprise 24H2. Application closes with no warning.

      Error from event viewer:

      Application: SourceTree.exe
      Framework Version: v4.0.30319
      Description: The process was terminated due to an unhandled exception.
      Exception Info: System.InvalidOperationException
      at System.Threading.Thread.set_Name(System.String)
      at SourceTree.Utils.PriorityScheduler.QueueTask(System.Threading.Tasks.Task)
      at System.Threading.Tasks.Task.ScheduleAndStart(Boolean)

      Exception Info: System.Threading.Tasks.TaskSchedulerException
      at System.Threading.Tasks.Task.ScheduleAndStart(Boolean)
      at System.Threading.Tasks.Task.InternalStartNew(System.Threading.Tasks.Task, System.Delegate, System.Object, System.Threading.CancellationToken, System.Threading.Tasks.TaskScheduler, System.Threading.Tasks.TaskCreationOptions, System.Threading.Tasks.InternalTaskOptions, System.Threading.StackCrawlMark ByRef)
      at System.Threading.Tasks.TaskFactory.StartNew(System.Action, System.Threading.CancellationToken, System.Threading.Tasks.TaskCreationOptions, System.Threading.Tasks.TaskScheduler)
      at SourceTree.ViewModel.Bookmarks.BookmarksPanelViewModel+<>c_DisplayClass149_1.<RefreshRepositorySummary>b_0(SourceTree.Model.BookmarkNode)
      at SourceTree.Utils.Extensions+<>c_DisplayClass16_1`1+<<ForEachAsync>b_1>d[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
      at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
      at SourceTree.ViewModel.Bookmarks.BookmarksPanelViewModel+<RefreshRepositorySummary>d__149.MoveNext()
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
      at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
      at SourceTree.ViewModel.Bookmarks.BookmarksPanelViewModel+<InitAsync>d__148.MoveNext()
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
      at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
      at SourceTree.View.Bookmarks.BookmarksPanel+<BookmarksPanel_DataContextChanged>d__14.MoveNext()
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
      at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
      at System.Windows.Threading.DispatcherOperation.InvokeImpl()
      at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
      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 MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, 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 System.Windows.Threading.ExceptionWrapper.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 System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
      at System.Windows.Application.RunDispatcher(System.Object)
      at System.Windows.Application.RunInternal(System.Windows.Window)
      at SourceTree.App.Main()

      This appears to be similar to the closed bug SRCTREEWIN-13982, however this happened in a version after that was supposed to be fixed.

              fc748188476c Sharmila, Maria
              118f049a541a Rob
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: