ComicRackCE icon indicating copy to clipboard operation
ComicRackCE copied to clipboard

CRASH - ArgumentOutOfRangeException (Related to scrollbar)

Open killo3967 opened this issue 1 year ago • 7 comments

Describe the bug An error screen is displayed

Exact Steps to Reproduce I was not doing anything. The programme was open and unused.

Version/Commit (check the about page, next to the version, for the string between brackets):

  • Version: 0.9.180
  • Commit: 9745855
Crash dump

**Additional context**

Application: ComicRack Community Edition
Version    : 0.9.180
Assembly   : 1.0.9025.35909
OS         : Microsoft Windows NT 6.2.9200.0 64
.NET       : 4.0.30319.42000
Processors : 8
Workingset : 230,14 MB
THREADEXCEPTION
--------------------
ArgumentOutOfRangeException
Void set_Value(Int32)
El valor de '-2147483648' no es válido para 'Value'. 'Value' debería estar entre 'minimum' y 'maximum'.
Nombre del parámetro: Value
   en System.Windows.Forms.ScrollBar.set_Value(Int32 value)
   en System.Windows.Forms.ScrollBar.DoScroll(ScrollEventType type)
   en System.Windows.Forms.ScrollBar.WmReflectScroll(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

--------------------
Save Database Queue: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
GUI Thread: Running ()
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Background Fast Page Queue: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Background Slow Page Queue #1: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Background Slow Page Queue #2: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Background Slow Page Queue #3: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Background Slow Page Queue #4: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Background Fast Thumbnails Queue: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Background Slow Thumbnails Queue #1: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Background Slow Thumbnails Queue #2: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Background Slow Thumbnails Queue #3: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Background Slow Thumbnails Queue #4: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Update Dynamic Books: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Export Books: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Read Book File Information: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Write Book File Information: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Synchronizing Devices: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Overlay Animation Thread: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Overlay Animation Thread: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Overlay Animation Thread: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Free Image Memory: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
BackgroundRunner Thread: Background, WaitSleepJoin (B)
   en cYo.Common.Threading.ThreadUtility.DumpThread(TextWriter tw, Thread t)
   en cYo.Common.Threading.ThreadUtility.DumpStacks(TextWriter tw)
   en cYo.Projects.ComicRack.Viewer.Dialogs.CrashDialog.OnBark(Object sender, BarkEventArgs e)
   en cYo.Common.Runtime.CrashWatchDog.OnBark(BarkType bark, Exception e)
   en System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   en System.Windows.Forms.Control.WndProcException(Exception e)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   en System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollBar.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en cYo.Projects.ComicRack.Viewer.Program.StartNew(String[] args)
   en cYo.Common.Runtime.SingleInstance.Run(String[] args)
   en cYo.Projects.ComicRack.Viewer.Program.Main(String[] args)

--------------------
Report generated at: 20/09/2024 21:35:43

killo3967 avatar Sep 20 '24 19:09 killo3967

Something to do with the scrollbar and scrolling, what is weird is the value -2147483648, which is the minimum 32bit integer value. I did notice some Trace message in the debugger about scrolling underflow. Whatever you were doing there it created a value that crashed the framework.

The crash log doesn't seem to give more info about the ComicRack code itself, so hard to know where the error came from.

Is it possible to be a hardware bug, I've had mouses bug out on me frequently, something like the scroll wheel bugging out and the program translating it for a huge value?

Note: English translation of the exception for reference:

ArgumentOutOfRangeException Value of '-2147483648' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.
Parameter name: Value 

maforget avatar Sep 20 '24 20:09 maforget

What is weird is that all places that change the scroll value are clamped between the minimum and maximum. So even with some hardware value, it would return either 0 or 100.

https://github.com/maforget/ComicRackCE/blob/974585589c403d0ce1c5568fa69738fc8ac31406/cYo.Common.Windows/Forms/ScrollControl.cs#L359-L421

There is a lot of value that are changed there, so maybe some value is small because when a window is minimized or something. Would really need to find a way to reproduce it.

maforget avatar Sep 20 '24 21:09 maforget

I'll try doing the same, mantainig the program open durin hours, but no fail.

Don't worry about me, i only inform you because i don't know if is an importan crash.

killo3967 avatar Sep 22 '24 17:09 killo3967

Info from the other issues seems to indicate it comes from the pages window.

maforget avatar Apr 04 '25 22:04 maforget

What is weird is that all places that change the scroll value are clamped between the minimum and maximum. So even with some hardware value, it would return either 0 or 100.

I don't think they're the cause of crash for a few reasons, but wanted to highlight: those Clamp methods are bugged; they don't validate min/max. If min > max, they're return min instead of (valid) value. They should still clamp though afaics

https://github.com/maforget/ComicRackCE/blob/9cca27ec7b7665c09d3fbc826a7307329d00997b/cYo.Common/Mathematics/Numeric.cs#L112-L115

// example. should return 10 as it's between 0 and 100
10.Clamp(100, 0);

// Math.Min(value, max) - 0 is smaller than 10
Math.Min(10, 0)

// Math.Max(Math.Min(value, max), min) - 100 is bigger than 0
Math.Max(0, 100)

gman-comicdb avatar Nov 12 '25 04:11 gman-comicdb

You've reversed the min & max, check again

// example. should return 10 as it's between 0 and 100 10.Clamp(100, 0);

Should be

10.Clamp(0, 100);

// Math.Min(value, max) - 0 is smaller than 10 Math.Min(10, 0)

It returns the smaller between 10 and 100, so 10.

// Math.Min(value, max)
Math.Min(10, 100)

// Math.Max(Math.Min(value, max), min) - 100 is bigger than 0 Math.Max(0, 100)

This is also reversed, biggest value between 10 & 0

// Math.Max(Math.Min(value, max), min)
Math.Max(10, 0)

maforget avatar Nov 12 '25 09:11 maforget

Yes, I reversed the min and max intentionally to show how Clamp would behave when min > max.

max > min is an unverified assumption; Clamp doesn't do anything to validate that it is true.

gman-comicdb avatar Nov 12 '25 10:11 gman-comicdb