Bug 389933 - Dolphin crashes when trying to drag any element
Summary: Dolphin crashes when trying to drag any element
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-02-05 22:50 UTC by Lorenzo Ragni
Modified: 2020-12-20 11:17 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.75 KB, text/plain)
2018-02-06 22:13 UTC, Gunnar
Details
New crash information added by DrKonqi (7.04 KB, text/plain)
2018-04-08 20:02 UTC, Edouard Duliège
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Ragni 2018-02-05 22:50:49 UTC
Application: dolphin (17.12.2)

Qt Version: 5.9.3
Frameworks Version: 5.43.0
Operating System: Linux 4.13.0-32-generic x86_64
Distribution: KDE neon Developer Edition

-- Information about the crash:
I'm trying to use Wayland as much as possible so it's about two weeks i use it as my daily driver; since the latest update (Plasma 5.12 - 5/2/2018), Dolphin started force-closing everytime i try to drag and drop any element. To be precise, it crashes in the exact moment i move the cursor: i can easily double click or long click a folder, for instance, with no issues, till the second i move the cursor (both with physical button click and double touch).

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd7b36df8c0 (LWP 15152))]

Thread 3 (Thread 0x7fd79153b700 (LWP 15154)):
#0  0x00007fd7b300427d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd7a63026f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd7a62bee74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd7a62bf330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd7a62bf49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd7ad23d6cb in QEventDispatcherGlib::processEvents (this=0x7fd78c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fd7ad1e5e2a in QEventLoop::exec (this=this@entry=0x7fd79153ad00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007fd7ad00e8f4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#8  0x00007fd7ad013709 in QThreadPrivate::start (arg=0x2155ba0) at thread/qthread_unix.cpp:368
#9  0x00007fd7a83926ba in start_thread (arg=0x7fd79153b700) at pthread_create.c:333
#10 0x00007fd7b301441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fd79c43e700 (LWP 15153)):
#0  0x00007fd7b300874d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd7a62bf38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd7a62bf49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd7ad23d6cb in QEventDispatcherGlib::processEvents (this=0x7fd7940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fd7ad1e5e2a in QEventLoop::exec (this=this@entry=0x7fd79c43dcd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fd7ad00e8f4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007fd7ad6bc315 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fd7ad013709 in QThreadPrivate::start (arg=0x7fd7ad930d40) at thread/qthread_unix.cpp:368
#8  0x00007fd7a83926ba in start_thread (arg=0x7fd79c43e700) at pthread_create.c:333
#9  0x00007fd7b301441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fd7b36df8c0 (LWP 15152)):
[KCrash Handler]
#6  QDrag::mimeData (this=0x1100000000000000) at kernel/qdrag.cpp:154
#7  0x00007fd7ada745ab in QDragManager::QDragManager (this=0x23e7a30) at kernel/qdnd.cpp:81
#8  0x00007fd7ada7464e in QDragManager::self () at kernel/qdnd.cpp:93
#9  0x00007fd7ada730fc in QDrag::exec (this=0x2411200, supportedActions=..., defaultDropAction=<optimized out>) at kernel/qdrag.cpp:284
#10 0x00007fd7b2c5e997 in KItemListController::startDragging() () from /usr/lib/x86_64-linux-gnu/libdolphinprivate.so.5
#11 0x00007fd7b2c5eb12 in KItemListController::mouseMoveEvent(QGraphicsSceneMouseEvent*, QTransform const&) () from /usr/lib/x86_64-linux-gnu/libdolphinprivate.so.5
#12 0x00007fd7b2c5bbe4 in KItemListController::processEvent(QEvent*, QTransform const&) () from /usr/lib/x86_64-linux-gnu/libdolphinprivate.so.5
#13 0x00007fd7b2c6dba2 in KItemListView::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libdolphinprivate.so.5
#14 0x00007fd7ae1d1b9c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x21beae0, e=0x7ffcc0339e90) at kernel/qapplication.cpp:3722
#15 0x00007fd7ae1d95a7 in QApplication::notify (this=0x7ffcc033ad10, receiver=0x21beae0, e=0x7ffcc0339e90) at kernel/qapplication.cpp:3481
#16 0x00007fd7ad1e7df8 in QCoreApplication::notifyInternal2 (receiver=0x21beae0, event=0x7ffcc0339e90) at kernel/qcoreapplication.cpp:1018
#17 0x00007fd7ae1d1ede in QCoreApplication::sendSpontaneousEvent (event=event@entry=0x7ffcc0339e90, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#18 qt_sendSpontaneousEvent (receiver=<optimized out>, event=event@entry=0x7ffcc0339e90) at kernel/qapplication.cpp:4160
#19 0x00007fd7ae4d7083 in QGraphicsScenePrivate::sendEvent (this=<optimized out>, item=0x21beaf0, event=0x7ffcc0339e90) at graphicsview/qgraphicsscene.cpp:1245
#20 0x00007fd7ae4d7a31 in QGraphicsScenePrivate::sendMouseEvent (this=0x2127c40, mouseEvent=0x7ffcc0339e90) at graphicsview/qgraphicsscene.cpp:1323
#21 0x00007fd7ae4dced6 in QGraphicsScene::mouseMoveEvent (this=<optimized out>, mouseEvent=0x7ffcc0339e90) at graphicsview/qgraphicsscene.cpp:4071
#22 0x00007fd7ae4e8294 in QGraphicsScene::event (this=0x214b2a0, event=0x7ffcc0339e90) at graphicsview/qgraphicsscene.cpp:3403
#23 0x00007fd7ae1d1b9c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x214b2a0, e=0x7ffcc0339e90) at kernel/qapplication.cpp:3722
#24 0x00007fd7ae1d95a7 in QApplication::notify (this=0x7ffcc033ad10, receiver=0x214b2a0, e=0x7ffcc0339e90) at kernel/qapplication.cpp:3481
#25 0x00007fd7ad1e7df8 in QCoreApplication::notifyInternal2 (receiver=0x214b2a0, event=0x7ffcc0339e90) at kernel/qcoreapplication.cpp:1018
#26 0x00007fd7ae1d1ede in QCoreApplication::sendSpontaneousEvent (event=event@entry=0x7ffcc0339e90, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#27 qt_sendSpontaneousEvent (receiver=<optimized out>, event=event@entry=0x7ffcc0339e90) at kernel/qapplication.cpp:4160
#28 0x00007fd7ae5019bf in QGraphicsViewPrivate::mouseMoveEventHandler (this=0x2147ee0, event=0x7ffcc033a420) at graphicsview/qgraphicsview.cpp:665
#29 0x00007fd7ae210b08 in QWidget::event (this=this@entry=0x214b2c0, event=event@entry=0x7ffcc033a420) at kernel/qwidget.cpp:9200
#30 0x00007fd7ae2b82fe in QFrame::event (this=0x214b2c0, e=0x7ffcc033a420) at widgets/qframe.cpp:550
#31 0x00007fd7ae50470b in QGraphicsView::viewportEvent (this=0x214b2c0, event=0x7ffcc033a420) at graphicsview/qgraphicsview.cpp:2966
#32 0x00007fd7ad1e7b62 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x21520d0, event=event@entry=0x7ffcc033a420) at kernel/qcoreapplication.cpp:1129
#33 0x00007fd7ae1d1b75 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x21520d0, e=0x7ffcc033a420) at kernel/qapplication.cpp:3718
#34 0x00007fd7ae1da1cb in QApplication::notify (this=<optimized out>, receiver=0x21520d0, e=0x7ffcc033a420) at kernel/qapplication.cpp:3198
#35 0x00007fd7ad1e7df8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x21520d0, event=event@entry=0x7ffcc033a420) at kernel/qcoreapplication.cpp:1018
#36 0x00007fd7ae1d8b6f in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#37 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x21520d0, event=event@entry=0x7ffcc033a420, alienWidget=alienWidget@entry=0x21520d0, nativeWidget=0x1d70210, buttonDown=buttonDown@entry=0x7fd7ae8d3820 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2704
#38 0x00007fd7ae22ab06 in QWidgetWindow::handleMouseEvent (this=this@entry=0x1d6f310, event=event@entry=0x7ffcc033a820) at kernel/qwidgetwindow.cpp:622
#39 0x00007fd7ae22d563 in QWidgetWindow::event (this=0x1d6f310, event=0x7ffcc033a820) at kernel/qwidgetwindow.cpp:243
#40 0x00007fd7ae1d1b9c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1d6f310, e=0x7ffcc033a820) at kernel/qapplication.cpp:3722
#41 0x00007fd7ae1d95a7 in QApplication::notify (this=0x7ffcc033ad10, receiver=0x1d6f310, e=0x7ffcc033a820) at kernel/qapplication.cpp:3481
#42 0x00007fd7ad1e7df8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x1d6f310, event=event@entry=0x7ffcc033a820) at kernel/qcoreapplication.cpp:1018
#43 0x00007fd7ada63230 in QCoreApplication::sendSpontaneousEvent (event=0x7ffcc033a820, receiver=0x1d6f310) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#44 QGuiApplicationPrivate::processMouseEvent (e=0x23e6970) at kernel/qguiapplication.cpp:1949
#45 0x00007fd7ada65195 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x23e6970) at kernel/qguiapplication.cpp:1733
#46 0x00007fd7ada3e7cb in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:939
#47 0x00007fd79e3dd570 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#48 0x00007fd7a62bf197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007fd7a62bf3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007fd7a62bf49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007fd7ad23d6af in QEventDispatcherGlib::processEvents (this=0x1d1dac0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#52 0x00007fd7ad1e5e2a in QEventLoop::exec (this=this@entry=0x7ffcc033abd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#53 0x00007fd7ad1eed64 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1291
#54 0x00007fd7b331a90a in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_dolphin.so
#55 0x00007fd7b2f2d830 in __libc_start_main (main=0x4006b0, argc=2, argv=0x7ffcc033ae98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcc033ae88) at ../csu/libc-start.c:291
#56 0x00000000004006e9 in _start ()

