Summary: | kwin_wayland start with black screen and it crash after start plasmashell | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Gonçalo Negrier Duarte <gonegrier.duarte> |
Component: | generic-crash | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | crash | CC: | notmart |
Priority: | NOR | ||
Version: | git-stable-Plasma/6.1 | ||
Target Milestone: | 1.0 | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=933131 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
plasma-kwin_wayland.log
start-plasmawayland.gdb.txt plasmashell-gdb.txt kwin-systemd-missing-included.patch |
Description
Gonçalo Negrier Duarte
2024-05-29 20:17:49 UTC
Forget to specify that I'm using the llvm profile on gentoo with systemwide libcxx Can you try to reproduce with a backtrace? https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports Can you also check kwin_wayland's logs please? They can be retrieved using `journalctl --user-unit plasma-kwin_wayland --boot`? Created attachment 169984 [details] plasma-kwin_wayland.log (In reply to Marco Martin from comment #2) > Can you try to reproduce with a backtrace? > https://community.kde.org/Guidelines_and_HOWTOs/Debugging/ > How_to_create_useful_crash_reports I the process of recompiling plasma-worksapaces with all the debug symbols enable again, I gonna try to create a backtrace using gdb, seems that "Dr. Konqi" is not creating one. (In reply to Vlad Zahorodnii from comment #3) > Can you also check kwin_wayland's logs please? They can be retrieved using > `journalctl --user-unit plasma-kwin_wayland --boot`? The output is on the attachments Created attachment 169986 [details] start-plasmawayland.gdb.txt (In reply to Marco Martin from comment #2) > Can you try to reproduce with a backtrace? > https://community.kde.org/Guidelines_and_HOWTOs/Debugging/ > How_to_create_useful_crash_reports This attachment is debugging startplasma-wayland directly I also notice after enable debug symbol by the use of `-ggdb` on `CFLAGS` and `CXXFLAGS` and the FEATURES="splitdebug". Configuration taken from https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces Plasmashell restart itself and dosent seem to crash again, but I will try to run now to be sure I gonna also see if Dr. Konqi can give me a backtrace after plasmashell restarts Created attachment 169987 [details]
plasmashell-gdb.txt
This backtrace is debugging plasmashell directly, it occurs two crash before kwin kill itself.
Well with the debug enable and compiling with `-O2` (-O3 is not recomended, and wasn't producing a good backtrace), it seems to take a bit longer to crash, but it crash with the same error. Note the backtrade in the attachments was with plasma-workspace compiled with `-O2` instead of `O3`: ```bash /etc/portage/env/debug ----------------------------------------- COMMON_FLAGS="-march=native -O2 -pipe -fdiagnostics-color=always -ftree-vectorize -fno-semantic-interposition -flto=thin" CFLAGS="${COMMON_FLAGS} -ggdb" CXXFLAGS="${CFLAGS}" FEATURES="splitdebug ``` Created attachment 170058 [details] kwin-systemd-missing-included.patch I decided to make some extensive testing and this was what I found. When using `MYCMAKEARGS="-DLIBCXX_TYPEINFO_COMPARISON_IMPLEMENTATION=2"` in `sys-libs/libcxx` and `kde-plasma/plasma-workspace` like is was done in BUG 479679, comment 23, and didn't solve my problems. (Also some discussion in gentoo bug https://bugs.gentoo.org/923292) Today this [Gentoo BUG 933120](https://bugs.gentoo.org/933120) was solved by the used of the [patch in this comment](https://bugs.gentoo.org/933120#c9) and notice that my problem with plasma-workspace in wayland was complete solved (also the broken kwallet autounlock). To be extra sure I recompiled `sys-libs/libcxx` and `kde-plasma/plasma-workspace` without the `MYCMAKEARGS="-DLIBCXX_TYPEINFO_COMPARISON_IMPLEMENTATION=2"` env and yes the issues is complete gone when using the patch above So this bug only happen if kwin is compiled without systemd support! Here is the gentoo ebuild lines that enable systemd support: https://gitweb.gentoo.org/repo/gentoo.git/tree/kde-plasma/kwin/kwin-6.0.90.1-r1.ebuild#n129 Gonna marked as RESOLVED DOWNSTREAM |