Error when reading large resolution image (720x18017) in a .zip file.
Issue #1171
wontfix
Errorlog.txt
OS Version: Microsoft Windows NT 10.0.19044.0 (64bit)
NeeView Version: 39.3 (.zip)
System.Runtime.InteropServices.COMException: UCEERR_RENDERTHREADFAILURE (异常来自 HRESULT:0x88980406)
在 System.Windows.Media.Composition.DUCE.Channel.SyncFlush()
在 System.Windows.Interop.HwndTarget.UpdateWindowSettings(Boolean enableRenderTarget, Nullable`1 channelSet)
在 System.Windows.Interop.HwndTarget.UpdateWindowPos(IntPtr lParam)
在 System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
在 System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
Comments (4)
-
reporter -
repo owner Thank you for your report.
I have confirmed the problem with a 720x18017 jpeg image. As a workaround for the problem, consider turning on "Load image size limit" on the "Memory & Performance" page of the settings.
720x18017 の jpeg 画像で問題を確認しました。問題の軽減策として、設定の「メモリとパフォーマンス」ページの「読み込み画像サイズ制限」をONにすることをご検討ください。
MEMO:
System.Windows.Media.RenderOptions.ProcessRenderMode = System.Windows.Interop.RenderMode.SoftwareOnly にすると現象が再現しないため、ハードウェアまたはドライバーに関連付けられた問題と思われる。根本的な解決は難しそう。
-
repo owner - marked as minor
-
repo owner - changed status to wontfix
アプリ側での対処が難しいため、保留します。
The problem is difficult to deal with on the application side and will be held in abeyance.
- Log in to comment
https://docs.microsoft.com/en-us/troubleshoot/dotnet/framework/wpf-render-thread-failures
Found this post and it seems this issue happens more frequently on dual monitor PC.
I’m using with dual monitor.