Bug 396100

Summary: Dragging a file over taskbar and moving it out crashes plasma
Product: [Plasma] plasmashell Reporter: Kacper Kasper <kacperkasper>
Component: Task Manager and Icons-Only Task ManagerAssignee: Eike Hein <hein>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bugseforuns, nate, notuxius, plasma-bugs
Priority: NOR    
Version: 5.13.1   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kacper Kasper 2018-07-02 17:40:53 UTC
Steps to Reproduce:

1) Drag a file
2) Move it over Task Manager
3) Move it out of the Task Manager

Actual Results:
plasmashell crashes

Expected Results:
plasmashell does not crash

Additional Information:
openSuSE Tumbleweed 20180629
Qt 5.11.1
KF 5.47.0
plasma 5.13.1
Linux 4.17.3-1-default 64-bit
Wayland

It generates different stack traces, excerpt from one of them:

#0  0x00007fadff537bcc in DeclarativeMimeData::DeclarativeMimeData(QMimeData const*) (this=0x561bff2c7500, copy=0x561bfdf65230)
    at /usr/src/debug/kdeclarative-5.47.0-1.2.x86_64/src/qmlcontrols/draganddrop/DeclarativeMimeData.cpp:55
#1  0x00007fadff5370e0 in DeclarativeDragDropEvent::mimeData() (this=0x7ffe88f4eca0) at /usr/include/qt5/QtGui/qevent.h:625
#2  0x00007fadff539315 in DeclarativeDragDropEvent::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>)
    at /usr/src/debug/kdeclarative-5.47.0-1.2.x86_64/build/src/qmlcontrols/draganddrop/draganddropplugin_autogen/EWIEGA46WW/moc_DeclarativeDragDropEvent.cpp:120
#3  0x00007faeadff6e39 in QQmlPropertyData::readProperty(QObject*, void*) const (property=0x7ffe88f4cce0, target=<optimized out>, this=0x561bff082db8)
    at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/include/QtQml/5.11.1/QtQml/private/../../../../../src/qml/qml/qqmlpropertycache_p.h:328
Comment 1 Alexander Mentyu 2018-09-04 15:19:05 UTC
Backtrace from my system

Distribution: KDE neon Developer Edition
Kernel: 4.15.0-29-generic
Plasma: 5.13.80
Apps: 18.11.70
Qt: 5.11.1
Frameworks: 5.48.0
Graphics:
Card-1: Intel driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:5917 
Card-2: NVIDIA GM108M [GeForce 940MX] driver: nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:134d 
Display: wayland server: X.Org 1.19.6 driver: modesetting,nouveau 
unloaded: fbdev,vesa alternate: nvidia compositor: kwin wayland 
resolution: 1920x1080~57Hz 
OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) v: 4.5 Mesa 18.0.5 
compat-v: 3.0 direct render: Yes

Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7f68411940 (LWP 1615))]

