Bug 381685

Summary: Plasmashell crash when opening panel menu w/ unlocked widgets
Product: [Plasma] plasmashell Reporter: oysstu <oysstu>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, notmart, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.10.2   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description oysstu 2017-06-26 14:44:40 UTC
Application: plasmashell (5.10.2)

Qt Version: 5.9.0
Frameworks Version: 5.35.0
Operating System: Linux 4.8.0-56-generic x86_64
Distribution: KDE neon User Edition 5.10

-- Information about the crash:
- What I was doing when the application crashed:
Unlocked widgets and opened the settings panel.

- Unusual behavior I noticed:
The panel bar was not completely covering the bottom of the screen (thin stripe of desktop visible below panel. Possibly unrelated, but i observed multiple such crashes when moving around widgets, the bar eventually locked up completely.

The crash does not seem to be reproducible.

-- Backtrace:
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 0x7f559d2478c0 (LWP 1503))]

Thread 9 (Thread 0x7f54c145a700 (LWP 1924)):
#0  0x00007f5597abe815 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7f54c1459a40) at ../sysdeps/unix/clock_gettime.c:93
#1  0x00007f55983c3c51 in qt_clock_gettime (ts=0x7f54c1459a40, clock=<optimized out>) at kernel/qelapsedtimer_unix.cpp:111
#2  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#3  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#4  0x00007f55983c2449 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f54b40665e0) at kernel/qtimerinfo_unix.cpp:91
#5  0x00007f55983c29b5 in QTimerInfoList::timerWait (this=0x7f54b40665e0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#6  0x00007f55983c409e in timerSourcePrepareHelper (timeout=0x7f54c1459b14, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:132
#7  timerSourcePrepare (source=<optimized out>, timeout=0x7f54c1459b14) at kernel/qeventdispatcher_glib.cpp:165
#8  0x00007f559326991d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f559326a2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f559326a49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f55983c4adb in QEventDispatcherGlib::processEvents (this=0x7f54b40596e0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#12 0x00007f559836e30a in QEventLoop::exec (this=this@entry=0x7f54c1459ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#13 0x00007f559819daf4 in QThread::exec (this=this@entry=0x4a1e5d0) at thread/qthread.cpp:515
#14 0x00007f559a867075 in QQmlThreadPrivate::run (this=0x4a1e5d0) at qml/ftw/qqmlthread.cpp:147
#15 0x00007f55981a2509 in QThreadPrivate::start (arg=0x4a1e5d0) at thread/qthread_unix.cpp:368
#16 0x00007f55970486ba in start_thread (arg=0x7f54c145a700) at pthread_create.c:333
#17 0x00007f5597ab03dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f54cd874700 (LWP 1868)):
#0  0x00007f5597aa470d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f559326a38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f559326a49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f55983c4adb in QEventDispatcherGlib::processEvents (this=0x7f54c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f559836e30a in QEventLoop::exec (this=this@entry=0x7f54cd873cc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f559819daf4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007f54cfd52587 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007f55981a2509 in QThreadPrivate::start (arg=0x41d4250) at thread/qthread_unix.cpp:368
#8  0x00007f55970486ba in start_thread (arg=0x7f54cd874700) at pthread_create.c:333
#9  0x00007f5597ab03dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f54e87b9700 (LWP 1659)):
#0  0x00007f55932aea94 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f5593269910 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f559326a2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f559326a49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f55983c4adb in QEventDispatcherGlib::processEvents (this=0x7f54e00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f559836e30a in QEventLoop::exec (this=this@entry=0x7f54e87b8c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f559819daf4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#7  0x00007f559b20a1c6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f55981a2509 in QThreadPrivate::start (arg=0x1a2ef40) at thread/qthread_unix.cpp:368
#9  0x00007f55970486ba in start_thread (arg=0x7f54e87b9700) at pthread_create.c:333
#10 0x00007f5597ab03dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f557932f700 (LWP 1640)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f559ccaf784 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f559ccaf7c9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f55970486ba in start_thread (arg=0x7f557932f700) at pthread_create.c:333
#4  0x00007f5597ab03dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f557b38f700 (LWP 1638)):
#0  0x00007f5598199ec9 in std::__atomic_base<QMutexData*>::compare_exchange_strong (__m2=std::memory_order_relaxed, __m1=std::memory_order_release, __p2=0x0, __p1=@0x7f557b38ea88: 0x1, this=0x14981a0) at /usr/include/c++/5/bits/atomic_base.h:752
#1  std::atomic<QMutexData*>::compare_exchange_strong (__m2=std::memory_order_relaxed, __m1=std::memory_order_release, __p2=0x0, __p1=@0x7f557b38ea88: 0x1, this=0x14981a0) at /usr/include/c++/5/atomic:462
#2  QAtomicOps<QMutexData*>::testAndSetRelease<QMutexData*> (currentValue=<synthetic pointer>, newValue=0x0, expectedValue=0x1, _q_value=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:299
#3  QBasicAtomicPointer<QMutexData>::testAndSetRelease (currentValue=<synthetic pointer>, newValue=0x0, expectedValue=<optimized out>, this=0x14981a0) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:264
#4  QBasicMutex::fastTryUnlock (current=<synthetic pointer>, this=0x14981a0) at thread/qmutex.h:104
#5  QMutex::unlock (this=this@entry=0x14981a0) at thread/qmutex.cpp:337
#6  0x00007f55983c4251 in QMutexLocker::unlock (this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:213
#7  QMutexLocker::~QMutexLocker (this=<synthetic pointer>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:207
#8  QThreadData::canWaitLocked (this=0x1498170) at ../../include/QtCore/5.9.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:253
#9  postEventSourcePrepare (s=0x7f55700012d0, timeout=0x7f557b38eb14) at kernel/qeventdispatcher_glib.cpp:259
#10 0x00007f559326991d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f559326a2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f559326a49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007f55983c4adb in QEventDispatcherGlib::processEvents (this=0x7f55700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#14 0x00007f559836e30a in QEventLoop::exec (this=this@entry=0x7f557b38ece0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#15 0x00007f559819daf4 in QThread::exec (this=this@entry=0x14a28b0) at thread/qthread.cpp:515
#16 0x00007f559a867075 in QQmlThreadPrivate::run (this=0x14a28b0) at qml/ftw/qqmlthread.cpp:147
#17 0x00007f55981a2509 in QThreadPrivate::start (arg=0x14a28b0) at thread/qthread_unix.cpp:368
#18 0x00007f55970486ba in start_thread (arg=0x7f557b38f700) at pthread_create.c:333
#19 0x00007f5597ab03dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f558159c700 (LWP 1597)):
#0  0x00007f55932aea94 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f559326a381 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f559326a49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f55983c4adb in QEventDispatcherGlib::processEvents (this=0x7f55740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f559836e30a in QEventLoop::exec (this=this@entry=0x7f558159bce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f559819daf4 in QThread::exec (this=this@entry=0x1442190) at thread/qthread.cpp:515
#6  0x00007f559a867075 in QQmlThreadPrivate::run (this=0x1442190) at qml/ftw/qqmlthread.cpp:147
#7  0x00007f55981a2509 in QThreadPrivate::start (arg=0x1442190) at thread/qthread_unix.cpp:368
#8  0x00007f55970486ba in start_thread (arg=0x7f558159c700) at pthread_create.c:333
#9  0x00007f5597ab03dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f5582fe1700 (LWP 1561)):
#0  0x00007f5597aa470d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f559326a38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f559326a49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f55983c4adb in QEventDispatcherGlib::processEvents (this=0x7f557c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f559836e30a in QEventLoop::exec (this=this@entry=0x7f5582fe0cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f559819daf4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007f559d386b75 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f55981a2509 in QThreadPrivate::start (arg=0x7f559d3fcda0) at thread/qthread_unix.cpp:368
#8  0x00007f55970486ba in start_thread (arg=0x7f5582fe1700) at pthread_create.c:333
#9  0x00007f5597ab03dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f55888e9700 (LWP 1517)):
#0  0x00007f5597aa470d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f559bc10c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f559bc128d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f558aa2f1f9 in QXcbEventReader::run (this=0x137ff20) at qxcbconnection.cpp:1322
#4  0x00007f55981a2509 in QThreadPrivate::start (arg=0x137ff20) at thread/qthread_unix.cpp:368
#5  0x00007f55970486ba in start_thread (arg=0x7f55888e9700) at pthread_create.c:333
#6  0x00007f5597ab03dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f559d2478c0 (LWP 1503)):
[KCrash Handler]
#6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x10) at /usr/include/c++/5/bits/atomic_base.h:396
#7  QAtomicOps<int>::load<int> (_q_value=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:227
#8  QBasicAtomicInteger<int>::load (this=0x10) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:102
#9  QtPrivate::RefCount::isShared (this=0x10) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:101
#10 QHash<Plasma::FrameSvg*, int>::detach (this=0x4641b58) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:273
#11 QHash<Plasma::FrameSvg*, int>::operator[] (akey=@0x7ffd5154f058: 0x4b978a0, this=0x4641b58) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:742
#12 Plasma::FrameData::ref (this=0x4641aa0, svg=0x4b978a0) at /workspace/build/src/plasma/framesvg.cpp:973
#13 0x00007f559b7b4f1d in Plasma::FrameSvgPrivate::alphaMask (this=0x5006f00) at /workspace/build/src/plasma/framesvg.cpp:485
#14 0x00007f559b7b5b23 in Plasma::FrameSvg::mask (this=0x4b978a0) at /workspace/build/src/plasma/framesvg.cpp:326
#15 0x00007f559cddd34c in PlasmaQuick::DialogPrivate::updateTheme (this=this@entry=0x5466c20) at /workspace/build/src/plasmaquick/dialog.cpp:247
#16 0x00007f559cdde7a3 in PlasmaQuick::DialogPrivate::syncToMainItemSize (this=this@entry=0x5466c20) at /workspace/build/src/plasmaquick/dialog.cpp:664
#17 0x00007f559cddf3f3 in PlasmaQuick::DialogPrivate::updateVisibility (this=0x5466c20, visible=visible@entry=true) at /workspace/build/src/plasmaquick/dialog.cpp:302
#18 0x00007f559cde1198 in PlasmaQuick::Dialog::event (this=0x45d78a0, event=0x7ffd5154f700) at /workspace/build/src/plasmaquick/dialog.cpp:1170
#19 0x00007f5598cdc3fc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x45d78a0, e=0x7ffd5154f700) at kernel/qapplication.cpp:3717
#20 0x00007f5598ce3e07 in QApplication::notify (this=0x7ffd51552d20, receiver=0x45d78a0, e=0x7ffd5154f700) at kernel/qapplication.cpp:3476
#21 0x00007f5598370128 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x45d78a0, event=event@entry=0x7ffd5154f700) at kernel/qcoreapplication.cpp:1018
#22 0x00007f55987706e9 in QCoreApplication::sendEvent (event=0x7ffd5154f700, receiver=0x45d78a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#23 QWindow::setVisible (this=this@entry=0x45d78a0, visible=visible@entry=true) at kernel/qwindow.cpp:571
#24 0x00007f559cddd04c in PlasmaQuick::Dialog::setVisible (this=0x45d78a0, visible=<optimized out>) at /workspace/build/src/plasmaquick/dialog.cpp:1362
#25 0x00007f559cde0148 in PlasmaQuick::Dialog::qt_static_metacall (_o=_o@entry=0x45d78a0, _c=_c@entry=QMetaObject::WriteProperty, _id=_id@entry=9, _a=_a@entry=0x7ffd5154f820) at /workspace/build/obj-x86_64-linux-gnu/src/plasmaquick/moc_dialog.cpp:348
#26 0x00007f559cde19cb in PlasmaQuick::Dialog::qt_metacall (this=0x45d78a0, _c=QMetaObject::WriteProperty, _id=9, _a=0x7ffd5154f820) at /workspace/build/obj-x86_64-linux-gnu/src/plasmaquick/moc_dialog.cpp:401
#27 0x00007f559a7da23c in QQmlPropertyData::writeProperty (this=this@entry=0x7f5570048a08, target=target@entry=0x45d78a0, value=<optimized out>, flags=...) at ../../include/QtQml/5.9.0/QtQml/private/../../../../../src/qml/qml/qqmlpropertycache_p.h:324
#28 0x00007f559a7d89e8 in QQmlPropertyPrivate::write (object=object@entry=0x45d78a0, property=..., value=..., context=0x4ec0510, flags=..., flags@entry=...) at qml/qqmlproperty.cpp:1196
#29 0x00007f559a7a2633 in QV4::QObjectWrapper::setProperty (engine=engine@entry=0x1365870, object=object@entry=0x45d78a0, property=0x7f5570048a08, value=...) at jsruntime/qv4qobjectwrapper.cpp:475
#30 0x00007f559a7a2ecb in QV4::QObjectWrapper::setQmlProperty (engine=0x1365870, qmlContext=<optimized out>, object=0x45d78a0, name=<optimized out>, revisionMode=QV4::QObjectWrapper::IgnoreRevision, value=...) at jsruntime/qv4qobjectwrapper.cpp:361
#31 0x00007f559a7a2fcd in QV4::QObjectWrapper::put (m=0x7f5579f90b28, name=0x7f5579f90b20, value=...) at jsruntime/qv4qobjectwrapper.cpp:637
#32 0x00007f559a7b1664 in QV4::Object::put (v=..., name=<optimized out>, this=<optimized out>) at jsruntime/qv4object_p.h:338
#33 QV4::Runtime::method_setProperty (engine=0x1365870, object=..., nameIndex=<optimized out>, value=...) at jsruntime/qv4runtime.cpp:599
#34 0x00007f54cc0ed595 in ?? ()
#35 0x000000000459e0e0 in ?? ()
#36 0x0000000001365610 in ?? ()
#37 0x0000000000000000 in ?? ()

Possible duplicates by query: bug 381104, bug 379845, bug 378376, bug 373885, bug 372712.

Reported using DrKonqi
Comment 1 Marco Martin 2017-06-26 15:31:58 UTC

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