This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Wayland: Application windows not showing up, session crash

Tags: None
(comma "," separated)
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS
For the past years I've been wishing to switch from X11 to Wayland and enjoy its performance improvements and other capabilities. Unfortunately even in the latest openSUSE Tumbleweed snapshot, a KDE / Plasma session will cause not just graphical glitches but also session crashes back to the login screen. I wanted to discuss the main one I've ran into during today's tests, before deciding if I should report this as a bug too.

Apart from the changing cursor size and harmless graphical glitches I could live with temporarily, Wayland seems to introduce a strange bug on amdgpu: Sometimes when you open an application, like from say the Kickoff launcher, the window of that application will never appear. The application process itself does start as I can see it in KSysGuard without any sleep status applied, where sending it a kill signal will quickly shut it down proving it's responsive. There is however no window or taskbar entry, although it feels like the desktop is trying to select something that doesn't exist. At this stage, if I use the scroll wheel to go to the other desktop and then back, everything will freeze for a few seconds followed by a black screen and waking up back in the login manager.

Someone suggested I try booting with amdgpu.dc=0. I did so but due to there still being crashes and bizarre visual glitches, it was hard to tell if that made this particular issue go away. I still crashed back to SDDM once but I think it may have been a different trigger. Anyone else getting this particular problem and knows when we can expect a solution?
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Did you file a bug? Please do and provide a link to it.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS
Mamarok wrote:Did you file a bug? Please do and provide a link to it.


Haven't gathered enough data yet, wanted to wait for responses here first. If there's no solution till tomorrow I will.
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS
Went ahead and reported the issue where relevant, it contains more detail on what's happening. Unfortunately the Freedesktop team adopted a "not our problem, ask the Plasma devs to deal with it" approach and instantly closed my ticket... really hoping the KDE team won't circle the issue back to Wayland, which would mean no one's going to fix it and though luck to us users; x11 is starting to have its noticeable limitations, switching to Wayland may become a requirement... but it's an impossible nightmare to deal with those invisible windows until we find what setting or driver is causing this bug on setups similar to mine. Will wait for more info.

https://bugzilla.opensuse.org/show_bug.cgi?id=1169304
https://bugs.kde.org/show_bug.cgi?id=420039
https://gitlab.freedesktop.org/wayland/ ... issues/155
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS
Following a suggestion on the openSUSE bug tracker: I switched to the default Breeze KWin theme followed by logging out and back in. No change, issue still occurred.

Attempting to start a test session with "LIBGL_ALWAYS_SOFTWARE=1 dbus-launch-session startplasmacompositor" wasn't possible as dbus-launch-session was reported as an unrecognized command when I looked at it. However I could solve this by adding "export LIBGL_ALWAYS_SOFTWARE=1" to ~/.profile then starting a new session normally: I can tell it worked since all desktop effects were disabled and the mouse cursor was extremely laggy (everything felt like it ran at 5 FPS). To my surprise even this didn't affect the issue, both the missing windows and session crash could still be reproduced after a number of attempts.
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS
Thanks again Fabian Vogt from the openSUSE tracker for the new suggestions. Sharing the tests and results here too once more.

Regarding whether this affects just Wayland or X11 clients: I don't know how to check which is which. However the issue does affect both Qt and GTK applications, KDE components or otherwise; So far I've seen it happen to KWrite, Konsole, KSysGuard, Firefox, Thunderbird, Audacious, etc. Since the first are default KDE components I'm assuming they're ran as native WL clients?

In a console I set "export WAYLAND_DEBUG=1" followed by repeatedly launching and closing "kwrite". When eventually it opened with a hidden window, nothing was printed to this console. I killed the process and it only said "Terminated".

I took a backup of ~/.config/plasma-org.kde.plasma.desktop-appletsrc to save my widget config, then successfully managed to use "dbus-run-session startplasma-wayland --xwayland --x11-display $DISPLAY --exit-with-session=/usr/lib64/libexec/startplasma-waylandsession" and start another session in a smaller window from within my normal session... I also set "export WAYLAND_DEBUG=1" in the console that spawned this debug session. I could reproduce the crash in this controlled environment too! Here's the output that was produced in the console running the nested session as that session collapsed:

Code: Select all
The Wayland connection broke. Did the Wayland compositor die?
Service  ":1.5" unregistered
The Wayland connection broke. Did the Wayland compositor die?
The Wayland connection broke. Did the Wayland compositor die?
KCrash: Application 'kdeconnectd' crashing...
The Wayland connection broke. Did the Wayland compositor die?
(EE) failed to read Wayland events: Connection reset by peer
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
"/usr/bin/kwin_wayland" ("--xwayland", "--x11-display", ":1", "--exit-with-session=/usr/lib64/libexec/startplasma-waylandsession") exited with code 11
startplasmacompositor: Shutting down...
startplasmacompositor: Done.
org.kde.knotifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
The X11 connection broke (error 1). Did the X11 server die?
mircea@linux-qz0r:~> Gdk-Message: 16:55:37.847: geany: Fatal IO error 11 (Resource temporarily unavailable) on X server :2.

