Bug 497931

Summary: Gwenview crashes when attempting to load .raw disk image files
Product: [Applications] gwenview Reporter: aeneid <dark0ne>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: CONFIRMED ---    
Severity: crash CC: john.kizer, mclangus
Priority: NOR    
Version First Reported In: 24.12.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: backtrace kde neon unstable

Description aeneid 2024-12-27 06:49:01 UTC
1. Summary: Gwenview crashes when trying to load big .raw disk image files

2. Steps to Reproduce:
   - Download and extract `Fedora-KDE-40-1.14.aarch64.raw.xz` from https://fedoraproject.org/iot/download
   - Open open an image file in same folder with Gwenview.
   - Navigate until you reach the file `Fedora-KDE-40-1.14.aarch64.raw`.
   - Result: Gwenview freezes and eventually crashes.

3. Expected Behavior:
   - Gwenview should display an appropriate error message for unsupported files or skip unsupported formats without crashing.
Comment 1 John Kizer 2025-01-05 07:30:04 UTC
Hi! To help with diagnosing this, could you please attach a backtrace of the crash using the coredumpctl command-line program, as detailed in https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl?

Thanks!
Comment 2 aeneid 2025-01-05 13:56:08 UTC
Created attachment 177124 [details]
backtrace kde neon unstable

Some backtraces i got on KDE Neon Unstable, i hope they are useful.

To me it looks like it's trying to load the 16GB file, filling up the ram and swap until it crashes.
Comment 3 John Kizer 2025-01-06 04:13:42 UTC
Thanks! I'm placing those in the body of the comments so they are searchable. I can also reproduce this crash now, it just required using a much bigger file than I was initially attempting (2GB didn't do it, 25GB did)!

--------------------------------------------------------------------------------

