Bug 472807 - Gwenview crash when opening image file and double clicking to zoom in
Summary: Gwenview crash when opening image file and double clicking to zoom in
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.04.3
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-07-30 17:45 UTC by faastcall
Modified: 2025-09-18 03:48 UTC (History)
1 user (show)

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 faastcall 2023-07-30 17:45:20 UTC
Application: gwenview (23.04.3)

Qt Version: 5.15.10
Frameworks Version: 5.108.0
Operating System: Linux 6.4.7-zen1-1-zen x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.27.6 [KCrashBackend]

-- Information about the crash:
This crash randomly happened when opening a newly downloaded JPG file and then double clicking the title bar to maximize the image. I doubt the specific image file has any siginificance as I cannot get this crash to occur again, it seems to be random.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00007fca421c6368 in KConfigGroup::config() (this=this@entry=0x7ffcccc9c0c0) at /usr/include/qt/QtCore/qshareddata.h:160
#7  0x00007fca421c6e93 in KConfigGroup::writeEntry(char const*, QByteArray const&, QFlags<KConfigBase::WriteConfigFlag>) (this=this@entry=0x7ffcccc9c0c0, key=key@entry=0x55ef8ca80618 "1920x1080 screen: Width", value=..., flags=..., flags@entry=...) at /usr/src/debug/kconfig/kconfig-5.108.0/src/core/kconfiggroup.cpp:868
#8  0x00007fca421ccf62 in KConfigGroup::writeEntry(char const*, QVariant const&, QFlags<KConfigBase::WriteConfigFlag>) (this=this@entry=0x7ffcccc9c0c0, key=key@entry=0x55ef8ca80618 "1920x1080 screen: Width", value=..., flags=flags@entry=...) at /usr/src/debug/kconfig/kconfig-5.108.0/src/core/kconfiggroup.cpp:1048
#9  0x00007fca426e78e4 in KConfigGroup::writeEntry<int>(char const*, int const&, QFlags<KConfigBase::WriteConfigFlag>) (pFlags=..., value=@0x7ffcccc9bfcc: 1280, key=<optimized out>, this=0x7ffcccc9c0c0) at /usr/src/debug/kconfig/kconfig-5.108.0/src/core/kconfiggroup.h:854
#10 KConfigGroup::writeEntry<int>(QString const&, int const&, QFlags<KConfigBase::WriteConfigFlag>) (pFlags=..., value=@0x7ffcccc9bfcc: 1280, key=..., this=0x7ffcccc9c0c0) at /usr/src/debug/kconfig/kconfig-5.108.0/src/core/kconfiggroup.h:482
#11 KWindowConfig::saveWindowSize(QWindow const*, KConfigGroup&, QFlags<KConfigBase::WriteConfigFlag>) (window=<optimized out>, config=..., options=options@entry=...) at /usr/src/debug/kconfig/kconfig-5.108.0/src/gui/kwindowconfig.cpp:128
#12 0x00007fca42993c9a in KMainWindow::saveMainWindowSettings(KConfigGroup&) (this=this@entry=0x55ef8c508920, cg=...) at /usr/src/debug/kxmlgui/kxmlgui-5.108.0/src/kmainwindow.cpp:634
#13 0x000055ef8a5b8cb1 in Gwenview::MainWindow::toggleFullScreen(bool) (this=0x55ef8c508920, checked=<optimized out>) at /usr/src/debug/gwenview/gwenview-23.04.3/app/mainwindow.cpp:1618
#14 0x00007fca40ed1237 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffcccc9c320, r=<optimized out>, this=0x55ef8ca08ee0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate<false>(QObject*, int, void**) (sender=0x55ef8ca79560, signal_index=4, argv=0x7ffcccc9c320) at kernel/qobject.cpp:3925
#16 0x00007fca41b6bbb7 in QAction::triggered(bool) (this=this@entry=0x55ef8ca79560, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#17 0x00007fca41b7160b in QAction::activate(QAction::ActionEvent) (this=0x55ef8ca79560, event=<optimized out>) at kernel/qaction.cpp:1161
#18 0x00007fca40ed1237 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffcccc9c3f0, r=<optimized out>, this=0x55ef8ca088c0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 doActivate<false>(QObject*, int, void**) (sender=0x55ef8c83ae40, signal_index=12, argv=0x7ffcccc9c3f0) at kernel/qobject.cpp:3925
#20 0x00007fca40ed1237 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffcccc9c4c0, r=<optimized out>, this=0x55ef8cb157f0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#21 doActivate<false>(QObject*, int, void**) (sender=0x55ef8cab3090, signal_index=23, argv=0x7ffcccc9c4c0) at kernel/qobject.cpp:3925
#22 0x00007fca40ed1237 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffcccc9c590, r=<optimized out>, this=0x55ef8cae5920, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false>(QObject*, int, void**) (sender=0x55ef8cb38740, signal_index=12, argv=0x7ffcccc9c590) at kernel/qobject.cpp:3925
#24 0x00007fca40ed1237 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffcccc9c660, r=<optimized out>, this=0x55ef8cb61ca0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#25 doActivate<false>(QObject*, int, void**) (sender=0x55ef8c8ce130, signal_index=26, argv=0x7ffcccc9c660) at kernel/qobject.cpp:3925
#26 0x00007fca431b11e5 in Gwenview::AbstractImageView::toggleFullScreenRequested() (this=0x55ef8c8ce130) at /usr/src/debug/gwenview/build/lib/gwenviewlib_autogen/7BXZGBJBAL/moc_abstractimageview.cpp:302
#27 Gwenview::AbstractImageView::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*) (this=0x55ef8c8ce130, event=0x7ffcccc9cb10) at /usr/src/debug/gwenview/gwenview-23.04.3/lib/documentview/abstractimageview.cpp:516
#28 0x00007fca41e7f227 in QGraphicsItem::sceneEvent(QEvent*) (this=0x55ef8c8ce140, event=0x7ffcccc9cb10) at graphicsview/qgraphicsitem.cpp:6932
#29 0x00007fca41e9a51a in QGraphicsScenePrivate::sendMouseEvent(QGraphicsSceneMouseEvent*) (this=0x55ef8c5806d0, mouseEvent=0x7ffcccc9cb10) at graphicsview/qgraphicsscene.cpp:1335
#30 0x00007fca41e9d01b in QGraphicsScenePrivate::mousePressEventHandler(QGraphicsSceneMouseEvent*) (this=0x55ef8c5806d0, mouseEvent=0x7ffcccc9cb10) at graphicsview/qgraphicsscene.cpp:1462
#31 0x00007fca41ea104f in QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*) (mouseEvent=0x7ffcccc9cb10, this=0x55ef8c834760) at graphicsview/qgraphicsscene.cpp:4162
#32 QGraphicsScene::event(QEvent*) (this=0x55ef8c834760, event=0x7ffcccc9cb10) at graphicsview/qgraphicsscene.cpp:3439
#33 0x00007fca41b7893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55ef8c834760, e=0x7ffcccc9cb10) at kernel/qapplication.cpp:3640
#34 0x00007fca40e9c2f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55ef8c834760, event=0x7ffcccc9cb10) at kernel/qcoreapplication.cpp:1064
#35 0x00007fca40e9c383 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#36 0x00007fca41ec8c43 in qt_sendSpontaneousEvent(QObject*, QEvent*) (event=0x7ffcccc9cb10, receiver=<optimized out>) at kernel/qapplication.cpp:4064
#37 QGraphicsView::mouseDoubleClickEvent(QMouseEvent*) (this=0x55ef8c859530, event=0x7ffcccc9d0b0) at graphicsview/qgraphicsview.cpp:3256
#38 0x00007fca41baef6b in QWidget::event(QEvent*) (this=0x55ef8c859530, event=0x7ffcccc9d0b0) at kernel/qwidget.cpp:8675
#39 0x00007fca41c5d6b3 in QFrame::event(QEvent*) (this=0x55ef8c859530, e=0x7ffcccc9d0b0) at widgets/qframe.cpp:550
#40 0x00007fca40e99302 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (receiver=receiver@entry=0x55ef8c840ea0, event=event@entry=0x7ffcccc9d0b0) at kernel/qcoreapplication.cpp:1190
#41 0x00007fca41b7892f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55ef8c26c900, receiver=receiver@entry=0x55ef8c840ea0, e=e@entry=0x7ffcccc9d0b0) at kernel/qapplication.cpp:3634
#42 0x00007fca41b7ddef in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x55ef8c840ea0, e=0x7ffcccc9d0b0) at kernel/qapplication.cpp:3084
#43 0x00007fca40e9c2f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55ef8c840ea0, event=0x7ffcccc9d0b0) at kernel/qcoreapplication.cpp:1064
#44 0x00007fca40e9c383 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#45 0x00007fca41b7c12a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) (receiver=0x55ef8c840ea0, event=0x7ffcccc9d0b0, alienWidget=<optimized out>, nativeWidget=0x55ef8c508920, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622
#46 0x00007fca41bcced5 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=this@entry=0x55ef8c8f9960, event=event@entry=0x7ffcccc9d480) at kernel/qwidgetwindow.cpp:684
#47 0x00007fca41bcec27 in QWidgetWindow::event(QEvent*) (this=0x55ef8c8f9960, event=0x7ffcccc9d480) at kernel/qwidgetwindow.cpp:300
#48 0x00007fca41b7893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55ef8c8f9960, e=0x7ffcccc9d480) at kernel/qapplication.cpp:3640
#49 0x00007fca40e9c2f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55ef8c8f9960, event=0x7ffcccc9d480) at kernel/qcoreapplication.cpp:1064
#50 0x00007fca40e9c383 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#51 0x00007fca413418b6 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x55ef8ce70fa0) at kernel/qguiapplication.cpp:2329
#52 0x00007fca4132a6c5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#53 0x00007fca3ad2f3e0 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#54 0x00007fca3ed0fa31 in g_main_dispatch (context=0x7fca34000ee0) at ../glib/glib/gmain.c:3460
#55 g_main_context_dispatch (context=0x7fca34000ee0) at ../glib/glib/gmain.c:4200
#56 0x00007fca3ed6ccc9 in g_main_context_iterate.isra.0 (context=context@entry=0x7fca34000ee0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#57 0x00007fca3ed0d0e2 in g_main_context_iteration (context=0x7fca34000ee0, may_block=1) at ../glib/glib/gmain.c:4343
#58 0x00007fca40eeb15c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55ef8c3430f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#59 0x00007fca40e9b004 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffcccc9d7b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#60 0x00007fca40e9c4a3 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#61 0x00007fca4133bed2 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#62 0x00007fca41b76cda in QApplication::exec() () at kernel/qapplication.cpp:2832
#63 0x000055ef8a576a49 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/gwenview/gwenview-23.04.3/app/main.cpp:213
[Inferior 1 (process 31272) detached]

Reported using DrKonqi
Comment 1 A Linux User 2025-08-19 18:37:29 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Gwenview 25.08.0 (the latest released version)?
Comment 2 Bug Janitor Service 2025-09-03 03:48:10 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-09-18 03:48:40 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.