Bug 420835 - Plasmashell crashes in DeclarativeMimeData::DeclarativeMimeData() on mouse hover over panel during drag & drop
Summary: Plasmashell crashes in DeclarativeMimeData::DeclarativeMimeData() on mouse ho...
Status: RESOLVED DUPLICATE of bug 398440
Alias: None
Product: frameworks-kdeclarative
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.69.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-01 04:13 UTC by Alice McLafferty
Modified: 2021-01-19 16:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alice McLafferty 2020-05-01 04:13:36 UTC
SUMMARY

Plasmashell crashes whenever the mouse starts/stops hovering over the panel while dragging&dropping files.


STEPS TO REPRODUCE
1. Log into a wayland session
2. Open Dolphin, drag a file from any directory with the left mouse button held down
3. Keep the mouse button held down, repeatedly hover over and leave the panel
4. A visual lag can be observed if plasmashell does not crash, keep hovering the file over the panel until plasma crashes

OBSERVED RESULT
Plasmashell crashes

EXPECTED RESULT
Plasmashell does not crash

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20200428
(available in About System)
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc112c5e440 (LWP 2631))]

Thread 13 (Thread 0x7fc0d6bfd700 (LWP 3011)):
#0  0x00007fc1143fc795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc114f801db in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fc114f80299 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#3  0x00007fc116c8d59f in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x55733af1ecb8) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:255
#4  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x55733af1ec20) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:905
#5  0x00007fc116c8d819 in QSGRenderThread::run (this=0x55733af1ec20) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1000
#6  0x00007fc114f7a698 in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007fc1143f5efa in start_thread () from /lib64/libpthread.so.0
#8  0x00007fc114c083bf in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7fc0d7fff700 (LWP 2847)):
#0  0x00007fc1143fc795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc114f801db in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fc114f80299 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#3  0x00007fc116c8d59f in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x557337691578) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:255
#4  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x5573376914e0) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:905
#5  0x00007fc116c8d819 in QSGRenderThread::run (this=0x5573376914e0) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1000
#6  0x00007fc114f7a698 in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007fc1143f5efa in start_thread () from /lib64/libpthread.so.0
#8  0x00007fc114c083bf in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7fc0dd48b700 (LWP 2844)):
#0  0x00007fc114f7ab8c in QMutex::lock() () from /usr/lib64/libQt5Core.so.5
#1  0x00007fc1151a72d5 in ?? () from /usr/lib64/libQt5Core.so.5
#2  0x00007fc113709449 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc113709982 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fc113709aff in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fc1151a6c0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007fc11514eb9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007fc114f795ce in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#8  0x00007fc114f7a698 in ?? () from /usr/lib64/libQt5Core.so.5
#9  0x00007fc1143f5efa in start_thread () from /lib64/libpthread.so.0
#10 0x00007fc114c083bf in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7fc0ddca5700 (LWP 2840)):
#0  0x00007fc11370609d in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fc113707ab5 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc11370934f in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc113709982 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fc113709aff in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fc1151a6c0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007fc11514eb9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007fc114f795ce in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#8  0x00007fc0e333de68 in KCupsConnection::run() () from /usr/lib64/libkcupslib.so
#9  0x00007fc114f7a698 in ?? () from /usr/lib64/libQt5Core.so.5
#10 0x00007fc1143f5efa in start_thread () from /lib64/libpthread.so.0
#11 0x00007fc114c083bf in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7fc0f0cbe700 (LWP 2740)):
#0  0x00007fc1143fc795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc114f801db in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fc114f80299 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#3  0x00007fc116c8d59f in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x7fc10c00a3c8) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:255
#4  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x7fc10c00a330) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:905
#5  0x00007fc116c8d819 in QSGRenderThread::run (this=0x7fc10c00a330) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1000
#6  0x00007fc114f7a698 in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007fc1143f5efa in start_thread () from /lib64/libpthread.so.0
#8  0x00007fc114c083bf in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fc101122700 (LWP 2736)):
#0  0x00007fc113755ce8 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fc113708a70 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc113709895 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc113709aff in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fc1151a6c0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fc11514eb9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007fc114f795ce in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007fc116bcb0e6 in QQuickPixmapReader::run (this=0x7fc104086e90) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/util/qquickpixmapcache.cpp:987
#8  0x00007fc114f7a698 in ?? () from /usr/lib64/libQt5Core.so.5
#9  0x00007fc1143f5efa in start_thread () from /lib64/libpthread.so.0
#10 0x00007fc114c083bf in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fc1037fe700 (LWP 2726)):
#0  0x00007fc1143fc795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc10992f30b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007fc10992f187 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007fc1143f5efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc114c083bf in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fc103fff700 (LWP 2725)):
#0  0x00007fc1143fc795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc10992f30b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007fc10992f187 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007fc1143f5efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc114c083bf in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fc108a2d700 (LWP 2724)):
#0  0x00007fc1143fc795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc10992f30b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007fc10992f187 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007fc1143f5efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc114c083bf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fc10922e700 (LWP 2723)):
#0  0x00007fc1143fc795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc10992f30b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007fc10992f187 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007fc1143f5efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc114c083bf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fc10b5ef700 (LWP 2721)):
#0  0x00007fc114bfdacf in poll () from /lib64/libc.so.6
#1  0x00007fc1137099de in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc113709aff in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc1151a6c0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fc11514eb9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fc114f795ce in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007fc1169136e5 in QQmlThreadPrivate::run (this=0x557336252780) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/qml/ftw/qqmlthread.cpp:155
#7  0x00007fc114f7a698 in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007fc1143f5efa in start_thread () from /lib64/libpthread.so.0
#9  0x00007fc114c083bf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fc1108c3700 (LWP 2640)):
#0  0x00007fc114bf94fc in read () from /lib64/libc.so.6
#1  0x00007fc11375137f in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc113709537 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc113709982 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fc113709aff in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fc1151a6c0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007fc11514eb9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007fc114f795ce in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#8  0x00007fc11628b507 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007fc114f7a698 in ?? () from /usr/lib64/libQt5Core.so.5
#10 0x00007fc1143f5efa in start_thread () from /lib64/libpthread.so.0
#11 0x00007fc114c083bf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc112c5e440 (LWP 2631)):
[KCrash Handler]
#6  DeclarativeMimeData::DeclarativeMimeData (this=<optimized out>, copy=<optimized out>, this=<optimized out>, copy=<optimized out>) at /usr/src/debug/kdeclarative-5.69.0-1.1.x86_64/src/qmlcontrols/draganddrop/DeclarativeMimeData.cpp:55
#7  0x00007fc101611a20 in DeclarativeDragDropEvent::mimeData (this=0x7ffe28d17a10) at /usr/include/qt5/QtGui/qevent.h:656
#8  DeclarativeDragDropEvent::qt_static_metacall (_c=<optimized out>, _a=<optimized out>, _id=<optimized out>, _o=0x7ffe28d17a10) at /usr/src/debug/kdeclarative-5.69.0-1.1.x86_64/build/src/qmlcontrols/draganddrop/draganddropplugin_autogen/EWIEGA46WW/moc_DeclarativeDragDropEvent.cpp:121
#9  DeclarativeDragDropEvent::qt_static_metacall (_o=0x7ffe28d17a10, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdeclarative-5.69.0-1.1.x86_64/build/src/qmlcontrols/draganddrop/draganddropplugin_autogen/EWIEGA46WW/moc_DeclarativeDragDropEvent.cpp:93
#10 0x00007fc116789842 in QQmlPropertyData::readPropertyWithArgs (args=0x7ffe28d15bc0, target=0x7ffe28d17a10, this=0x55733ae821b8) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/include/QtQml/5.14.1/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:274
#11 QQmlPropertyData::readProperty (property=0x7ffe28d15ba0, target=0x7ffe28d17a10, this=0x55733ae821b8) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/include/QtQml/5.14.1/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:268
#12 loadProperty (v4=0x557336177020, object=0x7ffe28d17a10, property=...) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:138
#13 0x00007fc0dc16897f in ?? ()
#14 0x0000000000000000 in ?? ()
[Inferior 1 (process 2631) detached]
Comment 1 Nate Graham 2020-05-01 14:09:44 UTC
Interesting bug. Cannot reproduce though.
Comment 2 Patrick Silva 2020-05-01 21:36:45 UTC
it seems related to bug 398440
Comment 3 Nate Graham 2021-01-19 16:27:11 UTC

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