#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007f4b7744526e in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#4  0x00007f4b7a67af8e in KCrash::defaultCrashHandler (sig=6) at /usr/src/kf6-kcrash-6.9.0+p24.04+vstable+git20241213.1213-0/src/kcrash.cpp:596
#5  <signal handler called>
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x00007f4b7744526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x00007f4b774288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x00007f4b778a5ff5 in __gnu_cxx::__verbose_terminate_handler () at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:95
#12 0x00007f4b778bb0da in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:48
#13 0x00007f4b778a5a55 in std::terminate () at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:58
#14 0x00007f4b778bb391 in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x7f4b77a6dbc0 <typeinfo for std::bad_alloc>, dest=0x7f4b778b9410 <std::bad_alloc::~bad_alloc()>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:98
#15 0x00007f4b7810dddc in qBadAlloc () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/global/qassert.cpp:171
#16 0x00007f4b77f9f6de in QByteArray::reallocData (this=this@entry=0x7ffca1a58b10, alloc=alloc@entry=15999999744, option=option@entry=QArrayData::Grow)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/text/qbytearray.cpp:1985
#17 0x00007f4b77f9a03b in QByteArray::resize (this=0x7ffca1a58b10, size=15999999744) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/text/qbytearray.cpp:1908
#18 0x00007f4b78086c18 in QIODevice::readAll (this=this@entry=0x7ffca1a58ae0) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/io/qiodevice.cpp:1261
#19 0x00007f4b7a4c159b in Gwenview::LoadingDocumentImpl::init (this=0x5f374000ca00)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/document/loadingdocumentimpl.cpp:398
#20 0x00007f4b7a4c313e in Gwenview::DocumentFactory::load (this=0x7f4b7a5e9530 <Gwenview::DocumentFactory::instance()::factory>, url=...)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/document/documentfactory.cpp:191
#21 0x00007f4b7a4b077f in Gwenview::ContextManager::setCurrentUrl (currentUrl=..., this=0x5f373fa74e40)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/contextmanager.cpp:164
#22 Gwenview::ContextManager::setCurrentUrl (this=this@entry=0x5f373fa74e40, currentUrl=...) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/contextmanager.cpp:156
#23 0x00007f4b7a4b0942 in Gwenview::ContextManager::slotCurrentChanged (this=0x5f373fa74e40, index=...)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/contextmanager.cpp:267
#24 0x00007f4b7807ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#25 doActivate<false> (sender=0x5f373fa74870, signal_index=4, argv=0x7ffca1a58d70) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#26 0x00007f4b77f30b90 in QItemSelectionModel::currentChanged (this=<optimized out>, _t1=..., _t2=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/obj-x86_64-linux-gnu/src/corelib/Core_autogen/include/moc_qitemselectionmodel.cpp:500
#27 0x00007f4b77f2d9ae in QItemSelectionModel::setCurrentIndex (this=0x5f373fa74870, index=..., command=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/itemmodels/qitemselectionmodel.cpp:1407
#28 0x00007f4b79068b73 in QAbstractItemView::setCurrentIndex (this=0x5f373fbbcb80, index=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/itemviews/qabstractitemview.cpp:1103
#29 0x00005f370ca7e89c in Gwenview::MainWindow::Private::goTo (index=..., this=0x5f373f9510b0) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:725
#30 Gwenview::MainWindow::Private::goTo (index=..., this=0x5f373f9510b0) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:720
#31 Gwenview::MainWindow::Private::goToFirstDocument (this=0x5f373f9510b0) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:752
#32 Gwenview::MainWindow::goToNext (this=<optimized out>) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:1600
#33 0x00007f4b7807ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#34 doActivate<false> (sender=0x5f373fc17300, signal_index=9, argv=0x7ffca1a59038) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#35 0x00007f4b7807ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#36 doActivate<false> (sender=0x5f37401e1040, signal_index=19, argv=0x7ffca1a59108) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#37 0x00007f4b7807ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#38 doActivate<false> (sender=0x5f373fbb2990, signal_index=11, argv=0x7ffca1a591d8) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#39 0x00007f4b7807ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#40 doActivate<false> (sender=0x5f374011de70, signal_index=25, argv=0x7ffca1a592a8) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
--Type <RET> for more, q to quit, c to continue without paging--
#41 0x00007f4b78f63a38 in QGraphicsItem::sceneEvent (this=0x5f374011de80, event=0x7ffca1a59b00)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsitem.cpp:6723
#42 0x00007f4b78f85d27 in QGraphicsScene::keyPressEvent (this=<optimized out>, keyEvent=0x7ffca1a59b00)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsscene.cpp:3889
#43 0x00007f4b78f8a9a2 in QGraphicsScene::event (this=0x5f373fd21b70, event=0x7ffca1a59b00)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsscene.cpp:3295
#44 0x00007f4b791fff48 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5f373fd21b70, e=0x7ffca1a59b00)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:3296
#45 0x00007f4b780b5718 in QCoreApplication::notifyInternal2 (receiver=0x5f373fd21b70, event=0x7ffca1a59b00)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1168
#46 0x00007f4b780b575d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1612
#47 0x00007f4b78fa2ea8 in QGraphicsView::keyPressEvent (this=0x5f373fd0ebf0, event=0x7ffca1a59b00)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsview.cpp:3126
#48 0x00007f4b7923fe14 in QWidget::event (this=0x5f373fd0ebf0, event=0x7ffca1a59b00) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qwidget.cpp:8998
#49 0x00007f4b7917629a in QFrame::event (this=0x5f373fd0ebf0, e=0x7ffca1a59b00) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/widgets/qframe.cpp:521
#50 0x00007f4b791fff48 in QApplicationPrivate::notify_helper (this=this@entry=0x5f373f881880, receiver=receiver@entry=0x5f373fd0ebf0, e=e@entry=0x7ffca1a59b00)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:3296
#51 0x00007f4b79205cfc in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7ffca1a59b00)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:2715
#52 0x00007f4b780b5718 in QCoreApplication::notifyInternal2 (receiver=0x5f373fd0ebf0, event=0x7ffca1a59b00)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1168
#53 0x00007f4b780b574a in QCoreApplication::forwardEvent (receiver=<optimized out>, event=<optimized out>, originatingEvent=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1183
#54 0x00007f4b7925551a in QWidgetWindow::handleGestureEvent (e=<optimized out>, this=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qwidgetwindow.cpp:1153
#55 QWidgetWindow::event (this=0x5f373ffddfa0, event=0x7ffca1a59b00) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qwidgetwindow.cpp:370
#56 0x00007f4b791fff48 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5f373ffddfa0, e=0x7ffca1a59b00)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:3296
#57 0x00007f4b780b5718 in QCoreApplication::notifyInternal2 (receiver=0x5f373ffddfa0, event=0x7ffca1a59b00)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1168
#58 0x00007f4b780b576d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1626
#59 0x00007f4b784dff1b in QGuiApplicationPrivate::processKeyEvent (e=0x5f37400cf0a0) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/kernel/qguiapplication.cpp:2600
#60 0x00007f4b7853fefc in QWindowSystemInterface::sendWindowSystemEvents (flags=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/kernel/qwindowsysteminterface.cpp:1114
#61 0x00007f4b78947324 in userEventSourceDispatch (source=<optimized out>) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#62 0x00007f4b75f9e5b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007f4b75ffd717 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x00007f4b75f9da53 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007f4b77e702cf in QEventDispatcherGlib::processEvents (this=0x5f373f8879d0, flags=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#66 0x00007f4b780c1aeb in QEventLoop::exec (this=0x7ffca1a59e30, flags=...) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/global/qflags.h:34
#67 0x00007f4b780b8c2d in QCoreApplication::exec () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/global/qflags.h:74
#68 0x00007f4b784d6fbd in QGuiApplication::exec () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/kernel/qguiapplication.cpp:1975
#69 0x00007f4b791f9069 in QApplication::exec () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:2564
#70 0x00005f370ca4cae5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/main.cpp:221

--------------------------------------------------------------------------------

