Bug 406801 - plasmashell: Message recipient disconnected from message bus without replying - dumped core
Summary: plasmashell: Message recipient disconnected from message bus without replying...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.12.8
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-23 07:21 UTC by Don Curtis
Modified: 2019-04-24 10:54 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Don Curtis 2019-04-23 07:21:36 UTC
SUMMARY
Apr 23 08:54:45 xxx dbus-daemon[4281]: [session uid=1000 pid=4281] Successfully activated service 'org.kde.ActivityManager'
Apr 23 08:54:45 xxx kactivitymanagerd[4460]: Config timer connecting...
Apr 23 08:54:45 xxx kactivitymanagerd[4460]: Setting the name of  0x559c5921d0d0  to  "org.kde.ActivityManager.Resources.Scoring"
Apr 23 08:54:45 xxx kactivitymanagerd[4460]: Creating directory:  "/home/Users/xxx/.local/share/kactivitymanagerd/resources/"
Apr 23 08:54:45 xxx dbus-daemon[1051]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.35' (uid=1000 pid=4487 comm="/usr/bin/pulseaudio --start --log-target=sy>
Apr 23 08:54:45 xxx systemd[1]: Starting RealtimeKit Scheduling Policy Service...

Apr 23 08:54:45 xxx kactivitymanagerd[4460]: KActivities: Database connection:  "kactivities_db_resources_140473422945600_readwrite" 
                                                    query_only:          QVariant(qlonglong, 0) 
                                                    journal_mode:        QVariant(QString, "wal") 
                                                    wal_autocheckpoint:  QVariant(qlonglong, 100) 
                                                    synchronous:         QVariant(qlonglong, 1)
Apr 23 08:54:45 xxx kactivitymanagerd[4460]: Setting the name of  0x559c5924dba0  to  "org.kde.ActivityManager.RunApplication"
Apr 23 08:54:45 xxx kactivitymanagerd[4460]: Setting the name of  0x559c5925cbf0  to  "org.kde.ActivityManager.ActivityTemplates"
Apr 23 08:54:45 xxx kdeconnectd[4464]: kdeconnect.core: Broadcasting identity packet
Apr 23 08:54:45 xxx kernel: fuse init (API version 7.26)
Apr 23 08:54:45 xxx systemd[1]: Mounting FUSE Control File System...
Apr 23 08:54:45 xxx systemd[1]: Mounted FUSE Control File System.
Apr 23 08:54:45 xxx dbus-daemon[4281]: [session uid=1000 pid=4281] Activating service name='org.freedesktop.portal.IBus' requested by ':1.24' (uid=1000 pid=4483 comm="ibus-daemon --xim -d ")
Apr 23 08:54:45 xxx plasmashell[4425]: Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
Apr 23 08:54:45 xxx plasmashell[4425]: If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
Apr 23 08:54:45 xxx dbus-daemon[4281]: [session uid=1000 pid=4281] Successfully activated service 'org.freedesktop.portal.IBus'

Apr 23 08:55:10 xxx kactivitymanagerd[4449]: Cleaning up...
Apr 23 08:55:12 xxx ksmserver[4405]: QObject::connect: Cannot queue arguments of type 'ObjectDescriptionType'
                                        (Make sure 'ObjectDescriptionType' is registered using qRegisterMetaType().)
Apr 23 08:55:26 xxx org_kde_powerdevil[4475]: KActivities: FATAL ERROR: Failed to contact the activity manager daemon
Apr 23 08:55:26 xxx kdeinit5[4378]: Installing the delayed initialization callback.
Apr 23 08:55:27 xxx plasmashell[4425]: Warning: all files used by qml by the plasmoid should be in ui/. The file in the path "file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/code/LayoutManager.js" was expected >
Apr 23 08:55:27 xxx plasmashell[4425]: Warning: all files used by qml by the plasmoid should be in ui/. The file in the path "file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/code/FolderTools.js" was expected at>
Apr 23 08:55:28 xxx plasmashell[4942]: "Message recipient disconnected from message bus without replying"
Apr 23 08:55:28 xxx drkonqi[4943]: found lsb_release
Apr 23 08:55:28 xxx drkonqi[4943]: Using /proc to determine executable path
Apr 23 08:55:28 xxx drkonqi[4943]: Executable is: "/usr/bin/plasmashell"
Apr 23 08:55:28 xxx drkonqi[4943]: Executable exists: true
Apr 23 08:55:28 xxx drkonqi[4943]: Enabling drkonqi crash catching


