Bug 420410

Summary: Plasma crashes after second log in, sessions lost after switching user.
Product: [Plasma] plasmashell Reporter: Denys <mineden2300mo>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdeuser, notmart, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.18.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Denys 2020-04-22 09:00:27 UTC
Application: plasmashell (5.18.4)

Qt Version: 5.14.2
Frameworks Version: 5.69.0
Operating System: Linux 5.4.6-arch3-1 x86_64
Windowing system: X11
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:

Plasma crashes after second log in, sessions lost after switching user.
When I click on switch user I go to SDDM screen. When I log in another user and then in mine, my session lost. When I log in my user Plasma crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Плазма (plasmashell), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f081b251840 (LWP 6429))]

Thread 7 (Thread 0x7f07f1ff8700 (LWP 6977)):
#0  0x00007f081ed1ecf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f081f8deac4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f081f8deba2 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f08216405cb in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f082164085b in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007f081f8d8dd6 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f081ed1846f in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f081f55f3d3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f07fd9a0700 (LWP 6682)):
#0  0x00007f081ed1ecf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f081f8deac4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f081f8deba2 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f08216405cb in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f082164085b in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007f081f8d8dd6 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f081ed1846f in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f081f55f3d3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f0806109700 (LWP 6568)):
#0  0x00007f081dd9a4e4 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f081dde9bda in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#2  0x00007f081ddeb448 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f081ddeb571 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f081fb0c8ac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f081fab305c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f081f8d7c62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f082157aefb in  () at /usr/lib/libQt5Quick.so.5
#8  0x00007f081f8d8dd6 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f081ed1846f in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f081f55f3d3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f0806931700 (LWP 6562)):
#0  0x00007f081ed1ecf5 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f081f8deac4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f081f8deba2 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f08216405cb in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f082164085b in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007f081f8d8dd6 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f081ed1846f in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f081f55f3d3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f0813fff700 (LWP 6506)):
#0  0x00007f081f554abf in poll () at /usr/lib/libc.so.6
#1  0x00007f081ddeb4a0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f081ddeb571 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f081fb0c8ac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f081fab305c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f081f8d7c62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f08212db389 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f081f8d8dd6 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f081ed1846f in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f081f55f3d3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f0819541700 (LWP 6473)):
#0  0x00007f081f5504fc in read () at /usr/lib/libc.so.6
#1  0x00007f081dd9a8c0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f081dde9d01 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f081ddeb448 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f081ddeb571 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f081fb0c8ac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f081fab305c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f081f8d7c62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f0820bb2b28 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007f081f8d8dd6 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f081ed1846f in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f081f55f3d3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f081b251840 (LWP 6429)):
[KCrash Handler]
#5  0x00007f081ab29bc2 in QXcbConnection::getSelectionOwner(unsigned int) const () at /usr/lib/libQt5XcbQpa.so.5
#6  0x00007f081ab27a35 in  () at /usr/lib/libQt5XcbQpa.so.5
#7  0x00007f081fe9ab6a in QInternalMimeData::formats() const () at /usr/lib/libQt5Gui.so.5
#8  0x00007f07ff3da99d in  () at /usr/lib/qt/plugins/plasma/dataengine/plasma_engine_clipboard.so
#9  0x00007f081fae9cde in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f08202d417f in QClipboard::changed(QClipboard::Mode) () at /usr/lib/libQt5Gui.so.5
#11 0x00007f081ab265fc in  () at /usr/lib/libQt5XcbQpa.so.5
#12 0x00007f081ab2bbf6 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/libQt5XcbQpa.so.5
#13 0x00007f081ab2c829 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5XcbQpa.so.5
#14 0x00007f081ab55e24 in  () at /usr/lib/libQt5XcbQpa.so.5
#15 0x00007f081dde96be in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#16 0x00007f081ddeb531 in  () at /usr/lib/libglib-2.0.so.0
#17 0x00007f081ddeb571 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#18 0x00007f081fb0c890 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#19 0x00007f081fab305c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#20 0x00007f081fabb066 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#21 0x0000561891e46018 in  ()
#22 0x00007f081f487023 in __libc_start_main () at /usr/lib/libc.so.6
#23 0x0000561891e4623e in _start ()
[Inferior 1 (process 6429) detached]

Possible duplicates by query: bug 416066, bug 414074, bug 408510, bug 400701, bug 399593.

Reported using DrKonqi
Comment 1 Marco Martin 2020-05-21 11:09:20 UTC

*** This bug has been marked as a duplicate of bug 421845 ***
Comment 2 Marco Martin 2020-05-21 11:10:30 UTC
*** Bug 420963 has been marked as a duplicate of this bug. ***
Comment 3 Marco Martin 2020-05-21 11:14:24 UTC

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