Bug 357209

Summary: Plasma crashing when dragging launcher icon to desktop
Product: [Plasma] plasmashell Reporter: Fabian Köster <koesterreich>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, kde, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.5.2   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Fabian Köster 2015-12-27 09:33:59 UTC
Application: plasmashell (5.5.2)
 (Compiled from sources)
Qt Version: 5.5.1
Operating System: Linux 4.2.8-gentoo x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
- What I was doing when the application crashed:

I was dragging the Firefox starter icon from the control bar to the desktop.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff08f05a840 (LWP 16805))]

Thread 9 (Thread 0x7ff08d69e700 (LWP 16807)):
#0  0x00007ff09c3f02dd in poll () from /lib64/libc.so.6
#1  0x00007ff0a039cac2 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007ff0a039e72f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007ff08ebacc89 in QXcbEventReader::run (this=0x6caac0) at qxcbconnection.cpp:1229
#4  0x00007ff09ca5c492 in QThreadPrivate::start (arg=0x6caac0) at thread/qthread_unix.cpp:331
#5  0x00007ff09bbfd334 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ff09c3f91bd in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7ff086dbf700 (LWP 16820)):
#0  0x00007ff09c4056ff in ?? () from /lib64/libc.so.6
#1  0x00007ff09c3f02d2 in poll () from /lib64/libc.so.6
#2  0x00007ff098495b7c in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff098495c8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ff09cc5879c in QEventDispatcherGlib::processEvents (this=0x7ff0800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#5  0x00007ff09cc099aa in QEventLoop::exec (this=this@entry=0x7ff086dbed60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007ff09ca57a24 in QThread::exec (this=this@entry=0x7b56c0) at thread/qthread.cpp:503
#7  0x00007ff09f2385f5 in QQmlThreadPrivate::run (this=0x7b56c0) at qml/ftw/qqmlthread.cpp:141
#8  0x00007ff09ca5c492 in QThreadPrivate::start (arg=0x7b56c0) at thread/qthread_unix.cpp:331
#9  0x00007ff09bbfd334 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ff09c3f91bd in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7ff079465700 (LWP 16822)):
#0  0x00007ff09bc0291f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff084b730ab in cnd_wait (mtx=0x889108, cond=0x889130) at /hdd/tmp/portage/media-libs/mesa-11.0.6/work/mesa-11.0.6/include/c11/threads_posix.h:154
#2  pipe_semaphore_wait (sema=0x889108) at /hdd/tmp/portage/media-libs/mesa-11.0.6/work/mesa-11.0.6/src/gallium/auxiliary/os/os_thread.h:259
#3  radeon_drm_cs_emit_ioctl (param=param@entry=0x888dc0) at /hdd/tmp/portage/media-libs/mesa-11.0.6/work/mesa-11.0.6/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c:644
#4  0x00007ff084b726f7 in impl_thrd_routine (p=<optimized out>) at /hdd/tmp/portage/media-libs/mesa-11.0.6/work/mesa-11.0.6/include/c11/threads_posix.h:87
#5  0x00007ff09bbfd334 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ff09c3f91bd in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7ff077953700 (LWP 16823)):
#0  0x00007ff09c3f02dd in poll () from /lib64/libc.so.6
#1  0x00007ff098495b7c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff098495c8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff09cc5879c in QEventDispatcherGlib::processEvents (this=0x7ff0700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007ff09cc099aa in QEventLoop::exec (this=this@entry=0x7ff077952d60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007ff09ca57a24 in QThread::exec (this=this@entry=0xa4e3f0) at thread/qthread.cpp:503
#6  0x00007ff09f2385f5 in QQmlThreadPrivate::run (this=0xa4e3f0) at qml/ftw/qqmlthread.cpp:141
#7  0x00007ff09ca5c492 in QThreadPrivate::start (arg=0xa4e3f0) at thread/qthread_unix.cpp:331
#8  0x00007ff09bbfd334 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff09c3f91bd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7ff0758a1700 (LWP 16824)):
#0  0x00007ff09c3f02dd in poll () from /lib64/libc.so.6
#1  0x00007ff098495b7c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff098495c8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff09cc5879c in QEventDispatcherGlib::processEvents (this=0x7ff0680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007ff09cc099aa in QEventLoop::exec (this=this@entry=0x7ff0758a0d60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007ff09ca57a24 in QThread::exec (this=this@entry=0xb15e30) at thread/qthread.cpp:503
#6  0x00007ff09f2385f5 in QQmlThreadPrivate::run (this=0xb15e30) at qml/ftw/qqmlthread.cpp:141
#7  0x00007ff09ca5c492 in QThreadPrivate::start (arg=0xb15e30) at thread/qthread_unix.cpp:331
#8  0x00007ff09bbfd334 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff09c3f91bd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7ff06fdf7700 (LWP 16825)):
#0  0x00007ff09bc0291f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff0a162c924 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7ff0a171ce40 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007ff0a162c969 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007ff09bbfd334 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff09c3f91bd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ff06d24f700 (LWP 16826)):
#0  0x00007ff098495140 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ff098495aa8 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff098495c8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff09cc5879c in QEventDispatcherGlib::processEvents (this=0x7fefe40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007ff09cc099aa in QEventLoop::exec (this=this@entry=0x7ff06d24ed10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007ff09ca57a24 in QThread::exec (this=this@entry=0xd15280) at thread/qthread.cpp:503
#6  0x00007ff09fbd0ae6 in QQuickPixmapReader::run (this=0xd15280) at util/qquickpixmapcache.cpp:760
#7  0x00007ff09ca5c492 in QThreadPrivate::start (arg=0xd15280) at thread/qthread_unix.cpp:331
#8  0x00007ff09bbfd334 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff09c3f91bd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fefd5086700 (LWP 16832)):
#0  0x00007ff09bc02cc8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff09ca5caf8 in wait_relative (time=30000, this=0x15243f0) at thread/qwaitcondition_unix.cpp:126
#2  wait (time=30000, this=0x15243f0) at thread/qwaitcondition_unix.cpp:134
#3  QWaitCondition::wait (this=this@entry=0x1d86de0, mutex=mutex@entry=0x1e8cb90, time=30000) at thread/qwaitcondition_unix.cpp:208
#4  0x00007ff09ca59894 in QThreadPoolThread::run (this=0x1d86dd0) at thread/qthreadpool.cpp:127
#5  0x00007ff09ca5c492 in QThreadPrivate::start (arg=0x1d86dd0) at thread/qthread_unix.cpp:331
#6  0x00007ff09bbfd334 in start_thread () from /lib64/libpthread.so.0
#7  0x00007ff09c3f91bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff08f05a840 (LWP 16805)):
[KCrash Handler]
#6  Plasma::Applet::pluginInfo (this=this@entry=0x0) at /hdd/tmp/portage/kde-frameworks/plasma-5.16.0/work/plasma-framework-5.16.0/src/plasma/applet.cpp:354
#7  0x000000000045b570 in ShellCorona::executeSetupPlasmoidScript (this=0x7a6120, containment=0xb08af0, applet=0x0) at /hdd/tmp/portage/kde-plasma/plasma-workspace-5.5.2/work/plasma-workspace-5.5.2/shell/shellcorona.cpp:1059
#8  0x00007ff09cc32a53 in call (a=0x7ffc60d801b0, r=0x7a6120, this=0xbd4c00) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#9  QMetaObject::activate (sender=sender@entry=0xb08af0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffc60d801b0) at kernel/qobject.cpp:3698
#10 0x00007ff09cc336c7 in QMetaObject::activate (sender=sender@entry=0xb08af0, m=m@entry=0x7ff0a038c4c0 <Plasma::Containment::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffc60d801b0) at kernel/qobject.cpp:3578
#11 0x00007ff0a01153b2 in Plasma::Containment::appletCreated (this=this@entry=0xb08af0, _t1=_t1@entry=0x0) at /hdd/tmp/portage/kde-frameworks/plasma-5.16.0/work/plasma-5.16.0_build/src/plasma/moc_containment.cpp:413
#12 0x00007ff0a01159d2 in Plasma::Containment::createApplet (this=0xb08af0, name=..., args=...) at /hdd/tmp/portage/kde-frameworks/plasma-5.16.0/work/plasma-framework-5.16.0/src/plasma/containment.cpp:366
#13 0x00007ff0758b9536 in ContainmentInterface::createApplet (this=this@entry=0xb14560, plugin=..., args=..., pos=...) at /hdd/tmp/portage/kde-frameworks/plasma-5.16.0/work/plasma-framework-5.16.0/src/scriptengines/qml/plasmoid/containmentinterface.cpp:240
#14 0x00007ff0758bd4ac in ContainmentInterface::mimeTypeRetrieved (this=0xb14560, job=0x177fc10, mimetype=...) at /hdd/tmp/portage/kde-frameworks/plasma-5.16.0/work/plasma-framework-5.16.0/src/scriptengines/qml/plasmoid/containmentinterface.cpp:681
#15 0x00007ff0758c3910 in ContainmentInterface::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffc60d80570) at /hdd/tmp/portage/kde-frameworks/plasma-5.16.0/work/plasma-5.16.0_build/src/scriptengines/qml/moc_containmentinterface.cpp:220
#16 0x00007ff09cc32fd4 in QMetaObject::activate (sender=sender@entry=0x177fc10, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffc60d80570) at kernel/qobject.cpp:3713
#17 0x00007ff09cc336c7 in QMetaObject::activate (sender=sender@entry=0x177fc10, m=m@entry=0x7ff096e6a6c0 <KIO::TransferJob::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffc60d80570) at kernel/qobject.cpp:3578
#18 0x00007ff096bce977 in KIO::TransferJob::mimetype (this=this@entry=0x177fc10, _t1=_t1@entry=0x177fc10, _t2=...) at /hdd/tmp/portage/kde-frameworks/kio-5.16.0/work/kio-5.16.0_build/src/core/moc_transferjob.cpp:332
#19 0x00007ff096bcea9f in KIO::TransferJob::slotMimetype (this=0x177fc10, type=...) at /hdd/tmp/portage/kde-frameworks/kio-5.16.0/work/kio-5.16.0/src/core/transferjob.cpp:265
#20 0x00007ff096bd00bd in KIO::TransferJob::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /hdd/tmp/portage/kde-frameworks/kio-5.16.0/work/kio-5.16.0_build/src/core/moc_transferjob.cpp:158
#21 0x00007ff09cc32fd4 in QMetaObject::activate (sender=sender@entry=0x1e9c2f0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=19, argv=argv@entry=0x7ffc60d80790) at kernel/qobject.cpp:3713
#22 0x00007ff09cc336c7 in QMetaObject::activate (sender=sender@entry=0x1e9c2f0, m=m@entry=0x7ff096e69400 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=19, argv=argv@entry=0x7ffc60d80790) at kernel/qobject.cpp:3578
#23 0x00007ff096ba6935 in KIO::SlaveInterface::mimeType (this=this@entry=0x1e9c2f0, _t1=...) at /hdd/tmp/portage/kde-frameworks/kio-5.16.0/work/kio-5.16.0_build/src/core/moc_slaveinterface.cpp:504
#24 0x00007ff096ba8e4b in KIO::SlaveInterface::dispatch (this=0x1e9c2f0, _cmd=<optimized out>, rawdata=...) at /hdd/tmp/portage/kde-frameworks/kio-5.16.0/work/kio-5.16.0/src/core/slaveinterface.cpp:252
#25 0x00007ff096ba6a47 in KIO::SlaveInterface::dispatch (this=0x1e9c2f0) at /hdd/tmp/portage/kde-frameworks/kio-5.16.0/work/kio-5.16.0/src/core/slaveinterface.cpp:89
#26 0x00007ff096bab086 in KIO::Slave::gotInput (this=0x1e9c2f0) at /hdd/tmp/portage/kde-frameworks/kio-5.16.0/work/kio-5.16.0/src/core/slave.cpp:393
#27 0x00007ff096c28035 in KIO::Slave::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /hdd/tmp/portage/kde-frameworks/kio-5.16.0/work/kio-5.16.0_build/src/core/moc_slave.cpp:87
#28 0x00007ff09cc32fd4 in QMetaObject::activate (sender=0x1e67400, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3713
#29 0x00007ff09cc336c7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7ff096e67d80 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3578
#30 0x00007ff096b57448 in readyRead (this=<optimized out>) at /hdd/tmp/portage/kde-frameworks/kio-5.16.0/work/kio-5.16.0_build/src/core/moc_connection_p.cpp:141
#31 KIO::ConnectionPrivate::dequeue (this=0x1b2ab80) at /hdd/tmp/portage/kde-frameworks/kio-5.16.0/work/kio-5.16.0/src/core/connection.cpp:45
#32 0x00007ff09cc3408a in QObject::event (this=0x1e67400, e=<optimized out>) at kernel/qobject.cpp:1239
#33 0x00007ff09d66c69c in QApplicationPrivate::notify_helper (this=this@entry=0x6ade30, receiver=receiver@entry=0x1e67400, e=e@entry=0x1f5a100) at kernel/qapplication.cpp:3716
#34 0x00007ff09d671b10 in QApplication::notify (this=0x7ffc60d811b0, receiver=0x1e67400, e=0x1f5a100) at kernel/qapplication.cpp:3499
#35 0x00007ff09cc0ad8d in QCoreApplication::notifyInternal (this=0x7ffc60d811b0, receiver=0x1e67400, event=event@entry=0x1f5a100) at kernel/qcoreapplication.cpp:965
#36 0x00007ff09cc0db63 in sendEvent (event=0x1f5a100, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x6a30c0) at kernel/qcoreapplication.cpp:1593
#38 0x00007ff09cc0e128 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#39 0x00007ff09cc58713 in postEventSourceDispatch (s=0x7116b0) at kernel/qeventdispatcher_glib.cpp:271
#40 0x00007ff0984958fd in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#41 0x00007ff098495be0 in ?? () from /usr/lib64/libglib-2.0.so.0
#42 0x00007ff098495c8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#43 0x00007ff09cc58787 in QEventDispatcherGlib::processEvents (this=0x6a3720, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#44 0x00007ff09cc099aa in QEventLoop::exec (this=this@entry=0x7ffc60d81050, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#45 0x00007ff09cc10d8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#46 0x00007ff09cf2f32c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1527
#47 0x00007ff09d6682d5 in QApplication::exec () at kernel/qapplication.cpp:2976
#48 0x0000000000432bbd in main (argc=4, argv=<optimized out>) at /hdd/tmp/portage/kde-plasma/plasma-workspace-5.5.2/work/plasma-workspace-5.5.2/shell/main.cpp:179

Reported using DrKonqi
Comment 1 Kai Uwe Broulik 2015-12-27 13:03:18 UTC
Thanks. Backtrace is identical to the other bug report, your widgets were locked when you did this, right?

*** This bug has been marked as a duplicate of bug 356428 ***
Comment 2 Fabian Köster 2015-12-28 14:51:08 UTC
Yes (In reply to Kai Uwe Broulik from comment #1)
> Thanks. Backtrace is identical to the other bug report, your widgets were
> locked when you did this, right?

Thats right!

> *** This bug has been marked as a duplicate of bug 356428 ***

Nice, already fixed!