#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x000072460104526e in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#4  0x0000724603b47f8e in KCrash::defaultCrashHandler (sig=6) at /usr/src/kf6-kcrash-6.9.0+p24.04+vstable+git20241213.1213-0/src/kcrash.cpp:596
#5  <signal handler called>
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x000072460104526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x00007246010288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x00007246014a5ff5 in __gnu_cxx::__verbose_terminate_handler () at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:95
#12 0x00007246014bb0da in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:48
#13 0x00007246014a5a55 in std::terminate () at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:58
#14 0x00007246014bb391 in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x72460166dbc0 <typeinfo for std::bad_alloc>, dest=0x7246014b9410 <std::bad_alloc::~bad_alloc()>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:98
#15 0x0000724601d0dddc in qBadAlloc () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/global/qassert.cpp:171
#16 0x0000724601b9f6de in QByteArray::reallocData (this=this@entry=0x7ffced6c5270, alloc=alloc@entry=15999999744, option=option@entry=QArrayData::Grow)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/text/qbytearray.cpp:1985
#17 0x0000724601b9a03b in QByteArray::resize (this=0x7ffced6c5270, size=15999999744) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/text/qbytearray.cpp:1908
#18 0x0000724601c86c18 in QIODevice::readAll (this=this@entry=0x7ffced6c5240) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/io/qiodevice.cpp:1261
#19 0x00007246042c159b in Gwenview::LoadingDocumentImpl::init (this=0x5cb52b8c4210)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/document/loadingdocumentimpl.cpp:398
#20 0x00007246042c313e in Gwenview::DocumentFactory::load (this=0x7246043e9530 <Gwenview::DocumentFactory::instance()::factory>, url=...)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/document/documentfactory.cpp:191
#21 0x00007246042b077f in Gwenview::ContextManager::setCurrentUrl (currentUrl=..., this=0x5cb52b2a55f0)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/contextmanager.cpp:164
#22 Gwenview::ContextManager::setCurrentUrl (this=this@entry=0x5cb52b2a55f0, currentUrl=...) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/contextmanager.cpp:156
#23 0x00007246042b0942 in Gwenview::ContextManager::slotCurrentChanged (this=0x5cb52b2a55f0, index=...)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/contextmanager.cpp:267
#24 0x0000724601c7ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#25 doActivate<false> (sender=0x5cb52b2a5020, signal_index=4, argv=0x7ffced6c54d0) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#26 0x0000724601b30b90 in QItemSelectionModel::currentChanged (this=<optimized out>, _t1=..., _t2=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/obj-x86_64-linux-gnu/src/corelib/Core_autogen/include/moc_qitemselectionmodel.cpp:500
#27 0x0000724601b2d9ae in QItemSelectionModel::setCurrentIndex (this=0x5cb52b2a5020, index=..., command=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/itemmodels/qitemselectionmodel.cpp:1407
#28 0x0000724602e68b73 in QAbstractItemView::setCurrentIndex (this=0x5cb52b49e190, index=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/itemviews/qabstractitemview.cpp:1103
#29 0x00005cb51558f89c in Gwenview::MainWindow::Private::goTo (index=..., this=0x5cb52b1d8b40) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:725
#30 Gwenview::MainWindow::Private::goTo (index=..., this=0x5cb52b1d8b40) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:720
#31 Gwenview::MainWindow::Private::goToFirstDocument (this=0x5cb52b1d8b40) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:752
#32 Gwenview::MainWindow::goToNext (this=<optimized out>) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:1600
#33 0x0000724601c7ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#34 doActivate<false> (sender=0x5cb52b43bbe0, signal_index=9, argv=0x7ffced6c5798) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#35 0x0000724601c7ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#36 doActivate<false> (sender=0x5cb52b6c8670, signal_index=19, argv=0x7ffced6c5868) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#37 0x0000724601c7ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#38 doActivate<false> (sender=0x5cb52b9b1480, signal_index=11, argv=0x7ffced6c5938) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#39 0x0000724601c7ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#40 doActivate<false> (sender=0x5cb52ba137a0, signal_index=25, argv=0x7ffced6c5a08) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
--Type <RET> for more, q to quit, c to continue without paging--
#41 0x0000724602d63a38 in QGraphicsItem::sceneEvent (this=0x5cb52ba137b0, event=0x7ffced6c6260)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsitem.cpp:6723
#42 0x0000724602d85d27 in QGraphicsScene::keyPressEvent (this=<optimized out>, keyEvent=0x7ffced6c6260)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsscene.cpp:3889
#43 0x0000724602d8a9a2 in QGraphicsScene::event (this=0x5cb52b5a7390, event=0x7ffced6c6260)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsscene.cpp:3295
#44 0x0000724602ffff48 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5cb52b5a7390, e=0x7ffced6c6260)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:3296
#45 0x0000724601cb5718 in QCoreApplication::notifyInternal2 (receiver=0x5cb52b5a7390, event=0x7ffced6c6260)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1168
#46 0x0000724601cb575d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1612
#47 0x0000724602da2ea8 in QGraphicsView::keyPressEvent (this=0x5cb52b594280, event=0x7ffced6c6260)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsview.cpp:3126
#48 0x000072460303fe14 in QWidget::event (this=0x5cb52b594280, event=0x7ffced6c6260) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qwidget.cpp:8998
#49 0x0000724602f7629a in QFrame::event (this=0x5cb52b594280, e=0x7ffced6c6260) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/widgets/qframe.cpp:521
#50 0x0000724602ffff48 in QApplicationPrivate::notify_helper (this=this@entry=0x5cb52b10b880, receiver=receiver@entry=0x5cb52b594280, e=e@entry=0x7ffced6c6260)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:3296
#51 0x0000724603005cfc in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7ffced6c6260)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:2715
#52 0x0000724601cb5718 in QCoreApplication::notifyInternal2 (receiver=0x5cb52b594280, event=0x7ffced6c6260)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1168
#53 0x0000724601cb574a in QCoreApplication::forwardEvent (receiver=<optimized out>, event=<optimized out>, originatingEvent=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1183
#54 0x000072460305551a in QWidgetWindow::handleGestureEvent (e=<optimized out>, this=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qwidgetwindow.cpp:1153
#55 QWidgetWindow::event (this=0x5cb52b85d7e0, event=0x7ffced6c6260) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qwidgetwindow.cpp:370
#56 0x0000724602ffff48 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5cb52b85d7e0, e=0x7ffced6c6260)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:3296
#57 0x0000724601cb5718 in QCoreApplication::notifyInternal2 (receiver=0x5cb52b85d7e0, event=0x7ffced6c6260)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1168
#58 0x0000724601cb576d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1626
#59 0x00007246022dff1b in QGuiApplicationPrivate::processKeyEvent (e=0x5cb52ba3e500) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/kernel/qguiapplication.cpp:2600
#60 0x000072460233fefc in QWindowSystemInterface::sendWindowSystemEvents (flags=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/kernel/qwindowsysteminterface.cpp:1114
#61 0x0000724602747324 in userEventSourceDispatch (source=<optimized out>) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#62 0x00007245fe7145b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007245fe773717 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x00007245fe713a53 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x0000724601a702cf in QEventDispatcherGlib::processEvents (this=0x5cb52b1119d0, flags=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#66 0x0000724601cc1aeb in QEventLoop::exec (this=0x7ffced6c6590, flags=...) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/global/qflags.h:34
#67 0x0000724601cb8c2d in QCoreApplication::exec () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/global/qflags.h:74
#68 0x00007246022d6fbd in QGuiApplication::exec () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/kernel/qguiapplication.cpp:1975
#69 0x0000724602ff9069 in QApplication::exec () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:2564
#70 0x00005cb51555dae5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/main.cpp:221


