Bug 490130 - Gwenview crashed when network fish:// opened file and internet disconected
Summary: Gwenview crashed when network fish:// opened file and internet disconected
Status: REPORTED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 23.04.2
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-07-11 22:10 UTC by Kokan
Modified: 2024-07-18 21:56 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kokan 2024-07-11 22:10:34 UTC
Application: gwenview (23.04.2)

Qt Version: 5.15.13
Frameworks Version: 5.115.0
Operating System: Linux 6.7.12-amd64 x86_64
Windowing System: Wayland
Distribution: Debian GNU/Linux trixie/sid
DrKonqi: 5.27.11 [KCrashBackend]

-- Information about the crash:
I was opening file from dolphin using fish:// location. My interent disconnected (or was buggy) and Gwenview crashed

The crash does not seem to be reproducible.

-- Backtrace:
Application: Гвенвју (gwenview), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f1316d82fbe in QDrag::setMimeData(QMimeData*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#5  0x00007f1318b58e55 in ?? () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#6  0x00007f1318b55757 in Gwenview::DocumentView::sceneEventFilter(QGraphicsItem*, QEvent*) () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#7  0x00007f13178a2379 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007f13178a2455 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f13178a2895 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f13178a832a in QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f13178b4b78 in QGraphicsScene::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f1317562f82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f13168ce0e8 in QCoreApplication::notifyInternal2 (receiver=0x561585921c40, event=0x7ffc6d8a57e0) at kernel/qcoreapplication.cpp:1064
#14 0x00007f13178d0852 in QGraphicsViewPrivate::mouseMoveEventHandler(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f13175a5d48 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f1317652672 in QFrame::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f13168cde53 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=0x561585c6c830, event=0x7ffc6d8a5d90) at kernel/qcoreapplication.cpp:1190
#18 0x00007f1317562f72 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f131756b49d in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f13168ce0e8 in QCoreApplication::notifyInternal2 (receiver=0x561585c6c830, event=0x7ffc6d8a5d90) at kernel/qcoreapplication.cpp:1064
#21 0x00007f13175697a2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f13175bef81 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f13175c230f in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f1317562f82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f13168ce0e8 in QCoreApplication::notifyInternal2 (receiver=0x561586053380, event=0x7ffc6d8a6040) at kernel/qcoreapplication.cpp:1064
#26 0x00007f1316d3f83b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#27 0x00007f1316d1324c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#28 0x00007f1316d134c0 in QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#29 0x00007f13168fb2f0 in QObject::event (this=0x5615858bf090, e=0x7f1308004c30) at kernel/qobject.cpp:1347
#30 0x00007f1317562f82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007f13168ce0e8 in QCoreApplication::notifyInternal2 (receiver=0x5615858bf090, event=0x7f1308004c30) at kernel/qcoreapplication.cpp:1064
#32 0x00007f13168ce2c2 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#33 0x00007f13168d1801 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5615854ddf20) at kernel/qcoreapplication.cpp:1821
#34 0x00007f13168d1d4c in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680
#35 0x00007f131692a0e7 in postEventSourceDispatch (s=0x56158551ff50) at kernel/qeventdispatcher_glib.cpp:277
#36 0x00007f131450de3f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f131450fec7 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f13145104e0 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f131692979a in QEventDispatcherGlib::processEvents (this=0x5615854ca990, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#40 0x00007f1318b418da in Gwenview::Document::waitUntilLoaded() () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#41 0x00007f1318b87768 in Gwenview::MimeTypeUtils::selectionMimeData(KFileItemList const&, Gwenview::MimeTypeUtils::MimeTarget) () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#42 0x00007f1318b58e20 in ?? () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#43 0x00007f1318b55757 in Gwenview::DocumentView::sceneEventFilter(QGraphicsItem*, QEvent*) () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#44 0x00007f13178a2379 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#45 0x00007f13178a2455 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#46 0x00007f13178a2895 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#47 0x00007f13178a832a in QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#48 0x00007f13178b4b78 in QGraphicsScene::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#49 0x00007f1317562f82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#50 0x00007f13168ce0e8 in QCoreApplication::notifyInternal2 (receiver=0x561585921c40, event=0x7ffc6d8a6a30) at kernel/qcoreapplication.cpp:1064
#51 0x00007f13178d0852 in QGraphicsViewPrivate::mouseMoveEventHandler(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#52 0x00007f13175a5d48 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#53 0x00007f1317652672 in QFrame::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#54 0x00007f13168cde53 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=0x561585c6c830, event=0x7ffc6d8a6fe0) at kernel/qcoreapplication.cpp:1190
#55 0x00007f1317562f72 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#56 0x00007f131756b49d in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#57 0x00007f13168ce0e8 in QCoreApplication::notifyInternal2 (receiver=0x561585c6c830, event=0x7ffc6d8a6fe0) at kernel/qcoreapplication.cpp:1064
#58 0x00007f13175697a2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#59 0x00007f13175bef81 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#60 0x00007f13175c230f in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#61 0x00007f1317562f82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#62 0x00007f13168ce0e8 in QCoreApplication::notifyInternal2 (receiver=0x561586053380, event=0x7ffc6d8a7290) at kernel/qcoreapplication.cpp:1064
#63 0x00007f1316d3f83b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#64 0x00007f1316d1324c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#65 0x00007f13159c8024 in ?? () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#66 0x00007f131450de3f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007f131450fec7 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#68 0x00007f13145104e0 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#69 0x00007f131692979a in QEventDispatcherGlib::processEvents (this=0x5615854ca990, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#70 0x00007f13168cca8b in QEventLoop::exec (this=this@entry=0x7ffc6d8a7630, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#71 0x00007f13168d5244 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#72 0x00005615842bf510 in ?? ()
#73 0x00007f1316042c8a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#74 0x00007f1316042d45 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#75 0x00005615842bf731 in ?? ()
[Inferior 1 (process 19008) detached]

Reported using DrKonqi
Comment 1 Kokan 2024-07-11 22:30:46 UTC
Here is better stacktrace:
---
Core was generated by `/usr/bin/gwenview fish://pi-reverse/mnt/desktop/Радна површ/drone/zr-'.
Program terminated with signal SIGSEGV, Segmentation fault.

warning: Section `.reg-xstate/19008' in core file too small.
#0  0x00007f13160a6b1c in ?? () from /lib/x86_64-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0x7f1310592c80 (LWP 19008))]
(gdb) bt
#0  0x00007f13160a6b1c in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f13160584e2 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f1316b7eb66 in KCrash::defaultCrashHandler(int) () from /lib/x86_64-linux-gnu/libKF5Crash.so.5
#3  <signal handler called>
#4  0x00007f1316d82fbe in QDrag::setMimeData(QMimeData*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#5  0x00007f1318b58e55 in Gwenview::DocumentViewPrivate::startDragIfSensible (this=0x561586095590) at ./lib/documentview/documentview.cpp:402
#6  0x00007f1318b55757 in Gwenview::DocumentView::sceneEventFilter (this=0x5615861024d0, event=<optimized out>) at ./lib/documentview/documentview.cpp:1092
#7  0x00007f13178a2379 in QGraphicsScenePrivate::filterEvent (this=this@entry=0x561585af47a0, item=item@entry=0x561586151400, event=event@entry=0x7ffc6d8a57e0)
    at graphicsview/qgraphicsscene.cpp:1218
#8  0x00007f13178a2455 in QGraphicsScenePrivate::sendEvent (this=0x561585af47a0, item=0x561586151400, event=0x7ffc6d8a57e0)
    at graphicsview/qgraphicsscene.cpp:1246
#9  0x00007f13178a2895 in QGraphicsScenePrivate::sendMouseEvent (this=this@entry=0x561585af47a0, mouseEvent=mouseEvent@entry=0x7ffc6d8a57e0)
    at graphicsview/qgraphicsscene.cpp:1335
#10 0x00007f13178a832a in QGraphicsScene::mouseMoveEvent (this=<optimized out>, mouseEvent=0x7ffc6d8a57e0) at graphicsview/qgraphicsscene.cpp:4097
#11 0x00007f13178b4b78 in QGraphicsScene::event (this=0x561585921c40, event=0x7ffc6d8a57e0) at graphicsview/qgraphicsscene.cpp:3429
#12 0x00007f1317562f82 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x561585921c40, e=0x7ffc6d8a57e0) at kernel/qapplication.cpp:3640
#13 0x00007f13168ce0e8 in QCoreApplication::notifyInternal2 (receiver=0x561585921c40, event=0x7ffc6d8a57e0) at kernel/qcoreapplication.cpp:1064
#14 0x00007f13168ce2e2 in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#15 0x00007f1317563299 in qt_sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qapplication.cpp:4064
#16 0x00007f13178d0852 in QGraphicsViewPrivate::mouseMoveEventHandler (this=0x56158597dee0, event=0x7ffc6d8a5d90) at graphicsview/qgraphicsview.cpp:672
#17 0x00007f13175a5d48 in QWidget::event (this=this@entry=0x5615859219e0, event=event@entry=0x7ffc6d8a5d90) at kernel/qwidget.cpp:9045
#18 0x00007f1317652672 in QFrame::event (this=0x5615859219e0, e=0x7ffc6d8a5d90) at widgets/qframe.cpp:550
#19 0x00007f13168cde53 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x561585c6c830, event=event@entry=0x7ffc6d8a5d90)
    at kernel/qcoreapplication.cpp:1190
#20 0x00007f1317562f72 in QApplicationPrivate::notify_helper (this=this@entry=0x561585503570, receiver=receiver@entry=0x561585c6c830, e=e@entry=0x7ffc6d8a5d90)
    at kernel/qapplication.cpp:3634
#21 0x00007f131756b49d in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7ffc6d8a5d90) at kernel/qapplication.cpp:3084
#22 0x00007f13168ce0e8 in QCoreApplication::notifyInternal2 (receiver=0x561585c6c830, event=0x7ffc6d8a5d90) at kernel/qcoreapplication.cpp:1064
#23 0x00007f13168ce2e2 in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#24 0x00007f13175697a2 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x561585c6c830, event=event@entry=0x7ffc6d8a5d90, 
    alienWidget=<optimized out>, nativeWidget=0x56158579b0e0, buttonDown=buttonDown@entry=0x7f1317ab59d0 <qt_button_down>, lastMouseReceiver=..., 
    spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622
#25 0x00007f13175bef81 in QWidgetWindow::handleMouseEvent (this=this@entry=0x561586053380, event=event@entry=0x7ffc6d8a6040) at kernel/qwidgetwindow.cpp:684
#26 0x00007f13175c230f in QWidgetWindow::event (this=0x561586053380, event=0x7ffc6d8a6040) at kernel/qwidgetwindow.cpp:300
#27 0x00007f1317562f82 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x561586053380, e=0x7ffc6d8a6040) at kernel/qapplication.cpp:3640
#28 0x00007f13168ce0e8 in QCoreApplication::notifyInternal2 (receiver=0x561586053380, event=0x7ffc6d8a6040) at kernel/qcoreapplication.cpp:1064
#29 0x00007f1316d3f83b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#30 0x00007f1316d1324c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#31 0x00007f1316d134c0 in QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#32 0x00007f13168fb2f0 in QObject::event (this=0x5615858bf090, e=0x7f1308004c30) at kernel/qobject.cpp:1347
#33 0x00007f1317562f82 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5615858bf090, e=0x7f1308004c30) at kernel/qapplication.cpp:3640
#34 0x00007f13168ce0e8 in QCoreApplication::notifyInternal2 (receiver=0x5615858bf090, event=0x7f1308004c30) at kernel/qcoreapplication.cpp:1064
#35 0x00007f13168ce2c2 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#36 0x00007f13168d1801 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5615854ddf20) at kernel/qcoreapplication.cpp:1821
#37 0x00007f13168d1d4c in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680
#38 0x00007f131692a0e7 in postEventSourceDispatch (s=0x56158551ff50) at kernel/qeventdispatcher_glib.cpp:277
#39 0x00007f131450de3f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f131450fec7 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f13145104e0 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f131692979a in QEventDispatcherGlib::processEvents (this=0x5615854ca990, flags=...) at kernel/qeventdispatcher_glib.cpp:423
Comment 2 TraceyC 2024-07-18 21:56:30 UTC
There's another crash report for Dolphin, also caused by a tab with an sshfs mount, where there's a "host not found" error
https://bugs.kde.org/show_bug.cgi?id=490208

Some of the backtrace looks similar. There could be a network event that one of the libraries isn't handling properly