You are not logged in.

#1 2023-11-15 04:00:42

raz_the_noob
Member
Registered: 2023-11-14
Posts: 5

[SOLVED] KDE wayland stucks after starting

After successfully logging in my account and starting kde wayland it stucks then suddenly returns error. But in my other user is starts fine i tried removing any traces of kde from my .config but still stucks

here is the error from .local/share/sddm/wayland-session.log

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
33 -- exe=/usr/bin/startplasma-wayland
28 -- appname=startplasma-wayland
17 -- apppath=/usr/bin
9 -- signal=6
8 -- pid=994
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = startplasma-wayland path = /usr/bin pid = 994
KCrash: Arguments: /usr/bin/startplasma-wayland
KCrash: Attempting to start /usr/lib/drkonqi
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" 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: 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.

also the error from journalctl from the begining of starting kde wayland

Nov 15 11:10:33 login[27260]: LOGIN ON tty1 BY raz
Nov 15 11:10:48 dbus-daemon[771]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service' requested by ':1.96' (uid=1000 pid=27273 comm="startplasma-wayland")
Nov 15 11:10:48 systemd[1]: Starting Locale Service...
Nov 15 11:10:48 dbus-daemon[771]: [system] Successfully activated service 'org.freedesktop.locale1'
Nov 15 11:10:48 systemd[1]: Started Locale Service.
Nov 15 11:11:18 systemd[1]: systemd-localed.service: Deactivated successfully.
Nov 15 11:16:04 systemd[1]: Started Process Core Dump (PID 27288/UID 0).
Nov 15 11:16:04 systemd-coredump[27289]: [?] Process 27286 (drkonqi) of user 1000 dumped core.

                                         Stack trace of thread 27286:
                                         #0  0x00007fac7daac83c n/a (libc.so.6 + 0x8e83c)
                                         #1  0x00007fac7da5c668 raise (libc.so.6 + 0x3e668)
                                         #2  0x00007fac7da444b8 abort (libc.so.6 + 0x264b8)
                                         #3  0x00007fac7e0a00c2 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0xa00c2)
                                         #4  0x00007fac7e93f402 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x13f402)
                                         #5  0x00007fac7e93fa79 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x13fa79)
                                         #6  0x00007fac7e29bc05 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x29bc05)
                                         #7  0x00007fac7e93fb26 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x13fb26)
                                         #8  0x00007fac7f375b9e _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x175b9e)
                                         #9  0x000055efb863afea n/a (drkonqi + 0x2afea)
                                         #10 0x00007fac7da45cd0 n/a (libc.so.6 + 0x27cd0)
                                         #11 0x00007fac7da45d8a __libc_start_main (libc.so.6 + 0x27d8a)
                                         #12 0x000055efb863dae5 n/a (drkonqi + 0x2dae5)

                                         Stack trace of thread 27287:
                                         #0  0x00007fac7db20f6f __poll (libc.so.6 + 0x102f6f)
                                         #1  0x00007fac7c76c276 n/a (libglib-2.0.so.0 + 0xb8276)
                                         #2  0x00007fac7c70c162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
                                         #3  0x00007fac7e2eaf7c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2eaf7c)
                                         #4  0x00007fac7e29ae74 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29ae74)
                                         #5  0x00007fac7e0f74f6 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf74f6)
                                         #6  0x00007fac7f031a9a n/a (libQt5DBus.so.5 + 0x18a9a)
                                         #7  0x00007fac7e0f371a n/a (libQt5Core.so.5 + 0xf371a)
                                         #8  0x00007fac7daaa9eb n/a (libc.so.6 + 0x8c9eb)
                                         #9  0x00007fac7db2e7cc n/a (libc.so.6 + 0x1107cc)
                                         ELF object binary architecture: AMD x86-64
