Bug 371789

Summary: Crash when right click->configure desktop
Product: [Plasma] plasmashell Reporter: Jon <jon>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, notmart, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.8.2   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jon 2016-10-28 16:34:58 UTC
Application: plasmashell (5.8.2)

Qt Version: 5.7.0
Frameworks Version: 5.26.0
Operating System: Linux 4.8.4-2-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
right click->configure desktop. Crashes before the window shows.

- Unusual behavior I noticed:
I run 3 monitors and since the update to 5.8 (currently, 5.8.2) The monitors desktops are constantly swapping around (#1 & #2, but #3 is always fine). The placement of widgets and configuration of desktop either completely crashes plasma-shell or just doesn't work.

The 'bad' desktop always has the same defaults, it's showing folder view of the desktop. I can't change it away from this.

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 0x7fc1bb3318c0 (LWP 4635))]

Thread 8 (Thread 0x7fc0f983e700 (LWP 4655)):
#0  0x00007fc1b497e6fd in read () at /lib64/libc.so.6
#1  0x00007fc1af9e3b00 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fc1af99f325 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fc1af99f814 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fc1af99f98c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fc1b52a979b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fc0e4009720, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fc1b52531ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fc0f983dcc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#7  0x00007fc1b50818b3 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:507
#8  0x00007fc0dfe02df7 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#9  0x00007fc1b5086558 in QThreadPrivate::start(void*) (arg=0x31659e0) at thread/qthread_unix.cpp:344
#10 0x00007fc1b4179454 in start_thread () at /lib64/libpthread.so.0
#11 0x00007fc1b498b39f in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7fc0fa8a9700 (LWP 4643)):
#0  0x00007fc1b507daa9 in QMutex::unlock() (__m2=<optimized out>, __m1=std::memory_order_release, __p2=0x0, __p1=@0x7fc0fa8a8a38: 0x1, this=0x159c9b0) at /usr/include/c++/6/bits/atomic_base.h:752
#1  0x00007fc1b507daa9 in QMutex::unlock() (__m=std::memory_order_release, __p2=0x0, __p1=@0x7fc0fa8a8a38: 0x1, this=0x159c9b0) at /usr/include/c++/6/atomic:475
#2  0x00007fc1b507daa9 in QMutex::unlock() (currentValue=<synthetic pointer>, newValue=0x0, expectedValue=0x1, _q_value=...) at ../../src/corelib/arch/qatomic_cxx11.h:174
#3  0x00007fc1b507daa9 in QMutex::unlock() (currentValue=<synthetic pointer>, newValue=0x0, expectedValue=<optimized out>, this=0x159c9b0) at ../../src/corelib/thread/qbasicatomic.h:261
#4  0x00007fc1b507daa9 in QMutex::unlock() (current=<synthetic pointer>, this=0x159c9b0) at thread/qmutex.h:92
#5  0x00007fc1b507daa9 in QMutex::unlock() (this=this@entry=0x159c9b0) at thread/qmutex.cpp:277
#6  0x00007fc1b52a8f21 in postEventSourcePrepare(GSource*, gint*) (this=<synthetic pointer>) at ../../src/corelib/thread/qmutex.h:147
#7  0x00007fc1b52a8f21 in postEventSourcePrepare(GSource*, gint*) (this=<synthetic pointer>, __in_chrg=<optimized out>) at ../../src/corelib/thread/qmutex.h:141
#8  0x00007fc1b52a8f21 in postEventSourcePrepare(GSource*, gint*) (this=0x159c980) at ../../src/corelib/thread/qthread_p.h:253
#9  0x00007fc1b52a8f21 in postEventSourcePrepare(GSource*, gint*) (s=0x7fc0f40030b0, timeout=0x7fc0fa8a8ac4) at kernel/qeventdispatcher_glib.cpp:259
#10 0x00007fc1af99ed79 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#11 0x00007fc1af99f79b in  () at /usr/lib64/libglib-2.0.so.0
#12 0x00007fc1af99f98c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#13 0x00007fc1b52a979b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fc0f401bbf0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#14 0x00007fc1b52531ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fc0fa8a8c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#15 0x00007fc1b50818b3 in QThread::exec() (this=this@entry=0x159cc80) at thread/qthread.cpp:507
#16 0x00007fc1b8f66646 in QQuickPixmapReader::run() (this=0x159cc80) at /usr/src/debug/qtdeclarative-opensource-src-5.7.0/src/quick/util/qquickpixmapcache.cpp:823
#17 0x00007fc1b5086558 in QThreadPrivate::start(void*) (arg=0x159cc80) at thread/qthread_unix.cpp:344
#18 0x00007fc1b4179454 in start_thread () at /lib64/libpthread.so.0
#19 0x00007fc1b498b39f in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7fc104789700 (LWP 4641)):
#0  0x00007fc1b417f10f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fc10b9a89f3 in amdgpu_cs_thread_func () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007fc10b9a85bf in impl_thrd_routine () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fc1b4179454 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fc1b498b39f in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fc1952e9700 (LWP 4640)):
#0  0x00007fc1b417f10f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fc1baa0c834 in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007fc1baa0c879 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007fc1b4179454 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fc1b498b39f in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fc197021700 (LWP 4639)):
#0  0x00007fc1af99c880 in  () at /usr/lib64/libglib-2.0.so.0
#1  0x00007fc1af99ed1b in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fc1af99f79b in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fc1af99f98c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fc1b52a979b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fc18c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fc1b52531ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fc197020ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#6  0x00007fc1b50818b3 in QThread::exec() (this=this@entry=0xb95980) at thread/qthread.cpp:507
#7  0x00007fc1b83cda75 in QQmlThreadPrivate::run() (this=0xb95980) at /usr/src/debug/qtdeclarative-opensource-src-5.7.0/src/qml/qml/ftw/qqmlthread.cpp:147
#8  0x00007fc1b5086558 in QThreadPrivate::start(void*) (arg=0xb95980) at thread/qthread_unix.cpp:344
#9  0x00007fc1b4179454 in start_thread () at /lib64/libpthread.so.0
#10 0x00007fc1b498b39f in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fc19cb11700 (LWP 4638)):
#0  0x00007fc1b498268d in poll () at /lib64/libc.so.6
#1  0x00007fc1af99f876 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fc1af99f98c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fc1b52a979b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fc1900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fc1b52531ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fc19cb10ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#5  0x00007fc1b50818b3 in QThread::exec() (this=this@entry=0xb360f0) at thread/qthread.cpp:507
#6  0x00007fc1b83cda75 in QQmlThreadPrivate::run() (this=0xb360f0) at /usr/src/debug/qtdeclarative-opensource-src-5.7.0/src/qml/qml/ftw/qqmlthread.cpp:147
#7  0x00007fc1b5086558 in QThreadPrivate::start(void*) (arg=0xb360f0) at thread/qthread_unix.cpp:344
#8  0x00007fc1b4179454 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fc1b498b39f in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fc1a8361700 (LWP 4636)):
#0  0x00007fc1b498268d in poll () at /lib64/libc.so.6
#1  0x00007fc1af99f876 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fc1af99f98c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fc1b52a979b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fc1a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fc1b52531ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fc1a8360cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#5  0x00007fc1b50818b3 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007fc1b5e043e5 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007fc1b5086558 in QThreadPrivate::start(void*) (arg=0x7fc1b6075d20) at thread/qthread_unix.cpp:344
#8  0x00007fc1b4179454 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fc1b498b39f in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fc1bb3318c0 (LWP 4635)):
[KCrash Handler]
#6  0x00007fc1b8fe73d4 in QQuickItem::isEnabled() const (this=0x1468ce0) at /usr/src/debug/qtdeclarative-opensource-src-5.7.0/src/quick/items/qquickitem.cpp:5694
#7  0x00007fc1b90040dc in QQuickWindowPrivate::setFocusInScope(QQuickItem*, QQuickItem*, Qt::FocusReason, QFlags<QQuickWindowPrivate::FocusOption>) (this=0x144ebf0, scope=scope@entry=0x0, item=item@entry=0x144eef0, reason=reason@entry=Qt::ActiveWindowFocusReason, options=..., options@entry=...) at /usr/src/debug/qtdeclarative-opensource-src-5.7.0/src/quick/items/qquickwindow.cpp:848
#8  0x00007fc1b8fe91d8 in QQuickItem::setFocus(bool, Qt::FocusReason) (this=0x144eef0, focus=focus@entry=true, reason=Qt::ActiveWindowFocusReason) at /usr/src/debug/qtdeclarative-opensource-src-5.7.0/src/quick/items/qquickitem.cpp:6833
#9  0x00007fc1b8ffc7c0 in QQuickWindow::focusInEvent(QFocusEvent*) (this=<optimized out>, ev=<optimized out>) at /usr/src/debug/qtdeclarative-opensource-src-5.7.0/src/quick/items/qquickwindow.cpp:256
#10 0x00007fc1b57b7593 in QWindow::event(QEvent*) () at /usr/lib64/libQt5Gui.so.5
#11 0x00007fc1b900a6c3 in QQuickWindow::event(QEvent*) (this=0x1452c70, e=0x7ffd8b8f1f50) at /usr/src/debug/qtdeclarative-opensource-src-5.7.0/src/quick/items/qquickwindow.cpp:1518
#12 0x00007fc1b61db92c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007fc1b61e30e1 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007fc1b5255200 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x1452c70, event=0x7ffd8b8f1f50) at kernel/qcoreapplication.cpp:988
#15 0x00007fc1b57ad199 in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () at /usr/lib64/libQt5Gui.so.5
#16 0x00007fc1b57ad51d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#17 0x00007fc1b578b25b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#18 0x00007fc1a5df5970 in  () at /usr/lib64/libQt5XcbQpa.so.5
#19 0x00007fc1af99f677 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#20 0x00007fc1af99f8e0 in  () at /usr/lib64/libglib-2.0.so.0
#21 0x00007fc1af99f98c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#22 0x00007fc1b52a977f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0xa916b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#23 0x00007fc1b52531ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd8b8f2230, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#24 0x00007fc1b525b95c in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1261
#25 0x000000000041e922 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.8.2/shell/main.cpp:166

Possible duplicates by query: bug 371743, bug 370916, bug 369142.

Reported using DrKonqi
Comment 1 Marco Martin 2016-10-31 10:28:24 UTC

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