The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
org.kde.pim.akonadiserver: Subscriber "SpecialCollectionsMonitor - 93989194988816" disconnected
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
org.kde.pim.akonadiserver: Subscriber "SpecialCollectionsMonitor - 94808550392064" disconnected
kdeinit5: Fatal IO error: client killed
kdeinit5: sending SIGHUP to children.
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
kdeinit5: sending SIGTERM to children.
kdeinit5: Exit.
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
klauncher: Exiting on signal 15
klauncher: Exiting on signal 1
The X11 connection broke (error 1). Did the X11 server die?
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 94815390863600" disconnected
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 94237770427552" disconnected
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 93922727390192" disconnected
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 94808550262528" disconnected
org.kde.pim.akonadiserver: Subscriber "akonadi_maildispatcher_agent - 94808550320912" disconnected
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 30460528" disconnected
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 94889553774624" disconnected
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 93946156200368" disconnected
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 94604754354512" disconnected
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 94479107463888" disconnected
org.kde.pim.akonadiserver: Subscriber "akonadi_birthdays_resource - 94479108419744" disconnected
WARNING ../src/audacious/main.cc:318 [main_cleanup]: exit() called unexpectedly; skipping normal cleanup.
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 94171675233888" disconnected
org.kde.pim.akonadiserver: Subscriber "KNotes Session - 94573788775056" disconnected
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 94573787822144" disconnected

** (zeitgeist-datahub:11941): WARNING **: 16:55:37.858: zeitgeist-datahub.vala:224: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 93952615237872" disconnected
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 94919006869168" disconnected
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 94580347672576" disconnected
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 94257760094352" disconnected
[13:55:37.860847 WARNING] zeitgeist-daemon.vala:453: The connection is closed
The X11 connection broke (error 1). Did the X11 server die?
A connection to the bus can't be made
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 94320471285232" disconnected
org.kde.pim.akonadiserver: Subscriber "ETMCalendarMonitor - 94725931742432" disconnected
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 93935000592720" disconnected
QSocketNotifier: Invalid socket 6 and type 'Read', disabling...
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
org.kde.pim.akonadiserver: Control process died, committing suicide!
"QLocalSocket: Remote closed" "/run/user/1000/akonadi/akonadiserver-cmd.socket"
"QLocalSocket: Remote closed" "/run/user/1000/akonadi/akonadiserver-cmd.socket"
org.kde.pim.akonadiserver: Subscriber "MailFilter Kernel ETM - 93989195084128" disconnected
org.kde.pim.akonadiserver: Subscriber "MailFilterItemMonitor - 93989195119904" disconnected
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 94119478474928" disconnected
org.kde.pim.akonadiserver: Subscriber "MailFilterCollectionMonitor - 93989195135120" disconnected
org.kde.pim.akonadiserver: Subscriber "ArchiveMailCollectionMonitor - 94119478525392" disconnected
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 93989194985664" disconnected
org.kde.pim.akonadiserver: Subscriber "Archive Mail Kernel ETM - 94119478551440" disconnected
"QLocalSocket: Remote closed" "/run/user/1000/akonadi/akonadiserver-ntf.socket"
"QLocalSocket: Remote closed" "/run/user/1000/akonadi/akonadiserver-ntf.socket"
KCrash: Attempting to start /usr/lib64/libexec/org_kde_powerdevil from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib64/libexec/org_kde_powerdevil directly
QSocketNotifier: Invalid socket 22 and type 'Read', disabling...
QSocketNotifier: Invalid socket 23 and type 'Read', disabling...
KCrash: Application 'org_kde_powerdevil' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib64/libexec/drkonqi directly
Failed to create wl_display (Connection refused)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Failed to create wl_display (Connection refused)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

KCrash: Attempting to start /usr/bin/kded5 from kdeinit
sock_file=/run/user/1000/kdeinit5__2
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/bin/kded5 directly
KCrash: Attempting to start /usr/bin/plasmashell from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/bin/plasmashell directly
QSocketNotifier: Invalid socket 22 and type 'Read', disabling...
QSocketNotifier: Invalid socket 23 and type 'Read', disabling...
KCrash: Application 'kded5' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__2
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib64/libexec/drkonqi directly
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
QSocketNotifier: Invalid socket 48 and type 'Read', disabling...
QSocketNotifier: Invalid socket 49 and type 'Read', disabling...
KCrash: Application 'plasmashell' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib64/libexec/drkonqi directly
Failed to create wl_display (Connection refused)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Failed to create wl_display (Connection refused)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Failed to create wl_display (Connection refused)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Failed to create wl_display (Connection refused)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Unable to start Dr. Konqi
Re-raising signal for core dump handling.
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS
It appears that on rare occasions, some of these windows will end up causing graphical corruption and leaving weird trails behind. I noticed something like this before but didn't make a connection until now. Just caught a lucky break and managed to take a screenshot, posting in case it helps offer a pointer.

https://i.imgur.com/z07tI8P.png
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS
Output of gdb debug session recorded with: dbus-run-session gdb --args startplasma-wayland --xwayland --x11-display $DISPLAY --exit-with-session=/usr/lib64/libexec/startplasma-waylandsession > ./output 2>&1