--------------------------------------------------------------------------------

#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x000071e12c84526e in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#4  0x000071e12f347f8e in KCrash::defaultCrashHandler (sig=6) at /usr/src/kf6-kcrash-6.9.0+p24.04+vstable+git20241213.1213-0/src/kcrash.cpp:596
#5  <signal handler called>
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x000071e12c84526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x000071e12c8288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x000071e12cca5ff5 in __gnu_cxx::__verbose_terminate_handler () at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:95
#12 0x000071e12ccbb0da in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:48
#13 0x000071e12cca5a55 in std::terminate () at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:58
#14 0x000071e12ccbb391 in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x71e12ce6dbc0 <typeinfo for std::bad_alloc>, dest=0x71e12ccb9410 <std::bad_alloc::~bad_alloc()>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:98
#15 0x000071e12d50dddc in qBadAlloc () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/global/qassert.cpp:171
#16 0x000071e12d39f6de in QByteArray::reallocData (this=this@entry=0x7ffcf4b73230, alloc=alloc@entry=15999999744, option=option@entry=QArrayData::Grow)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/text/qbytearray.cpp:1985
#17 0x000071e12d39a03b in QByteArray::resize (this=0x7ffcf4b73230, size=15999999744) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/text/qbytearray.cpp:1908
#18 0x000071e12d486c18 in QIODevice::readAll (this=this@entry=0x7ffcf4b73200) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/io/qiodevice.cpp:1261
#19 0x000071e12fac159b in Gwenview::LoadingDocumentImpl::init (this=0x5d48a03c1040)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/document/loadingdocumentimpl.cpp:398
#20 0x000071e12fac313e in Gwenview::DocumentFactory::load (this=0x71e12fbe9530 <Gwenview::DocumentFactory::instance()::factory>, url=...)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/document/documentfactory.cpp:191
#21 0x000071e12fab077f in Gwenview::ContextManager::setCurrentUrl (currentUrl=..., this=0x5d489fe02410)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/contextmanager.cpp:164
#22 Gwenview::ContextManager::setCurrentUrl (this=this@entry=0x5d489fe02410, currentUrl=...) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/contextmanager.cpp:156
#23 0x000071e12fab0942 in Gwenview::ContextManager::slotCurrentChanged (this=0x5d489fe02410, index=...)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/contextmanager.cpp:267
#24 0x000071e12d47ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#25 doActivate<false> (sender=0x5d489fe32500, signal_index=4, argv=0x7ffcf4b73490) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#26 0x000071e12d330b90 in QItemSelectionModel::currentChanged (this=<optimized out>, _t1=..., _t2=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/obj-x86_64-linux-gnu/src/corelib/Core_autogen/include/moc_qitemselectionmodel.cpp:500
#27 0x000071e12d32d9ae in QItemSelectionModel::setCurrentIndex (this=0x5d489fe32500, index=..., command=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/itemmodels/qitemselectionmodel.cpp:1407
#28 0x000071e12e668b73 in QAbstractItemView::setCurrentIndex (this=0x5d489ff86160, index=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/itemviews/qabstractitemview.cpp:1103
#29 0x00005d488454889c in Gwenview::MainWindow::Private::goTo (index=..., this=0x5d489fcd75a0) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:725
#30 Gwenview::MainWindow::Private::goTo (index=..., this=0x5d489fcd75a0) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:720
#31 Gwenview::MainWindow::Private::goToFirstDocument (this=0x5d489fcd75a0) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:752
#32 Gwenview::MainWindow::goToNext (this=<optimized out>) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:1600
#33 0x000071e12d47ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#34 doActivate<false> (sender=0x5d489ff298a0, signal_index=9, argv=0x7ffcf4b73758) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#35 0x000071e12d47ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#36 doActivate<false> (sender=0x5d48a05fbe00, signal_index=19, argv=0x7ffcf4b73828) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#37 0x000071e12d47ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#38 doActivate<false> (sender=0x5d48a059acd0, signal_index=11, argv=0x7ffcf4b738f8) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#39 0x000071e12d47ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#40 doActivate<false> (sender=0x5d48a05fa090, signal_index=25, argv=0x7ffcf4b739c8) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
--Type <RET> for more, q to quit, c to continue without paging--
#41 0x000071e12e563a38 in QGraphicsItem::sceneEvent (this=0x5d48a05fa0a0, event=0x7ffcf4b74220)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsitem.cpp:6723
#42 0x000071e12e585d27 in QGraphicsScene::keyPressEvent (this=<optimized out>, keyEvent=0x7ffcf4b74220)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsscene.cpp:3889
#43 0x000071e12e58a9a2 in QGraphicsScene::event (this=0x5d48a00da870, event=0x7ffcf4b74220)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsscene.cpp:3295
#44 0x000071e12e7fff48 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5d48a00da870, e=0x7ffcf4b74220)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:3296
#45 0x000071e12d4b5718 in QCoreApplication::notifyInternal2 (receiver=0x5d48a00da870, event=0x7ffcf4b74220)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1168
#46 0x000071e12d4b575d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1612
#47 0x000071e12e5a2ea8 in QGraphicsView::keyPressEvent (this=0x5d48a00c7200, event=0x7ffcf4b74220)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsview.cpp:3126
#48 0x000071e12e83fe14 in QWidget::event (this=0x5d48a00c7200, event=0x7ffcf4b74220) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qwidget.cpp:8998
#49 0x000071e12e77629a in QFrame::event (this=0x5d48a00c7200, e=0x7ffcf4b74220) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/widgets/qframe.cpp:521
#50 0x000071e12e7fff48 in QApplicationPrivate::notify_helper (this=this@entry=0x5d489fc40880, receiver=receiver@entry=0x5d48a00c7200, e=e@entry=0x7ffcf4b74220)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:3296
#51 0x000071e12e805cfc in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7ffcf4b74220)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:2715
#52 0x000071e12d4b5718 in QCoreApplication::notifyInternal2 (receiver=0x5d48a00c7200, event=0x7ffcf4b74220)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1168
#53 0x000071e12d4b574a in QCoreApplication::forwardEvent (receiver=<optimized out>, event=<optimized out>, originatingEvent=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1183
#54 0x000071e12e85551a in QWidgetWindow::handleGestureEvent (e=<optimized out>, this=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qwidgetwindow.cpp:1153
#55 QWidgetWindow::event (this=0x5d48a027e070, event=0x7ffcf4b74220) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qwidgetwindow.cpp:370
#56 0x000071e12e7fff48 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5d48a027e070, e=0x7ffcf4b74220)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:3296
#57 0x000071e12d4b5718 in QCoreApplication::notifyInternal2 (receiver=0x5d48a027e070, event=0x7ffcf4b74220)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1168
#58 0x000071e12d4b576d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1626
#59 0x000071e12dadff1b in QGuiApplicationPrivate::processKeyEvent (e=0x5d48a030a4c0) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/kernel/qguiapplication.cpp:2600
#60 0x000071e12db3fefc in QWindowSystemInterface::sendWindowSystemEvents (flags=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/kernel/qwindowsysteminterface.cpp:1114
#61 0x000071e12df47324 in userEventSourceDispatch (source=<optimized out>) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#62 0x000071e129f145b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x000071e129f73717 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x000071e129f13a53 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x000071e12d2702cf in QEventDispatcherGlib::processEvents (this=0x5d489fc469d0, flags=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#66 0x000071e12d4c1aeb in QEventLoop::exec (this=0x7ffcf4b74550, flags=...) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/global/qflags.h:34
#67 0x000071e12d4b8c2d in QCoreApplication::exec () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/global/qflags.h:74
#68 0x000071e12dad6fbd in QGuiApplication::exec () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/kernel/qguiapplication.cpp:1975
#69 0x000071e12e7f9069 in QApplication::exec () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:2564
#70 0x00005d4884516ae5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/main.cpp:221

