Your message dated Tue, 10 Nov 2026 22:38:47 +0000
with message-id <[email protected]>
and subject line Bug#1151868: fixed in qtkeychain 0.18.0-1
has caused the Debian Bug report #1151868,
regarding libqt6keychain1: isKwalletAvailable() blocks the GUI thread for 25 s 
while kwalletd has an unlock dialog open
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1151868: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1151868
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: qtkeychain

Version: 0.17.0-1

Severity: normal

Tags: upstream fixed-upstream



Hi,



Since 0.16.0, isKwalletAvailable() in qtkeychain/keychain_unix.cpp makes a

blocking call to org.kde.KWallet.networkWallet with the default 25 second

D-Bus timeout. It runs inline on the first keychain job, which is usually the

application's GUI thread, so the application freezes until the call times out.



kwalletd stops answering application-level D-Bus calls while an unlock dialog

is open for any client. That happens at login when the wallet password differs

from the login password, because kwallet-pam can't open the wallet. Several

autostarted applications can then ask for it at once, and any that probe

behind the dialog stall. In plasmashell that freezes the whole shell.



With the wallet locked and a dialog opened by another client, I measured:



  org.freedesktop.DBus.Peer.Ping         0 ms   reply

  org.kde.KWallet.networkWallet      25301 ms   NoReply



A Qt event loop with a 100 ms heartbeat went 25305 ms between ticks, so that

call accounts for the whole freeze.



Upstream fixed it by probing with org.freedesktop.DBus.Peer.Ping instead. The

QtDBus layer answers Ping, and it still triggers D-Bus activation.



  commit: 
https://github.com/frankosterfeld/qtkeychain/commit/007abb86535c6e112d7c0d32ad5372302619b509
 

  PR:     https://github.com/frankosterfeld/qtkeychain/pull/304 

  issue:  https://github.com/frankosterfeld/qtkeychain/issues/303 



No tagged release has it yet. Once this has a bug number I'll send the commit

as a quilt patch against 0.17.0.



I reproduced this on Kubuntu 26.10 with kwalletd6 4:26.08.0-0ubuntu1 and

libqt6keychain1 0.17.0-1. I haven't run it on Debian. Testing and unstable

have the same qtkeychain 0.17.0-1, so I expect the same behaviour, but that

comes from the version number, not a test. Debian 13 has 0.15.0, which

predates the regression.



Full analysis and repro steps are in the Ubuntu bug:

https://bugs.launchpad.net/ubuntu/+source/qtkeychain/+bug/2165214 



Thomas Moore (realstuffie)

--- End Message ---
--- Begin Message ---
Source: qtkeychain
Source-Version: 0.18.0-1
Done: Pino Toscano <[email protected]>

We believe that the bug you reported is fixed in the latest version of
qtkeychain, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pino Toscano <[email protected]> (supplier of updated qtkeychain package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 10 Nov 2026 23:16:39 +0100
Source: qtkeychain
Architecture: source
Version: 0.18.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian KDE Extras Team <[email protected]>
Changed-By: Pino Toscano <[email protected]>
Closes: 1151868
Changes:
 qtkeychain (0.18.0-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release:
     - fix KWallet availability freeze during wallet unlocking (Closes: 
#1151868)
   * Update the build dependencies according to the upstream build system:
     - bump libsecret-1-dev to 0.18.0
   * Bump the debhelper compatibility to 14:
     - bump the debhelper-compat build dependency to 14
     - drop the ${misc:Pre-Depends}, ${shlibs:Depends}, and ${misc:Depends}
       substvars
   * Drop breaks/replaces for versions older than what is in Debian Bookworm.
   * Update symbols files.
Checksums-Sha1:
 acd098ad67dc4fb626ffdb914420df6a23354853 2414 qtkeychain_0.18.0-1.dsc
 4d39eee22e54d0c71ac93ca2f3b72f333d944811 71159 qtkeychain_0.18.0.orig.tar.gz
 370545e7b3cb61f735a9ec4240d5acb8c48f999a 7092 qtkeychain_0.18.0-1.debian.tar.xz
 a0a509440283903caeba7d1639f1969572fb2dff 13075 
qtkeychain_0.18.0-1_source.buildinfo
Checksums-Sha256:
 654e1d980e5b48b9efbf122a8607ebea517e270ca7267d87dc5c8ebecc43cda4 2414 
qtkeychain_0.18.0-1.dsc
 65b47f801b9e0e0df6cf5265c5b33ded3f3bb2ace671f61cf8e4ec62d8ee499c 71159 
qtkeychain_0.18.0.orig.tar.gz
 3b04fd8db149d30ed66b0c6e3001f825fcaf456b490d112f5036add5d7087754 7092 
qtkeychain_0.18.0-1.debian.tar.xz
 8833a94dd7076c01eaf8fe19f9cb674ed2e2cc056c549e5eeac62f6cc8899c11 13075 
qtkeychain_0.18.0-1_source.buildinfo
Files:
 2d0badf0726770adaa79c564ebb0a069 2414 libs optional qtkeychain_0.18.0-1.dsc
 a70d5122d24650fd91f735bce6b76cb5 71159 libs optional 
qtkeychain_0.18.0.orig.tar.gz
 41d6ab3311654c0cc3feeb7c949f8c24 7092 libs optional 
qtkeychain_0.18.0-1.debian.tar.xz
 7e1d1d5baffa34f4e2fbb1612ce97df4 13075 libs optional 
qtkeychain_0.18.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXyqfuC+mweEHcAcHLRkciEOxP00FAmrzmAAACgkQLRkciEOx
P01AhxAAo/Bac4Rf0OH9zg6mZx9Vpr6hPpf8r5nN5iUj6Gj2jWj0KZOQz3bYjRuj
I6TeV1H3XXUOPqjbBbyj6ZHQ8/Dk+EI6ig0JIrS7xx4K4gIQXu0MEXiv09+Z3CaW
IthaorxLSyGillqQsDcG8dhBT97GYJeurF8RJXSUF5SQwVyQ7gNjD4qrPTaVy+qh
5mYpxceCq5U+o/wbWAqvHrSJBn9S3LrbtCOtv53+AbFDDU6cnMD+uikwmTXic9QI
pjo7nRtSBe3VKNJAosVcBReIgW0FkUngrhaezZQncha41+YzrSe1grv1ckughYEm
R1WbdoUkRi7UljrCUH6xEk9qaZ8qdrxDMaCsILDQSVj4dWbNLpvkowKdAX1yre5g
VUoI9GSh2xy1nPJpoLzKUHW4QXzV6+LCAZ4NfL1JefZslPy2dARuqf1FvNh9Bcxi
ZINpJFahbb58/YUejesxMS2xtzKmDVMuLEvqpuKn/CQoBJUHHJMSpmo2S9eDs95t
44CsZMEdRoi46J7YuxR1v2ZvQNtGcvNWkMxqEaAeX4nLi6e/ZJVIp2xxVVuNF5uf
aKQtbBAHxR5BH7itsKSdfubEuyVA1hYDUXrNlF7bJm8sab9eeYi7SPXd5feO6sZt
RYE5NegbWjJCWLqHJRBv9Q/cgAijk2FY9gq2Ry5kue3u2ml8VFY=
=CjXF
-----END PGP SIGNATURE-----

Attachment: pgplGqvkhQz_O.pgp
Description: PGP signature


--- End Message ---

Reply via email to