Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726068 - x11-misc/qt5ct-0.41 with dev-qt/qtgui-5.15.0 - klauncher, kglobalaccel5, ksplashml, akonadi_control segfault in QGuiApplicationPrivate::basePalette
Summary: x11-misc/qt5ct-0.41 with dev-qt/qtgui-5.15.0 - klauncher, kglobalaccel5, kspl...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-29 11:06 UTC by Dennis Schridde
Modified: 2020-06-16 19:05 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
klauncher-20200529-125410.kcrash.txt (klauncher-20200529-125410.kcrash.txt,1.66 KB, text/plain)
2020-05-29 11:06 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2020-05-29 11:06:39 UTC
Created attachment 642480 [details]
klauncher-20200529-125410.kcrash.txt

KDE applications such as klauncher, ksplashml, or akonadi_control segfault in QGuiApplicationPrivate::basePalette since I updated my system yesterday.  The most probable offender is the update to dev-qt/*-5.15.
Comment 1 Andreas Sturmlechner gentoo-dev 2020-05-29 11:08:52 UTC
Did you restart your session yet...?
Comment 2 Dennis Schridde 2020-05-29 16:48:28 UTC
(In reply to Andreas Sturmlechner from comment #1)
> Did you restart your session yet...?

I restarted the session and I even rebooted the computer.

Another application that crashed, which I missed in my original list: kglobalaccel5

klauncher and akonadi_control also segfault when starting my Sway session (I have `exec dex --autostart --environment Sway` set in Sway to start XDG autostart desktop files) or when starting them manually from a terminal after Sway started.

When I select to start "Plasma (Wayland) (Wayland)" the applications also crash, but at least the desktop environment starts and is somewhat usable (modulo the Plasma Wayland bugs and Akonadi not being available since it crashed).
Comment 3 Jonas Stein gentoo-dev 2020-05-29 21:22:02 UTC
The situation seems to be a bit more complicate and requires some analysis.
We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. 

I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3].
I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4].
Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product.

[1] https://www.gentoo.org/get-involved/irc-channels/
[2] https://forums.gentoo.org/
[3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html
[4] https://www.gentoo.org/support/
Comment 4 Dennis Schridde 2020-06-16 15:12:06 UTC
After the recent updates to KDE Frameworks, KDE Applications and KDE Plasma, the crashes are gone.  I suspect that the actual fix was in x11-misc/qt5ct-1.0, which fixed crashes related to the palette in Qt 5.15 applications: https://sourceforge.net/p/qt5ct/tickets/77/
Comment 5 Andreas Sturmlechner gentoo-dev 2020-06-16 16:09:25 UTC
qt5ct is known to break stuff especially in Plasma and can not be recommended.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-06-16 16:42:46 UTC
Isn't qt5ct primarily used by people who don't use KDE and therefore don't have normal configuration thingies?
Comment 7 Dennis Schridde 2020-06-16 17:36:56 UTC
(In reply to Andreas Sturmlechner from comment #5)
> qt5ct is known to break stuff especially in Plasma and can not be
> recommended.

What should I use instead?

(In reply to Michał Górny from comment #6)
> Isn't qt5ct primarily used by people who don't use KDE and therefore don't
> have normal configuration thingies?

I normally use KDE, but since Plasma does not work well on Wayland and I also wanted to try a tiling WM, I used Sway.  With that all Qt and KDE applications ended up using the default Qt style, which I found not very visually pleasing.  So I searched for a way to use the default KDE style "Breeze" even on Wayland when not running inside KDE Plasma.
Comment 8 Andreas Sturmlechner gentoo-dev 2020-06-16 17:47:58 UTC
Qt will simply blend in to e.g. GTK style when the DE provides a platform plugin (like QGnomePlatform for GNOME). To what extent platform plugins are available for other DEs I can not tell.
Comment 9 Dennis Schridde 2020-06-16 19:05:57 UTC
(In reply to Andreas Sturmlechner from comment #8)
> Qt will simply blend in to e.g. GTK style when the DE provides a platform
> plugin (like QGnomePlatform for GNOME). To what extent platform plugins are
> available for other DEs I can not tell.

Intermediate status of my search: I searched Debian (https://packages.debian.org), Fedora (using dnf, since Fedora has no web interface for this) and (unofficial Gentoo) Portage File List (http://portagefilelist.de/) for /usr/lib64/qt5/plugins/platformthemes and variations, but could not find any package providing this directory.