Bug 438045 - Crash when opening context menu of symlink or files inside linked folder
Summary: Crash when opening context menu of symlink or files inside linked folder
Status: RESOLVED DUPLICATE of bug 439664
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.04.0
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-03 15:19 UTC by Fabian
Modified: 2022-11-02 11:51 UTC (History)
6 users (show)

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


Attachments
New crash information added by DrKonqi (15.09 KB, text/plain)
2021-11-10 15:56 UTC, Bill Kristan
Details
New crash information added by DrKonqi (5.66 KB, text/plain)
2022-08-29 22:52 UTC, Marc Byczkowicz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian 2021-06-03 15:19:26 UTC
STEPS TO REPRODUCE
1. Create a symbolic link to a file (e.g. with Ctrl+Shift+drag).
2. Right-click that link.

Alternatively:
1. Create a symlink to a folder.
2. Enter that folder via that link. Note that the path at the top shows the link's name, not the real folder's name.
3. Right-click anything inside.

OBSERVED RESULT
Dolphin crashes.

EXPECTED RESULT
context menu

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.10.36-2-MANJARO
OS Type: 64-bit
Manjaro 21.0.5

ADDITIONAL INFORMATION
Application: Dolphin (kdeinit5), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f01049503a0 in QVariant::toString() const () from /usr/lib/libQt5Core.so.5
#5  0x00007f00d8d7b275 in FileItemActionInsyncPlugin::getContextMenuActions(QString const&) () from /usr/lib/qt/plugins/fileitemactioninsyncplugin.so
#6  0x00007f00d8d7afb9 in FileItemActionInsyncPlugin::actions(KFileItemListProperties const&, QWidget*) () from /usr/lib/qt/plugins/fileitemactioninsyncplugin.so
#7  0x00007f010017ede3 in ?? () from /usr/lib/libKF5KIOWidgets.so.5
#8  0x00007f00fea92352 in ?? () from /usr/lib/libkdeinit5_dolphin.so
#9  0x00007f00fea93043 in ?? () from /usr/lib/libkdeinit5_dolphin.so
#10 0x00007f00fea93648 in ?? () from /usr/lib/libkdeinit5_dolphin.so
#11 0x00007f00fea8a517 in ?? () from /usr/lib/libkdeinit5_dolphin.so
#12 0x00007f0104946b76 in ?? () from /usr/lib/libQt5Core.so.5
#13 0x00007f00fe95f625 in DolphinView::requestContextMenu(QPoint const&, KFileItem const&, QUrl const&, QList<QAction*> const&) () from /usr/lib/libdolphinprivate.so.5
#14 0x00007f00fe9ce79d in DolphinView::slotItemContextMenuRequested(int, QPointF const&) () from /usr/lib/libdolphinprivate.so.5
#15 0x00007f0104946b76 in ?? () from /usr/lib/libQt5Core.so.5
#16 0x00007f00fe95dbd7 in KItemListController::itemContextMenuRequested(int, QPointF const&) () from /usr/lib/libdolphinprivate.so.5
#17 0x00007f00fe990772 in KItemListController::keyPressEvent(QKeyEvent*) () from /usr/lib/libdolphinprivate.so.5
#18 0x00007f00fe9a1f8f in KItemListView::event(QEvent*) () from /usr/lib/libdolphinprivate.so.5
#19 0x00007f0103cb8762 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#20 0x00007f010490f81a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#21 0x00007f0103cfaa95 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007f0103da525f in QFrame::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#23 0x00007f0103cb8762 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#24 0x00007f0103cbfdc8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#25 0x00007f010490f81a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#26 0x00007f0103d1576a in ?? () from /usr/lib/libQt5Widgets.so.5
#27 0x00007f0103cb8762 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#28 0x00007f010490f81a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#29 0x00007f0104ce8474 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/libQt5Gui.so.5
#30 0x00007f0104cc1bb5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#31 0x00007f00fd91419c in ?? () from /usr/lib/libQt5XcbQpa.so.5
#32 0x00007f0102fdd02c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0x00007f0103030b59 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0x00007f0102fda781 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0x00007f0104968321 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#36 0x00007f010490e17c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#37 0x00007f0104916634 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#38 0x00007f00fea77fa3 in kdemain () from /usr/lib/libkdeinit5_dolphin.so
#39 0x000055a4789375bd in ?? ()
#40 0x000055a478938a59 in ?? ()
#41 0x000055a478939237 in ?? ()
#42 0x000055a478934b54 in ?? ()
#43 0x00007f01044b3b25 in __libc_start_main () from /usr/lib/libc.so.6
#44 0x000055a4789356be in ?? ()
[Inferior 1 (process 191317) detached]
Comment 1 Bill Kristan 2021-11-10 15:56:59 UTC
Created attachment 143412 [details]
New crash information added by DrKonqi

dolphin (21.08.3) using Qt 5.15.3

- What I was doing when the application crashed:
Right-clicked on a file Insync flagged as causing an error.

-- Backtrace (Reduced):
#4  0x00007fb7e159c094 in qVariantToHelper<QString> (handlerManager=..., d=...) at kernel/qvariant.cpp:2709
#5  QVariant::toString (this=0x0) at kernel/qvariant.cpp:2710
#6  0x00007fb7af76e275 in FileItemActionInsyncPlugin::getContextMenuActions(QString const&) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/fileitemactioninsyncplugin.so
#7  0x00007fb7af76dfb9 in FileItemActionInsyncPlugin::actions(KFileItemListProperties const&, QWidget*) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/fileitemactioninsyncplugin.so
[...]
#9  0x000055b68d02faaf in DolphinContextMenu::addAdditionalActions (this=this@entry=0x55b68ec387f0, props=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:121
Comment 2 modjohn 2021-12-07 23:13:43 UTC
This is the same as bug 439664
Comment 3 Marc Byczkowicz 2022-08-29 22:52:03 UTC
Created attachment 151695 [details]
New crash information added by DrKonqi

dolphin (22.04.1) using Qt 5.15.5

Dolphin crashes every time when opening the context menu of .desktop file in the Desktop directory

-- Backtrace (Reduced):
#4  0x00007f8621ae42b4 in QVariant::toString() const () from /lib64/libQt5Core.so.5
#5  0x00007f85c740334c in FileItemActionInsyncPlugin::getContextMenuActions(QString const&) () from /usr/lib64/qt5/plugins/fileitemactioninsyncplugin.so
#6  0x00007f85c74030da in FileItemActionInsyncPlugin::actions(KFileItemListProperties const&, QWidget*) () from /usr/lib64/qt5/plugins/fileitemactioninsyncplugin.so
#7  0x00007f8623904a42 in KFileItemActionsPrivate::addPluginActionsTo(QMenu*, QMenu*, QStringList const&) () from /lib64/libKF5KIOWidgets.so.5
#8  0x000055a2381d43a2 in DolphinContextMenu::addAdditionalActions(KFileItemListProperties const&) ()
Comment 4 Nicolas Fella 2022-11-02 11:51:46 UTC

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