Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: gripped on 18 April 2024, 14:02:18

Title: [BUG] polkit-kde-agent crashes after first use
Post by: gripped on 18 April 2024, 14:02:18
qt6-base has a bug which was causing only the first use of polkit-kde-agent to work.
Looking deeper I found this:
Quote
Finishing obtaining privileges
KCrash: appFilePath points to nullptr!
KCrash: Application '<unknown>' crashing... crashRecursionCounter = 2
Segmentation fault ```
And this was thankfully one of those too rare occasions where searching the error took me straight to the answer (https://bugs.kde.org/show_bug.cgi?id=485407).
As the bug report suggests using the git tag v6.7.0-beta3 and building qt6-base locally solves the issue.
If anyone needs more detail on how to do that let me know and I'll add it.
Title: Re: [BUG] polkit-kde-agent crashes after first use
Post by: Ogis on 18 April 2024, 14:11:44
If anyone needs more detail on how to do that let me know and I'll add it.

Hello.

Please add more detail how to do that.

Thank you.
Title: Re: [BUG] polkit-kde-agent crashes after first use
Post by: gripped on 18 April 2024, 15:56:42
Code: [Select]
git clone https://gitea.artixlinux.org/packages/qt6-base.git
cd qt6-base
In the PKGBUILD change line 83 to:
Code: [Select]
source=(git+https://code.qt.io/qt/$_pkgfn#tag=v$pkgver-beta3
Change line 87 to
Code: [Select]
sha256sums=('b9200a629a12917b33748a6cb25880e9429e294b03623011201a7195a888f36f'
or
Code: [Select]
sha256sums=('SKIP'
To build and install (add r to the options if you don't want to keep any 'makedepends' installed):
Code: [Select]
makepkg -si
Title: Re: [BUG] polkit-kde-agent crashes after first use
Post by: slimypotato on 19 April 2024, 05:04:39
Thank you @gripped
Title: Re: [BUG] polkit-kde-agent crashes after first use
Post by: winnie on 04 May 2024, 18:49:02
thanks
And you can also use /usr/lib/kf6/kdesu to authenticate
Title: Re: [BUG] polkit-kde-agent crashes after first use
Post by: gripped on 04 May 2024, 22:11:02
The good new is that the bug report has been noticed by Nate Graham so I'm slightly more confident it will get fixed before QT jumps another version and using the beta3 branch ceases to be useful