--------------------------------------------------------------------------------

#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x000070de0c24526e in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#4  0x000070de0f482f8e in KCrash::defaultCrashHandler (sig=6) at /usr/src/kf6-kcrash-6.9.0+p24.04+vstable+git20241213.1213-0/src/kcrash.cpp:596
#5  <signal handler called>
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x000070de0c24526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x000070de0c2288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x000070de0c6a5ff5 in __gnu_cxx::__verbose_terminate_handler () at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:95
#12 0x000070de0c6bb0da in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:48
#13 0x000070de0c6a5a55 in std::terminate () at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:58
#14 0x000070de0c6bb391 in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x70de0c86dbc0 <typeinfo for std::bad_alloc>, dest=0x70de0c6b9410 <std::bad_alloc::~bad_alloc()>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:98
#15 0x000070de0cf0dddc in qBadAlloc () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/global/qassert.cpp:171
#16 0x000070de0cd9f6de in QByteArray::reallocData (this=this@entry=0x7ffe4c714240, alloc=alloc@entry=15999999744, option=option@entry=QArrayData::Grow)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/text/qbytearray.cpp:1985
#17 0x000070de0cd9a03b in QByteArray::resize (this=0x7ffe4c714240, size=15999999744) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/text/qbytearray.cpp:1908
#18 0x000070de0ce86c18 in QIODevice::readAll (this=this@entry=0x7ffe4c714210) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/io/qiodevice.cpp:1261
#19 0x000070de0f2c159b in Gwenview::LoadingDocumentImpl::init (this=0x628ccb7bee20)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/document/loadingdocumentimpl.cpp:398
#20 0x000070de0f2c313e in Gwenview::DocumentFactory::load (this=0x70de0f3e9530 <Gwenview::DocumentFactory::instance()::factory>, url=...)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/document/documentfactory.cpp:191
#21 0x000070de0f2b077f in Gwenview::ContextManager::setCurrentUrl (currentUrl=..., this=0x628ccb0ac300)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/contextmanager.cpp:164
#22 Gwenview::ContextManager::setCurrentUrl (this=this@entry=0x628ccb0ac300, currentUrl=...) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/contextmanager.cpp:156
#23 0x000070de0f2b0942 in Gwenview::ContextManager::slotCurrentChanged (this=0x628ccb0ac300, index=...)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/contextmanager.cpp:267
#24 0x000070de0ce7ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#25 doActivate<false> (sender=0x628ccb0abd30, signal_index=4, argv=0x7ffe4c7144a0) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#26 0x000070de0cd30b90 in QItemSelectionModel::currentChanged (this=<optimized out>, _t1=..., _t2=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/obj-x86_64-linux-gnu/src/corelib/Core_autogen/include/moc_qitemselectionmodel.cpp:500
#27 0x000070de0cd2d9ae in QItemSelectionModel::setCurrentIndex (this=0x628ccb0abd30, index=..., command=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/itemmodels/qitemselectionmodel.cpp:1407
#28 0x000070de0de68b73 in QAbstractItemView::setCurrentIndex (this=0x628ccb110240, index=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/itemviews/qabstractitemview.cpp:1103
#29 0x0000628c943f789c in Gwenview::MainWindow::Private::goTo (index=..., this=0x628ccaf5e030) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:725
#30 Gwenview::MainWindow::Private::goTo (index=..., this=0x628ccaf5e030) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:720
#31 Gwenview::MainWindow::Private::goToFirstDocument (this=0x628ccaf5e030) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:752
#32 Gwenview::MainWindow::goToNext (this=<optimized out>) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:1600
#33 0x000070de0ce7ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#34 doActivate<false> (sender=0x628ccb1d6bc0, signal_index=9, argv=0x7ffe4c714768) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#35 0x000070de0ce7ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#36 doActivate<false> (sender=0x628ccb6f4320, signal_index=19, argv=0x7ffe4c714838) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#37 0x000070de0ce7ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#38 doActivate<false> (sender=0x628ccb664f40, signal_index=11, argv=0x7ffe4c714908) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#39 0x000070de0ce7ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#40 doActivate<false> (sender=0x628ccb746f60, signal_index=25, argv=0x7ffe4c7149d8) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
--Type <RET> for more, q to quit, c to continue without paging--
#41 0x000070de0dd63a38 in QGraphicsItem::sceneEvent (this=0x628ccb746f70, event=0x7ffe4c715230)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsitem.cpp:6723
#42 0x000070de0dd85d27 in QGraphicsScene::keyPressEvent (this=<optimized out>, keyEvent=0x7ffe4c715230)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsscene.cpp:3889
#43 0x000070de0dd8a9a2 in QGraphicsScene::event (this=0x628ccb385bc0, event=0x7ffe4c715230)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsscene.cpp:3295
#44 0x000070de0dffff48 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x628ccb385bc0, e=0x7ffe4c715230)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:3296
#45 0x000070de0ceb5718 in QCoreApplication::notifyInternal2 (receiver=0x628ccb385bc0, event=0x7ffe4c715230)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1168
#46 0x000070de0ceb575d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1612
#47 0x000070de0dda2ea8 in QGraphicsView::keyPressEvent (this=0x628ccb372ab0, event=0x7ffe4c715230)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsview.cpp:3126
#48 0x000070de0e03fe14 in QWidget::event (this=0x628ccb372ab0, event=0x7ffe4c715230) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qwidget.cpp:8998
#49 0x000070de0df7629a in QFrame::event (this=0x628ccb372ab0, e=0x7ffe4c715230) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/widgets/qframe.cpp:521
#50 0x000070de0dffff48 in QApplicationPrivate::notify_helper (this=this@entry=0x628ccaeea880, receiver=receiver@entry=0x628ccb372ab0, e=e@entry=0x7ffe4c715230)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:3296
#51 0x000070de0e005cfc in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7ffe4c715230)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:2715
#52 0x000070de0ceb5718 in QCoreApplication::notifyInternal2 (receiver=0x628ccb372ab0, event=0x7ffe4c715230)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1168
#53 0x000070de0ceb574a in QCoreApplication::forwardEvent (receiver=<optimized out>, event=<optimized out>, originatingEvent=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1183
#54 0x000070de0e05551a in QWidgetWindow::handleGestureEvent (e=<optimized out>, this=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qwidgetwindow.cpp:1153
#55 QWidgetWindow::event (this=0x628ccb63b130, event=0x7ffe4c715230) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qwidgetwindow.cpp:370
#56 0x000070de0dffff48 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x628ccb63b130, e=0x7ffe4c715230)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:3296
#57 0x000070de0ceb5718 in QCoreApplication::notifyInternal2 (receiver=0x628ccb63b130, event=0x7ffe4c715230)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1168
#58 0x000070de0ceb576d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1626
#59 0x000070de0d2dff1b in QGuiApplicationPrivate::processKeyEvent (e=0x628ccb2403c0) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/kernel/qguiapplication.cpp:2600
#60 0x000070de0d33fefc in QWindowSystemInterface::sendWindowSystemEvents (flags=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/kernel/qwindowsysteminterface.cpp:1114
#61 0x000070de0d747324 in userEventSourceDispatch (source=<optimized out>) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#62 0x000070de0ad9e5b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x000070de0adfd717 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x000070de0ad9da53 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x000070de0cc702cf in QEventDispatcherGlib::processEvents (this=0x628ccaef09d0, flags=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#66 0x000070de0cec1aeb in QEventLoop::exec (this=0x7ffe4c715560, flags=...) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/global/qflags.h:34
#67 0x000070de0ceb8c2d in QCoreApplication::exec () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/global/qflags.h:74
#68 0x000070de0d2d6fbd in QGuiApplication::exec () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/kernel/qguiapplication.cpp:1975
#69 0x000070de0dff9069 in QApplication::exec () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:2564
#70 0x0000628c943c5ae5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/main.cpp:221