Nov 15 11:16:04 systemd[1]: systemd-coredump@3-27288-0.service: Deactivated successfully.
Nov 15 11:16:04 systemd[1]: Started Process Core Dump (PID 27301/UID 0).
Nov 15 11:17:36 systemd-coredump[27302]: [?] Process 27273 (startplasma-way) of user 1000 dumped core.

                                         Stack trace of thread 27273:
                                         #0  0x00007fbe7caac83c n/a (libc.so.6 + 0x8e83c)
                                         #1  0x00007fbe7ca5c668 raise (libc.so.6 + 0x3e668)
                                         #2  0x00007fbe7aa2a88f _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x788f)
                                         #3  0x00007fbe7ca5c710 n/a (libc.so.6 + 0x3e710)
                                         #4  0x00007fbe7caac83c n/a (libc.so.6 + 0x8e83c)
                                         #5  0x00007fbe7ca5c668 raise (libc.so.6 + 0x3e668)
                                         #6  0x00007fbe7ca444b8 abort (libc.so.6 + 0x264b8)
                                         #7  0x00007fbe7cc9ca6f _ZN9__gnu_cxx27__verbose_terminate_handlerEv (libstdc++.so.6 + 0x9ca6f)
                                         #8  0x00007fbe7ccb011c _ZN10__cxxabiv111__terminateEPFvvE (libstdc++.so.6 + 0xb011c)
                                         #9  0x00007fbe7ccb0189 _ZSt9terminatev (libstdc++.so.6 + 0xb0189)
                                         #10 0x00007fbe7ccb043f __cxa_rethrow (libstdc++.so.6 + 0xb043f)
                                         #11 0x00007fbe7d0a1556 n/a (libQt5Core.so.5 + 0xa1556)
                                         #12 0x00007fbe7d34acaf n/a (libQt5Core.so.5 + 0x34acaf)
                                         #13 0x00007fbe7d34b55b _ZNK9QMimeType8inheritsERK7QString (libQt5Core.so.5 + 0x34b55b)
                                         #14 0x00007fbe7e121d4c _ZN12KBuildSycoca8recreateEb (libKF5Service.so.5 + 0x53d4c)
                                         #15 0x00007fbe7e10e4ff _ZN14KSycocaPrivate11buildSycocaEv (libKF5Service.so.5 + 0x404ff)
                                         #16 0x00007fbe7e10e6de _ZN14KSycocaPrivate13checkDatabaseE6QFlagsINS_18BehaviorIfNotFoundEE (libKF5Service.so.5 + 0x406de)
                                         #17 0x00007fbe7e10f963 _ZN7KSycoca16ensureCacheValidEv (libKF5Service.so.5 + 0x41963)
                                         #18 0x00007fbe7e0ec7af _ZN8KService20serviceByDesktopNameERK7QString (libKF5Service.so.5 + 0x1e7af)
                                         #19 0x000055e19115c28e n/a (startplasma-wayland + 0x1a28e)
                                         #20 0x000055e19115697a n/a (startplasma-wayland + 0x1497a)
                                         #21 0x000055e19114d8ef n/a (startplasma-wayland + 0xb8ef)
                                         #22 0x00007fbe7ca45cd0 n/a (libc.so.6 + 0x27cd0)
                                         #23 0x00007fbe7ca45d8a __libc_start_main (libc.so.6 + 0x27d8a)
                                         #24 0x000055e19114ff05 n/a (startplasma-wayland + 0xdf05)

                                         Stack trace of thread 27274:
                                         #0  0x00007fbe7cb20f6f __poll (libc.so.6 + 0x102f6f)
                                         #1  0x00007fbe7a76c276 n/a (libglib-2.0.so.0 + 0xb8276)
                                         #2  0x00007fbe7a70c162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
                                         #3  0x00007fbe7d2eaf7c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2eaf7c)
                                         #4  0x00007fbe7d29ae74 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29ae74)
                                         #5  0x00007fbe7d0f74f6 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf74f6)
                                         #6  0x00007fbe7de0ba9a n/a (libQt5DBus.so.5 + 0x18a9a)
                                         #7  0x00007fbe7d0f371a n/a (libQt5Core.so.5 + 0xf371a)
                                         #8  0x00007fbe7caaa9eb n/a (libc.so.6 + 0x8c9eb)
                                         #9  0x00007fbe7cb2e7cc n/a (libc.so.6 + 0x1107cc)
                                         ELF object binary architecture: AMD x86-64
Nov 15 11:17:37 systemd[1]: systemd-coredump@4-27301-0.service: Deactivated successfully.
Nov 15 11:17:37 systemd[1]: systemd-coredump@4-27301-0.service: Consumed 1min 1.053s CPU time.

My cpu is Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
gpu is Mesa Intel(R) HD Graphics 530 (SKL GT2)
kernel is linux-zen

Last edited by raz_the_noob (2023-11-15 13:37:41)

Offline

#2 2023-11-15 07:08:26

Khere
Member
From: Italy
Registered: 2020-03-04
Posts: 170

Re: [SOLVED] KDE wayland stucks after starting

raz_the_noob wrote:
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

Look like the the wayland client cannot connect to server.
Try

sudo pacman -S qt5-wayland

Fan of Giorgio Moroder & Mohammad Ammax enemy

Offline

#3 2023-11-15 09:36:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,751

Re: [SOLVED] KDE wayland stucks after starting

You're exporting a QT related environment variable that's unnecessary globally. Post

printenv

and if you did that intentionally for a specific tool you should only do that for said tool.

Offline

#4 2023-11-15 11:20:16

raz_the_noob
Member
Registered: 2023-11-14
Posts: 5

Re: [SOLVED] KDE wayland stucks after starting

Khere wrote:
raz_the_noob wrote:
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

Look like the the wayland client cannot connect to server.
Try

sudo pacman -S qt5-wayland

Does not change anything since qt5-wayland is already installed

Offline

#5 2023-11-15 11:22:25

raz_the_noob
Member
Registered: 2023-11-14
Posts: 5

Re: [SOLVED] KDE wayland stucks after starting

V1del wrote:

You're exporting a QT related environment variable that's unnecessary globally. Post

printenv

