Bug 425198 - Dolphin crashes on right click
Summary: Dolphin crashes on right click
Status: RESOLVED DOWNSTREAM
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
: 425137 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-08-10 18:24 UTC by Alexander Schell
Modified: 2020-08-26 17:35 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.02 KB, text/plain)
2020-08-14 14:58 UTC, Jens Ramke
Details
New crash information added by DrKonqi (6.58 KB, text/plain)
2020-08-15 13:38 UTC, lots0logs
Details
New crash information added by DrKonqi (10.09 KB, text/plain)
2020-08-25 10:44 UTC, Shay G
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Schell 2020-08-10 18:24:35 UTC
Application: dolphin (20.07.90)

Qt Version: 5.15.0
Frameworks Version: 5.73.0
Operating System: Linux 5.7.11-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
Tried to open the context menu with a right click to create a new folder. Dolphin crashed right after the right click.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x0000000000000000 in ?? ()
#5  0x00007f3412ef871a in VersionControlObserver::actions (this=0x7ffd85df2c98, items=...) at /usr/src/debug/dolphin-20.07.90-220.3.x86_64/src/views/versioncontrol/versioncontrolobserver.cpp:130
#6  0x00007f3412ee3f54 in DolphinView::versionControlActions (this=0x7ffd85df2d40, items=...) at /usr/include/qt5/QtCore/qlist.h:401
#7  0x00007f34131759a9 in DolphinContextMenu::addVersionControlPluginActions (this=0x55ddc21f6bb0) at /usr/src/debug/dolphin-20.07.90-220.3.x86_64/src/dolphincontextmenu.cpp:493
#8  0x00007f3413164932 in DolphinContextMenu::openViewportContextMenu (this=0x55ddc21f6bb0) at /usr/src/debug/dolphin-20.07.90-220.3.x86_64/src/dolphincontextmenu.cpp:377
#9  DolphinContextMenu::open (this=0x55ddc21f6bb0) at /usr/src/debug/dolphin-20.07.90-220.3.x86_64/src/dolphincontextmenu.cpp:122
#10 DolphinMainWindow::openContextMenu (this=0x7ffd85df2e90, pos=..., item=..., url=..., customActions=...) at /usr/src/debug/dolphin-20.07.90-220.3.x86_64/src/dolphinmainwindow.cpp:1084
#11 0x00007f34110970f6 in ?? () from /usr/lib64/libQt5Core.so.5
#12 0x00007f3412e7ce24 in DolphinView::requestContextMenu (this=<optimized out>, _t1=..., _t2=..., _t3=..., _t4=...) at /usr/src/debug/dolphin-20.07.90-220.3.x86_64/build/src/dolphinprivate_autogen/DWW7M6GQBY/moc_dolphinview.cpp:1036
#13 0x00007f3412ee17a5 in DolphinView::slotViewContextMenuRequested (this=0x55ddc1741650, pos=...) at /usr/include/qt5/QtCore/qpoint.h:124
#14 0x00007f34110970f6 in ?? () from /usr/lib64/libQt5Core.so.5
#15 0x00007f3412e7ae45 in KItemListController::viewContextMenuRequested (this=<optimized out>, _t1=...) at /usr/src/debug/dolphin-20.07.90-220.3.x86_64/build/src/dolphinprivate_autogen/Z3MQH7AOBD/moc_kitemlistcontroller.cpp:461
#16 0x00007f3412eac19c in KItemListController::mousePressEvent (transform=..., event=0x7ffd85df3700, this=0x55ddc1cc3140) at /usr/include/qt5/QtCore/qpoint.h:133
#17 KItemListController::mousePressEvent (this=this@entry=0x55ddc1cc3140, event=event@entry=0x7ffd85df3700, transform=...) at /usr/src/debug/dolphin-20.07.90-220.3.x86_64/src/kitemviews/kitemlistcontroller.cpp:531
#18 0x00007f3412eaf649 in KItemListController::processEvent (this=0x55ddc1cc3140, event=0x7ffd85df3700, transform=...) at /usr/src/debug/dolphin-20.07.90-220.3.x86_64/src/kitemviews/kitemlistcontroller.cpp:1056
#19 0x00007f3412eb366d in KItemListView::event (this=0x55ddc187a770, event=0x7ffd85df3700) at /usr/src/debug/dolphin-20.07.90-220.3.x86_64/src/kitemviews/kitemlistview.cpp:917
#20 0x00007f3411c750cf in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007f3411060c1a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#22 0x00007f3411f89f35 in ?? () from /usr/lib64/libQt5Widgets.so.5
#23 0x00007f3411f8a2d1 in ?? () from /usr/lib64/libQt5Widgets.so.5
#24 0x00007f3411f928ba in ?? () from /usr/lib64/libQt5Widgets.so.5
#25 0x00007f3411f9c631 in QGraphicsScene::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#26 0x00007f3411c750cf in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#27 0x00007f3411060c1a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#28 0x00007f3411fb8b05 in QGraphicsView::mousePressEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#29 0x00007f3411cb50de in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#30 0x00007f3411d5d4de in QFrame::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#31 0x00007f3411060983 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#32 0x00007f3411c750be in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#33 0x00007f3411c7c121 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#34 0x00007f3411060c1a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#35 0x00007f3411c7b036 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib64/libQt5Widgets.so.5
#36 0x00007f3411ccd13a in ?? () from /usr/lib64/libQt5Widgets.so.5
#37 0x00007f3411cd062e in ?? () from /usr/lib64/libQt5Widgets.so.5
#38 0x00007f3411c750cf in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#39 0x00007f3411060c1a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#40 0x00007f341155e27b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
#41 0x00007f341153451b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#42 0x00007f340c2faf4a in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#43 0x00007f340ef072b7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f340ef07638 in ?? () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f340ef076ef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#46 0x00007f34110b805f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#47 0x00007f341105f5db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#48 0x00007f3411067840 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#49 0x00007f341315d1a1 in kdemain (argc=<optimized out>, argv=0x7ffd85df4430) at /usr/src/debug/dolphin-20.07.90-220.3.x86_64/src/main.cpp:189
#50 0x00007f3412f6acca in __libc_start_main () from /lib64/libc.so.6
#51 0x000055ddc007208a in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 11486) detached]

