Error when the thumbnail on pagelist or bookshelf contains avif image format

Issue #1370 closed
Altale created an issue

When I view images in avif format with pagelist or bookshelf hidden, everything goes well.

But when I show the pagelist or bookshelf that contains avif images then report the error.

OS Version: Microsoft Windows NT 10.0.19045.0 (64bit)
NeeView Version: 39.5 (.zip)

System.NullReferenceException: Object reference not set to an instance of an object。
at TerraFX.Interop.Windows.IWICBitmapSource.Release()
at PhotoSauce.MagicScaler.WicImageFrame.dispose(Boolean disposing)
at PhotoSauce.MagicScaler.WicImageFrame.Finalize()

Comments (6)

  1. Ito Mitsuhiro repo owner

    Thank you for your report.
    Unfortunately, however, I have not been able to reproduce it here.

    I tested using AVIF images here and had no problems.
    https://github.com/link-u/avif-sample-images

    Other settings may be the cause. Please check.

    Also, the Canary version uses a newer version of the library in the area where the error is occurring. Please try here to see if the phenomenon changes.
    https://bitbucket.org/neelabo/neeview/downloads/NeeViewCanary0618.zip


    ご報告ありがとうございます。
    ですが、こちらでは現象を再現できていません。

    こちらのAVIF画像を使用してテストしましたが、問題ありませんでした。
    https://github.com/link-u/avif-sample-images

    他の設定が原因なのかもしれません。ご確認ください。

    また、Canary版ではエラーの出ている部分のライブラリの新しいバージョンを使用しています。こちらで現象に変化があるかお試しください。
    https://bitbucket.org/neelabo/neeview/downloads/NeeViewCanary0618.zip

  2. Altale reporter

    Yes, I have changed to NeeViewCanary, and the issue never occurs.

    I also test many other avif images, and found that the issue occurs to avif image which contains EXIF.
    After I use avifenc encode image that has EXIF with --ignore-exif, it works well.
    Also if I use ifavif in susie plugin to decode avif format image, the issue doesn’t occurs.

  3. Ito Mitsuhiro repo owner

    We were able to reproduce the phenomenon using avifenc.

    We will resolve this issue with an update to the library.

    However, we are having difficulty developing the next version, and the release date has not yet been determined.

  4. Log in to comment