STEPS TO REPRODUCE
1. Login.

OBSERVED RESULT
No Plasma.

EXPECTED RESULT
Plasma Desktop.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.12.8
KDE Frameworks Version: 5.45.0
Qt Version: 5.9.4

openSUSE Leap 15.0 4.12.14-lp150.12.58-default

ADDITIONAL INFORMATION
Comment 1 Don Curtis 2019-04-23 07:34:41 UTC
Systemd Journal of the next - successful - login:
Apr 23 09:27:37 xxx kactivitymanagerd[8913]: Setting the name of  0x56467e65cf80  to  "org.kde.ActivityManager.Resources.Scoring"
Apr 23 09:27:37 xxx kactivitymanagerd[8913]: Creating directory:  "/home/Users/dcu/.local/share/kactivitymanagerd/resources/"
Apr 23 09:27:37 xxx kactivitymanagerd[8913]: KActivities: Database connection:  "kactivities_db_resources_140333767851328_readwrite" 
                                                    query_only:          QVariant(qlonglong, 0) 
                                                    journal_mode:        QVariant(QString, "wal") 
                                                    wal_autocheckpoint:  QVariant(qlonglong, 100) 
                                                    synchronous:         QVariant(qlonglong, 1)
Apr 23 09:27:37 xxx kactivitymanagerd[8913]: Setting the name of  0x56467e69b440  to  "org.kde.ActivityManager.RunApplication"
Apr 23 09:27:37 xxx kactivitymanagerd[8913]: Setting the name of  0x56467e6d82b0  to  "org.kde.ActivityManager.ActivityTemplates"
Apr 23 09:27:37 xxx akonadiserver[8986]: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Apr 23 09:27:43 xxx kdeinit5[8773]: Installing the delayed initialization callback.
Apr 23 09:27:43 xxx plasmashell[8819]: Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
Apr 23 09:27:43 xxx plasmashell[8819]: If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
Apr 23 09:27:43 xxx ksmserver[8801]: QObject::connect: Cannot queue arguments of type 'ObjectDescriptionType'
                                        (Make sure 'ObjectDescriptionType' is registered using qRegisterMetaType().)
Apr 23 09:27:49 xxx kwin_x11[8815]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 61555, resource id: 6291497, major code: 18 (ChangeProperty), minor code: 0
Apr 23 09:27:49 xxx plasmashell[8819]: org.kde.plasmaquick: Applet preload policy set to 1
Apr 23 09:27:49 xxx org.kde.ActivityManager[8677]: Service started, version: 7.0.0
Apr 23 09:27:49 xxx kactivitymanagerd[8869]: Cleaning up...
Apr 23 09:27:49 xxx kwin_x11[8815]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 61661, resource id: 48234500, major code: 18 (ChangeProperty), minor code: 0
Apr 23 09:27:50 xxx plasmashell[8819]: Warning: all files used by qml by the plasmoid should be in ui/. The file in the path "file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/code/LayoutManager.js" was expected >
Apr 23 09:27:50 xxx plasmashell[8819]: Warning: all files used by qml by the plasmoid should be in ui/. The file in the path "file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/code/FolderTools.js" was expected at>
Apr 23 09:27:50 xxx plasmashell[8819]: trying to show an empty dialog
Apr 23 09:27:50 xxx plasmashell[8819]: QPainter::begin: Paint device returned engine == 0, type: 2
Apr 23 09:27:50 xxx plasmashell[8819]: QPainter::save: Painter not active
Apr 23 09:27:50 xxx plasmashell[8819]: QPainter::translate: Painter not active
Comment 2 Don Curtis 2019-04-23 07:38:39 UTC
Please note that, a test user - with default KDE Plasma settings - no Akonadi - no Kontact suite or KMail - no keyboard settings which deal with a Cherry CyMotion Express Linux keyboard -
 * Logged in successfully with no errors.