--------------------------------------------------------------------------------

#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x0000716905a4526e in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#4  0x0000716908ea5f8e in KCrash::defaultCrashHandler (sig=6) at /usr/src/kf6-kcrash-6.9.0+p24.04+vstable+git20241213.1213-0/src/kcrash.cpp:596
#5  <signal handler called>
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x0000716905a4526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x0000716905a288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x0000716905ea5ff5 in __gnu_cxx::__verbose_terminate_handler () at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:95
#12 0x0000716905ebb0da in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:48
#13 0x0000716905ea5a55 in std::terminate () at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:58
#14 0x0000716905ebb391 in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x71690606dbc0 <typeinfo for std::bad_alloc>, dest=0x716905eb9410 <std::bad_alloc::~bad_alloc()>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:98
#15 0x000071690670dddc in qBadAlloc () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/global/qassert.cpp:171
#16 0x000071690659f6de in QByteArray::reallocData (this=this@entry=0x7ffdae15cf70, alloc=alloc@entry=15999999744, option=option@entry=QArrayData::Grow)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/text/qbytearray.cpp:1985
#17 0x000071690659a03b in QByteArray::resize (this=0x7ffdae15cf70, size=15999999744) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/text/qbytearray.cpp:1908
#18 0x0000716906686c18 in QIODevice::readAll (this=this@entry=0x7ffdae15cf40) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/io/qiodevice.cpp:1261
#19 0x0000716908cc159b in Gwenview::LoadingDocumentImpl::init (this=0x55f127a11d60)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/document/loadingdocumentimpl.cpp:398
#20 0x0000716908cc313e in Gwenview::DocumentFactory::load (this=0x716908de9530 <Gwenview::DocumentFactory::instance()::factory>, url=...)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/document/documentfactory.cpp:191
#21 0x0000716908cb077f in Gwenview::ContextManager::setCurrentUrl (currentUrl=..., this=0x55f1272aa410)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/contextmanager.cpp:164
#22 Gwenview::ContextManager::setCurrentUrl (this=this@entry=0x55f1272aa410, currentUrl=...) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/contextmanager.cpp:156
#23 0x0000716908cb0942 in Gwenview::ContextManager::slotCurrentChanged (this=0x55f1272aa410, index=...)
    at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/lib/contextmanager.cpp:267
