https://bugs.kde.org/show_bug.cgi?id=517777

            Bug ID: 517777
           Summary: segfault in
                    Gwenview::ImageMetaInfoModel::setExiv2Image when
                    loading .png, .webp, .jpg or .gif file
    Classification: Applications
           Product: gwenview
      Version First 25.08.1
       Reported In:
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

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 ??? ()

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to