Bug 415239 - KDE plasma shell crashes on login
Summary: KDE plasma shell crashes on login
Status: RESOLVED DUPLICATE of bug 326289
Alias: None
Product: print-manager
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Nicoletti
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-12-16 09:25 UTC by StealeX
Modified: 2020-01-09 09:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (9.60 KB, text/plain)
2020-01-08 16:37 UTC, RalphB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description StealeX 2019-12-16 09:25:27 UTC
Application: plasmashell (5.17.4)

Qt Version: 5.13.1
Frameworks Version: 5.64.0
Operating System: Linux 5.3.12-1-default x86_64
Distribution: "openSUSE Tumbleweed"

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

Updating via sudo zypper dup. Rebooting. KDE Plasma crashes upon login

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 0x7f70a2108280 (LWP 2256))]

Thread 7 (Thread 0x7f7086411700 (LWP 2955)):
#0  0x00007f70a68e660c in read () at /lib64/libc.so.6
#1  0x00007f70a2c7516f in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f70a2c2ddd7 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f70a2c2e222 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f70a2c2e39f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f70a44d898b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f70a44810cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f70a42b9021 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f7086c33698 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#9  0x00007f70a42ba1a2 in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007f70a3962f2a in start_thread () at /lib64/libpthread.so.0
#11 0x00007f70a68f54af in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f708c858700 (LWP 2921)):
#0  0x00007f70a2c2c487 in  () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f70a2c2d743 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f70a2c2e1ab in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f70a2c2e39f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f70a44d898b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f70a44810cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f70a42b9021 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f70a5f390c6 in  () at /usr/lib64/libQt5Quick.so.5
#8  0x00007f70a42ba1a2 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f70a3962f2a in start_thread () at /lib64/libpthread.so.0
#10 0x00007f70a68f54af in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f709c970700 (LWP 2919)):
#0  0x00007f70a39696a5 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f708f85f0db in  () at /usr/lib64/dri/i965_dri.so
#2  0x00007f708f85efd7 in  () at /usr/lib64/dri/i965_dri.so
#3  0x00007f70a3962f2a in start_thread () at /lib64/libpthread.so.0
#4  0x00007f70a68f54af in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f709e1bc700 (LWP 2918)):
#0  0x00007f70a68eabdf in poll () at /lib64/libc.so.6
#1  0x00007f70a2c2e27e in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f70a2c2e39f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f70a44d898b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f70a44810cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f70a42b9021 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f70a5c4a3b5 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f70a42ba1a2 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f70a3962f2a in start_thread () at /lib64/libpthread.so.0
#9  0x00007f70a68f54af in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f709f468700 (LWP 2267)):
#0  0x00007f70a68eabdf in poll () at /lib64/libc.so.6
#1  0x00007f70a2c2e27e in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f70a2c2e39f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f70a44d898b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f70a44810cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f70a42b9021 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f70a4db04f6 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f70a42ba1a2 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f70a3962f2a in start_thread () at /lib64/libpthread.so.0
#9  0x00007f70a68f54af in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f70a0049700 (LWP 2264)):
#0  0x00007f70a68eabdf in poll () at /lib64/libc.so.6
#1  0x00007f70a63d2742 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f70a63d33fa in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f70a023ff90 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f70a42ba1a2 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f70a3962f2a in start_thread () at /lib64/libpthread.so.0
#6  0x00007f70a68f54af in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f70a2108280 (LWP 2256)):
[KCrash Handler]
#6  0x00007f7086c52556 in JobModel::updateJob(int, KCupsJob const&) () at /usr/lib64/libkcupslib.so
#7  0x00007f7086c545f8 in JobModel::insertJob(int, KCupsJob const&) () at /usr/lib64/libkcupslib.so
#8  0x00007f7086c54ab9 in JobModel::getJobFinished(KCupsRequest*) () at /usr/lib64/libkcupslib.so
#9  0x00007f70a44adeea in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#10 0x00007f70a503fc62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#11 0x00007f70a50491e0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#12 0x00007f70a4482562 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#13 0x00007f70a44851f8 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#14 0x00007f70a44d9333 in  () at /usr/lib64/libQt5Core.so.5
#15 0x00007f70a2c2df88 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#16 0x00007f70a2c2e310 in  () at /usr/lib64/libglib-2.0.so.0
#17 0x00007f70a2c2e39f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#18 0x00007f70a44d8971 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#19 0x00007f70a44810cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#20 0x00007f70a4488d32 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#21 0x000055697eb8069b in  ()
#22 0x00007f70a681ce0b in __libc_start_main () at /lib64/libc.so.6
#23 0x000055697eb812da in _start ()
[Inferior 1 (process 2256) detached]

The reporter indicates this bug may be a duplicate of or related to bug 412269, bug 400252.

Possible duplicates by query: bug 414883, bug 414882, bug 414652, bug 414083, bug 413909.

Reported using DrKonqi
Comment 1 RalphB 2020-01-08 16:37:54 UTC
Created attachment 124976 [details]
New crash information added by DrKonqi

plasmashell (5.16.5) using Qt 5.12.4

- What I was doing when the application crashed:
I was logged in.

According to dmesg:
[   33.744419] plasmashell[2018]: segfault at 0 ip 00007fcd6ccbb73a sp 00007ffccf446380 error 4 in libkcupslib.so[7fcd6cc91000+32000]

-- Backtrace (Reduced):
#6  0x00007feb20ee973a in JobModel::updateJob(int, KCupsJob const&) () at /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007feb20eeb7e8 in JobModel::insertJob(int, KCupsJob const&) () at /usr/lib/x86_64-linux-gnu/libkcupslib.so
#8  0x00007feb20eebca9 in JobModel::getJobFinished(KCupsRequest*) () at /usr/lib/x86_64-linux-gnu/libkcupslib.so
#9  0x00007feb40127eba in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007feb40c97a86 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
Comment 2 RalphB 2020-01-08 16:49:38 UTC
When I try to start plasmashell in an xterm (not sure if this is valid), I get this output:

org.kde.plasmaquick: Applet preload policy set to 1
Fontconfig error: "/etc/fonts/local.conf", line 19: invalid attribute 'name'
trying to show an empty dialog
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
trying to show an empty dialog
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/PulseAudio.qml:22:1: module "org.kde.plasma.private.volume" is not installed
trying to show an empty dialog
ERROR from solid predicate parser: syntax error
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/PulseAudio.qml:23:1: module "org.kde.plasma.private.volume" is not installed
libkcups: CUPS-Get-Printers last error: 0 successful-ok
libkcups: Create-Printer-Subscriptions last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
Plasma Shell startup completed
libkcups: 5 "Kyocera"
libkcups: 3
KCrash: Attempting to start /usr/bin/plasmashell from kdeinit
sock_file=/run/user/1000/kdeinit5__0
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = plasmashell path = /usr/bin pid = 13399
KCrash: Arguments: /usr/bin/plasmashell 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 17 and type 'Read', disabling...
Unable to start Dr. Konqi
Re-raising signal for core dump handling.

This behavior started suddenly, over night, after upgrading to linux-libc-dev_5.3.0-26 and linux-image-generic_5.3.0.26 etc.
Comment 3 RalphB 2020-01-08 16:58:32 UTC
OK, as suggested by the plasmashell output, the crash disappears when I deinstall printer-manager.
Comment 4 Christoph Feck 2020-01-09 09:54:42 UTC

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