Public bug reported:

Summary:
After the recent update to libexiv2-27 (version 0.27.6-1ubuntu0.1), Gwenview 
crashes immediately upon opening any image file or even when launching an empty 
instance and then selecting a file.

Environment:
- OS: Kubuntu 24.04 (Noble Numbat)
- Gwenview version: 4:23.08.5-0ubuntu5
- libexiv2-27 version (crashing): 0.27.6-1ubuntu0.1
- libkf5kexiv2-15.0.0 version: 23.08.5-0ubuntu3

Steps to reproduce:
1. Open Gwenview.
2. Attempt to open any image (JPG, PNG, etc.).
3. The application crashes instantly.

Actual behavior:
Gwenview crashes with the following error:
double free or corruption (out)
KCrash: crashing... crashRecursionCounter = 2

Technical Details (GDB Backtrace):
The crash occurs in Gwenview::ImageMetaInfoModel::setExiv2Image when handling 
std::unique_ptr. This suggests a critical ABI mismatch between the updated 
libexiv2-27 security patch and the existing gwenview/libgwenviewlib build.

Relevant GDB frames:
#10 0x00007ffff7e06354 in 
Gwenview::ImageMetaInfoModel::setExiv2Image(Exiv2::Image const*) () from 
/lib/x86_64-linux-gnu/libgwenviewlib.so.5
#11 0x00007ffff7dcb988 in Gwenview::Document::setExiv2Image(std::unique_ptr) () 
from /lib/x86_64-linux-gnu/libgwenviewlib.so.5

Workaround:
Downgrading libexiv2-27 and exiv2 to version 0.27.6-1build1 completely resolves 
the issue:
sudo apt install libexiv2-27=0.27.6-1build1 exiv2=0.27.6-1build1

** Affects: gwenview (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/2144785

Title:
  Gwenview crashes with "double free or corruption (out)" after
  libexiv2-27 update (0.27.6-1ubuntu0.1)

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


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

Reply via email to