[From nobody Tue Nov 10 22:39:05 2026
Received: (at submit) by bugs.debian.org; 24 Oct 2026 03:36:16 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-7.7 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_SEVERITY,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
 DKIM_VALID_EF,HTML_MESSAGE,HTML_NBSP,MD5_SHA1_SUM,MULTALT,
 RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,VERSION autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 30; hammy, 145; neutral, 94; spammy,
 5. spammytokens:0.976-+--H*rp:U*sales, 0.963-+--H*rp:D*co.nz,
 0.961-+--H*R:U*sales, 0.961-4--H*r:sk:sales@m, 0.960-+--H*F:D*co.nz
 hammytokens:0.000-+--qtdbus, 0.000-+--QtDBus, 0.000-+--sk:orgkde,
 0.000-+--sk:org.kde, 0.000-+--d-bus
Return-path: &lt;sales@mooresolutions.co.nz&gt;
Received: from sender-op-o11.zoho.com.au ([103.138.129.1]:17143)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sales@mooresolutions.co.nz&gt;)
 id 1xKSYJ-00GZFn-3C for submit@bugs.debian.org;
 Sat, 24 Oct 2026 03:36:16 +0000
ARC-Seal: i=1; a=rsa-sha256; t=1792812968; cv=none; 
 d=zohomail.com.au; s=zohoarc; 
 b=qmG8Q3FE5TueUmCq7VAzr+uCvM3iGgRRmC0Z+VbWOPG65qTLKY1ZlckFaSS/1U80zQaV3P+/oVcPYAWlMhMr+U9zX1A/FKYGOh+QkwXFIz45WJTiJ2QV1xB/heSPSGfAMwv56lRdF3tIUYZMxiyufYqLJbkFXNwdjbsKUFgbzCA=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com.au;
 s=zohoarc; t=1792812968;
 h=Content-Type:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:Reply-To:Reply-To:Subject:Subject:To:To:Message-Id:Cc;
 bh=+D7gPafOtA3UDp+3T0HWQrUQX3pbVnlSWP3gTk8DanY=; 
 b=zLTphzvNoGZKc8lw8jdIEv7MiNFXb81vtkOXhxk6cqSFSKHXeI5JleXqXntJrg/I/y+cvPgi/T0IcwI2yG7eRHtnU0kEFGiUSa8CNzwwFiuztOILAYDujR5x40KXdEMopYV8ZUqMz+qFH391bnVmRoN/s4TSI6J+By1dFGChU5w=
ARC-Authentication-Results: i=1; mx.zohomail.com.au;
 dkim=pass  header.i=mooresolutions.co.nz;
 spf=pass  smtp.mailfrom=sales@mooresolutions.co.nz;
 dmarc=pass header.from=&lt;sales@mooresolutions.co.nz&gt;
DKIM-Signature: a=rsa-sha256;
 b=Hr7M6RxQDFKkkdM1xyIGCrCNFl/X16YESvGrENvzHqqY5wtzOiCAvTkRBZ2ppwP/LnfCNxH+vH4b+0FZyPVl4BqL0E6bgRtM8LfJ6Vt7x1U7f7yaEq/0hdK9EKX1jGmQ4YU6u3DPcr8IESP4GZRJEW4DN8qvbNUeuc4qJ8dE8PY=;
 c=relaxed/relaxed; s=zmail; d=mooresolutions.co.nz; v=1;
 bh=+D7gPafOtA3UDp+3T0HWQrUQX3pbVnlSWP3gTk8DanY=;
 h=Content-Description:Content-ID:Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Resent-Sender:Resent-Cc:Resent-Date:Resent-To:Reply-To:Resent-Message-ID:Resent-From:Sender:Subject:To:Date:From:Message-Id:Reply-To:Subject:To:Cc;
Received: from mail.zoho.com.au by mx.zoho.com.au
 with SMTP id 1792812965694494.87478540144593;
 Sat, 24 Oct 2026 14:36:05 +1100 (AEDT)
