Application: plasmashell (5.8.4) Qt Version: 5.7.0 Frameworks Version: 5.28.0 Operating System: Linux 4.8.12-1-default x86_64 Distribution: "openSUSE Tumbleweed" -- Information about the crash: - What I was doing when the application crashed: Connected the notebook to docking station with 2 screens. The desktops are set to folder view. After connection changing activity results in losing folder view on screen 0. Changing back to the original activity sometimes results in plasmashell crash. The crash can be reproduced sometimes. -- Backtrace: Application: Plasma (plasmashell), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7fbc1d7638c0 (LWP 4675))] Thread 7 (Thread 0x7fbb51305700 (LWP 4687)): #0 0x00007fbc16e0068d in poll () from /lib64/libc.so.6 #1 0x00007fbc11e9a876 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007fbc11e9a98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007fbc1771f79b in QEventDispatcherGlib::processEvents (this=0x7fbb4c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #4 0x00007fbc176c91ea in QEventLoop::exec (this=this@entry=0x7fbb51304cc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210 #5 0x00007fbc174f78b3 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507 #6 0x00007fbb5382fdf7 in KCupsConnection::run() () from /usr/lib64/libkcupslib.so #7 0x00007fbc174fc558 in QThreadPrivate::start (arg=0x4b9a840) at thread/qthread_unix.cpp:344 #8 0x00007fbc16602454 in start_thread () from /lib64/libpthread.so.0 #9 0x00007fbc16e0939f in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7fbb64509700 (LWP 4683)): #0 0x00007fbc11edfec4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0 #1 0x00007fbc11e9a71d in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007fbc11e9a98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007fbc1771f79b in QEventDispatcherGlib::processEvents (this=0x7fbb5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #4 0x00007fbc176c91ea in QEventLoop::exec (this=this@entry=0x7fbb64508c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210 #5 0x00007fbc174f78b3 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507 #6 0x00007fbc1b3b6646 in ?? () from /usr/lib64/libQt5Quick.so.5 #7 0x00007fbc174fc558 in QThreadPrivate::start (arg=0x189c020) at thread/qthread_unix.cpp:344 #8 0x00007fbc16602454 in start_thread () from /lib64/libpthread.so.0 #9 0x00007fbc16e0939f in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7fbbf35a4700 (LWP 4682)): #0 0x00007fbc1660810f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fbc1ce3a834 in ?? () from /usr/lib64/libQt5Script.so.5 #2 0x00007fbc1ce3a879 in ?? () from /usr/lib64/libQt5Script.so.5 #3 0x00007fbc16602454 in start_thread () from /lib64/libpthread.so.0 #4 0x00007fbc16e0939f in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7fbbf956d700 (LWP 4681)): #0 std::__atomic_base<QMutexData*>::compare_exchange_strong (__m2=<optimized out>, __m1=<optimized out>, __p2=<optimized out>, __p1=<optimized out>, this=<optimized out>) at /usr/include/c++/6/bits/atomic_base.h:752 #1 std::atomic<QMutexData*>::compare_exchange_strong (__m=<optimized out>, __p2=<optimized out>, __p1=<optimized out>, this=<optimized out>) at /usr/include/c++/6/atomic:475 #2 QAtomicOps<QMutexData*>::testAndSetAcquire<QMutexData*> (currentValue=<optimized out>, newValue=<optimized out>, expectedValue=<optimized out>, _q_value=...) at ../../src/corelib/arch/qatomic_cxx11.h:165 #3 QBasicAtomicPointer<QMutexData>::testAndSetAcquire (currentValue=<optimized out>, newValue=<optimized out>, expectedValue=<optimized out>, this=<optimized out>) at ../../src/corelib/thread/qbasicatomic.h:259 #4 QBasicMutex::fastTryLock (current=<optimized out>, this=<optimized out>) at thread/qmutex.h:89 #5 QMutex::lock (this=this@entry=0xfeecb0) at thread/qmutex.cpp:225 #6 0x00007fbc1771ef0f in QMutexLocker::QMutexLocker (m=0xfeecb0, this=<synthetic pointer>) at ../../src/corelib/thread/qmutex.h:137 #7 QThreadData::canWaitLocked (this=0xfeec80) at ../../src/corelib/thread/qthread_p.h:253 #8 postEventSourcePrepare (s=0x7fbbec0012d0, timeout=0x7fbbf956cb14) at kernel/qeventdispatcher_glib.cpp:259 #9 0x00007fbc11e99d79 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0 #10 0x00007fbc11e9a79b in ?? () from /usr/lib64/libglib-2.0.so.0 #11 0x00007fbc11e9a98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #12 0x00007fbc1771f79b in QEventDispatcherGlib::processEvents (this=0x7fbbec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #13 0x00007fbc176c91ea in QEventLoop::exec (this=this@entry=0x7fbbf956cce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210 #14 0x00007fbc174f78b3 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507 #15 0x00007fbc1a828a75 in ?? () from /usr/lib64/libQt5Qml.so.5 #16 0x00007fbc174fc558 in QThreadPrivate::start (arg=0xff2300) at thread/qthread_unix.cpp:344 #17 0x00007fbc16602454 in start_thread () from /lib64/libpthread.so.0 #18 0x00007fbc16e0939f in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7fbbfadba700 (LWP 4680)): #0 0x00007fbc16e0068d in poll () from /lib64/libc.so.6 #1 0x00007fbc11e9a876 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007fbc11e9a98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007fbc1771f79b in QEventDispatcherGlib::processEvents (this=0x7fbbf40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #4 0x00007fbc176c91ea in QEventLoop::exec (this=this@entry=0x7fbbfadb9ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210 #5 0x00007fbc174f78b3 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507 #6 0x00007fbc1a828a75 in ?? () from /usr/lib64/libQt5Qml.so.5 #7 0x00007fbc174fc558 in QThreadPrivate::start (arg=0xf7fa10) at thread/qthread_unix.cpp:344 #8 0x00007fbc16602454 in start_thread () from /lib64/libpthread.so.0 #9 0x00007fbc16e0939f in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7fbc0a706700 (LWP 4678)): #0 0x00007fbc16e0068d in poll () from /lib64/libc.so.6 #1 0x00007fbc11e9a876 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007fbc11e9a98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007fbc1771f79b in QEventDispatcherGlib::processEvents (this=0x7fbc040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #4 0x00007fbc176c91ea in QEventLoop::exec (this=this@entry=0x7fbc0a705cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210 #5 0x00007fbc174f78b3 in QThread::exec (this=this@entry=0x7fbc17da2d20 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507 #6 0x00007fbc17b313e5 in QDBusConnectionManager::run (this=0x7fbc17da2d20 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:196 #7 0x00007fbc174fc558 in QThreadPrivate::start (arg=0x7fbc17da2d20 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:344 #8 0x00007fbc16602454 in start_thread () from /lib64/libpthread.so.0 #9 0x00007fbc16e0939f in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7fbc1d7638c0 (LWP 4675)): [KCrash Handler] #6 0x00007fbc176d3d3b in QMetaObject::cast (this=this@entry=0x7fbc1bd63140 <Plasma::Corona::staticMetaObject>, obj=0x100000001) at kernel/qmetaobject.cpp:366 #7 0x00007fbc176d3d85 in QMetaObject::cast (this=this@entry=0x7fbc1bd63140 <Plasma::Corona::staticMetaObject>, obj=<optimized out>) at kernel/qmetaobject.cpp:355 #8 0x00007fbc1bae5f28 in qobject_cast<Plasma::Corona*> (object=<optimized out>) at /usr/include/qt5/QtCore/qobject.h:516 #9 Plasma::Containment::corona (this=this@entry=0x1158a90) at /usr/src/debug/plasma-framework-5.28.0/src/plasma/containment.cpp:324 #10 0x00007fbc1bae5fa9 in Plasma::Containment::screen (this=0x1158a90) at /usr/src/debug/plasma-framework-5.28.0/src/plasma/containment.cpp:488 #11 0x000000000044063c in ShellCorona::createContainmentForActivity (this=this@entry=0xf5e920, activity=..., screenNum=screenNum@entry=0) at /usr/src/debug/plasma-workspace-5.8.4/shell/shellcorona.cpp:1191 #12 0x0000000000440f50 in ShellCorona::currentActivityChanged (this=0xf5e920, newActivity=...) at /usr/src/debug/plasma-workspace-5.8.4/shell/shellcorona.cpp:1484 #13 0x00007fbc176f721e in QtPrivate::QSlotObjectBase::call (a=0x7fff85aa14d0, r=0xf5e920, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:130 #14 QMetaObject::activate (sender=0xf85d90, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff85aa14d0) at kernel/qobject.cpp:3723 #15 0x00007fbc176f77c7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fbc1c9bdb40 <KActivities::Consumer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff85aa14d0) at kernel/qobject.cpp:3602 #16 0x00007fbc1c7ae2b2 in KActivities::Consumer::currentActivityChanged (this=<optimized out>, _t1=...) at /usr/src/debug/kactivities-5.28.0/build/src/lib/moc_consumer.cpp:240 #17 0x00007fbc1c7af8a9 in KActivities::Consumer::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kactivities-5.28.0/build/src/lib/moc_consumer.cpp:111 #18 0x00007fbc176f6ea9 in QMetaObject::activate (sender=0xf59840, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7fff85aa1640) at kernel/qobject.cpp:3740 #19 0x00007fbc176f77c7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fbc1c9bdc00 <KActivities::ActivitiesCache::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7fff85aa1640) at kernel/qobject.cpp:3602 #20 0x00007fbc1c7ae175 in KActivities::ActivitiesCache::currentActivityChanged (this=<optimized out>, _t1=...) at /usr/src/debug/kactivities-5.28.0/build/src/lib/moc_activitiescache_p.cpp:399 #21 0x00007fbc176f721e in QtPrivate::QSlotObjectBase::call (a=0x7fff85aa17e0, r=0xf59840, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:130 #22 QMetaObject::activate (sender=sender@entry=0xf5b340, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x7fff85aa17e0) at kernel/qobject.cpp:3723 #23 0x00007fbc176f77c7 in QMetaObject::activate (sender=sender@entry=0xf5b340, m=m@entry=0x7fbc1c9bd0e0 <OrgKdeActivityManagerActivitiesInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x7fff85aa17e0) at kernel/qobject.cpp:3602 #24 0x00007fbc1c7ab080 in OrgKdeActivityManagerActivitiesInterface::CurrentActivityChanged (_t1=..., this=0xf5b340) at /usr/src/debug/kactivities-5.28.0/build/src/lib/activities_interface.moc:406 #25 OrgKdeActivityManagerActivitiesInterface::qt_static_metacall (_o=_o@entry=0xf5b340, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=9, _a=_a@entry=0x7fff85aa1960) at /usr/src/debug/kactivities-5.28.0/build/src/lib/activities_interface.moc:190 #26 0x00007fbc1c7abf85 in OrgKdeActivityManagerActivitiesInterface::qt_metacall (this=0xf5b340, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff85aa1960) at /usr/src/debug/kactivities-5.28.0/build/src/lib/activities_interface.moc:329 #27 0x00007fbc17b3b0e0 in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:986 #28 0x00007fbc176f7d59 in QObject::event (this=0xf5b340, e=<optimized out>) at kernel/qobject.cpp:1263 #29 0x00007fbc1864d92c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0xf5b340, e=0x7fbc0403d050) at kernel/qapplication.cpp:3799 #30 0x00007fbc186550e1 in QApplication::notify (this=0x7fff85aa20a0, receiver=0xf5b340, e=0x7fbc0403d050) at kernel/qapplication.cpp:3556 #31 0x00007fbc176cb200 in QCoreApplication::notifyInternal2 (receiver=0xf5b340, event=event@entry=0x7fbc0403d050) at kernel/qcoreapplication.cpp:988 #32 0x00007fbc176cd98d in QCoreApplication::sendEvent (event=0x7fbc0403d050, receiver=<optimized out>) at kernel/qcoreapplication.h:231 #33 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xe9a2d0) at kernel/qcoreapplication.cpp:1649 #34 0x00007fbc176cddf8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503 #35 0x00007fbc1771f373 in postEventSourceDispatch (s=0xeea0f0) at kernel/qeventdispatcher_glib.cpp:276 #36 0x00007fbc11e9a677 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #37 0x00007fbc11e9a8e0 in ?? () from /usr/lib64/libglib-2.0.so.0 #38 0x00007fbc11e9a98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #39 0x00007fbc1771f77f in QEventDispatcherGlib::processEvents (this=0xee8cb0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #40 0x00007fbc176c91ea in QEventLoop::exec (this=this@entry=0x7fff85aa1f30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210 #41 0x00007fbc176d195c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261 #42 0x000000000041ea42 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.8.4/shell/main.cpp:166 Reported using DrKonqi
Bug #362812 and bug #371734 are probably related to the problem.
this seems a containment that is valid, but has an invalid pointer as parent() that should never happen
should be fixed by https://phabricator.kde.org/D3777
*** Bug 374729 has been marked as a duplicate of this bug. ***
*** Bug 374111 has been marked as a duplicate of this bug. ***
*** Bug 374553 has been marked as a duplicate of this bug. ***
should be solved by https://cgit.kde.org/plasma-workspace.git/commit/?id=19a88030d3de12a96402a1103c964e5a7363646c (and Plasma 5.8.5 / 5.9)
*** Bug 375140 has been marked as a duplicate of this bug. ***