Bug 477014 - Gwenview crashed while adjusting zoom with a touchscreen
Summary: Gwenview crashed while adjusting zoom with a touchscreen
Status: REPORTED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 24.01.75
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi, qt6
Depends on:
Blocks:
 
Reported: 2023-11-14 19:58 UTC by Patrick Silva
Modified: 2023-11-14 20:38 UTC (History)
1 user (show)

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


Attachments
New crash information added by DrKonqi (76.26 KB, text/plain)
2023-11-14 19:58 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-11-14 19:58:33 UTC
Application: gwenview (24.01.75)

Qt Version: 6.6.0
Frameworks Version: 5.245.0
Operating System: Linux 6.5.7-060507-generic x86_64
Windowing System: Wayland
Distribution: KDE neon Unstable Edition
DrKonqi: 5.81.0 [CoredumpBackend]

-- Information about the crash:
I was repeatedly adjusting the zoom of a picture with my touchscreen and Gwenview crashed.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#6  QExplicitlySharedDataPointer<Gwenview::Document>::operator bool (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qshareddata.h:196
#7  Gwenview::AbstractImageView::dipDocumentSize (this=0x0) at ./lib/documentview/abstractimageview.cpp:186
#8  0x00007f31168ccbb0 in Gwenview::DocumentView::swipeLeft (this=0x5613919d5320) at ./lib/documentview/documentview.cpp:846
#9  0x00007f3114626b9e in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ./src/corelib/kernel/qobjectdefs_impl.h:433
#10 doActivate<false> (sender=0x56139270bda0, signal_index=4, argv=0x7ffd474bd358) at ./src/corelib/kernel/qobject.cpp:4021