Comment 3 Don Curtis 2019-04-23 07:47:48 UTC
Expansion of the "all files used by qml by the plasmoid should be in ui/." warning:

Apr 23 08:55:27 xxx plasmashell[4425]: Warning: all files used by qml by the plasmoid should be in ui/. The file in the path "file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/code/LayoutManager.js" was expected at QUrl("file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/LayoutManager.js")
Apr 23 08:55:27 xxx plasmashell[4425]: Warning: all files used by qml by the plasmoid should be in ui/. The file in the path "file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/code/FolderTools.js" was expected at QUrl("file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderTools.js")

 > l /usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/code/
insgesamt 76
drwxr-xr-x 2 root root  4096 15. Apr 10:24 ./
drwxr-xr-x 5 root root  4096  4. Apr 15:17 ../
-rw-r--r-- 1 root root  3178  5. Mär 13:26 FolderTools.js
-rw-r--r-- 1 root root  7033 13. Feb 08:45 FolderTools.jsc
-rw-r--r-- 1 root root 10199  5. Mär 13:26 LayoutManager.js
-rw-r--r-- 1 root root 42840 13. Feb 08:45 LayoutManager.jsc
 > l /usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/
insgesamt 1004
drwxr-xr-x 2 root root   4096 15. Apr 10:24 ./
drwxr-xr-x 5 root root   4096  4. Apr 15:17 ../
-rw-r--r-- 1 root root   4238  5. Mär 13:26 ActionButton.qml
-rw-r--r-- 1 root root  24173 13. Feb 08:45 ActionButton.qmlc
-rw-r--r-- 1 root root  25693  5. Mär 13:26 AppletAppearance.qml
-rw-r--r-- 1 root root 131468 13. Feb 08:45 AppletAppearance.qmlc
-rw-r--r-- 1 root root  10866  5. Mär 13:26 AppletHandle.qml
-rw-r--r-- 1 root root  59624 13. Feb 08:45 AppletHandle.qmlc
-rw-r--r-- 1 root root   4078  5. Mär 13:26 BackButtonItem.qml
-rw-r--r-- 1 root root   1805  5. Mär 13:26 BusyOverlay.qml
-rw-r--r-- 1 root root   7373 13. Feb 09:07 BusyOverlay.qmlc
-rw-r--r-- 1 root root   2396  5. Mär 13:26 CompactRepresentation.qml
-rw-r--r-- 1 root root   8744 13. Feb 08:45 CompactRepresentation.qmlc
-rw-r--r-- 1 root root   8735  5. Mär 13:26 ConfigFilter.qml
-rw-r--r-- 1 root root  12346  5. Mär 13:26 ConfigIcons.qml
-rw-r--r-- 1 root root   7469  5. Mär 13:26 ConfigLocation.qml
-rw-r--r-- 1 root root   2538  5. Mär 13:26 ConfigTweaks.qml
-rw-r--r-- 1 root root   2622  5. Mär 13:26 FolderItemActionButton.qml
-rw-r--r-- 1 root root  10366 13. Feb 08:45 FolderItemActionButton.qmlc
-rw-r--r-- 1 root root  18635  5. Mär 13:26 FolderItemDelegate.qml
-rw-r--r-- 1 root root  94493 13. Feb 08:45 FolderItemDelegate.qmlc
-rw-r--r-- 1 root root   3683  5. Mär 13:26 FolderItemPreviewPluginsDialog.qml
-rw-r--r-- 1 root root   4041  5. Mär 13:26 FolderViewDialog.qml
-rw-r--r-- 1 root root  16734 13. Feb 09:07 FolderViewDialog.qmlc
-rw-r--r-- 1 root root   2877  5. Mär 13:26 FolderViewDropArea.qml
-rw-r--r-- 1 root root   7309 13. Feb 08:45 FolderViewDropArea.qmlc
-rw-r--r-- 1 root root  14011  5. Mär 13:26 FolderViewLayer.qml
-rw-r--r-- 1 root root  74653 13. Feb 09:07 FolderViewLayer.qmlc
-rw-r--r-- 1 root root  51742  5. Mär 13:26 FolderView.qml
-rw-r--r-- 1 root root 202216 13. Feb 09:07 FolderView.qmlc
-rw-r--r-- 1 root root  21237  5. Mär 13:26 main.qml
-rw-r--r-- 1 root root 101951 13. Feb 08:45 main.qmlc
-rw-r--r-- 1 root root   3235  5. Mär 13:26 ResizeHandle.qml
-rw-r--r-- 1 root root  12759 13. Feb 08:45 ResizeHandle.qmlc
 >
