Bug 392746

Summary: Plasma crashes when changing layout from folder-view to desktop
Product: [Plasma] plasmashell Reporter: Christian Trippe <christiandehne>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.12.4   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christian Trippe 2018-04-05 04:13:14 UTC
Application: plasmashell (5.12.4)

Qt Version: 5.10.0
Frameworks Version: 5.44.0
Operating System: Linux 4.4.120-45-default x86_64
Distribution: "openSUSE Leap 42.3"

-- Information about the crash:
Have Plasma configured to use folder view as layout.
(The name of the following items are guessed from German)

1.) RIght click on the background
2.) Choose configure desktop
3.) Change layout to desktop (Arbeitsfläche)
4.) Confirm -> Plasma crashes

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 0x7fd38064e940 (LWP 2721))]

Thread 8 (Thread 0x7fd2c1dec700 (LWP 3542)):
#0  0x00007fd3743148b4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fd3742d2950 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd3742d3230 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd3742d342c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fd37a3b0fbb in QEventDispatcherGlib::processEvents (this=0x655b830, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fd37a35ca4b in QEventLoop::exec (this=this@entry=0x7fd2c1debc60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fd37a19a14a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#7  0x00007fd37d9de3c8 in ?? () from /usr/lib64/libQt5Qml.so.5
#8  0x00007fd37a19ee0f in QThreadPrivate::start (arg=0x66e54d0) at thread/qthread_unix.cpp:376
#9  0x00007fd379064724 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fd379aa4e8d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fd2c71bc700 (LWP 3040)):
#0  0x00007fd379a9c30d in poll () from /lib64/libc.so.6
#1  0x00007fd3742d3314 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd3742d342c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd37a3b0fbb in QEventDispatcherGlib::processEvents (this=0x3f41480, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fd37a35ca4b in QEventLoop::exec (this=this@entry=0x7fd2c71bbc40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fd37a19a14a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#6  0x00007fd2c85e3887 in KCupsConnection::run() () from /usr/lib64/libkcupslib.so
#7  0x00007fd37a19ee0f in QThreadPrivate::start (arg=0x3f344f0) at thread/qthread_unix.cpp:376
#8  0x00007fd379064724 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fd379aa4e8d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fd2d6d3e700 (LWP 2917)):
#0  0x00007fd379a9833d in read () from /lib64/libc.so.6
#1  0x00007fd374313750 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd3742d2e49 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd3742d32a8 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fd3742d342c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fd37a3b0fbb in QEventDispatcherGlib::processEvents (this=0x2770460, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fd37a35ca4b in QEventLoop::exec (this=this@entry=0x7fd2d6d3dc20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007fd37a19a14a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#8  0x00007fd37de48b82 in ?? () from /usr/lib64/libQt5Quick.so.5
#9  0x00007fd37a19ee0f in QThreadPrivate::start (arg=0x276c740) at thread/qthread_unix.cpp:376
#10 0x00007fd379064724 in start_thread () from /lib64/libpthread.so.0
#11 0x00007fd379aa4e8d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fd361df5700 (LWP 2900)):
#0  0x00007fd3790690ff in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd37fd2dc8b in ?? () from /usr/lib64/libQt5Script.so.5
#2  0x00007fd37fd2dcb9 in ?? () from /usr/lib64/libQt5Script.so.5
#3  0x00007fd379064724 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fd379aa4e8d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fd363c58700 (LWP 2898)):
#0  0x00007fd379a9833d in read () from /lib64/libc.so.6
#1  0x00007fd374313750 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd3742d2e49 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd3742d32a8 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fd3742d342c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fd37a3b0fbb in QEventDispatcherGlib::processEvents (this=0x1d04420, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fd37a35ca4b in QEventLoop::exec (this=this@entry=0x7fd363c57c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007fd37a19a14a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#8  0x00007fd37d9de3c8 in ?? () from /usr/lib64/libQt5Qml.so.5
#9  0x00007fd37a19ee0f in QThreadPrivate::start (arg=0x1d24fa0) at thread/qthread_unix.cpp:376
#10 0x00007fd379064724 in start_thread () from /lib64/libpthread.so.0
#11 0x00007fd379aa4e8d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fd365512700 (LWP 2830)):
#0  0x00007fd374314899 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fd3742d2969 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd3742d3230 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd3742d342c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fd37a3b0fbb in QEventDispatcherGlib::processEvents (this=0x1c5dd10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fd37a35ca4b in QEventLoop::exec (this=this@entry=0x7fd365511c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fd37a19a14a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#7  0x00007fd37d9de3c8 in ?? () from /usr/lib64/libQt5Qml.so.5
#8  0x00007fd37a19ee0f in QThreadPrivate::start (arg=0x1b7e7c0) at thread/qthread_unix.cpp:376
#9  0x00007fd379064724 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fd379aa4e8d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fd366f58700 (LWP 2735)):
#0  0x00007fd379a9833d in read () from /lib64/libc.so.6
#1  0x00007fd374313750 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd3742d2e49 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd3742d32a8 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fd3742d342c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fd37a3b0fbb in QEventDispatcherGlib::processEvents (this=0x1ab9080, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fd37a35ca4b in QEventLoop::exec (this=this@entry=0x7fd366f57c50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007fd37a19a14a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#8  0x00007fd37bbce7b5 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007fd37a19ee0f in QThreadPrivate::start (arg=0x7fd37be38d40) at thread/qthread_unix.cpp:376
#10 0x00007fd379064724 in start_thread () from /lib64/libpthread.so.0
#11 0x00007fd379aa4e8d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fd38064e940 (LWP 2721)):
[KCrash Handler]
#6  std::__atomic_base<int>::operator++ (this=0x4545454545454545) at /usr/include/c++/4.8/bits/atomic_base.h:404
#7  QAtomicOps<int>::ref<int> (_q_value=...) at ../../src/corelib/arch/qatomic_cxx11.h:265
#8  QBasicAtomicInteger<int>::ref (this=0x4545454545454545) at ../../src/corelib/thread/qbasicatomic.h:113
#9  QJsonObject::QJsonObject (this=0x7ffc9ddc6b10, other=...) at json/qjsonobject.cpp:176
#10 0x00007fd37c0dcab1 in KPluginMetaData::KPluginMetaData (this=0x7ffc9ddc6b10, other=...) at /usr/src/debug/kcoreaddons-5.44.0/src/lib/plugin/kpluginmetadata.cpp:45
#11 0x00007fd37e5cce11 in Plasma::Applet::pluginMetaData (this=<optimized out>) at /usr/src/debug/plasma-framework-5.44.0/src/plasma/applet.cpp:405
#12 0x00007fd380054f9f in PlasmaQuick::AppletQuickItemPrivate::preloadWeight (this=0x2148300) at /usr/src/debug/plasma-framework-5.44.0/src/plasmaquick/appletquickitem.cpp:94
#13 0x00007fd3800553ad in PlasmaQuick::AppletQuickItem::~AppletQuickItem (this=0x20bbeb0, __in_chrg=<optimized out>) at /usr/src/debug/plasma-framework-5.44.0/src/plasmaquick/appletquickitem.cpp:509
#14 0x00007fd363c7dcb7 in ContainmentInterface::~ContainmentInterface (this=0x20bbeb0, __in_chrg=<optimized out>) at /usr/src/debug/plasma-framework-5.44.0/src/scriptengines/qml/plasmoid/containmentinterface.h:51
#15 ContainmentInterface::~ContainmentInterface (this=0x20bbeb0, __in_chrg=<optimized out>) at /usr/src/debug/plasma-framework-5.44.0/src/scriptengines/qml/plasmoid/containmentinterface.h:51
#16 0x00007fd37a3868d5 in QObjectPrivate::deleteChildren (this=this@entry=0x21577a0) at kernel/qobject.cpp:1992
#17 0x00007fd37a390b6e in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1022
#18 0x00007fd37e5d0839 in Plasma::Containment::~Containment (this=0x2146180, __in_chrg=<optimized out>) at /usr/src/debug/plasma-framework-5.44.0/src/plasma/containment.cpp:95
#19 0x00007fd37a389f80 in QObject::event (this=0x2146180, e=<optimized out>) at kernel/qobject.cpp:1237
#20 0x00007fd37b4d37fc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x2146180, e=0x253c440) at kernel/qapplication.cpp:3733
#21 0x00007fd37b4da5e0 in QApplication::notify (this=0x7ffc9ddc73e0, receiver=0x2146180, e=0x253c440) at kernel/qapplication.cpp:3492
#22 0x00007fd37a35e325 in QCoreApplication::notifyInternal2 (receiver=0x2146180, event=event@entry=0x253c440) at kernel/qcoreapplication.cpp:1044
#23 0x00007fd37a360d43 in QCoreApplication::sendEvent (event=0x253c440, receiver=<optimized out>) at kernel/qcoreapplication.h:234
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1a2f420) at kernel/qcoreapplication.cpp:1719
#25 0x00007fd37a361288 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1573
#26 0x00007fd37a3b1773 in postEventSourceDispatch (s=0x1a956c0) at kernel/qeventdispatcher_glib.cpp:276
#27 0x00007fd3742d3134 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#28 0x00007fd3742d3388 in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fd3742d342c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#30 0x00007fd37a3b0f9c in QEventDispatcherGlib::processEvents (this=this@entry=0x1a404e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007fd36af32471 in QPAEventDispatcherGlib::processEvents (this=0x1a404e0, flags=...) at qeventdispatcher_glib.cpp:69
#32 0x00007fd37a35ca4b in QEventLoop::exec (this=this@entry=0x7ffc9ddc7290, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#33 0x00007fd37a365104 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1332
#34 0x00007fd37a8cbe5c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1687
#35 0x00007fd37b4d3755 in QApplication::exec () at kernel/qapplication.cpp:2918
#36 0x000000000041ee88 in main (argc=1, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.12.4/shell/main.cpp:172

Reported using DrKonqi
Comment 1 Kai Uwe Broulik 2018-04-05 06:54:08 UTC

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