Thread 11 (Thread 0x7f7f0abfd700 (LWP 2438)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7f621225cb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x5d65be0) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this@entry=0x6eb8e08, mutex=mutex@entry=0x6eb8e00, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f7f661645ad in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x6eb8df8) at scenegraph/qsgthreadedrenderloop.cpp:245
#4  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x6eb8d80) at scenegraph/qsgthreadedrenderloop.cpp:709
#5  0x00007f7f66164a31 in QSGRenderThread::run (this=0x6eb8d80) at scenegraph/qsgthreadedrenderloop.cpp:738
#6  0x00007f7f62121727 in QThreadPrivate::start (arg=0x6eb8d80) at thread/qthread_unix.cpp:367
#7  0x00007f7f5ef276ba in start_thread (arg=0x7f7f0abfd700) at pthread_create.c:333
#8  0x00007f7f61a2e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f7f0b3fe700 (LWP 2429)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7f621225cb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x2439f30) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this@entry=0x5d756c8, mutex=mutex@entry=0x5d756c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f7f661645ad in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x5d756b8) at scenegraph/qsgthreadedrenderloop.cpp:245
#4  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x5d75640) at scenegraph/qsgthreadedrenderloop.cpp:709
#5  0x00007f7f66164a31 in QSGRenderThread::run (this=0x5d75640) at scenegraph/qsgthreadedrenderloop.cpp:738
#6  0x00007f7f62121727 in QThreadPrivate::start (arg=0x5d75640) at thread/qthread_unix.cpp:367
#7  0x00007f7f5ef276ba in start_thread (arg=0x7f7f0b3fe700) at pthread_create.c:333
#8  0x00007f7f61a2e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f7f0bfff700 (LWP 2425)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7f621225cb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x4655d20) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this@entry=0x46b98a8, mutex=mutex@entry=0x46b98a0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f7f661645ad in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x46b9898) at scenegraph/qsgthreadedrenderloop.cpp:245
#4  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x46b9820) at scenegraph/qsgthreadedrenderloop.cpp:709
#5  0x00007f7f66164a31 in QSGRenderThread::run (this=0x46b9820) at scenegraph/qsgthreadedrenderloop.cpp:738
#6  0x00007f7f62121727 in QThreadPrivate::start (arg=0x46b9820) at thread/qthread_unix.cpp:367
#7  0x00007f7f5ef276ba in start_thread (arg=0x7f7f0bfff700) at pthread_create.c:333
#8  0x00007f7f61a2e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f7f12e05700 (LWP 1769)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7f621225cb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x27e5230) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this@entry=0x26e2648, mutex=mutex@entry=0x26e2640, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f7f661645ad in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x26e2638) at scenegraph/qsgthreadedrenderloop.cpp:245
#4  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x26e25c0) at scenegraph/qsgthreadedrenderloop.cpp:709
#5  0x00007f7f66164a31 in QSGRenderThread::run (this=0x26e25c0) at scenegraph/qsgthreadedrenderloop.cpp:738
#6  0x00007f7f62121727 in QThreadPrivate::start (arg=0x26e25c0) at thread/qthread_unix.cpp:367
#7  0x00007f7f5ef276ba in start_thread (arg=0x7f7f12e05700) at pthread_create.c:333
#8  0x00007f7f61a2e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f7f1a019700 (LWP 1761)):
#0  0x00007f7f61a2274d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7f5be9d38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7f5be9d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7f6233a0bb in QEventDispatcherGlib::processEvents (this=0x7f7f140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f7f622e15ba in QEventLoop::exec (this=this@entry=0x7f7f1a018c30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f7f621165e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007f7f1c4f8e47 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007f7f62121727 in QThreadPrivate::start (arg=0x25981e0) at thread/qthread_unix.cpp:367
#8  0x00007f7f5ef276ba in start_thread (arg=0x7f7f1a019700) at pthread_create.c:333
#9  0x00007f7f61a2e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f7f3370a700 (LWP 1668)):
#0  0x00007f7f61a2274d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7f5be9d38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7f5be9d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7f6233a0bb in QEventDispatcherGlib::processEvents (this=0x7f7f240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f7f622e15ba in QEventLoop::exec (this=this@entry=0x7f7f33709c00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f7f621165e4 in QThread::exec (this=this@entry=0x17ff950) at thread/qthread.cpp:525
#6  0x00007f7f660e3f86 in QQuickPixmapReader::run (this=0x17ff950) at util/qquickpixmapcache.cpp:934
#7  0x00007f7f62121727 in QThreadPrivate::start (arg=0x17ff950) at thread/qthread_unix.cpp:367
#8  0x00007f7f5ef276ba in start_thread (arg=0x7f7f3370a700) at pthread_create.c:333
#9  0x00007f7f61a2e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f7f33fa2700 (LWP 1667)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7f621225cb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x15e9310) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this@entry=0xe65828, mutex=mutex@entry=0xe65820, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f7f661645ad in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0xe65818) at scenegraph/qsgthreadedrenderloop.cpp:245
#4  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0xe657a0) at scenegraph/qsgthreadedrenderloop.cpp:709
#5  0x00007f7f66164a31 in QSGRenderThread::run (this=0xe657a0) at scenegraph/qsgthreadedrenderloop.cpp:738
#6  0x00007f7f62121727 in QThreadPrivate::start (arg=0xe657a0) at thread/qthread_unix.cpp:367
#7  0x00007f7f5ef276ba in start_thread (arg=0x7f7f33fa2700) at pthread_create.c:333
#8  0x00007f7f61a2e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f7f49a2d700 (LWP 1654)):
#0  0x00007f7f61a2274d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7f5be9d38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7f5be9d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7f6233a0bb in QEventDispatcherGlib::processEvents (this=0x7f7f400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f7f622e15ba in QEventLoop::exec (this=this@entry=0x7f7f49a2cc70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f7f621165e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007f7f62121727 in QThreadPrivate::start (arg=0x108d660) at thread/qthread_unix.cpp:367
#7  0x00007f7f5ef276ba in start_thread (arg=0x7f7f49a2d700) at pthread_create.c:333
#8  0x00007f7f61a2e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f7f50c13700 (LWP 1652)):
#0  0x00007f7f61a2274d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7f5be9d38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7f5be9d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7f6233a0bb in QEventDispatcherGlib::processEvents (this=0x7f7f440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f7f622e15ba in QEventLoop::exec (this=this@entry=0x7f7f50c12c50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f7f621165e4 in QThread::exec (this=this@entry=0xe7d360) at thread/qthread.cpp:525
#6  0x00007f7f65c5a195 in QQmlThreadPrivate::run (this=0xe7d360) at qml/ftw/qqmlthread.cpp:148
#7  0x00007f7f62121727 in QThreadPrivate::start (arg=0xe7d360) at thread/qthread_unix.cpp:367
#8  0x00007f7f5ef276ba in start_thread (arg=0x7f7f50c13700) at pthread_create.c:333
#9  0x00007f7f61a2e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f7f52649700 (LWP 1646)):
#0  0x00007f7f61a2274d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7f5be9d38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7f5be9d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7f6233a0bb in QEventDispatcherGlib::processEvents (this=0x7f7f4c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f7f622e15ba in QEventLoop::exec (this=this@entry=0x7f7f52648c40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f7f621165e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007f7f64687f35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f7f62121727 in QThreadPrivate::start (arg=0x7f7f64900d60) at thread/qthread_unix.cpp:367
#8  0x00007f7f5ef276ba in start_thread (arg=0x7f7f52649700) at pthread_create.c:333
#9  0x00007f7f61a2e41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f7f68411940 (LWP 1615)):
[KCrash Handler]
#6  0x00007f7f36fe38cb in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/draganddrop/libdraganddropplugin.so
#7  0x00007f7f36fe2d3c in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/draganddrop/libdraganddropplugin.so
#8  0x00007f7f36fe56cd in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/draganddrop/libdraganddropplugin.so
#9  0x00007f7f65b75c99 in QQmlPropertyData::readProperty (property=0x7ffc03cfa580, target=0x7ffc03cfc630, this=0x4608d48) at ../../include/QtQml/5.11.1/QtQml/private/../../../../../src/qml/qml/qqmlpropertycache_p.h:328
#10 loadProperty (v4=0xe7b370, object=0x7ffc03cfc630, property=...) at jsruntime/qv4qobjectwrapper.cpp:130
#11 0x00007f7f65b76b66 in QV4::QObjectWrapper::getQmlProperty (this=0x7f7f4bbc13e0, qmlContext=0x1a1cb00, name=0x7f7f4bbc13d8, revisionMode=QV4::QObjectWrapper::IgnoreRevision, hasProperty=0x0, includeImports=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:327
#12 0x00007f7f65b902e7 in QV4::Object::get (hasProperty=0x0, name=<optimized out>, this=<optimized out>) at jsruntime/qv4object_p.h:364
#13 QV4::Runtime::method_loadProperty (engine=0xe7b370, object=..., nameIndex=<optimized out>) at jsruntime/qv4runtime.cpp:738
#14 0x00007f7f100eadcb in ?? ()
#15 0x0000000000000000 in ?? ()
Comment 2 Nate Graham 2020-07-12 03:35:52 UTC
Cannot reproduce with Plasma 5.19. Can you?
Comment 3 Kacper Kasper 2020-07-21 04:36:10 UTC
I can't check on Wayland anymore since I added nVidia card to my config and Wayland session won't start.

On X11 there is no crash.
Comment 4 Bug Janitor Service 2020-08-05 04:33:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Patrick Silva 2020-08-06 11:15:27 UTC
I'm not the reporter, but this crash is still reproducible on neon unstable.
Possibly duplicate of bug 398440.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.73.0
Qt Version: 5.14.2
Comment 6 Christoph Feck 2020-08-17 16:54:29 UTC

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