NINA crashed during night run
This morning, noticed that NINA had crashed during the night run.
This error occurred after 3am, 31 times in milliseconds intervals, like in a loop, unhandled exception:
[2020-07-31T03:14:01.2806] [ERROR] [MemberName] Application_DispatcherUnhandledException
[2020-07-31T03:14:01.2806] [ERROR] [FileName] E:\Projects\nina\NINA\App.xaml.cs
[2020-07-31T03:14:01.2806] [ERROR] [Message] UCEERR_RENDERTHREADFAILURE (Exception from HRESULT: 0x88980406) at System.Windows.Media.Composition.DUCE.Channel.SyncFlush()
at System.Windows.Interop.HwndTarget.UpdateWindowSettings(Boolean enableRenderTarget, Nullable`1 channelSet)
at System.Windows.Interop.HwndTarget.UpdateWindowPos(IntPtr lParam)
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)
The rest of the system was stable and latest captured 5min subs flawless.
Attached the logs.
PS: The level is currently set to INFO. Should I set to a different level for the next runs?
Comments (9)
-
repo owner -
reporter Would it be useful to run at a more verbose log level in the future to better troubleshoot?
at System.Windows.Interop.HwndTarget.UpdateWindowSettings(Boolean enableRenderTarget, Nullable`1 channelSet) at System.Windows.Interop.HwndTarget.UpdateWindowPos(IntPtr lParam)
I’m runnning NINA on a headless computer, which I access using a Remote Desktop connection. I’m wondering if window/screen resized when closing session or client computer wen to sleep caused some error. I will try to reproduce the problem…
-
reporter Can you take a look a this?
https://stackoverflow.com/questions/15480028/0x88980406-syncflush-is-there-a-workaround -
repo owner Before i start a ghost hunt, did you make sure that your operating system is up to date as well as your video card drivers?
-
reporter I will do that tonight
-
reporter No discrete GPU is installed on the machine, and Windows Update did not indicated update for the APU
However, there was an update for .NET framework, and I applied it.
I turned logs to “trace” and will test it out. Will get back with results.
-
reporter Last night was all right and it survived 24h after that. Closing.. I’ll leave the logs at trace and post an issue if more trouble.
-
reporter - changed status to resolved
-
reporter Just to follow up, NINA app was never closed multiple days in a row and imaging multiple nights without crashing.
- Log in to comment
Hmm - Never encountered this issue.
It seems to be a bug in the WPF framework which N.I.N.A. can do nothing about.