Reported using DrKonqi
Comment 1 Gunnar 2018-02-06 22:13:07 UTC
Created attachment 110378 [details]
New crash information added by DrKonqi

dolphin (17.12.1) using Qt 5.9.3

- What I was doing when the application crashed:
Whenever I try to drag stuff in Dolphin it crashes the second I move the mouse to drag a folder. The problem is replicateable, every time.

-- Backtrace (Reduced):
#6  QDrag::mimeData (this=0x6638390000000000) at kernel/qdrag.cpp:154
#7  0x00007f291d8a35ab in QDragManager::QDragManager (this=0x16fac70) at kernel/qdnd.cpp:81
#8  0x00007f291d8a364e in QDragManager::self () at kernel/qdnd.cpp:93
#9  0x00007f291d8a20fc in QDrag::exec (this=this@entry=0x15cb700, supportedActions=..., supportedActions@entry=..., defaultDropAction=defaultDropAction@entry=Qt::CopyAction) at kernel/qdrag.cpp:284
#10 0x00007f2922a8b997 in KItemListController::startDragging (this=this@entry=0x1457780) at /workspace/build/src/kitemviews/kitemlistcontroller.cpp:1203
Comment 2 Edouard Duliège 2018-04-08 20:02:42 UTC
Created attachment 111906 [details]
New crash information added by DrKonqi

