Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#73686 - [qt5-wayland] Segfault on startup of QT5 applications since version 5.15.2+kde+r44-1

Attached to Project: Arch Linux
Opened by Tobias Erthal (archabuser) - Tuesday, 08 February 2022, 15:14 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 15 February 2022, 08:03 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Hey there,

i noticed that since recently, I am unable to start *any* QT5 based application, as it immediately segfaults on startup.
I could reproduce this with any version of qt5-wayland 5.15.2+kde+r44-1 up to and including 5.15.2+kde+r48-1.
A downgrade to package version qt5-wayland version 5.15.2+kde+r41-1 fixes the issue.

I first noticed the issue with kbibtex, but could reproduce it with okular, qutebrowser, digikam, qt5ct etc. as well.
QT6 applications don't seem to be affected (qjackctl v0.9.6-1 launches without issues).

Additional info:
I'm running a sway wayland session without a display manager like sddm and the likes.

Environment variables set on login:
export XDG_CURRENT_DESKTOP=sway
export XDG_SESSION_TYPE=wayland
export QT_QPA_PLATFORM=wayland-egl
export QT_QPA_PLATFORMTHEME=qt5ct
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1

Package versions:
sway 1:1.7-2
mesa 21.3.5-1
wayland 1.20.0-1
qt5-base 5.15.2+kde+r297-1
qt5-wayland 5.15.2+kde+r48-1
qt5-declarative 5.15.2+kde+r45-1
kbibtex 1:0.9.2-6

Steps to reproduce:
Try to launch any qt5-based application.

I attached a gdb backtrace and the WAYLAND_DEBUG=1 output when trying to launch kbibtex.
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 15 February 2022, 08:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  qt5-wayland 5.15.2+kde+r52
Comment by Antonio Rojas (arojas) - Tuesday, 08 February 2022, 16:29 GMT
Please post your ~/.config/qt5ct/qt5ct.conf
Comment by Tobias Erthal (archabuser) - Tuesday, 08 February 2022, 17:18 GMT
Here you go.
Thanks for pointing me in the right direction! Unsetting QT_QPA_PLATFORMTHEME seems to be a valid work-around.

Loading...