Error when reading large resolution image (720x18017) in a .zip file.

Issue #1171 wontfix
Pikashi Tom created an issue

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)

  1. Ito Mitsuhiro 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 にすると現象が再現しないため、ハードウェアまたはドライバーに関連付けられた問題と思われる。根本的な解決は難しそう。

  2. Ito Mitsuhiro repo owner

    アプリ側での対処が難しいため、保留します。

    The problem is difficult to deal with on the application side and will be held in abeyance.

  3. Log in to comment