eamodio / SaveAllTheTabs

Quickly save and restore sets of document tabs in Visual Studio
MIT License
67 stars 30 forks source link

Catastrophic failure - Saving any new tab set #27

Open djayfresh opened 4 years ago

djayfresh commented 4 years ago

Attempting to save a new tab set causes a Catastrophic Failure message to appear in VS 2017. After trying to save again, the following error happens and VS crashes and restarts.

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.COMException
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32, IntPtr)
   at Microsoft.VisualStudio.Shell.Settings.ShellWritableSettingsStore.SetString(System.String, System.String, System.String)
   at SaveAllTheTabs.DocumentManager.SaveGroupsForSolution(System.Collections.Generic.IList`1<SaveAllTheTabs.DocumentGroup>)
   at SaveAllTheTabs.DocumentManager.<LoadGroups>b__25_2(System.Reactive.EventPattern`1<System.ComponentModel.PropertyChangedEventArgs>)
   at System.Reactive.AnonymousSafeObserver`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnNext(System.__Canon)
   at System.Reactive.Concurrency.ObserveOn`1+ObserveOnSink[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnNextPosted(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.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
   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)

Visual Studio Info: Microsoft Visual Studio Professional 2017 Version 15.9.21 VisualStudio.15.Release/15.9.21+28307.1064 Microsoft .NET Framework Version 4.8.03761 Save All the Tabs 1.0 SaveAllTheTabs Visual Studio Package Detailed Info

System Info: Windows 10 Pro x64 32GB - RAM Intel i9-8950HK @ 2.9GHz