[GH-ISSUE #1037] Crash report #1780

Closed
opened 2026-02-28 12:06:35 +03:00 by kerem · 9 comments
Owner

Originally created by @itagagaki on GitHub (Nov 22, 2025).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/1037

Originally assigned to: @VShawn on GitHub.

Unfortunately, the crush at startup still occurs.

Environment

Component Version
1Remote 1.3.0-alpha(Built at: 2025-11-21T22:59:34.355+09:00)(EXE Release)
.NET Framework .NET 9.0
CLR 9.0.11
OS Windows 10 Pro 64-bits 10.0.26200.0 (2009) build 26200

Error Info

Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')

Stack Trace

   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at System.Collections.ObjectModel.ReadOnlyCollection`1.System.Collections.IList.get_Item(Int32 index)
   at WpfToolkit.Controls.ItemContainerManager.Virtualize(UIElement container)
   at WpfToolkit.Controls.VirtualizingWrapPanel.VirtualizeItemsAfterEndIndex()
   at WpfToolkit.Controls.VirtualizingWrapPanel.RealizeAndVirtualizeItems()
   at WpfToolkit.Controls.VirtualizingWrapPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
   at System.Windows.Interop.HwndTarget.OnResize()
   at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Recent Log

[T:002][09:35:02.829]	`Debug`		[33873798] ServerListPageViewModel is created
[T:002][09:35:03.662]	`Debug`		Add dummy server for `Local`
[T:002][09:35:03.663]	`Debug`		Add dummy server for `test`
[T:008][09:35:04.829]	`Debug`		Check NeedRead of [test] = RAM 0 < DB any = True
[T:008][09:35:04.831]	`Debug`		Check NeedRead of [test] = RAM 0 < DB any = True
[T:008][09:35:04.839]	`Debug`		Check NeedRead of [test] = RAM 0 < DB any = True
[T:008][09:35:04.848]	`Debug`		check database update - reload data by timer 36963566
[T:004][09:35:12.826]	`Info`		NamedPipeServerStream get: activate
[T:002][09:35:12.958]	`Debug`		Main window move to: top = 613.3333333333333, left = 1168.6666666666665
[T:002][09:35:12.970]	`Debug`		Main window resize to: w = 937.3333333333333, h = 637.3333333333333
[T:002][09:35:13.442]	`Debug`		GroupDescriptions = ProtocolBase.DataSource
[T:002][09:35:13.458]	`Debug`		Add dummy server for `test`
[T:002][09:35:13.464]	`Debug`		GroupDescriptions = ProtocolBase.DataSource
[T:002][09:35:13.470]	`Debug`		[33873798] ListView rebuilt with 10 servers
[T:002][09:35:13.508]	`Fatal`		[Bootstrapper.cs(OnUnhandledException:137)]	
> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at System.Collections.ObjectModel.ReadOnlyCollection`1.System.Collections.IList.get_Item(Int32 index)
   at WpfToolkit.Controls.ItemContainerManager.Virtualize(UIElement container)
   at WpfToolkit.Controls.VirtualizingWrapPanel.VirtualizeItemsAfterEndIndex()
   at WpfToolkit.Controls.VirtualizingWrapPanel.RealizeAndVirtualizeItems()
   at WpfToolkit.Controls.VirtualizingWrapPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
   at System.Windows.Interop.HwndTarget.OnResize()
   at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
> StackTrace:    at System.Collections.Generic.List`1.get_Item(Int32 index)
   at System.Collections.ObjectModel.ReadOnlyCollection`1.System.Collections.IList.get_Item(Int32 index)
   at WpfToolkit.Controls.ItemContainerManager.Virtualize(UIElement container)
   at WpfToolkit.Controls.VirtualizingWrapPanel.VirtualizeItemsAfterEndIndex()
   at WpfToolkit.Controls.VirtualizingWrapPanel.RealizeAndVirtualizeItems()
   at WpfToolkit.Controls.VirtualizingWrapPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
   at System.Windows.Interop.HwndTarget.OnResize()
   at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[T:007][09:35:24.040]	`Debug`		check database update - no need reload by timer 36963566
[T:008][09:35:43.230]	`Debug`		check database update - no need reload by timer 36963566
[T:008][09:36:02.439]	`Debug`		check database update - no need reload by timer 36963566
[T:008][09:36:21.638]	`Debug`		check database update - no need reload by timer 36963566
[T:003][09:36:40.830]	`Debug`		check database update - no need reload by timer 36963566
[T:003][09:37:00.072]	`Debug`		check database update - no need reload by timer 36963566
[T:003][09:37:19.298]	`Debug`		check database update - no need reload by timer 36963566
[T:003][09:37:38.492]	`Debug`		check database update - no need reload by timer 36963566
[T:003][09:37:57.698]	`Debug`		check database update - no need reload by timer 36963566
[T:003][09:38:16.915]	`Debug`		check database update - no need reload by timer 36963566
[T:003][09:38:36.140]	`Debug`		check database update - no need reload by timer 36963566
[T:003][09:38:55.354]	`Debug`		check database update - no need reload by timer 36963566
[T:003][09:39:14.508]	`Debug`		check database update - no need reload by timer 36963566
[T:003][09:39:33.718]	`Debug`		check database update - no need reload by timer 36963566
[T:003][09:39:52.922]	`Debug`		check database update - no need reload by timer 36963566
[T:003][09:40:12.155]	`Debug`		check database update - no need reload by timer 36963566
[T:003][09:40:31.368]	`Debug`		check database update - no need reload by timer 36963566
[T:003][09:40:50.539]	`Debug`		check database update - no need reload by timer 36963566
[T:003][09:41:09.751]	`Debug`		check database update - no need reload by timer 36963566
[T:003][09:41:28.962]	`Debug`		check database update - no need reload by timer 36963566
[T:012][09:41:48.122]	`Debug`		check database update - no need reload by timer 36963566
[T:012][09:42:07.312]	`Debug`		check database update - no need reload by timer 36963566
[T:012][09:42:26.451]	`Debug`		check database update - no need reload by timer 36963566
[T:012][09:42:45.635]	`Debug`		check database update - no need reload by timer 36963566
[T:012][09:43:04.842]	`Debug`		check database update - no need reload by timer 36963566
[T:016][09:43:24.020]	`Debug`		check database update - no need reload by timer 36963566
[T:016][09:43:43.188]	`Debug`		check database update - no need reload by timer 36963566
[T:016][09:44:02.339]	`Debug`		check database update - no need reload by timer 36963566
[T:016][09:44:21.467]	`Debug`		check database update - no need reload by timer 36963566
[T:016][09:44:40.626]	`Debug`		check database update - no need reload by timer 36963566
[T:016][09:44:59.787]	`Debug`		check database update - no need reload by timer 36963566
[T:016][09:45:18.989]	`Debug`		check database update - no need reload by timer 36963566
[T:016][09:45:38.159]	`Debug`		check database update - no need reload by timer 36963566
[T:016][09:45:57.327]	`Debug`		check database update - no need reload by timer 36963566
[T:016][09:46:16.493]	`Debug`		check database update - no need reload by timer 36963566
[T:016][09:46:35.686]	`Debug`		check database update - no need reload by timer 36963566
[T:016][09:46:54.853]	`Debug`		check database update - no need reload by timer 36963566
[T:016][09:47:14.022]	`Debug`		check database update - no need reload by timer 36963566
[T:018][09:47:33.194]	`Debug`		check database update - no need reload by timer 36963566
[T:018][09:47:52.352]	`Debug`		check database update - no need reload by timer 36963566
[T:018][09:48:11.520]	`Debug`		check database update - no need reload by timer 36963566
[T:017][09:48:30.689]	`Debug`		check database update - no need reload by timer 36963566
[T:017][09:48:49.893]	`Debug`		check database update - no need reload by timer 36963566
[T:017][09:49:09.046]	`Debug`		check database update - no need reload by timer 36963566
[T:017][09:49:28.270]	`Debug`		check database update - no need reload by timer 36963566
[T:017][09:49:47.421]	`Debug`		check database update - no need reload by timer 36963566
[T:020][09:50:04.089]	`Debug`		CloseEmptyWindows: Current: Host = 0, Full = 0, Tab = 0, HostToBeDispose = 0, WindowToBeDispose = 0
[T:002][11:03:16.057]	`Debug`		[33873798] ServerListPageViewModel is created
[T:002][11:03:16.761]	`Debug`		Main window move to: top = 613.3333333333333, left = 1168.6666666666665
[T:002][11:03:16.768]	`Debug`		Main window resize to: w = 937.3333333333333, h = 637.3333333333333
[T:002][11:03:17.028]	`Debug`		Add dummy server for `Local`
[T:002][11:03:17.028]	`Debug`		Add dummy server for `test`
[T:002][11:03:17.031]	`Debug`		GroupDescriptions = ProtocolBase.DataSource
[T:002][11:03:17.456]	`Debug`		Add dummy server for `test`
[T:002][11:03:17.469]	`Debug`		GroupDescriptions = ProtocolBase.DataSource
[T:002][11:03:17.473]	`Debug`		[33873798] ListView rebuilt with 10 servers
[T:008][11:03:18.169]	`Debug`		Check NeedRead of [test] = RAM 0 < DB any = True
[T:008][11:03:18.171]	`Debug`		Check NeedRead of [test] = RAM 0 < DB any = True
[T:008][11:03:18.180]	`Debug`		Check NeedRead of [test] = RAM 0 < DB any = True
[T:008][11:03:18.188]	`Debug`		check database update - reload data by timer 36963566
[T:002][11:03:18.188]	`Debug`		Add dummy server for `test`
[T:002][11:03:18.221]	`Debug`		GroupDescriptions = ProtocolBase.DataSource
[T:002][11:03:18.223]	`Debug`		[33873798] ListView rebuilt with 10 servers
[T:002][11:13:45.368]	`Debug`		[33873798] ServerListPageViewModel is created
[T:002][11:13:46.117]	`Debug`		Add dummy server for `Local`
[T:002][11:13:46.118]	`Debug`		Add dummy server for `test`
[T:007][11:13:47.293]	`Debug`		Check NeedRead of [test] = RAM 0 < DB any = True
[T:007][11:13:47.295]	`Debug`		Check NeedRead of [test] = RAM 0 < DB any = True
[T:007][11:13:47.304]	`Debug`		Check NeedRead of [test] = RAM 0 < DB any = True
[T:007][11:13:47.312]	`Debug`		check database update - reload data by timer 26788648
[T:008][11:14:06.492]	`Debug`		check database update - no need reload by timer 26788648
[T:008][11:14:25.701]	`Debug`		check database update - no need reload by timer 26788648
[T:008][11:14:44.877]	`Debug`		check database update - no need reload by timer 26788648
[T:008][11:15:04.058]	`Debug`		check database update - no need reload by timer 26788648
[T:008][11:15:23.249]	`Debug`		check database update - no need reload by timer 26788648
[T:016][11:15:42.410]	`Debug`		check database update - no need reload by timer 26788648
[T:016][11:16:01.544]	`Debug`		check database update - no need reload by timer 26788648
[T:004][11:16:15.318]	`Info`		NamedPipeServerStream get: activate
[T:002][11:16:15.391]	`Debug`		Main window move to: top = 613.3333333333333, left = 1168.6666666666665
[T:002][11:16:15.399]	`Debug`		Main window resize to: w = 937.3333333333333, h = 637.3333333333333
[T:002][11:16:15.710]	`Debug`		GroupDescriptions = ProtocolBase.DataSource
[T:002][11:16:15.719]	`Debug`		Add dummy server for `test`
[T:002][11:16:15.723]	`Debug`		GroupDescriptions = ProtocolBase.DataSource
[T:002][11:16:15.727]	`Debug`		[33873798] ListView rebuilt with 10 servers
[T:002][11:16:15.746]	`Fatal`		[Bootstrapper.cs(OnUnhandledException:137)]	
> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at System.Collections.ObjectModel.ReadOnlyCollection`1.System.Collections.IList.get_Item(Int32 index)
   at WpfToolkit.Controls.ItemContainerManager.Virtualize(UIElement container)
   at WpfToolkit.Controls.VirtualizingWrapPanel.VirtualizeItemsAfterEndIndex()
   at WpfToolkit.Controls.VirtualizingWrapPanel.RealizeAndVirtualizeItems()
   at WpfToolkit.Controls.VirtualizingWrapPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
   at System.Windows.Interop.HwndTarget.OnResize()
   at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
> StackTrace:    at System.Collections.Generic.List`1.get_Item(Int32 index)
   at System.Collections.ObjectModel.ReadOnlyCollection`1.System.Collections.IList.get_Item(Int32 index)
   at WpfToolkit.Controls.ItemContainerManager.Virtualize(UIElement container)
   at WpfToolkit.Controls.VirtualizingWrapPanel.VirtualizeItemsAfterEndIndex()
   at WpfToolkit.Controls.VirtualizingWrapPanel.RealizeAndVirtualizeItems()
   at WpfToolkit.Controls.VirtualizingWrapPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
   at System.Windows.Interop.HwndTarget.OnResize()
   at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Originally created by @itagagaki on GitHub (Nov 22, 2025). Original GitHub issue: https://github.com/1Remote/1Remote/issues/1037 Originally assigned to: @VShawn on GitHub. Unfortunately, the crush at startup still occurs. <details> ## Environment | Component | Version | |:------------------|:--------------------------------------| |1Remote | `1.3.0-alpha(Built at: 2025-11-21T22:59:34.355+09:00)`(EXE Release)| |.NET Framework | `.NET 9.0` | |CLR | `9.0.11` | |OS | `Windows 10 Pro 64-bits 10.0.26200.0 (2009) build 26200` | ## Error Info Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') ## Stack Trace ``` at System.Collections.Generic.List`1.get_Item(Int32 index) at System.Collections.ObjectModel.ReadOnlyCollection`1.System.Collections.IList.get_Item(Int32 index) at WpfToolkit.Controls.ItemContainerManager.Virtualize(UIElement container) at WpfToolkit.Controls.VirtualizingWrapPanel.VirtualizeItemsAfterEndIndex() at WpfToolkit.Controls.VirtualizingWrapPanel.RealizeAndVirtualizeItems() at WpfToolkit.Controls.VirtualizingWrapPanel.MeasureOverride(Size availableSize) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.ContextLayoutManager.UpdateLayout() at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg) at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget) at System.Windows.Interop.HwndTarget.OnResize() at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ``` ## Recent Log ``` [T:002][09:35:02.829] `Debug` [33873798] ServerListPageViewModel is created [T:002][09:35:03.662] `Debug` Add dummy server for `Local` [T:002][09:35:03.663] `Debug` Add dummy server for `test` [T:008][09:35:04.829] `Debug` Check NeedRead of [test] = RAM 0 < DB any = True [T:008][09:35:04.831] `Debug` Check NeedRead of [test] = RAM 0 < DB any = True [T:008][09:35:04.839] `Debug` Check NeedRead of [test] = RAM 0 < DB any = True [T:008][09:35:04.848] `Debug` check database update - reload data by timer 36963566 [T:004][09:35:12.826] `Info` NamedPipeServerStream get: activate [T:002][09:35:12.958] `Debug` Main window move to: top = 613.3333333333333, left = 1168.6666666666665 [T:002][09:35:12.970] `Debug` Main window resize to: w = 937.3333333333333, h = 637.3333333333333 [T:002][09:35:13.442] `Debug` GroupDescriptions = ProtocolBase.DataSource [T:002][09:35:13.458] `Debug` Add dummy server for `test` [T:002][09:35:13.464] `Debug` GroupDescriptions = ProtocolBase.DataSource [T:002][09:35:13.470] `Debug` [33873798] ListView rebuilt with 10 servers [T:002][09:35:13.508] `Fatal` [Bootstrapper.cs(OnUnhandledException:137)] > System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') at System.Collections.Generic.List`1.get_Item(Int32 index) at System.Collections.ObjectModel.ReadOnlyCollection`1.System.Collections.IList.get_Item(Int32 index) at WpfToolkit.Controls.ItemContainerManager.Virtualize(UIElement container) at WpfToolkit.Controls.VirtualizingWrapPanel.VirtualizeItemsAfterEndIndex() at WpfToolkit.Controls.VirtualizingWrapPanel.RealizeAndVirtualizeItems() at WpfToolkit.Controls.VirtualizingWrapPanel.MeasureOverride(Size availableSize) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.ContextLayoutManager.UpdateLayout() at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg) at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget) at System.Windows.Interop.HwndTarget.OnResize() at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) > StackTrace: at System.Collections.Generic.List`1.get_Item(Int32 index) at System.Collections.ObjectModel.ReadOnlyCollection`1.System.Collections.IList.get_Item(Int32 index) at WpfToolkit.Controls.ItemContainerManager.Virtualize(UIElement container) at WpfToolkit.Controls.VirtualizingWrapPanel.VirtualizeItemsAfterEndIndex() at WpfToolkit.Controls.VirtualizingWrapPanel.RealizeAndVirtualizeItems() at WpfToolkit.Controls.VirtualizingWrapPanel.MeasureOverride(Size availableSize) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.ContextLayoutManager.UpdateLayout() at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg) at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget) at System.Windows.Interop.HwndTarget.OnResize() at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) [T:007][09:35:24.040] `Debug` check database update - no need reload by timer 36963566 [T:008][09:35:43.230] `Debug` check database update - no need reload by timer 36963566 [T:008][09:36:02.439] `Debug` check database update - no need reload by timer 36963566 [T:008][09:36:21.638] `Debug` check database update - no need reload by timer 36963566 [T:003][09:36:40.830] `Debug` check database update - no need reload by timer 36963566 [T:003][09:37:00.072] `Debug` check database update - no need reload by timer 36963566 [T:003][09:37:19.298] `Debug` check database update - no need reload by timer 36963566 [T:003][09:37:38.492] `Debug` check database update - no need reload by timer 36963566 [T:003][09:37:57.698] `Debug` check database update - no need reload by timer 36963566 [T:003][09:38:16.915] `Debug` check database update - no need reload by timer 36963566 [T:003][09:38:36.140] `Debug` check database update - no need reload by timer 36963566 [T:003][09:38:55.354] `Debug` check database update - no need reload by timer 36963566 [T:003][09:39:14.508] `Debug` check database update - no need reload by timer 36963566 [T:003][09:39:33.718] `Debug` check database update - no need reload by timer 36963566 [T:003][09:39:52.922] `Debug` check database update - no need reload by timer 36963566 [T:003][09:40:12.155] `Debug` check database update - no need reload by timer 36963566 [T:003][09:40:31.368] `Debug` check database update - no need reload by timer 36963566 [T:003][09:40:50.539] `Debug` check database update - no need reload by timer 36963566 [T:003][09:41:09.751] `Debug` check database update - no need reload by timer 36963566 [T:003][09:41:28.962] `Debug` check database update - no need reload by timer 36963566 [T:012][09:41:48.122] `Debug` check database update - no need reload by timer 36963566 [T:012][09:42:07.312] `Debug` check database update - no need reload by timer 36963566 [T:012][09:42:26.451] `Debug` check database update - no need reload by timer 36963566 [T:012][09:42:45.635] `Debug` check database update - no need reload by timer 36963566 [T:012][09:43:04.842] `Debug` check database update - no need reload by timer 36963566 [T:016][09:43:24.020] `Debug` check database update - no need reload by timer 36963566 [T:016][09:43:43.188] `Debug` check database update - no need reload by timer 36963566 [T:016][09:44:02.339] `Debug` check database update - no need reload by timer 36963566 [T:016][09:44:21.467] `Debug` check database update - no need reload by timer 36963566 [T:016][09:44:40.626] `Debug` check database update - no need reload by timer 36963566 [T:016][09:44:59.787] `Debug` check database update - no need reload by timer 36963566 [T:016][09:45:18.989] `Debug` check database update - no need reload by timer 36963566 [T:016][09:45:38.159] `Debug` check database update - no need reload by timer 36963566 [T:016][09:45:57.327] `Debug` check database update - no need reload by timer 36963566 [T:016][09:46:16.493] `Debug` check database update - no need reload by timer 36963566 [T:016][09:46:35.686] `Debug` check database update - no need reload by timer 36963566 [T:016][09:46:54.853] `Debug` check database update - no need reload by timer 36963566 [T:016][09:47:14.022] `Debug` check database update - no need reload by timer 36963566 [T:018][09:47:33.194] `Debug` check database update - no need reload by timer 36963566 [T:018][09:47:52.352] `Debug` check database update - no need reload by timer 36963566 [T:018][09:48:11.520] `Debug` check database update - no need reload by timer 36963566 [T:017][09:48:30.689] `Debug` check database update - no need reload by timer 36963566 [T:017][09:48:49.893] `Debug` check database update - no need reload by timer 36963566 [T:017][09:49:09.046] `Debug` check database update - no need reload by timer 36963566 [T:017][09:49:28.270] `Debug` check database update - no need reload by timer 36963566 [T:017][09:49:47.421] `Debug` check database update - no need reload by timer 36963566 [T:020][09:50:04.089] `Debug` CloseEmptyWindows: Current: Host = 0, Full = 0, Tab = 0, HostToBeDispose = 0, WindowToBeDispose = 0 [T:002][11:03:16.057] `Debug` [33873798] ServerListPageViewModel is created [T:002][11:03:16.761] `Debug` Main window move to: top = 613.3333333333333, left = 1168.6666666666665 [T:002][11:03:16.768] `Debug` Main window resize to: w = 937.3333333333333, h = 637.3333333333333 [T:002][11:03:17.028] `Debug` Add dummy server for `Local` [T:002][11:03:17.028] `Debug` Add dummy server for `test` [T:002][11:03:17.031] `Debug` GroupDescriptions = ProtocolBase.DataSource [T:002][11:03:17.456] `Debug` Add dummy server for `test` [T:002][11:03:17.469] `Debug` GroupDescriptions = ProtocolBase.DataSource [T:002][11:03:17.473] `Debug` [33873798] ListView rebuilt with 10 servers [T:008][11:03:18.169] `Debug` Check NeedRead of [test] = RAM 0 < DB any = True [T:008][11:03:18.171] `Debug` Check NeedRead of [test] = RAM 0 < DB any = True [T:008][11:03:18.180] `Debug` Check NeedRead of [test] = RAM 0 < DB any = True [T:008][11:03:18.188] `Debug` check database update - reload data by timer 36963566 [T:002][11:03:18.188] `Debug` Add dummy server for `test` [T:002][11:03:18.221] `Debug` GroupDescriptions = ProtocolBase.DataSource [T:002][11:03:18.223] `Debug` [33873798] ListView rebuilt with 10 servers [T:002][11:13:45.368] `Debug` [33873798] ServerListPageViewModel is created [T:002][11:13:46.117] `Debug` Add dummy server for `Local` [T:002][11:13:46.118] `Debug` Add dummy server for `test` [T:007][11:13:47.293] `Debug` Check NeedRead of [test] = RAM 0 < DB any = True [T:007][11:13:47.295] `Debug` Check NeedRead of [test] = RAM 0 < DB any = True [T:007][11:13:47.304] `Debug` Check NeedRead of [test] = RAM 0 < DB any = True [T:007][11:13:47.312] `Debug` check database update - reload data by timer 26788648 [T:008][11:14:06.492] `Debug` check database update - no need reload by timer 26788648 [T:008][11:14:25.701] `Debug` check database update - no need reload by timer 26788648 [T:008][11:14:44.877] `Debug` check database update - no need reload by timer 26788648 [T:008][11:15:04.058] `Debug` check database update - no need reload by timer 26788648 [T:008][11:15:23.249] `Debug` check database update - no need reload by timer 26788648 [T:016][11:15:42.410] `Debug` check database update - no need reload by timer 26788648 [T:016][11:16:01.544] `Debug` check database update - no need reload by timer 26788648 [T:004][11:16:15.318] `Info` NamedPipeServerStream get: activate [T:002][11:16:15.391] `Debug` Main window move to: top = 613.3333333333333, left = 1168.6666666666665 [T:002][11:16:15.399] `Debug` Main window resize to: w = 937.3333333333333, h = 637.3333333333333 [T:002][11:16:15.710] `Debug` GroupDescriptions = ProtocolBase.DataSource [T:002][11:16:15.719] `Debug` Add dummy server for `test` [T:002][11:16:15.723] `Debug` GroupDescriptions = ProtocolBase.DataSource [T:002][11:16:15.727] `Debug` [33873798] ListView rebuilt with 10 servers [T:002][11:16:15.746] `Fatal` [Bootstrapper.cs(OnUnhandledException:137)] > System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') at System.Collections.Generic.List`1.get_Item(Int32 index) at System.Collections.ObjectModel.ReadOnlyCollection`1.System.Collections.IList.get_Item(Int32 index) at WpfToolkit.Controls.ItemContainerManager.Virtualize(UIElement container) at WpfToolkit.Controls.VirtualizingWrapPanel.VirtualizeItemsAfterEndIndex() at WpfToolkit.Controls.VirtualizingWrapPanel.RealizeAndVirtualizeItems() at WpfToolkit.Controls.VirtualizingWrapPanel.MeasureOverride(Size availableSize) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.ContextLayoutManager.UpdateLayout() at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg) at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget) at System.Windows.Interop.HwndTarget.OnResize() at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) > StackTrace: at System.Collections.Generic.List`1.get_Item(Int32 index) at System.Collections.ObjectModel.ReadOnlyCollection`1.System.Collections.IList.get_Item(Int32 index) at WpfToolkit.Controls.ItemContainerManager.Virtualize(UIElement container) at WpfToolkit.Controls.VirtualizingWrapPanel.VirtualizeItemsAfterEndIndex() at WpfToolkit.Controls.VirtualizingWrapPanel.RealizeAndVirtualizeItems() at WpfToolkit.Controls.VirtualizingWrapPanel.MeasureOverride(Size availableSize) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.ContextLayoutManager.UpdateLayout() at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg) at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget) at System.Windows.Interop.HwndTarget.OnResize() at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ``` </details>
kerem 2026-02-28 12:06:35 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@itagagaki commented on GitHub (Nov 24, 2025):

This crash occurs when the program is set to "Run automatically at OS startup (user sign-in, to be precise)".

<!-- gh-comment-id:3570339307 --> @itagagaki commented on GitHub (Nov 24, 2025): This crash occurs when the program is set to "Run automatically at OS startup (user sign-in, to be precise)".
Author
Owner

@itagagaki commented on GitHub (Nov 24, 2025):

This seems to happen in Card View, but not in List View.

<!-- gh-comment-id:3570348062 --> @itagagaki commented on GitHub (Nov 24, 2025): This seems to happen in Card View, but not in List View.
Author
Owner

@itagagaki commented on GitHub (Nov 24, 2025):

I noticed that the 1Remote is not minimized when its automatic startup.

<!-- gh-comment-id:3573140936 --> @itagagaki commented on GitHub (Nov 24, 2025): I noticed that the 1Remote is not minimized when its automatic startup.
Author
Owner

@VShawn commented on GitHub (Nov 25, 2025):

I haven't used CardView in a long time; let me take a look.

<!-- gh-comment-id:3573575443 --> @VShawn commented on GitHub (Nov 25, 2025): I haven't used CardView in a long time; let me take a look.
Author
Owner

@VShawn commented on GitHub (Nov 25, 2025):

I tried using CardView, and everything worked fine. I still haven't figured out what triggers the bug.

From the logs, it seems that the data source changed during the UI rendering, causing Index was out of range error. But if that's the case, I should be able to reproduce the bug, which I haven't managed to do yet. The solutions suggested by Copilot AI are getting more and more ridiculous—I’m hope AI will work this time.

<!-- gh-comment-id:3574502787 --> @VShawn commented on GitHub (Nov 25, 2025): I tried using CardView, and everything worked fine. I still haven't figured out what triggers the bug. From the logs, it seems that the data source changed during the UI rendering, causing `Index was out of range` error. But if that's the case, I should be able to reproduce the bug, which I haven't managed to do yet. The solutions suggested by Copilot AI are getting more and more ridiculous—I’m hope AI will work this time.
Author
Owner

@itagagaki commented on GitHub (Nov 26, 2025):

Resolved.
I'm not sure of the exact reason, but it seems that an older store version was lingering somewhere and causing some kind of issue.
After uninstalling it and running the latest revision build in portable mode, everything started working fine.

<!-- gh-comment-id:3578161557 --> @itagagaki commented on GitHub (Nov 26, 2025): Resolved. I'm not sure of the exact reason, but it seems that an older store version was lingering somewhere and causing some kind of issue. After uninstalling it and running the latest revision build in portable mode, everything started working fine.
Author
Owner

@VShawn commented on GitHub (Nov 26, 2025):

Ah? May I ask if you have set the portable version to read the configuration files or database of the store version located in AppData? As far as I remember, these two versions shouldn’t overlap by default.

By the way, the copilot AI has failed once again.

<!-- gh-comment-id:3578170911 --> @VShawn commented on GitHub (Nov 26, 2025): Ah? May I ask if you have set the portable version to read the configuration files or database of the store version located in AppData? As far as I remember, these two versions shouldn’t overlap by default. By the way, the copilot AI has failed once again.
Author
Owner

@itagagaki commented on GitHub (Nov 26, 2025):

No, I don't recall ever sharing a database.
I'm not sure exactly what happened, but the sequence of my experiences was roughly as follows:

I always use in portable mode with the latest build.

I unchecked “Run automatically at OS startup” and tried signing out/signing in.

However, I noticed that 1Remote was still launching.

Checking Task Manager revealed that the binary was from the build folder of the store version within the tree that I had cloned directly from the 1Remote repository, rather than from my own fork.

However, when I launch it directly and looked into the options, the 'Run automatically at OS startup' checkbox was unchecked.

Looking in Windows “Settings > Apps”, I found 1Remote listed (I don't recall installing it, but I must have done so at some point). So I uninstalled it.

Just to be safe, I rebuilt the latest 1Remote code.

Portable mode now works correctly.

<!-- gh-comment-id:3578310105 --> @itagagaki commented on GitHub (Nov 26, 2025): No, I don't recall ever sharing a database. I'm not sure exactly what happened, but the sequence of my experiences was roughly as follows: I always use in portable mode with the latest build. I unchecked “Run automatically at OS startup” and tried signing out/signing in. However, I noticed that 1Remote was still launching. Checking Task Manager revealed that the binary was from the build folder of the store version within the tree that I had cloned directly from the 1Remote repository, rather than from my own fork. However, when I launch it directly and looked into the options, the 'Run automatically at OS startup' checkbox was unchecked. Looking in Windows “Settings > Apps”, I found 1Remote listed (I don't recall installing it, but I must have done so at some point). So I uninstalled it. Just to be safe, I rebuilt the latest 1Remote code. Portable mode now works correctly.
Author
Owner

@VShawn commented on GitHub (Nov 26, 2025):

okey, based on your helpful info, it seems that the auto-start feature of the store version has been applied to the portable version (since the logs show that the crash occurred on portable version, while the startup information in your Task Manager shows the store version).

And This is strange, as the auto-start mechanisms of the two versions are different, I even think it's impossible. This requires further investigation.

BTW There are many problems with the current store version, especially #937, for which I still haven't found the cause, which is very frustrating.

<!-- gh-comment-id:3578785621 --> @VShawn commented on GitHub (Nov 26, 2025): okey, based on your helpful info, it seems that the auto-start feature of the store version has been applied to the portable version (since the logs show that the crash occurred on portable version, while the startup information in your Task Manager shows the store version). And This is strange, as the auto-start mechanisms of the two versions are different, I even think it's impossible. This requires further investigation. BTW There are many problems with the current store version, especially #937, for which I still haven't found the cause, which is very frustrating.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/1Remote#1780
No description provided.