Bug 480650

Summary: Dolphin Crash on right click of file in process of being synced (insync)
Product: [Applications] dolphin Reporter: Kyna <kyna.osprey>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kfm-devel, mohamed, nicolas.fella, sitter
Priority: NOR Keywords: drkonqi
Version: 23.08.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Kyna 2024-02-01 02:35:58 UTC
Application: dolphin (23.08.4)

Qt Version: 5.15.12
Frameworks Version: 5.114.0
Operating System: Linux 6.7.1-zen1-1-zen x86_64
Windowing System: X11
Distribution: EndeavourOS
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
I use the arch package insync to sync with onedrive, I was in a folder that was in process of syncing and I also use the insync-dolphin package in chaotic-aur, together when I right click on a file, it crashes. (I just tried it again, and it seems not to happen anymore...)

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  0x0000784f2dedae04 in QVariant::toString() const () at /usr/lib/libQt5Core.so.5
#5  0x0000784f0c803275 in FileItemActionInsyncPlugin::getContextMenuActions(QString const&) () at /usr/lib/qt/plugins/fileitemactioninsyncplugin.so
#6  0x0000784f0c802fb9 in FileItemActionInsyncPlugin::actions(KFileItemListProperties const&, QWidget*) () at /usr/lib/qt/plugins/fileitemactioninsyncplugin.so
#7  0x0000784f2fdd005b in ??? () at /usr/lib/libKF5KIOWidgets.so.5
#8  0x00005a84fc835471 in ??? ()
#9  0x00005a84fc835d69 in ??? ()
#10 0x00005a84fc81b6aa in ??? ()
#11 0x0000784f2ded0e27 in ??? () at /usr/lib/libQt5Core.so.5
#12 0x0000784f3017e029 in DolphinView::requestContextMenu(QPoint const&, KFileItem const&, KFileItemList const&, QUrl const&) () at /usr/lib/libdolphinprivate.so.5
#13 0x0000784f30180f30 in DolphinView::slotItemContextMenuRequested(int, QPointF const&) () at /usr/lib/libdolphinprivate.so.5
#14 0x0000784f2ded0e27 in ??? () at /usr/lib/libQt5Core.so.5
#15 0x0000784f301335ab in KItemListController::itemContextMenuRequested(int, QPointF const&) () at /usr/lib/libdolphinprivate.so.5
#16 0x0000784f30139246 in KItemListController::onPress(QPoint const&, QPointF const&, QFlags<Qt::KeyboardModifier>, QFlags<Qt::MouseButton>) () at /usr/lib/libdolphinprivate.so.5
#17 0x0000784f3013988e in KItemListController::mousePressEvent(QGraphicsSceneMouseEvent*, QTransform const&) () at /usr/lib/libdolphinprivate.so.5
#18 0x0000784f3013c10b in KItemListController::processEvent(QEvent*, QTransform const&) () at /usr/lib/libdolphinprivate.so.5
#19 0x0000784f3014242e in KItemListView::event(QEvent*) () at /usr/lib/libdolphinprivate.so.5
#20 0x0000784f2eb788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#21 0x0000784f2de9bef8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#22 0x0000784f2ee95b90 in ??? () at /usr/lib/libQt5Widgets.so.5
#23 0x0000784f2ee9a5ea in ??? () at /usr/lib/libQt5Widgets.so.5
#24 0x0000784f2ee9d0eb in ??? () at /usr/lib/libQt5Widgets.so.5
#25 0x0000784f2eea1389 in QGraphicsScene::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#26 0x0000784f2eb788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#27 0x0000784f2de9bef8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#28 0x0000784f2eec9147 in QGraphicsView::mousePressEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#29 0x0000784f2ebaf4e9 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#30 0x0000784f2ec5da83 in QFrame::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#31 0x0000784f2de98ed2 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#32 0x0000784f2eb788ef in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#33 0x0000784f2eb7ddaf in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#34 0x0000784f2de9bef8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#35 0x0000784f2eb7c0ea in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#36 0x0000784f2ebccec5 in ??? () at /usr/lib/libQt5Widgets.so.5
#37 0x0000784f2ebcec17 in ??? () at /usr/lib/libQt5Widgets.so.5
#38 0x0000784f2eb788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#39 0x0000784f2de9bef8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#40 0x0000784f2e34196c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#41 0x0000784f2e32a6f5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#42 0x0000784f27efb560 in ??? () at /usr/lib/libQt5XcbQpa.so.5
#43 0x0000784f2bd0df69 in ??? () at /usr/lib/libglib-2.0.so.0
#44 0x0000784f2bd6c3a7 in ??? () at /usr/lib/libglib-2.0.so.0
#45 0x0000784f2bd0c162 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#46 0x0000784f2deead0c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#47 0x0000784f2de9ac04 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#48 0x0000784f2de9c0a3 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#49 0x00005a84fc810db8 in ??? ()
#50 0x0000784f2d645cd0 in ??? () at /usr/lib/libc.so.6
#51 0x0000784f2d645d8a in __libc_start_main () at /usr/lib/libc.so.6
#52 0x00005a84fc811575 in ??? ()
[Inferior 1 (process 18701) detached]

Reported using DrKonqi
Comment 1 Harald Sitter 2024-02-01 07:16:57 UTC
Bug in insync's KIO plugin
https://forums.insynchq.com/t/insynch-crashing-dolphin/18686/32
Comment 2 Mo 2024-03-12 14:55:16 UTC
Created attachment 167040 [details]
New crash information added by DrKonqi

dolphin (23.08.1) using Qt 5.15.10

Reproduced every time :
- Go into a folder monitored by InSync
- Create a new directory
- Quickly enter the new directory
- Right click
- Dolphin crashes

Disabling the InSync service in the Dolphin configuration solves the problem.

Installed through apt :
$ apt list --installed | grep dolphin   
dolphin-plugins/mantic,now 4:23.08.1-0ubuntu1 amd64 [installed]
dolphin/mantic,now 4:23.08.1-0ubuntu1 amd64 [installed]
insync-dolphin/now 3.7.9.50368 all [installed,local]
libdolphinvcs5/mantic,now 4:23.08.1-0ubuntu1 amd64 [installed,automatic]

-- Backtrace (Reduced):
#4  0x00007b1b0dd0ff84 in QVariant::toString() const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007b1ab0e03275 in FileItemActionInsyncPlugin::getContextMenuActions(QString const&) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/fileitemactioninsyncplugin.so
#6  0x00007b1ab0e02fb9 in FileItemActionInsyncPlugin::actions(KFileItemListProperties const&, QWidget*) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/fileitemactioninsyncplugin.so
[...]
#12 0x00007b1b100b3838 in DolphinView::requestContextMenu(QPoint const&, KFileItem const&, KFileItemList const&, QUrl const&) () from /lib/x86_64-linux-gnu/libdolphinprivate.so.5
#13 0x00007b1b100b67c0 in DolphinView::slotViewContextMenuRequested(QPointF const&) () from /lib/x86_64-linux-gnu/libdolphinprivate.so.5
Comment 3 Nicolas Fella 2024-03-24 11:35:10 UTC

*** This bug has been marked as a duplicate of bug 439664 ***