#24 0x000071690667ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#25 doActivate<false> (sender=0x55f1272a9e40, signal_index=4, argv=0x7ffdae15d1d0) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#26 0x0000716906530b90 in QItemSelectionModel::currentChanged (this=<optimized out>, _t1=..., _t2=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/obj-x86_64-linux-gnu/src/corelib/Core_autogen/include/moc_qitemselectionmodel.cpp:500
#27 0x000071690652d9ae in QItemSelectionModel::setCurrentIndex (this=0x55f1272a9e40, index=..., command=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/itemmodels/qitemselectionmodel.cpp:1407
#28 0x0000716907868b73 in QAbstractItemView::setCurrentIndex (this=0x55f1272fc1f0, index=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/itemviews/qabstractitemview.cpp:1103
#29 0x000055f122eb589c in Gwenview::MainWindow::Private::goTo (index=..., this=0x55f127162060) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:725
#30 Gwenview::MainWindow::Private::goTo (index=..., this=0x55f127162060) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:720
#31 Gwenview::MainWindow::Private::goToFirstDocument (this=0x55f127162060) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:752
#32 Gwenview::MainWindow::goToNext (this=<optimized out>) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/mainwindow.cpp:1600
#33 0x000071690667ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#34 doActivate<false> (sender=0x55f1273d1ae0, signal_index=9, argv=0x7ffdae15d498) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#35 0x000071690667ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#36 doActivate<false> (sender=0x55f127488420, signal_index=19, argv=0x7ffdae15d568) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#37 0x000071690667ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#38 doActivate<false> (sender=0x55f127987bc0, signal_index=11, argv=0x7ffdae15d638) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
#39 0x000071690667ada9 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobjectdefs_impl.h:486
#40 doActivate<false> (sender=0x55f1274883d0, signal_index=25, argv=0x7ffdae15d708) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qobject.cpp:4124
--Type <RET> for more, q to quit, c to continue without paging--
#41 0x0000716907763a38 in QGraphicsItem::sceneEvent (this=0x55f1274883e0, event=0x7ffdae15df60)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsitem.cpp:6723
#42 0x0000716907785d27 in QGraphicsScene::keyPressEvent (this=<optimized out>, keyEvent=0x7ffdae15df60)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsscene.cpp:3889
#43 0x000071690778a9a2 in QGraphicsScene::event (this=0x55f12757e020, event=0x7ffdae15df60)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsscene.cpp:3295
#44 0x00007169079fff48 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55f12757e020, e=0x7ffdae15df60)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:3296
#45 0x00007169066b5718 in QCoreApplication::notifyInternal2 (receiver=0x55f12757e020, event=0x7ffdae15df60)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1168
#46 0x00007169066b575d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1612
#47 0x00007169077a2ea8 in QGraphicsView::keyPressEvent (this=0x55f12756ac60, event=0x7ffdae15df60)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/graphicsview/qgraphicsview.cpp:3126
#48 0x0000716907a3fe14 in QWidget::event (this=0x55f12756ac60, event=0x7ffdae15df60) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qwidget.cpp:8998
#49 0x000071690797629a in QFrame::event (this=0x55f12756ac60, e=0x7ffdae15df60) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/widgets/qframe.cpp:521
#50 0x00007169079fff48 in QApplicationPrivate::notify_helper (this=this@entry=0x55f1270e4880, receiver=receiver@entry=0x55f12756ac60, e=e@entry=0x7ffdae15df60)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:3296
#51 0x0000716907a05cfc in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7ffdae15df60)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:2715
#52 0x00007169066b5718 in QCoreApplication::notifyInternal2 (receiver=0x55f12756ac60, event=0x7ffdae15df60)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1168
#53 0x00007169066b574a in QCoreApplication::forwardEvent (receiver=<optimized out>, event=<optimized out>, originatingEvent=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1183
#54 0x0000716907a5551a in QWidgetWindow::handleGestureEvent (e=<optimized out>, this=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qwidgetwindow.cpp:1153
#55 QWidgetWindow::event (this=0x55f127833ee0, event=0x7ffdae15df60) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qwidgetwindow.cpp:370
#56 0x00007169079fff48 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55f127833ee0, e=0x7ffdae15df60)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:3296
#57 0x00007169066b5718 in QCoreApplication::notifyInternal2 (receiver=0x55f127833ee0, event=0x7ffdae15df60)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1168
#58 0x00007169066b576d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qcoreapplication.cpp:1626
#59 0x0000716906cdff1b in QGuiApplicationPrivate::processKeyEvent (e=0x55f127a4f250) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/kernel/qguiapplication.cpp:2600
#60 0x0000716906d3fefc in QWindowSystemInterface::sendWindowSystemEvents (flags=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/kernel/qwindowsysteminterface.cpp:1114
#61 0x0000716907147324 in userEventSourceDispatch (source=<optimized out>) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#62 0x00007169031145b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x0000716903173717 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x0000716903113a53 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007169064702cf in QEventDispatcherGlib::processEvents (this=0x55f1270ea9d0, flags=...)
    at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#66 0x00007169066c1aeb in QEventLoop::exec (this=0x7ffdae15e290, flags=...) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/global/qflags.h:34