Possible duplicates by query: bug 308136, bug 296600, bug 294336.

Reported using DrKonqi
Comment 1 Jens Ramke 2020-08-14 14:58:21 UTC
Created attachment 130872 [details]
New crash information added by DrKonqi

dolphin (20.08.0) using Qt 5.15.0

- What I was doing when the application crashed:
Right click on a file or directory. Sometimes only the second right click leads to the crash.

-- Backtrace (Reduced):
#5  0x00007ff82cfa0569 in VersionControlObserver::actions(KFileItemList const&) const () at /usr/lib/libdolphinprivate.so.5
#6  0x00007ff82cf911df in DolphinView::versionControlActions(KFileItemList const&) const () at /usr/lib/libdolphinprivate.so.5
[...]
#12 0x00007ff82cf25545 in DolphinView::requestContextMenu(QPoint const&, KFileItem const&, QUrl const&, QList<QAction*> const&) () at /usr/lib/libdolphinprivate.so.5
#13 0x00007ff82cf909dd in DolphinView::slotItemContextMenuRequested(int, QPointF const&) () at /usr/lib/libdolphinprivate.so.5
[...]
#15 0x00007ff82cf23a27 in KItemListController::itemContextMenuRequested(int, QPointF const&) () at /usr/lib/libdolphinprivate.so.5
Comment 2 lots0logs 2020-08-15 13:38:03 UTC
Created attachment 130886 [details]
New crash information added by DrKonqi

dolphin (20.08.0) using Qt 5.14.2

- What I was doing when the application crashed: Right clicked on a directory. I think the crash report is self explanitory.