and if you did that intentionally for a specific tool you should only do that for said tool.

 
SHELL=/bin/bash
DOTNET_CLI_TELEMETRY_OPTOUT=1
CREDENTIALS_DIRECTORY=/run/credentials/getty@tty1.service
GRADLE_HOME=/usr/share/java/gradle
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
EDITOR=/usr/bin/nvim
XDG_SEAT=seat0
PWD=/home/raz
LOGNAME=raz
XDG_SESSION_TYPE=tty
SYSTEMD_EXEC_PID=1005
MOTD_SHOWN=pam
HOME=/home/raz
LANG=en_PH.UTF-8
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/system.slice/system-getty.slice/getty@tty1.service/memory.pressure
INVOCATION_ID=886a0e8cf19c441880355308b0805a31
BAT_THEME=Dracula
XDG_SESSION_CLASS=user
TERM=alacritty
USER=raz
SHLVL=1
XDG_VTNR=1
XDG_SESSION_ID=1
XDG_RUNTIME_DIR=/run/user/1000
DEBUGINFOD_URLS=https://debuginfod.archlinux.org
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/spool/mail/raz
_=/usr/bin/printenv

I used to export something in QT for obs but I stopped doing it weeks ago since i have found a solution to it

Offline

#6 2023-11-15 12:21:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,751

Re: [SOLVED] KDE wayland stucks after starting

You're still doing that somewhere, and unluckily enough soemwhere that isn't reflected in that output. Where did you export that which you allegedly stopped?

grep -R QT_QPA_PLATFORM ~/.config

Offline

#7 2023-11-15 12:28:03

seth
Member
Registered: 2012-09-03
Posts: 56,478

Re: [SOLVED] KDE wayland stucks after starting

#13 0x00007fbe7d34b55b _ZNK9QMimeType8inheritsERK7QString (libQt5Core.so.5 + 0x34b55b)
#14 0x00007fbe7e121d4c _ZN12KBuildSycoca8recreateEb (libKF5Service.so.5 + 0x53d4c)

https://bbs.archlinux.org/viewtopic.php?id=290292

DrKonqi is likely a follow-up crash b/c the wayland session is gone/disfunctional at this point.

Online

#8 2023-11-15 13:34:56

raz_the_noob
Member
Registered: 2023-11-14
Posts: 5

Re: [SOLVED] KDE wayland stucks after starting

V1del wrote:

You're still doing that somewhere, and unluckily enough soemwhere that isn't reflected in that output. Where did you export that which you allegedly stopped?

grep -R QT_QPA_PLATFORM ~/.config

The QTA_PLATFORM export is used only when I run obs using

QTA_PLATFORM=xcb obs

I didn't make it persistent since I know it will gave me a headache if it causes any problem also the result of

grep -R QTA_PLATFORM ~/.config

is

grep: /home/raz/.config/BraveSoftware/Brave-Browser/SingletonLock: No such file or directory
grep: /home/raz/.config/BraveSoftware/Brave-Browser/SingletonSocket: No such device or address
grep: /home/raz/.config/BraveSoftware/Brave-Browser/SingletonCookie: No such file or directory
grep: /home/raz/.config/copyq/.copyq_s: No such device or address
grep: /home/raz/.config/copyq/copyq_tab_JmNsaXBib2FyZA==.dat: binary file matches
grep: /home/raz/.config/qBittorrent/ipc-socket: No such device or address
grep: /home/raz/.config/socket: No such device or address
grep: /home/raz/.config/Caprine/SingletonLock: No such file or directory
grep: /home/raz/.config/Caprine/SingletonSocket: No such device or address
grep: /home/raz/.config/Caprine/SingletonCookie: No such file or directory
grep: /home/raz/.config/Android/Sdk/emulator/emulator: binary file matches
grep: /home/raz/.config/Android/Sdk/emulator/lib64/qt/lib/libQt5GuiAndroidEmu.so.5: binary file matches
grep: /home/raz/.config/Android/Sdk/tools/emulator: binary file matches
grep: /home/raz/.config/systemd/user/default.target.wants/pipewire-pulse.service: No such file or directory
grep: /home/raz/.config/systemd/user/sockets.target.wants/pipewire-pulse.socket: No such file or directory

Offline

#9 2023-11-15 13:37:13

raz_the_noob
Member
Registered: 2023-11-14
Posts: 5

Re: [SOLVED] KDE wayland stucks after starting

seth wrote:
#13 0x00007fbe7d34b55b _ZNK9QMimeType8inheritsERK7QString (libQt5Core.so.5 + 0x34b55b)
#14 0x00007fbe7e121d4c _ZN12KBuildSycoca8recreateEb (libKF5Service.so.5 + 0x53d4c)

https://bbs.archlinux.org/viewtopic.php?id=290292

DrKonqi is likely a follow-up crash b/c the wayland session is gone/disfunctional at this point.

Thank you this solved the issue after removing .local/share/mime/mime.cache and .local/share/mime/packages/ like in the post I also have no idea how did it caused the problem marking this post as solved

Offline

Board footer

Powered by FluxBB