Bug 450584

Summary: Plasma desktop crashes on startup
Product: [Plasma] plasmashell Reporter: Valter Mura <valtermura>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: kde
Priority: NOR Keywords: drkonqi
Version: 5.24.1   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: screenshot of the desktop

Description Valter Mura 2022-02-19 19:19:46 UTC
Application: plasmashell (5.24.1)

Qt Version: 5.15.3
Frameworks Version: 5.92.0
Operating System: Linux 5.13.0-30-generic x86_64
Windowing System: X11
Distribution: KDE neon Testing Edition
DrKonqi: 5.24.1 [CoredumpBackend]

-- Information about the crash:
Let's try again.

The system started to crash after the latest update (Neon Packages)

- What I was doing when the application crashed:
Starting up the system.
Up to 17 crash windows appeared one after the other.

- Custom settings of the application:
No special settings, only some widgets on the desktop: weather / mmory usage / CPU usage / disk usage / sticky notes / net speed

No wallpaper appeared, no system tray and all its stuff

All apps works invoked by krunner (e.g. Discover, Konsole, Firefox, Dolphin, Kmail, Lokalize, etc.)

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[New LWP 2983]
[New LWP 2994]
[New LWP 2989]
[New LWP 2987]
[New LWP 2993]
[New LWP 2990]
[New LWP 2988]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/plasmashell'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI_raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0x7f2a5ad2c9c0 (LWP 2983))]
__preamble__
[Current thread is 1 (Thread 0x7f2a5ad2c9c0 (LWP 2983))]

