Bug 517777 - segfault in Gwenview::ImageMetaInfoModel::setExiv2Image when loading .png, .webp, .jpg or .gif file
Summary: segfault in Gwenview::ImageMetaInfoModel::setExiv2Image when loading .png, .w...
Status: RESOLVED DUPLICATE of bug 517733
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.08.1
Platform: Kubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-03-18 17:55 UTC by Lilly
Modified: 2026-03-18 18:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lilly 2026-03-18 17:55:54 UTC
SUMMARY
gwenview has worked previously but suddenly stopped working on my machine when trying to view any image. this dosent seem to be filesystem corruption or a hardware failure so my best guess is a software bug. 

.jxl opens correctly. havnt tested with other formats besides .jxl and the ones in the title

STEPS TO REPRODUCE
1. open any image format (tested with .png, .webp, and .gif), either as a command line argument or by opening it from gwen
2. observe the crash, segfault is recorded in terminal output

OBSERVED RESULT
Thread 1 "gwenview" received signal SIGSEGV, Segmentation fault.
0x00007ffff7d011a6 in Gwenview::ImageMetaInfoModel::setExiv2Image(Exiv2::Image const*) () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5

EXPECTED RESULT
being able to open the image

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 25.10
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-19-generic (64-bit)

ADDITIONAL INFORMATION
backtrace (from gdb):
Thread 1 "gwenview" received signal SIGSEGV, Segmentation fault.
0x00007ffff7d011a6 in Gwenview::ImageMetaInfoModel::setExiv2Image(Exiv2::Image const*) () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
(gdb) bt
#0  0x00007ffff7d011a6 in Gwenview::ImageMetaInfoModel::setExiv2Image(Exiv2::Image const*) () at /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#1  0x00007ffff7cb10ab in Gwenview::Document::setExiv2Image(std::unique_ptr<Exiv2::Image, std::default_delete<Exiv2::Image> >) ()
    at /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#2  0x00007ffff7cba1ce in ??? () at /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#3  0x00007ffff51e4a95 in ??? () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#4  0x00007ffff5313720 in QFutureWatcherBase::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#5  0x00007ffff639d49f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt6Widgets.so.6
#6  0x00007ffff518add8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#7  0x00007ffff518b04e in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#8  0x00007ffff53f445f in ??? () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#9  0x00007ffff18b6c7b in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff18b82b7 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff18b84a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ffff53f130d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#13 0x00007ffff51944c3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#14 0x00007ffff518dc07 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#15 0x000055555559b5b7 in ??? ()
#16 0x00007ffff482a575 in __libc_start_call_main (main=main@entry=0x55555559ab30, argc=argc@entry=2, argv=argv@entry=0x7fffffffda68)
    at ../sysdeps/nptl/libc_start_call_main.h:58
#17 0x00007ffff482a628 in __libc_start_main_impl
    (main=0x55555559ab30, argc=2, argv=0x7fffffffda68, init=<optimised out>, fini=<optimised out>, rtld_fini=<optimised out>, stack_end=0x7fffffffda58)
    at ../csu/libc-start.c:360
#18 0x000055555559bfb5 in ??? ()
Comment 1 Antonio Rojas 2026-03-18 18:11:05 UTC
Same exiv2 breakage as in 24.04.4 LTS

*** This bug has been marked as a duplicate of bug 517733 ***