#67 0x00007169066b8c2d in QCoreApplication::exec () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/corelib/global/qflags.h:74
#68 0x0000716906cd6fbd in QGuiApplication::exec () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/gui/kernel/qguiapplication.cpp:1975
#69 0x00007169079f9069 in QApplication::exec () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+stable+build40/src/widgets/kernel/qapplication.cpp:2564
#70 0x000055f122e83ae5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/gwenview-4:24.12.0+p24.04+vstable+git20241211.2138-0/app/main.cpp:221

--------------------------------------------------------------------------------
Comment 4 mclangus 2025-03-22 02:02:22 UTC
I've looked into this and on my machine the crash happens because it thinks the file has mime type image/x-panasonic-rw, and then it decides to read in the rest of the file.

If you make it so that the extension in the filename isn't the tiebreaker, it correctly determines the mime type to be application/octet-stream, and this problem is fixed. It looks like it has been done before in this merge request, https://invent.kde.org/graphics/gwenview/-/merge_requests/60 but it was reverted because it broke reading some types of raw image files, see: https://bugs.kde.org/show_bug.cgi?id=441698

I have two different ideas on how to fix this, but I'm not an expert on mime types so someone can let me know if either of them will work without breaking things. My first idea is that we do the same thing as in the above merge request, but only if the filename ends with .raw. I assume this will work fine if every mime type that can have filenames ending with .raw can be correctly determined by its data. 

My other idea is to determine the mime type again based on only the data if it thinks the mime type is image/x-panasonic-rw, and use the new mime type from data if it is different. I don't think this could break anything, but I don't know if the .raw extension is guaranteed to be seen as image/x-panasonic-rw, so if it could be different on somebody else's machine then this bug won't really be fixed.

Bonus bug: If you "open with gwenview" the raw file from dolphin, gwenview will crash for the same reason as this