EJWellman / QuarmTool

Project Quarm-EQ - Log based Spell timer, dps, map, and mob info
MIT License
11 stars 1 forks source link

QuarmTool crashing on start up Release 23 - v1.1.1.0 #31

Closed LichLord91 closed 2 months ago

LichLord91 commented 3 months ago

Upon starting Quarmtool it opens up my previous windows, freeze, and then crashes with no warning.

Event Viewer logs

.Net Runtime Error

Application: QuarmTool.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ComponentModel.Win32Exception
   at MS.Win32.UnsafeNativeMethods.PostMessage(System.Runtime.InteropServices.HandleRef, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr)
   at System.Windows.Interop.HwndTarget.UpdateWindowSettings(Boolean, System.Nullable`1<ChannelSet>)
   at System.Windows.Interop.HwndTarget.UpdateWindowPos(IntPtr)
   at System.Windows.Interop.HwndTarget.HandleMessage(MS.Internal.Interop.WindowMessage, IntPtr, IntPtr)
   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)

And

Application Error

Faulting application name: QuarmTool.exe, version: 1.1.1.0, time stamp: 0x8c06bf3a
Faulting module name: KERNELBASE.dll, version: 10.0.19041.4412, time stamp: 0x6d8c3da8
Exception code: 0xe0434352
Fault offset: 0x00140b82
Faulting process id: 0x5b60
Faulting application start time: 0x01dabaa2d6e7ea9d
Faulting application path: C:\Games\EQ\quarm extras\QuarmTool\QuarmTool.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 70cb4a44-cd1b-46c8-9f60-2902a3a4d27f
Faulting package full name: 
Faulting package-relative application ID: 

image

image

LichLord91 commented 3 months ago

Update, I reverted back to the previous version and it still crashed.

Thinking there may be some cache or settings issue I unzipped the latest version to a different folder and started fresh.

The new install worked just fine so there must be something in the old installation directory that's causing this.

Most likely something in the settings or other cache files. I've uploaded my bad install for you to test if you want.

I did note in my previous bug report that the application seemed to stall for a bit then recover so unsure if its related to the previous bug in anyway. So could be a issue from the previous release not necessarily this one.

QuarmTool_Bad.zip

EJWellman commented 3 months ago

So.. Same issue. The windows are off the screen, position, and size wise. What resolution is your monitor? Is it 4k? 1440p? 1080p?

Looks like the window loading off the screen causes a loop of resizing, checking the size, resizing, etc.. Gonna see what I can do about it.

That said, it does look like the one you sent me is version 1.1.0.2, and not 1.1.1.0. Not the hugest deal, just mentioning.

LichLord91 commented 3 months ago

I have 3 monitors

Main one is 1440p other two is 1080p

EJWellman commented 3 months ago

This crash should be sorted out in the next release. Now if it detects anything off screen it'll push it back on screen correctly, and more importantly, resize it to be within the bounds of your screen.