Reported using DrKonqi
Comment 1 Patrick Silva 2023-11-14 19:58:36 UTC
Created attachment 163162 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nicolas Fella 2023-11-14 20:38:47 UTC
#6  QExplicitlySharedDataPointer<Gwenview::Document>::operator bool (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qshareddata.h:196
#7  Gwenview::AbstractImageView::dipDocumentSize (this=0x0) at ./lib/documentview/abstractimageview.cpp:186
#8  0x00007f31168ccbb0 in Gwenview::DocumentView::swipeLeft (this=0x5613919d5320) at ./lib/documentview/documentview.cpp:846
#9  0x00007f3114626b9e in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ./src/corelib/kernel/qobjectdefs_impl.h:433
#10 doActivate<false> (sender=0x56139270bda0, signal_index=4, argv=0x7ffd474bd358) at ./src/corelib/kernel/qobject.cpp:4021
#11 0x00007f311694d57f in Gwenview::Touch::checkOneAndTwoFingerSwipeGesture (this=this@entry=0x56139270bda0, event=event@entry=0x7ffd474bd7c0) at ./lib/touch/touch.cpp:282
#12 0x00007f311694f2fd in Gwenview::Touch::gestureEvent (this=this@entry=0x56139270bda0, event=event@entry=0x7ffd474bd7c0) at ./lib/touch/touch.cpp:170
#13 0x00007f311694f4b5 in Gwenview::Touch::eventFilter (this=0x56139270bda0, event=0x7ffd474bd7c0) at ./lib/touch/touch.cpp:134
#14 0x00007f311465e4d8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x5613919d5320, event=event@entry=0x7ffd474bd7c0) at ./src/corelib/kernel/qcoreapplication.cpp:1250
#15 0x00007f31157f078b in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5613919d5320, e=0x7ffd474bd7c0) at ./src/widgets/kernel/qapplication.cpp:3284
#16 0x00007f311465e828 in QCoreApplication::notifyInternal2 (receiver=0x5613919d5320, event=event@entry=0x7ffd474bd7c0) at ./src/corelib/kernel/qcoreapplication.cpp:1118
#17 0x00007f311465e86d in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7ffd474bd7c0) at ./src/corelib/kernel/qcoreapplication.cpp:1536
#18 0x00007f3115581660 in QGraphicsScenePrivate::sendEvent (this=<optimized out>, item=<optimized out>, event=0x7ffd474bd7c0) at ./src/widgets/graphicsview/qgraphicsscene.cpp:1220
#19 0x00007f311559d8b1 in QGraphicsScenePrivate::gestureEventHandler (this=0x56139172bc50, event=0x7ffd474bdd70) at ./src/widgets/graphicsview/qgraphicsscene.cpp:6331
#20 0x00007f3115590b6d in QGraphicsScene::event (this=0x5613918dee10, event=0x7ffd474bdd70) at ./src/widgets/graphicsview/qgraphicsscene.cpp:3432
#21 0x00007f31157f079b in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5613918dee10, e=0x7ffd474bdd70) at ./src/widgets/kernel/qapplication.cpp:3290
#22 0x00007f311465e828 in QCoreApplication::notifyInternal2 (receiver=0x5613918dee10, event=event@entry=0x7ffd474bdd70) at ./src/corelib/kernel/qcoreapplication.cpp:1118
#23 0x00007f311465e86d in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7ffd474bdd70) at ./src/corelib/kernel/qcoreapplication.cpp:1536
#24 0x00007f31155af617 in QGraphicsView::viewportEvent (this=0x561391956680, event=0x7ffd474bdd70) at ./src/widgets/graphicsview/qgraphicsview.cpp:2928
#25 0x00007f311465e4d8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x5613918d1930, event=event@entry=0x7ffd474bdd70) at ./src/corelib/kernel/qcoreapplication.cpp:1250
#26 0x00007f31157f078b in QApplicationPrivate::notify_helper (this=this@entry=0x561391346c40, receiver=receiver@entry=0x5613918d1930, e=e@entry=0x7ffd474bdd70) at ./src/widgets/kernel/qapplication.cpp:3284
#27 0x00007f31157f620e in QApplication::notify (this=<optimized out>, receiver=0x5613918d1930, e=0x7ffd474bdfc0) at ./src/widgets/kernel/qapplication.cpp:3184
#28 0x00007f311465e828 in QCoreApplication::notifyInternal2 (receiver=0x5613918d1930, event=event@entry=0x7ffd474bdfc0) at ./src/corelib/kernel/qcoreapplication.cpp:1118
#29 0x00007f311465e86d in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7ffd474bdfc0) at ./src/corelib/kernel/qcoreapplication.cpp:1536
#30 0x00007f31158b69d8 in QGestureManager::deliverEvents (this=<optimized out>, gestures=..., undeliveredGestures=<optimized out>) at ./src/widgets/kernel/qgesturemanager.cpp:694
#31 0x00007f31157fda7e in QGestureManager::deliverEvents (undeliveredGestures=0x7ffd474be178, gestures=..., this=0x561391687460) at ./obj-x86_64-linux-gnu/include/QtCore/../../../src/corelib/tools/qhash.h:926
#32 QGestureManager::filterEventThroughContexts (this=0x561391687460, contexts=..., event=<optimized out>) at ./src/widgets/kernel/qgesturemanager.cpp:360
#33 0x00007f3115802198 in QGestureManager::filterEvent (this=0x561391687460, receiver=<optimized out>, event=0x7ffd474be5f0) at ./src/widgets/kernel/qgesturemanager.cpp:493
#34 0x00007f31157f55a9 in QApplication::notify (this=0x7ffd474bee60, receiver=0x5613918d1930, e=0x7ffd474be5f0) at ./src/widgets/kernel/qapplication.cpp:2626
#35 0x00007f311465e828 in QCoreApplication::notifyInternal2 (receiver=0x5613918d1930, event=event@entry=0x7ffd474be5f0) at ./src/corelib/kernel/qcoreapplication.cpp:1118
#36 0x00007f311465e87d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=event@entry=0x7ffd474be5f0) at ./src/corelib/kernel/qcoreapplication.cpp:1550
#37 0x00007f31157f206e in QApplicationPrivate::translateRawTouchEvent (window=0x5613914c33a0, te=0x7ffd474bea68) at ./src/widgets/kernel/qapplication.cpp:3950
#38 0x00007f311583e6c3 in QWidgetWindow::handleTouchEvent (event=0x7ffd474bea68, this=0x56139183d0a0) at ./src/widgets/kernel/qwidgetwindow.cpp:652
#39 QWidgetWindow::handleTouchEvent (event=0x7ffd474bea68, this=0x56139183d0a0) at ./src/widgets/kernel/qwidgetwindow.cpp:642
#40 QWidgetWindow::event (this=0x56139183d0a0, event=0x7ffd474bea68) at ./src/widgets/kernel/qwidgetwindow.cpp:255
#41 0x00007f31157f079b in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x56139183d0a0, e=0x7ffd474bea68) at ./src/widgets/kernel/qapplication.cpp:3290
#42 0x00007f311465e828 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x56139183d0a0, event=event@entry=0x7ffd474bea68) at ./src/corelib/kernel/qcoreapplication.cpp:1118
#43 0x00007f311465e87d in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x56139183d0a0, event=event@entry=0x7ffd474bea68) at ./src/corelib/kernel/qcoreapplication.cpp:1550
#44 0x00007f3114af5073 in QGuiApplicationPrivate::processTouchEvent (e=<optimized out>) at ./src/gui/kernel/qguiapplication.cpp:3075
#45 0x00007f3114b549ac in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at ./src/gui/kernel/qwindowsysteminterface.cpp:1109
#46 0x00007f3114f0a2b4 in userEventSourceDispatch (source=<optimized out>) at ./src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#47 0x00007f311271dd3b in g_main_dispatch (context=0x7f3108005040) at ../../../glib/gmain.c:3419
#48 g_main_context_dispatch (context=0x7f3108005040) at ../../../glib/gmain.c:4137
#49 0x00007f3112773258 in g_main_context_iterate.constprop.0 (context=context@entry=0x7f3108005040, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4213
#50 0x00007f311271b3e3 in g_main_context_iteration (context=0x7f3108005040, may_block=1) at ../../../glib/gmain.c:4278
#51 0x00007f311445de60 in QEventDispatcherGlib::processEvents (this=0x56139132fef0, flags=...) at ./src/corelib/kernel/qeventdispatcher_glib.cpp:393
#52 0x00007f3114660a5b in QEventLoop::exec (this=this@entry=0x7ffd474bed80, flags=..., flags@entry=...) at ./src/corelib/global/qflags.h:34
#53 0x00007f311466268c in QCoreApplication::exec () at ./src/corelib/global/qflags.h:74
#54 0x00007f3114ae9940 in QGuiApplication::exec () at ./src/gui/kernel/qguiapplication.cpp:1921
#55 0x00007f31157e8c89 in QApplication::exec () at ./src/widgets/kernel/qapplication.cpp:2569
#56 0x000056138f509362 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:213