Comment 4 David Edmundson 2019-04-23 08:04:37 UTC
If plasmashell crashes I need a backtrace.

You should see a sad face icon in the systemtray which will open the crash reported.

Any warnings to the command line are generally completely irrelevant to the crash at hand.
Comment 5 Don Curtis 2019-04-23 08:23:18 UTC
(In reply to David Edmundson from comment #4)
> If plasmashell crashes I need a backtrace.
> 
> You should see a sad face icon in the systemtray which will open the crash
> reported.
> 
> Any warnings to the command line are generally completely irrelevant to the
> crash at hand.

Unfortunately DrKonqui didn't do anything - there wasn't a System Tray - just a blank, black, screen; which was responding to KRunner - I was able to start Konsole sessions and Firefox. A Ksmserver shortcut for Logout, connected to a keyboard key, also worked OK.

Apr 23 08:55:28 xxx plasmashell[4942]: "Message recipient disconnected from message bus without replying"
Apr 23 08:55:28 xxx drkonqi[4943]: found lsb_release
Apr 23 08:55:28 xxx drkonqi[4943]: Using /proc to determine executable path
Apr 23 08:55:28 xxx drkonqi[4943]: Executable is: "/usr/bin/plasmashell"
Apr 23 08:55:28 xxx drkonqi[4943]: Executable exists: true
Apr 23 08:55:28 xxx drkonqi[4943]: Enabling drkonqi crash catching
Apr 23 08:55:30 xxx kdeinit5[4378]: Delayed initialization.
Apr 23 08:55:30 xxx kdeinit5[4378]: Reloading the khotkeys configuration
Apr 23 08:55:30 xxx kdeinit5[4378]: Version 2 File!
Apr 23 08:55:30 xxx kdeinit5[4378]: true
Apr 23 08:55:30 xxx kdeinit5[4378]: Imported file "/usr/share/khotkeys/defaults.khotkeys"
Apr 23 08:55:30 xxx drkonqi[4943]: Sending SIGSTOP to process
Apr 23 08:55:30 xxx kdeinit5[4378]: Imported file "/usr/share/khotkeys/kde32b1.khotkeys"
.
.
.
Apr 23 08:55:30 xxx kdeinit5[4378]: Registering ":1.80/StatusNotifierItem" to system tray
Apr 23 08:55:31 xxx kwin_x11[4420]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 61652, resource id: 44040210, major code: 18 (ChangeProperty), minor code: 0
Apr 23 08:55:31 xxx kwin_x11[4420]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 61656, resource id: 44040212, major code: 18 (ChangeProperty), minor code: 0
Apr 23 08:55:31 xxx kwin_x11[4420]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 61657, resource id: 44040210, major code: 12 (ConfigureWindow), minor code: 0
Apr 23 08:55:31 xxx kwin_x11[4420]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 61661, resource id: 44040214, major code: 18 (ChangeProperty), minor code: 0
Apr 23 08:55:31 xxx kwin_x11[4420]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 61665, resource id: 6291459, major code: 18 (ChangeProperty), minor code: 0
Apr 23 08:56:22 xxx krunner[4423]: file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:49:17: QML QQuickItem: Binding loop detected for property "implicitHeight"
Apr 23 08:56:22 xxx krunner[4423]: file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:49:17: QML QQuickItem: Binding loop detected for property "implicitHeight"
Apr 23 08:56:22 xxx krunner[4423]: file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:49:17: QML QQuickItem: Binding loop detected for property "implicitHeight"
Apr 23 08:56:22 xxx krunner[4423]: file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:49:17: QML QQuickItem: Binding loop detected for property "implicitHeight"
Apr 23 08:56:22 xxx krunner[4423]: file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:49:17: QML QQuickItem: Binding loop detected for property "implicitHeight"
Apr 23 08:56:22 xxx krunner[4423]: file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:49:17: QML QQuickItem: Binding loop detected for property "implicitHeight"
Apr 23 08:56:22 xxx krunner[4423]: file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:49:17: QML QQuickItem: Binding loop detected for property "implicitHeight"
Apr 23 08:56:22 xxx krunner[4423]: file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:49:17: QML QQuickItem: Binding loop detected for property "implicitHeight"
Apr 23 08:56:28 xxx drkonqi[4943]: Sending SIGCONT to process
Apr 23 08:56:28 xxx kdeinit5[4378]: Service  ":1.80" unregistered
Apr 23 08:56:28 xxx kwin_x11[4420]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 63474, resource id: 46137349, major code: 18 (ChangeProperty), minor code: 0
Apr 23 08:56:29 xxx systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Apr 23 08:56:29 xxx systemd[1]: Started Process Core Dump (PID 5027/UID 0).
Apr 23 08:56:29 xxx systemd-coredump[5028]: Resource limits disable core dumping for process 4425 (plasmashell).
Apr 23 08:56:29 xxx systemd-coredump[5028]: Process 4425 (plasmashell) of user 1000 dumped core.

-------------------------------------------------------------

I'll take a look at the "Resource limits disable core dumping" issue.
Comment 6 Don Curtis 2019-04-23 08:44:24 UTC
May have found the "no core dump" problem:
openSUSE systemd Coredump is compiled with "Storage=external" - meaning cores will be stored in /var/lib/systemd/coredump/.

Unfortunately /var/lib/systemd/coredump/ is not world writeable - therefore:
# coredumpctl list
TIME                            PID   UID   GID SIG COREFILE  EXE
Tue 2019-04-23 08:56:29 CEST   4425  1000   100  11 none      /usr/bin/plasmashell                                      
Tue 2019-04-23 09:00:14 CEST   4654  1000   100  11 none      /usr/bin/akonadi_archivemail_agent

---------------------------------------------
I'll change the permissions here and raise an openSUSE Bug to allow systemd User Core Dumps.
Comment 7 Don Curtis 2019-04-23 13:52:37 UTC
(In reply to Don Curtis from comment #6)
> I'll change the permissions here and raise an openSUSE Bug to allow systemd
> User Core Dumps.

It was PAM -- needed to edit /etc/security/limits.conf to allow the user (and 'root') to write core dumps . . .
Comment 8 Don Curtis 2019-04-23 15:05:30 UTC
Yet another black screen - no Plasma Desktop - .local/share/sddm/xorg-session.log contained the following:

KCrash: Attempting to start /usr/bin/plasmashell from kdeinit
KCrash: Application 'plasmashell' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit

A systemd crash was not reported. It seems that on rebooting, PAM changes the protections on /var/lib/systemd/coredump/ back to the default settings. /etc/security/limits.conf contains the needed unlimited core file size.
Comment 9 Don Curtis 2019-04-24 10:54:54 UTC
With the application of the openSUSE-2019-1259 Patch (CVE-2018-19865) "Security update for libqt5-qtvirtualkeyboard" yesterday, this issue has disappeared.

It appeared after the openSUSE-2019-1239 Patch (CVE-2018-19872 and CVE-2018-19870) "Security update for libqt5-qtbase" was applied last Saturday.

This report can in my view now be closed.