Date: Sat, 24 Oct 2026 16:36:05 +1300
From: Thomas Moore &lt;sales@mooresolutions.co.nz&gt;
Reply-To: sales@mooresolutions.co.nz
To: &quot;submit&quot; &lt;submit@bugs.debian.org&gt;
Message-Id: &lt;1a16bfadf08.4fecd9ce80996.6509586569562429065@mooresolutions.co.nz&gt;
In-Reply-To: 
Subject: libqt6keychain1: isKwalletAvailable() blocks the GUI thread for 25
 s while kwalletd has an unlock dialog open
MIME-Version: 1.0
Content-Type: multipart/alternative; 
 boundary=&quot;----=_Part_286555_1710189514.1792812965640&quot;
Importance: Medium
User-Agent: Zoho Mail
X-Mailer: Zoho Mail
Delivered-To: submit@bugs.debian.org

------=_Part_286555_1710189514.1792812965640
Content-Type: text/plain; charset=&quot;UTF-8&quot;
Content-Transfer-Encoding: quoted-printable

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 t=
he

application's GUI thread, so the application freezes until the call times o=
ut.



kwalletd stops answering application-level D-Bus calls while an unlock dial=
og

is open for any client. That happens at login when the wallet password diff=
ers

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:



=C2=A0 org.freedesktop.DBus.Peer.Ping=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 0 ms=C2=A0=C2=A0 reply

=C2=A0 org.kde.KWallet.networkWallet=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 25301 ms=
=C2=A0=C2=A0 NoReply



A Qt event loop with a 100 ms heartbeat went 25305 ms between ticks, so tha=
t

call accounts for the whole freeze.



Upstream fixed it by probing with org.freedesktop.DBus.Peer.Ping instead. T=
he

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



=C2=A0 commit: https://github.com/frankosterfeld/qtkeychain/commit/007abb86=
535c6e112d7c0d32ad5372302619b509=20

=C2=A0 PR:=C2=A0=C2=A0=C2=A0=C2=A0 https://github.com/frankosterfeld/qtkeyc=
hain/pull/304=20

=C2=A0 issue:=C2=A0 https://github.com/frankosterfeld/qtkeychain/issues/303=
=20



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

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=20



Thomas Moore (realstuffie)
------=_Part_286555_1710189514.1792812965640
Content-Type: text/html; charset=&quot;UTF-8&quot;
Content-Transfer-Encoding: quoted-printable

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;&lt;html&gt;&lt;head&gt;=
&lt;meta content=3D&quot;text/html;charset=3DUTF-8&quot; http-equiv=3D&quot;Content-Type&quot;&gt;&lt;/h=
ead&gt;&lt;body &gt;&lt;div style=3D&quot;font-family: Verdana, Arial, Helvetica, sans-serif=
; font-size: 10pt;&quot;&gt;&lt;div&gt;Source: qtkeychain&lt;br&gt;&lt;/div&gt;&lt;div&gt;Version: 0.17.0-1=
&lt;br&gt;&lt;/div&gt;&lt;div&gt;Severity: normal&lt;br&gt;&lt;/div&gt;&lt;div&gt;Tags: upstream fixed-upstream=
&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Hi,&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Since 0.16.0=
, isKwalletAvailable() in qtkeychain/keychain_unix.cpp makes a&lt;br&gt;&lt;/div&gt;&lt;di=
v&gt;blocking call to org.kde.KWallet.networkWallet with the default 25 second=
&lt;br&gt;&lt;/div&gt;&lt;div&gt;D-Bus timeout. It runs inline on the first keychain job, whi=
ch is usually the&lt;br&gt;&lt;/div&gt;&lt;div&gt;application's GUI thread, so the applicatio=
n freezes until the call times out.&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;kwalletd s=
tops answering application-level D-Bus calls while an unlock dialog&lt;br&gt;&lt;/di=
v&gt;&lt;div&gt;is open for any client. That happens at login when the wallet passwo=
rd differs&lt;br&gt;&lt;/div&gt;&lt;div&gt;from the login password, because kwallet-pam can't=
 open the wallet. Several&lt;br&gt;&lt;/div&gt;&lt;div&gt;autostarted applications can then a=
