Kvantum (Qt6) causes segmentation fault

Problems with packages? Post here, using [tags] of the package name.

Kvantum (Qt6) causes segmentation fault

Postby logan2611 » Sun Dec 08, 2024 5:38 am

Launching a Qt6 program with "QT_STYLE_OVERRIDE=kvantum" causes it to segfault (or just having it set as your theme).

Seg fault occurs here [url]https://github.com/qt/qtbase/blob/6.8.0/src/corelib/text/qstring.cpp#L7192[/url]

For some reason, this function is getting passed a bad pointer:
[code]
Thread 1 "pavucontrol-qt" hit Breakpoint 1.1, QUnicodeTables::convertCase<QString const> (str=..., which=which@entry=QUnicodeTables::LowerCase) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstring.cpp:7192
$886 = (const QString &) @0xffffffffe7a8: {d = {d = 0x0, ptr = 0x0, size = 4}, static _empty = 0 u'\000'}
[/code]

I was able to follow it until [url]https://github.com/qt/qtbase/blob/6.8.0/src/corelib/kernel/qmetatype.cpp#L1125[/url] at which point my laptop runs out of RAM and swap.

This issue has been reproduced on qt6ct and pavucontrol-qt. This issue does not affect Qt5 programs.

EDIT: Forum is a bit broken too ;)
EDIT2: Should also mention that removing "~/.config/Kvantum" did not help. This path includes my current theme as well.
logan2611
 
Posts: 1
Joined: Sun Dec 08, 2024 5:25 am

Re: Kvantum (Qt6) causes segmentation fault

Postby chriswyatt » Wed Jan 08, 2025 4:49 pm

I also started to get a segmentation fault with Kvantum quite a while back. I can't remember when it started, but I ended up just uninstalling it. It was causing my entire LXQt session to crash on login. I didn't debug it, so I'm not sure if my segmentation fault also relates to pavucontrol.
chriswyatt
 
Posts: 12
Joined: Wed Nov 15, 2023 12:29 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 17 guests