dolphin (17.12.2) using Qt 5.9.4

- Dragging elements from either one panel to another, or from one window to another

-- Backtrace (Reduced):
#6  0x00007fd3ba17f1e0 in QDrag::mimeData() const () from /lib64/libQt5Gui.so.5
#7  0x00007fd3ba1827cb in QDragManager::QDragManager() () from /lib64/libQt5Gui.so.5
#8  0x00007fd3ba18287f in QDragManager::self() () from /lib64/libQt5Gui.so.5
#9  0x00007fd3ba17f29c in QDrag::exec(QFlags<Qt::DropAction>, Qt::DropAction) () from /lib64/libQt5Gui.so.5
#10 0x00007fd3bff9a6b9 in KItemListController::startDragging() () from /lib64/libdolphinprivate.so.5
Comment 3 Alexander Mentyu 2018-09-28 12:25:28 UTC
Possibly related issues https://bugs.kde.org/show_bug.cgi?id=390430 https://bugs.kde.org/show_bug.cgi?id=392177
Comment 4 Justin Zobel 2020-12-17 05:37:44 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 5 Edouard Duliège 2020-12-20 11:17:12 UTC
Hi,
I don't have this problem anymore on Dolphin 20.08.03 ; Plasma 5.20.4, Fedora 33
thanks for the fix
I wish you a wonderful end of year!