Skip to main content
Topic: [BUG] polkit-kde-agent crashes after first use (Read 579 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[BUG] polkit-kde-agent crashes after first use

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.
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.


Re: [BUG] polkit-kde-agent crashes after first use

Reply #2
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

Re: [BUG] polkit-kde-agent crashes after first use

Reply #3
Thank you @gripped

Re: [BUG] polkit-kde-agent crashes after first use

Reply #4
thanks
And you can also use /usr/lib/kf6/kdesu to authenticate

Re: [BUG] polkit-kde-agent crashes after first use

Reply #5
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