Public bug reported:

After upgrading libexiv2-27 from version 0.27.6-1build1 to 0.27.6-1ubuntu0.1, 
both gThumb and Gwenview immediately crash when opening any JPEG image.
This regression is fully reproducible and disappears when downgrading 
libexiv2-27 back to the previous version.

This affects:

    gThumb (segmentation fault on startup when loading an image)

    Gwenview (fails to resolve RAW MIME types, then crashes)

    Dolphin (RAW thumbnails disappear)

    Any KDE/GTK application using Exiv2 for metadata parsing

The rest of the system remains stable.


Steps to reproduce

    Start from a system with libexiv2-27 version 0.27.6-1build1  
    (e.g., restored via Timeshift snapshot)

    Open any JPEG image with gThumb or Gwenview → works correctly

    Run system update:
    Codi

    sudo apt upgrade

    libexiv2-27 is upgraded to 0.27.6-1ubuntu0.1

    Open the same image with gThumb or Gwenview → both crash

Actual result

    gThumb: segmentation fault

    Gwenview: prints dozens of
    Unresolved mime type "image/x-..."  
    then crashes via KCrash

    Dolphin: RAW thumbnails no longer generated

    Any application using Exiv2 fails to read metadata

Expected result

Applications using Exiv2 should open images normally without crashing.
Workaround

Downgrading Exiv2 fixes the issue:
Codi

sudo apt install libexiv2-27=0.27.6-1build1 libexiv2-dev=0.27.6-1build1
sudo apt-mark hold libexiv2-27 libexiv2-dev

After downgrading, gThumb, Gwenview and Dolphin work perfectly again.
System information

    Ubuntu Studio 24.04.4 LTS

    KDE Plasma (from Ubuntu Studio)

    Qt5 t64 migration completed

    KImageFormats 5.115.0

    gThumb and Gwenview affected

    Hardware: x86_64

Additional notes

    The issue is not caused by Qt5, KDE Frameworks, KImageFormats, MIME
database or user configuration.

    The regression is isolated to the Exiv2 update.

    Timeshift restore confirms the behaviour:

        Before update → works

        After update → crashes

    This suggests an ABI or metadata parsing regression in
0.27.6-1ubuntu0.1.

Attachments (optional)

You can add:

    Output of gthumb when crashing

    Output of gwenview showing unresolved MIME types

    apt history.log snippet showing the Exiv2 upgrade

🔧 On Launchpad, selecciona:

    Affect package: exiv2

    Ubuntu version: 24.04 (noble)

** Affects: exiv2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2144826

Title:
  Regression in libexiv2-27 (0.27.6-1ubuntu0.1) causes gThumb and
  Gwenview to crash on Ubuntu 24.04.4 LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/exiv2/+bug/2144826/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to