sk for it at once, and any that probe&lt;br&gt;&lt;/div&gt;&lt;div&gt;behind the dialog stall=
. In plasmashell that freezes the whole shell.&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div=
&gt;With the wallet locked and a dialog opened by another client, I measured:&lt;=
br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&nbsp; org.freedesktop.DBus.Peer.Ping&nbsp;&amp;nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 ms&nbsp;&nbsp; reply&lt;br&gt;&lt;/div&gt;&lt;di=
v&gt;&nbsp; org.kde.KWallet.networkWallet&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 25301 =
ms&nbsp;&nbsp; NoReply&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;A Qt event loop with a =
100 ms heartbeat went 25305 ms between ticks, so that&lt;br&gt;&lt;/div&gt;&lt;div&gt;call ac=
counts for the whole freeze.&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Upstream fixed it=
 by probing with org.freedesktop.DBus.Peer.Ping instead. The&lt;br&gt;&lt;/div&gt;&lt;div&gt;=
QtDBus layer answers Ping, and it still triggers D-Bus activation.&lt;br&gt;&lt;/div=
&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&nbsp; commit: &lt;a target=3D&quot;_blank&quot; href=3D&quot;https://gi=
thub.com/frankosterfeld/qtkeychain/commit/007abb86535c6e112d7c0d32ad5372302=
619b509&quot;&gt;https://github.com/frankosterfeld/qtkeychain/commit/007abb86535c6e=
112d7c0d32ad5372302619b509&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&nbsp; PR:&nbsp;&nbsp;&nbsp;&amp;n=
bsp; &lt;a target=3D&quot;_blank&quot; href=3D&quot;https://github.com/frankosterfeld/qtkeych=
ain/pull/304&quot;&gt;https://github.com/frankosterfeld/qtkeychain/pull/304&lt;/a&gt;&lt;br&gt;=
&lt;/div&gt;&lt;div&gt;&nbsp; issue:&nbsp; &lt;a target=3D&quot;_blank&quot; href=3D&quot;https://github.=
com/frankosterfeld/qtkeychain/issues/303&quot;&gt;https://github.com/frankosterfeld=
/qtkeychain/issues/303&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;No tagged release h=
as it yet. Once this has a bug number I'll send the commit&lt;br&gt;&lt;/div&gt;&lt;div&gt;as=
 a quilt patch against 0.17.0.&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I reproduced th=
is on Kubuntu 26.10 with kwalletd6 4:26.08.0-0ubuntu1 and&lt;br&gt;&lt;/div&gt;&lt;div&gt;lib=
qt6keychain1 0.17.0-1. I haven't run it on Debian. Testing and unstable&lt;br&gt;=
&lt;/div&gt;&lt;div&gt;have the same qtkeychain 0.17.0-1, so I expect the same behaviou=
r, but that&lt;br&gt;&lt;/div&gt;&lt;div&gt;comes from the version number, not a test. Debian=
 13 has 0.15.0, which&lt;br&gt;&lt;/div&gt;&lt;div&gt;predates the regression.&lt;br&gt;&lt;/div&gt;&lt;div&gt;=
&lt;br&gt;&lt;/div&gt;&lt;div&gt;Full analysis and repro steps are in the Ubuntu bug:&lt;br&gt;&lt;/di=
v&gt;&lt;div&gt;&lt;a target=3D&quot;_blank&quot; href=3D&quot;https://bugs.launchpad.net/ubuntu/+sour=
ce/qtkeychain/+bug/2165214&quot;&gt;https://bugs.launchpad.net/ubuntu/+source/qtkey=
chain/+bug/2165214&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thomas Moore (realstuff=
ie)&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;/body&gt;&lt;/html&gt;
------=_Part_286555_1710189514.1792812965640--
]