Page 1 of 1

[Fatal ]: (Director|UnhandledException) Unhandled exception: UCEERR_RENDERTHREADFAILURE

Posted: 13 Nov 2018, 20:46
by hsen284
Hey!
when I run director, sometimes it shows an error but sometimes not

I,m using 3 virtual midis and 2 outputs

my outputs are decklink quad 2 and decklink 4k extreme

this is the error

So whats the possible issue which making this ?

[Fatal ]: (Director|UnhandledException) Unhandled exception: UCEERR_RENDERTHREADFAILURE (Exception from HRESULT: 0x88980406)
<Exception Type="System.Runtime.InteropServices.COMException">
<StackTrace> 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&amp; handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; 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)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)</StackTrace>
<ToString>System.Runtime.InteropServices.COMException (0x88980406): 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&amp; handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; 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)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)</ToString>

Re: [Fatal ]: (Director|UnhandledException) Unhandled exception: UCEERR_RENDERTHREADFAILURE

Posted: 14 Nov 2018, 12:15
by Karol
Hi,

seems to be a WPF problem:
https://blogs.msdn.microsoft.com/dsui_t ... -failures/

Best Regards
Karol

Re: [Fatal ]: (Director|UnhandledException) Unhandled exception: UCEERR_RENDERTHREADFAILURE

Posted: 17 Nov 2018, 16:15
by hsen284
I have 2 decklink outputs so when I removed the second one it seems that everything is good with no errors

I guess it's a capture card problem

When I replace it I'll see if it's a hardware problem not software (multi channel)