Code: Select all
/usr/share/gdb/python/gdb/command/prompt.py:48: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.value is not '':
/usr/share/gdb/python/gdb/command/prompt.py:60: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.value is not '':
GNU gdb (GDB; openSUSE Tumbleweed) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from startplasma-wayland...
(No debugging symbols found in startplasma-wayland)
Missing separate debuginfos, use: zypper install plasma5-workspace-debuginfo-5.18.4.1-1.1.x86_64
(gdb) run
Starting program: /usr/bin/startplasma-wayland --xwayland --x11-display :1 --exit-with-session=/usr/lib64/libexec/startplasma-waylandsession
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff4e79700 (LWP 31620)]
[Detaching after fork from child process 31635]
dbus-daemon[31613]: [session uid=1000 pid=31613] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1000 pid=31635 comm="/usr/bin/dbus-update-activation-environment --syst")
dbus-daemon[31613]: [session uid=1000 pid=31613] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-update-activation-environment: warning: error sending to systemd: org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
[Detaching after fork from child process 31638]
unable to lock lockfile /run/user/1000/wayland-0.lock, maybe another compositor is running
OpenGL vendor string:                   X.Org
OpenGL renderer string:                 AMD Radeon (TM) R9 390 Series (HAWAII, DRM 3.36.0, 5.6.2-1-default, LLVM 10.0.0)
OpenGL version string:                  4.6 (Core Profile) Mesa 20.0.4
OpenGL shading language version string: 4.60
Driver:                                 RadeonSI
GPU class:                              Sea Islands
OpenGL version:                         4.6
GLSL version:                           4.60
Mesa version:                           20.0.4
Linux kernel version:                   5.6.2
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
X-Server started on display :2
dbus-daemon[31613]: [session uid=1000 pid=31613] Activating service name='org.freedesktop.systemd1' requested by ':1.2' (uid=1000 pid=31735 comm="/usr/bin/dbus-update-activation-environment --syst")
dbus-daemon[31613]: [session uid=1000 pid=31613] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-update-activation-environment: warning: error sending to systemd: org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
Could not open kded5 using a library: Cannot load library libkdeinit5_kded5: (libkdeinit5_kded5: cannot open shared object file: No such file or directory)
Configuring Lock Action
org.kde.knotifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
org.kde.knotifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
Session path: "/org/freedesktop/login1/session/_38"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 569, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
dbus-daemon[31613]: [session uid=1000 pid=31613] Activating service name='ca.desrt.dconf' requested by ':1.10' (uid=1000 pid=31745 comm="kded5 ")
dbus-daemon[31613]: [session uid=1000 pid=31613] Successfully activated service 'ca.desrt.dconf'
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/org.kde.plasmashell.desktop" ("/usr/bin/plasmashell")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/xembedsniproxy.desktop" ("/usr/bin/xembedsniproxy")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/polkit-kde-authentication-agent-1.desktop" ("/usr/lib64/libexec/polkit-kde-authentication-agent-1")
QImage::scaled: Image is a null image
QImage::scaled: Image is a null image
dbus-daemon[31613]: [session uid=1000 pid=31613] Activating service name='org.kde.ActivityManager' requested by ':1.17' (uid=1000 pid=31821 comm="/usr/bin/plasmashell ")
dbus-daemon[31613]: [session uid=1000 pid=31613] Successfully activated service 'org.kde.ActivityManager'
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/org.kde.kdeconnect.daemon.desktop" ("/usr/lib64/libexec/kdeconnectd")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/gmenudbusmenuproxy.desktop" ("/usr/bin/gmenudbusmenuproxy")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/xdg-user-dirs.desktop" ("/usr/bin/xdg-user-dirs-update")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/pulseaudio.desktop" ("/usr/bin/start-pulseaudio-x11")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/restore_kmix_volumes.desktop" ("/usr/bin/kmixctrl", "--restore")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/hplip-systray.desktop" ("/usr/bin/hp-systray", "-x")
org.kde.plasma.session: Starting autostart service  "/home/mircea/.config/autostart/vnc.desktop" ("/home/mircea/bin/vnc")
Failure: Module initialization failed
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/zeitgeist-datahub.desktop" ("/usr/bin/zeitgeist-datahub")
org.kde.plasma.session: Starting autostart service  "/home/mircea/.config/autostart/mastodon.desktop" ("/home/mircea/Software/Mastodon/Post/mastodon.sh")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/org.kde.korgac.desktop" ("/usr/bin/korgac")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/powerdevil.desktop" ("/usr/lib64/libexec/org_kde_powerdevil")
15/04/2020 17:13:06 passing arg to libvncserver: -rfbauth
15/04/2020 17:13:06 passing arg to libvncserver: /home/mircea/Documents/passwd
15/04/2020 17:13:06 passing arg to libvncserver: -rfbport
15/04/2020 17:13:06 passing arg to libvncserver: 6300
15/04/2020 17:13:06 x11vnc version: 0.9.16 lastmod: 2019-01-05  pid: 31861
No protocol specified
No protocol specified
15/04/2020 17:13:06 XOpenDisplay(":0") failed.
15/04/2020 17:13:06 Trying again with XAUTHLOCALHOSTNAME=localhost ...
No protocol specified
No protocol specified
15/04/2020 17:13:06 XOpenDisplay(":0") failed.
15/04/2020 17:13:06 Trying again with unset XAUTHLOCALHOSTNAME ...
No protocol specified
No protocol specified
15/04/2020 17:13:06 Wayland display server detected.
15/04/2020 17:13:06 Wayland sessions are as of now only supported via -rawfb and the bundled deskshot utility. Exiting.
dbus-daemon[31613]: [session uid=1000 pid=31613] Activating service name='org.gnome.zeitgeist.Engine' requested by ':1.21' (uid=1000 pid=31862 comm="/usr/bin/zeitgeist-datahub ")
dbus-daemon[31613]: [session uid=1000 pid=31613] Activating service name='org.gnome.zeitgeist.SimpleIndexer' requested by ':1.23' (uid=1000 pid=31882 comm="/usr/bin/zeitgeist-daemon ")
dbus-daemon[31613]: [session uid=1000 pid=31613] Successfully activated service 'org.gnome.zeitgeist.Engine'