Thread 7 (Thread 0x7f2a59291700 (LWP 2988)):
#0  0x00007f2a5ebe3aff in __GI___poll (fds=0x7f2a4c0163b0, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2a5d47636e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2a5d4764a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2a5f1b19f2 in QEventDispatcherGlib::processEvents (this=0x7f2a4c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f2a5f155c9b in QEventLoop::exec (this=this@entry=0x7f2a59290bb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f2a5ef6f362 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f2a5fae6f4b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f2a5ef70543 in QThreadPrivate::start (arg=0x7f2a5fb6ad80) at thread/qthread_unix.cpp:331
#8  0x00007f2a5e905609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f2a5ebf0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f2a51263700 (LWP 2990)):
#0  0x00007f2a5ebe3aff in __GI___poll (fds=0x7f2a38004a60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2a5d47636e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2a5d4764a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2a5f1b19f2 in QEventDispatcherGlib::processEvents (this=0x7f2a38000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f2a5f155c9b in QEventLoop::exec (this=this@entry=0x7f2a51262bc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f2a5ef6f362 in QThread::exec (this=this@entry=0x559a5dd1c7e0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f2a6078b569 in QQmlThreadPrivate::run (this=0x559a5dd1c7e0) at qml/ftw/qqmlthread.cpp:155
#7  0x00007f2a5ef70543 in QThreadPrivate::start (arg=0x559a5dd1c7e0) at thread/qthread_unix.cpp:331
#8  0x00007f2a5e905609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f2a5ebf0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f2a3f5ef700 (LWP 2993)):
#0  0x00007f2a5ebe3aff in __GI___poll (fds=0x7f2a34004e80, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2a5d47636e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2a5d4764a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2a5f1b19f2 in QEventDispatcherGlib::processEvents (this=0x7f2a34000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f2a5f155c9b in QEventLoop::exec (this=this@entry=0x7f2a3f5eebc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f2a5ef6f362 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f2a44877669 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so
#7  0x00007f2a5ef70543 in QThreadPrivate::start (arg=0x559a5e2314f0) at thread/qthread_unix.cpp:331
#8  0x00007f2a5e905609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f2a5ebf0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f2a59f49700 (LWP 2987)):
#0  0x00007f2a5ebe3aff in __GI___poll (fds=0x7f2a59f48ae8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2a61307c1a in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f2a6130990a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f2a5a66efd8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f2a5ef70543 in QThreadPrivate::start (arg=0x559a5d94be90) at thread/qthread_unix.cpp:331
#5  0x00007f2a5e905609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f2a5ebf0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f2a52474700 (LWP 2989)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559a5da10ac8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x559a5da10a78, cond=0x559a5da10aa0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x559a5da10aa0, mutex=0x559a5da10a78) at pthread_cond_wait.c:638
#3  0x00007f2a5263a5eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#4  0x00007f2a5263a1eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#5  0x00007f2a5e905609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f2a5ebf0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f2a3edee700 (LWP 2994)):
#0  0x00007f2a5ebe3aff in __GI___poll (fds=0x7f2a2c004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2a5d47636e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2a5d4764a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2a5f1b19f2 in QEventDispatcherGlib::processEvents (this=0x7f2a2c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f2a5f155c9b in QEventLoop::exec (this=this@entry=0x7f2a3ededbe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f2a5ef6f362 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f2a5ef70543 in QThreadPrivate::start (arg=0x559a5e2490b0) at thread/qthread_unix.cpp:331
#7  0x00007f2a5e905609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f2a5ebf0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f2a5ad2c9c0 (LWP 2983)):
[KCrash Handler]
#3  0x0000000000000021 in ?? ()
#4  0x00007f2a61195279 in KDeclarative::KDeclarative::~KDeclarative (this=0x559a5ddd0310, __in_chrg=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:413
#5  0x00007f2a611981d2 in KDeclarative::QmlObjectPrivate::~QmlObjectPrivate (this=0x559a5ddd02d0, __in_chrg=<optimized out>) at ./src/kdeclarative/qmlobject.cpp:60
#6  KDeclarative::QmlObject::~QmlObject (this=0x559a5ddd9520, __in_chrg=<optimized out>) at ./src/kdeclarative/qmlobject.cpp:190
#7  0x00007f2a61198d3d in KDeclarative::QmlObjectSharedEngine::~QmlObjectSharedEngine (this=0x559a5ddd9520, __in_chrg=<optimized out>) at ./src/kdeclarative/qmlobjectsharedengine.cpp:61
#8  0x00007f2a5f184ad3 in QObject::event (this=0x559a5ddd9520, e=0x559a5dddd710) at kernel/qobject.cpp:1301
#9  0x00007f2a5fe6cdc3 in QApplicationPrivate::notify_helper (this=this@entry=0x559a5d949670, receiver=receiver@entry=0x559a5ddd9520, e=e@entry=0x559a5dddd710) at kernel/qapplication.cpp:3632
#10 0x00007f2a5fe75bb8 in QApplication::notify (this=0x7ffd31868aa0, receiver=0x559a5ddd9520, e=0x559a5dddd710) at kernel/qapplication.cpp:3156
#11 0x00007f2a5f15719a in QCoreApplication::notifyInternal2 (receiver=0x559a5ddd9520, event=0x559a5dddd710) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#12 0x00007f2a5f159aa1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x559a5d922ef0) at kernel/qcoreapplication.cpp:1821
#13 0x00007f2a5f1b2397 in postEventSourceDispatch (s=0x559a5da060d0) at kernel/qeventdispatcher_glib.cpp:277
#14 0x00007f2a5d47617d in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f2a5d476400 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f2a5d4764a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f2a5f1b19f2 in QEventDispatcherGlib::processEvents (this=0x559a5da0e970, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#18 0x00007f2a5f155c9b in QEventLoop::exec (this=this@entry=0x7ffd31868980, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#19 0x00007f2a5f15de44 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#20 0x0000559a5c89fd95 in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:238

Possible duplicates by query: bug 450576, bug 450569, bug 450561, bug 450555, bug 450549.

Reported using DrKonqi
Comment 1 Valter Mura 2022-02-19 19:23:30 UTC
Created attachment 146942 [details]
screenshot of the desktop
Comment 2 Valter Mura 2022-02-20 08:35:31 UTC
And after the latest updates of this morning, the crashes are still here.
After startup, 17 consequent crashes of "plasmashell" and then stop.
Plasma desktop not working.
Comment 3 Valter Mura 2022-02-20 09:00:31 UTC
Sorry, but the system (Discover) didn't update.
After a pkcon refresh && update everything turned stable and work again.