-- Backtrace (Reduced):
#5  0x00007f4b733241c9 in VersionControlObserver::actions(KFileItemList const&) const () from /lib/x86_64-linux-gnu/libdolphinprivate.so.5
#6  0x00007f4b7330f531 in DolphinView::versionControlActions(KFileItemList const&) const () from /lib/x86_64-linux-gnu/libdolphinprivate.so.5
[...]
#12 0x00007f4b7329dab8 in DolphinView::requestContextMenu(QPoint const&, KFileItem const&, QUrl const&, QList<QAction*> const&) () from /lib/x86_64-linux-gnu/libdolphinprivate.so.5
#13 0x00007f4b7330f0a8 in DolphinView::slotItemContextMenuRequested(int, QPointF const&) () from /lib/x86_64-linux-gnu/libdolphinprivate.so.5
[...]
#15 0x00007f4b7329c0ca in KItemListController::itemContextMenuRequested(int, QPointF const&) () from /lib/x86_64-linux-gnu/libdolphinprivate.so.5
Comment 3 Domenico Panella 2020-08-16 09:14:57 UTC
Same problem on Void Linux. 
This is the error:

2020-08-16T09:11:07.12614 kern.info: [59312.053055] dolphin[7820]: segfault at 0 ip 0000000000000000 sp 00007fff92bfc258 error 14 in dolphin[55a710a80000+1000]


Operating System: void
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0
Kernel Version: 5.8.1_1
OS Type: 64-bit
Comment 4 Domenico Panella 2020-08-17 16:04:40 UTC
I tried to disable git plugin provided by dolphin-plugins package and now it works nicely. 
could help you
Comment 5 Jens Ramke 2020-08-17 18:28:51 UTC
(In reply to Jens Ramke from comment #1)
Right click opens the menu successfully only if it is the very first click into the Dolphin window. Otherwise a right click always leads to a crash.
Comment 6 Jens Ramke 2020-08-17 18:29:43 UTC
(In reply to kdedom from comment #4)
> I tried to disable git plugin provided by dolphin-plugins package and now it
> works nicely. 
> could help you

Disabling git plugin did not work for me.
Comment 7 lots0logs 2020-08-17 18:42:56 UTC
Just FYI, this bug has already been fixed in the latest update on KDE Neon. Other distros just need to update their packages with the latest version of the libdolphinplugins package.
Comment 8 Domenico Panella 2020-08-17 19:29:35 UTC
(In reply to lots0logs from comment #7)
> Just FYI, this bug has already been fixed in the latest update on KDE Neon.
> Other distros just need to update their packages with the latest version of
> the libdolphinplugins package.

Thanks Guy!
I've updated dolphin-plugins package from 20.04.3 to 20.08.0.
It fixed crash.
Resolved on Void Linux
Comment 9 Elvis Angelaccio 2020-08-17 20:24:51 UTC
Yeah dolphin-plugins changed the API. In the future we might consider merging dolphin-plugins into dolphin to avoid such build issues.
Comment 10 Jens Ramke 2020-08-17 20:33:48 UTC
(In reply to Elvis Angelaccio from comment #9)
> Yeah dolphin-plugins changed the API. In the future we might consider
> merging dolphin-plugins into dolphin to avoid such build issues.

I have dolphin-plugins 20.08.0 installed, so I don't consider this issue resolved.
It probably has multiple causes.
Comment 11 Jens Ramke 2020-08-17 20:40:22 UTC
(In reply to Jens Ramke from comment #10)
> (In reply to Elvis Angelaccio from comment #9)
> > Yeah dolphin-plugins changed the API. In the future we might consider
> > merging dolphin-plugins into dolphin to avoid such build issues.
> 
> I have dolphin-plugins 20.08.0 installed, so I don't consider this issue
> resolved.
> It probably has multiple causes.

Nevermind, I've tracked it down to the seafile plugin.
Comment 12 Shay G 2020-08-25 10:44:57 UTC
Created attachment 131164 [details]
New crash information added by DrKonqi

dolphin (20.08.0) using Qt 5.15.0

- What I was doing when the application crashed:

Right clicking on a folder. Dolphin crashed before I was able to select anything

-- Backtrace (Reduced):
#1  0x00007f459248eb5b in KCrash::defaultCrashHandler(int) () at /usr/lib/libKF5Crash.so.5
[...]
#1  0x00007f459248eb5b in KCrash::defaultCrashHandler(int) () at /usr/lib/libKF5Crash.so.5
[...]
#3  0x00007f4590c9934c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f4590c3f13c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f4590a5ac32 in QThread::exec() () at /usr/lib/libQt5Core.so.5
Comment 13 Christoph Feck 2020-08-26 17:35:04 UTC
*** Bug 425137 has been marked as a duplicate of this bug. ***