** (zeitgeist-fts:31896): WARNING **: 17:13:06.223: zeitgeist-fts.vala:328: Unable to get write lock on /home/mircea/.local/share/zeitgeist/fts.index: already locked
dbus-daemon[31613]: [session uid=1000 pid=31613] Activating service name='org.gtk.vfs.Daemon' requested by ':1.21' (uid=1000 pid=31862 comm="/usr/bin/zeitgeist-datahub ")
dbus-daemon[31613]: [session uid=1000 pid=31613] Activated service 'org.gnome.zeitgeist.SimpleIndexer' failed: Process org.gnome.zeitgeist.SimpleIndexer exited with status 1
[31m[14:13:06.224215 CRITICAL][0m file ext-fts.c: line 1020: unexpected error: Error calling StartServiceByName for org.gnome.zeitgeist.SimpleIndexer: Process org.gnome.zeitgeist.SimpleIndexer exited with status 1 (g-dbus-error-quark, 25)
dbus-daemon[31613]: [session uid=1000 pid=31613] Successfully activated service 'org.gtk.vfs.Daemon'

** (zeitgeist-datahub:31900): WARNING **: 17:13:06.229: zeitgeist-datahub.vala:224: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
kf5.kcoreaddons.kaboutdata: QGuiApplication::applicationDisplayName "" is out-of-sync with KAboutData::applicationData().displayName "plasma_session"
kf5.kcoreaddons.kaboutdata: QGuiApplication::applicationDisplayName "" is out-of-sync with KAboutData::applicationData().displayName "plasma_session"
fusermount3: failed to access mountpoint /run/user/1000/gvfs: Permission denied
dbus-daemon[31613]: [session uid=1000 pid=31613] Activating service name='org.freedesktop.Notifications' requested by ':1.24' (uid=1000 pid=31843 comm="/usr/lib64/libexec/kdeconnectd ")
[31;01merror: Unable to lock /home/mircea/.hplip/hp-systray.lock. Is hp-systray already running?[0m
dbus-daemon[31613]: [session uid=1000 pid=31613] Activating service name='org.bluez.obex' requested by ':1.8' (uid=1000 pid=31745 comm="kded5 ")
dbus-daemon[31613]: [session uid=1000 pid=31613] Successfully activated service 'org.bluez.obex'
QObject::connect(KWin::LibInput::Connection, QObject): invalid nullptr parameter
QObject::connect(KWin::LibInput::Connection, QObject): invalid nullptr parameter
no libinput :(
dbus-daemon[31613]: [session uid=1000 pid=31613] Successfully activated service 'org.freedesktop.Notifications'
QImage::scaled: Image is a null image
org.kde.kactivities.resources: "INSERT INTO ResourceInfo(   targettedResource, title, autoTitle, mimetype, autoMimetype) VALUES (  :targettedResource, '' , 1 , '' , 1 )"
org.kde.kactivities.resources: QSqlError("5", "Unable to fetch row", "database is locked")
org.kde.kactivities.resources: "INSERT INTO ResourceInfo(   targettedResource, title, autoTitle, mimetype, autoMimetype) VALUES (  :targettedResource, '' , 1 , '' , 1 )"
org.kde.kactivities.resources: QSqlError("11", "Unable to fetch row", "database disk image is malformed")
dbus-daemon[31613]: [session uid=1000 pid=31613] Activating service name='org.a11y.Bus' requested by ':1.93' (uid=1000 pid=32386 comm="/usr/bin/geany ")
dbus-daemon[31613]: [session uid=1000 pid=31613] Successfully activated service 'org.a11y.Bus'
Gtk-Message: 17:13:27.790: Failed to load module "appmenu-gtk-module"
dbus-daemon[32419]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=32386 comm="/usr/bin/geany ")
dbus-daemon[32419]: Successfully activated service 'org.a11y.atspi.Registry'
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations.
file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
QPainter::begin: Paint device returned engine == 0, type: 3
org.kde.kwindowsystem.keyserver.x11: X11 implementation of KKeyServer accessed from non-X11 platform! This is an application bug.
QImage::scaled: Image is a null image
[0000560109145740] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00005601091e27e0] main playlist: playlist is empty
file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
QPainter::begin: Paint device returned engine == 0, type: 3
file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
QPainter::begin: Paint device returned engine == 0, type: 3
file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
QPainter::begin: Paint device returned engine == 0, type: 3
KCrash: Application 'kdeconnectd' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
(EE) failed to read Wayland events: Connection reset by peer
"/usr/bin/kwin_wayland" ("--xwayland", "--x11-display", ":1", "--exit-with-session=/usr/lib64/libexec/startplasma-waylandsession") exited with code 11
startplasmacompositor: Shutting down...
startplasmacompositor: Done.
[Thread 0x7ffff4e79700 (LWP 31620) exited]
[Inferior 1 (process 31616) exited normally]
(gdb) Gdk-Message: 17:13:47.223: geany: Fatal IO error 11 (Resource temporarily unavailable) on X server :2.

The X11 connection broke (error 1). Did the X11 server die?
klauncher: Exiting on signal 1
KCrash: Application 'akonadi_mailfilter_agent' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib64/libexec/drkonqi directly
KCrash: Application 'akonadi_sendlater_agent' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib64/libexec/drkonqi directly
KCrash: Application 'akonadi_unifiedmailbox_agent' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib64/libexec/drkonqi directly
KCrash: Attempting to start /usr/lib64/libexec/org_kde_powerdevil from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib64/libexec/org_kde_powerdevil directly
KCrash: Application 'org_kde_powerdevil' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib64/libexec/drkonqi directly
KCrash: Attempting to start /usr/bin/kded5 from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/bin/kded5 directly
KCrash: Attempting to start /usr/bin/plasmashell from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/bin/plasmashell directly
KCrash: Application 'kded5' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib64/libexec/drkonqi directly
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
KCrash: Application 'plasmashell' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib64/libexec/drkonqi directly
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
bt
No stack.
(gdb) backtrace
No stack.
(gdb) quit

** (zeitgeist-datahub:31862): WARNING **: 17:14:52.065: zeitgeist-datahub.vala:224: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
A connection to the bus can't be made
[31m[14:14:52.071082 WARNING][0m zeitgeist-daemon.vala:453: The connection is closed


I'm also glad to announce I've apparently discovered an essential piece of the puzzle, just tested this heavily and will continue to do so. It appears this glitch only occurs when minimized windows are present in the session; If there are either no other windows or the existing windows are all maximized or restored, opening a new application seems to work just fine. This further caught my attention as some existing windows also rarely freeze (still rendered but visually unchanged) until I minimize and restore them... one of the similar bug reports additionally stated that minimizing and restoring hidden windows with a shortcut might recover them (I don't have this shortcut to test).
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS
It appears I found a workaround and potentially the culprit, more testing required but it seems pretty certain so far. System Settings - Hardware - Display and Monitor - Compositor: "Keep window thumbnails" has to be set to "Always", the options "Never" or "Only for Shown Windows" are introducing this glitch. Although taskbar thumbnails still don't show up when hovering over an icon, I've been able to minimize and play around with opening / closing windows without getting the invisible windows and associated crashes any more.

This also seems to fix another crash I thought was unrelated: When reordering applications on the taskbar (icon-only task manager widget) by click-dragging them, a crash would also occur for some applications. I'm reordering those applications now and no longer seem to be getting a session lock.
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS
PROPER gdb debug of the nested session as it crashes:

Code: Select all
/usr/share/gdb/python/gdb/command/prompt.py:48: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.value is not '':
/usr/share/gdb/python/gdb/command/prompt.py:60: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.value is not '':
GNU gdb (GDB; openSUSE Tumbleweed) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kwin_wayland...
(No debugging symbols found in kwin_wayland)
Missing separate debuginfos, use: zypper install kwin5-debuginfo-5.18.4.1-1.1.x86_64
(gdb) run
Starting program: /usr/bin/kwin_wayland --xwayland --x11-display :1 --exit-with-session=/usr/lib64/libexec/startplasma-waylandsession
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7f84caabd700 (LWP 9864)]
unable to lock lockfile /run/user/1000/wayland-0.lock, maybe another compositor is running
[New Thread 0x7f84ca2bc700 (LWP 9865)]
[New Thread 0x7f84c2a2f700 (LWP 9867)]
[New Thread 0x7f84c222e700 (LWP 9868)]
[New Thread 0x7f84c1a2d700 (LWP 9869)]
[New Thread 0x7f84c122c700 (LWP 9870)]
[New Thread 0x7f84c0a2b700 (LWP 9871)]
[New Thread 0x7f84b71af700 (LWP 9872)]
[New Thread 0x7f84b69ae700 (LWP 9873)]
[New Thread 0x7f84b61ad700 (LWP 9874)]
[New Thread 0x7f84b59ac700 (LWP 9875)]
[New Thread 0x7f84b51ab700 (LWP 9876)]
[New Thread 0x7f84b49aa700 (LWP 9877)]
[New Thread 0x7f8487fff700 (LWP 9878)]
[New Thread 0x7f84877fe700 (LWP 9879)]
[New Thread 0x7f8486ffd700 (LWP 9880)]
[New Thread 0x7f84867fc700 (LWP 9881)]
[New Thread 0x7f8485ffb700 (LWP 9882)]
[New Thread 0x7f84857fa700 (LWP 9883)]
[New Thread 0x7f8484ff9700 (LWP 9884)]
[New Thread 0x7f8467fff700 (LWP 9885)]
[New Thread 0x7f84677fe700 (LWP 9886)]
[New Thread 0x7f8466ffd700 (LWP 9887)]
[New Thread 0x7f84667fc700 (LWP 9888)]
[New Thread 0x7f8465ffb700 (LWP 9889)]
OpenGL vendor string:                   X.Org
OpenGL renderer string:                 AMD Radeon (TM) R9 390 Series (HAWAII, DRM 3.36.0, 5.6.2-1-default, LLVM 10.0.0)
OpenGL version string:                  4.6 (Core Profile) Mesa 20.0.4
OpenGL shading language version string: 4.60
Driver:                                 RadeonSI
GPU class:                              Sea Islands
OpenGL version:                         4.6
GLSL version:                           4.60
Mesa version:                           20.0.4
Linux kernel version:                   5.6.2
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
[Detaching after fork from child process 9890]
[New Thread 0x7f84657fa700 (LWP 9891)]
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
X-Server started on display :2
[Detaching after fork from child process 9948]
dbus-daemon[9857]: [session uid=1000 pid=9857] Activating service name='org.freedesktop.systemd1' requested by ':1.1' (uid=1000 pid=9954 comm="/usr/bin/dbus-update-activation-environment --syst")
dbus-daemon[9857]: [session uid=1000 pid=9857] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-update-activation-environment: warning: error sending to systemd: org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
[New Thread 0x7f8464ff9700 (LWP 9963)]
Configuring Lock Action
org.kde.knotifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
Could not open kded5 using a library: Cannot load library libkdeinit5_kded5: (libkdeinit5_kded5: cannot open shared object file: No such file or directory)
[New Thread 0x7f8447fff700 (LWP 9968)]
[New Thread 0x7f84464f4700 (LWP 9969)]
[New Thread 0x7f8445c9c700 (LWP 9970)]
org.kde.knotifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
[New Thread 0x7f844549b700 (LWP 9971)]
Session path: "/org/freedesktop/login1/session/_36"
[New Thread 0x7f8444840700 (LWP 9972)]
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 569, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
dbus-daemon[9857]: [session uid=1000 pid=9857] Activating service name='ca.desrt.dconf' requested by ':1.9' (uid=1000 pid=9965 comm="kded5 ")
dbus-daemon[9857]: [session uid=1000 pid=9857] Successfully activated service 'ca.desrt.dconf'
QImage::scaled: Image is a null image
QImage::scaled: Image is a null image
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/org.kde.plasmashell.desktop" ("/usr/bin/plasmashell")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/xembedsniproxy.desktop" ("/usr/bin/xembedsniproxy")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/polkit-kde-authentication-agent-1.desktop" ("/usr/lib64/libexec/polkit-kde-authentication-agent-1")
dbus-daemon[9857]: [session uid=1000 pid=9857] Activating service name='org.kde.ActivityManager' requested by ':1.17' (uid=1000 pid=10039 comm="/usr/bin/plasmashell ")
dbus-daemon[9857]: [session uid=1000 pid=9857] Successfully activated service 'org.kde.ActivityManager'
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/xdg-user-dirs.desktop" ("/usr/bin/xdg-user-dirs-update")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/pulseaudio.desktop" ("/usr/bin/start-pulseaudio-x11")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/restore_kmix_volumes.desktop" ("/usr/bin/kmixctrl", "--restore")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/gmenudbusmenuproxy.desktop" ("/usr/bin/gmenudbusmenuproxy")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/org.kde.kdeconnect.daemon.desktop" ("/usr/lib64/libexec/kdeconnectd")
Failure: Module initialization failed
org.kde.plasma.session: Starting autostart service  "/home/mircea/.config/autostart/vnc.desktop" ("/home/mircea/bin/vnc")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/zeitgeist-datahub.desktop" ("/usr/bin/zeitgeist-datahub")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/hplip-systray.desktop" ("/usr/bin/hp-systray", "-x")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/powerdevil.desktop" ("/usr/lib64/libexec/org_kde_powerdevil")
15/04/2020 18:16:54 passing arg to libvncserver: -rfbauth
15/04/2020 18:16:54 passing arg to libvncserver: /home/mircea/Documents/passwd
15/04/2020 18:16:54 passing arg to libvncserver: -rfbport
15/04/2020 18:16:54 passing arg to libvncserver: 6300
15/04/2020 18:16:54 x11vnc version: 0.9.16 lastmod: 2019-01-05  pid: 10076
No protocol specified
No protocol specified
15/04/2020 18:16:54 XOpenDisplay(":0") failed.
15/04/2020 18:16:54 Trying again with XAUTHLOCALHOSTNAME=localhost ...
No protocol specified
No protocol specified
15/04/2020 18:16:54 XOpenDisplay(":0") failed.
15/04/2020 18:16:54 Trying again with unset XAUTHLOCALHOSTNAME ...
No protocol specified
No protocol specified
15/04/2020 18:16:54 Wayland display server detected.
15/04/2020 18:16:54 Wayland sessions are as of now only supported via -rawfb and the bundled deskshot utility. Exiting.
org.kde.plasma.session: Starting autostart service  "/home/mircea/.config/autostart/mastodon.desktop" ("/home/mircea/Software/Mastodon/Post/mastodon.sh")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/org.kde.korgac.desktop" ("/usr/bin/korgac")
dbus-daemon[9857]: [session uid=1000 pid=9857] Activating service name='org.gnome.zeitgeist.Engine' requested by ':1.20' (uid=1000 pid=10078 comm="/usr/bin/zeitgeist-datahub ")
dbus-daemon[9857]: [session uid=1000 pid=9857] Activating service name='org.gnome.zeitgeist.SimpleIndexer' requested by ':1.22' (uid=1000 pid=10095 comm="/usr/bin/zeitgeist-daemon ")
dbus-daemon[9857]: [session uid=1000 pid=9857] Successfully activated service 'org.gnome.zeitgeist.Engine'

** (zeitgeist-fts:10116): WARNING **: 18:16:54.685: zeitgeist-fts.vala:328: Unable to get write lock on /home/mircea/.local/share/zeitgeist/fts.index: already locked
dbus-daemon[9857]: [session uid=1000 pid=9857] Activated service 'org.gnome.zeitgeist.SimpleIndexer' failed: Process org.gnome.zeitgeist.SimpleIndexer exited with status 1
[31m[15:16:54.686618 CRITICAL][0m file ext-fts.c: line 1020: unexpected error: Error calling StartServiceByName for org.gnome.zeitgeist.SimpleIndexer: Process org.gnome.zeitgeist.SimpleIndexer exited with status 1 (g-dbus-error-quark, 25)
dbus-daemon[9857]: [session uid=1000 pid=9857] Activating service name='org.gtk.vfs.Daemon' requested by ':1.20' (uid=1000 pid=10078 comm="/usr/bin/zeitgeist-datahub ")
dbus-daemon[9857]: [session uid=1000 pid=9857] Successfully activated service 'org.gtk.vfs.Daemon'

** (zeitgeist-datahub:10118): WARNING **: 18:16:54.691: zeitgeist-datahub.vala:224: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
fusermount3: failed to access mountpoint /run/user/1000/gvfs: Permission denied
kf5.kcoreaddons.kaboutdata: QGuiApplication::applicationDisplayName "" is out-of-sync with KAboutData::applicationData().displayName "plasma_session"
kf5.kcoreaddons.kaboutdata: QGuiApplication::applicationDisplayName "" is out-of-sync with KAboutData::applicationData().displayName "plasma_session"
dbus-daemon[9857]: [session uid=1000 pid=9857] Activating service name='org.freedesktop.Notifications' requested by ':1.28' (uid=1000 pid=10071 comm="/usr/lib64/libexec/kdeconnectd ")
[31;01merror: Unable to lock /home/mircea/.hplip/hp-systray.lock. Is hp-systray already running?[0m
dbus-daemon[9857]: [session uid=1000 pid=9857] Activating service name='org.bluez.obex' requested by ':1.7' (uid=1000 pid=9965 comm="kded5 ")
dbus-daemon[9857]: [session uid=1000 pid=9857] Successfully activated service 'org.bluez.obex'
dbus-daemon[9857]: [session uid=1000 pid=9857] Successfully activated service 'org.freedesktop.Notifications'
QObject::connect(KWin::LibInput::Connection, QObject): invalid nullptr parameter
QObject::connect(KWin::LibInput::Connection, QObject): invalid nullptr parameter
no libinput :(
QImage::scaled: Image is a null image
dbus-daemon[9857]: [session uid=1000 pid=9857] Activating service name='org.a11y.Bus' requested by ':1.92' (uid=1000 pid=10569 comm="/usr/bin/geany ")
dbus-daemon[9857]: [session uid=1000 pid=9857] Successfully activated service 'org.a11y.Bus'
Gtk-Message: 18:17:05.303: Failed to load module "appmenu-gtk-module"
org.kde.kactivities.resources: "INSERT INTO ResourceEvent        (usedActivity,  initiatingAgent,  targettedResource,  start,  end) VALUES (:usedActivity, :initiatingAgent, :targettedResource, :start, :end)"
org.kde.kactivities.resources: QSqlError("11", "Unable to fetch row", "database disk image is malformed")
dbus-daemon[10602]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=10569 comm="/usr/bin/geany ")
dbus-daemon[10602]: Successfully activated service 'org.a11y.atspi.Registry'
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
[New Thread 0x7f83ae9d6700 (LWP 10609)]
Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations.
file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
[New Thread 0x7f83ad795700 (LWP 10610)]
QPainter::begin: Paint device returned engine == 0, type: 3
org.kde.kwindowsystem.keyserver.x11: X11 implementation of KKeyServer accessed from non-X11 platform! This is an application bug.
org.kde.kactivities.resources: "SELECT start, end FROM ResourceEvent WHERE :usedActivity      = usedActivity AND :initiatingAgent   = initiatingAgent AND :targettedResource = targettedResource AND start > :start ORDER BY start ASC"
org.kde.kactivities.resources: QSqlError("11", "Unable to fetch row", "database disk image is malformed")
file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
[New Thread 0x7f83a7fff700 (LWP 10662)]
QPainter::begin: Paint device returned engine == 0, type: 3
QImage::scaled: Image is a null image
file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
[New Thread 0x7f83a73b0700 (LWP 10707)]
QPainter::begin: Paint device returned engine == 0, type: 3

Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault.
0x00007f84d1d85920 in KWayland::Server::SurfaceInterface::d_func() const () from /usr/lib64/libKF5WaylandServer.so.5
(gdb) bt
#0  0x00007f84d1d85920 in KWayland::Server::SurfaceInterface::d_func() const () at /usr/lib64/libKF5WaylandServer.so.5
#1  0x00007f84d1d85a59 in KWayland::Server::SurfaceInterface::inhibitsIdle() const () at /usr/lib64/libKF5WaylandServer.so.5
#2  0x00007f84d217bcd9 in  () at /usr/lib64/libkwin.so.5
#3  0x00007f84d20bca82 in KWin::Workspace::forEachAbstractClient(std::function<void (KWin::AbstractClient*)>) () at /usr/lib64/libkwin.so.5
#4  0x00007f84d217bc09 in  () at /usr/lib64/libkwin.so.5
#5  0x00007f84d12319fe in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007f84d21e5e6d in KWin::Workspace::currentDesktopChanged(int, KWin::AbstractClient*) () at /usr/lib64/libkwin.so.5
#7  0x00007f84d20c3e13 in KWin::Workspace::slotCurrentDesktopChanged(unsigned int, unsigned int) () at /usr/lib64/libkwin.so.5
#8  0x00007f84d1231a30 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f84d21e63bf in KWin::VirtualDesktopManager::currentChanged(unsigned int, unsigned int) () at /usr/lib64/libkwin.so.5
#10 0x00007f84d20cfc34 in KWin::VirtualDesktopManager::setCurrent(KWin::VirtualDesktop*) () at /usr/lib64/libkwin.so.5
#11 0x00007f84d12319fe in  () at /usr/lib64/libQt5Core.so.5
#12 0x00007f84cdc253ed in  () at /usr/lib64/libffi.so.8
#13 0x00007f84cdc2134a in  () at /usr/lib64/libffi.so.8
#14 0x00007f84ceee8df6 in  () at /usr/lib64/libwayland-server.so.0
#15 0x00007f84ceeeea76 in  () at /usr/lib64/libwayland-server.so.0
#16 0x00007f84ceeeb672 in wl_event_loop_dispatch () at /usr/lib64/libwayland-server.so.0
#17 0x00007f84d1dbac1f in KWayland::Server::Display::Private::dispatch() () at /usr/lib64/libKF5WaylandServer.so.5
#18 0x00007f84d12319fe in  () at /usr/lib64/libQt5Core.so.5
#19 0x00007f84d1235131 in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () at /usr/lib64/libQt5Core.so.5
#20 0x00007f84d1235471 in QSocketNotifier::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#21 0x00007f84d1642caf in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#22 0x00007f84d164bdf0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#23 0x00007f84d11fd002 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#24 0x00007f84d1250efb in QEventDispatcherUNIXPrivate::activateSocketNotifiers() () at /usr/lib64/libQt5Core.so.5
#25 0x00007f84d125134b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#26 0x00007f84cb2665ed in  () at /usr/lib64/qt5/plugins/platforms/KWinQpaPlugin.so
#27 0x00007f84d11fbb9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#28 0x00007f84d1203972 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#29 0x000055cf4ed1e562 in  ()
#30 0x00007f84d0bafceb in __libc_start_main () at /lib64/libc.so.6
#31 0x000055cf4ed1e8ba in _start ()
(gdb) quit
A debugging session is active.

   Inferior 1 [process 9860] will be killed.

Quit anyway? (y or n) y
KCrash: Application 'kdeconnectd' crashing...
(EE)KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
 failed to read Wayland events: Connection reset by peer
Gdk-Message: 18:18:22.942: geany: Fatal IO error 11 (Resource temporarily unavailable) on X server :2.

The X11 connection broke (error 1). Did the X11 server die?
klauncher: Exiting on signal 1

** (zeitgeist-datahub:10078): WARNING **: 18:18:22.965: zeitgeist-datahub.vala:224: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
A connection to the bus can't be made
[31m[15:18:22.970308 WARNING][0m zeitgeist-daemon.vala:453: The connection is closed
KCrash: Attempting to start /usr/lib64/libexec/org_kde_powerdevil from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/bin/kded5 from kdeinit
KCrash: Attempting to start /usr/lib64/libexec/org_kde_powerdevil directly
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/bin/kded5 directly
KCrash: Attempting to start /usr/bin/plasmashell from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/bin/plasmashell directly
KCrash: Application 'org_kde_powerdevil' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib64/libexec/drkonqi directly
KCrash: Application 'kded5' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib64/libexec/drkonqi directly
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
KCrash: Application 'plasmashell' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib64/libexec/drkonqi directly
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
If you posted all this in your bug report there is no need to post it here, too. What counts is the bug report.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS
Mamarok wrote:If you posted all this in your bug report there is no need to post it here, too. What counts is the bug report.


Fair enough... just trying to be comprehensive in hopes of getting as many answers as possible. I seem to have found a simple and convenient workaround that fixes the issue for now, so at least it's no longer an emergency and Wayland is finally usable. Fabian seems to have understood the core culprit in the code so I shall wait for the fixes now.
nycticorax
Registered Member
Posts
3
Karma
0
Thank you very much MirceaKitsune for sharing your fix here. Google lead me here and your solutions works very well for me. I am saddened Plasma Wayland and Xwayland are still deal breakers in 2021. I just cannot afford to tank all these nasty bugs on my main workstation.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]