<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>524621</bug_id>
          
          <creation_ts>2026-08-22 22:41:27 +0000</creation_ts>
          <short_desc>killTimer called on already killed timer ID spamming the logs</short_desc>
          <delta_ts>2026-08-23 08:01:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>frameworks-kwallet</product>
          <component>general</component>
          <version>6.29.0</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>524500</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>jasoncarrete5</reporter>
          <assigned_to name="Valentin Rusu">valir</assigned_to>
          <cc>kdelibs-bugs-null</cc>
    
    <cc>kieltux</cc>
    
    <cc>mk.mateng</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2541004</commentid>
    <comment_count>0</comment_count>
    <who name="">jasoncarrete5</who>
    <bug_when>2026-08-22 22:41:27 +0000</bug_when>
    <thetext>DESCRIPTION

The system logs are spammed with messages like:

QObject::killTimer(): Error: timer id 1124073473 is not valid for object 0x7ffd51f1e360 (KWalletD, ), timer has not been killed.

From my analysis, this appears to happen in the KWalletD::timerEvent function. This function calls KWalletD::close which calls KWalletD::walletForHandle which calls killTimer. killTimer is also then called at the end of the KWalletD::timerEvent function on the same already killed timer ID.

STEPS TO REPRODUCE
1. Start kwalletd6
2. Open a wallet (e.g. with kwalletmanager)
3. Observe log spam

OBSERVED RESULT

Logs are spammed

EXPECTED RESULT

No log spam

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a terminal window):
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.2

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2541047</commentid>
    <comment_count>1</comment_count>
    <who name="Carsten Ziepke">kieltux</who>
    <bug_when>2026-08-23 05:26:44 +0000</bug_when>
    <thetext>DESCRIPTION

After update to Frameworks 6.29 system logs are spammed with kwalletd6 messages several times per second.

Aug 22 07:14:01 host kwalletd6[5925]: QObject::killTimer(): Error: timer id 234881031 is not valid for object 0x7ffed8295270 (KWalletD, ), timer has not been killed
Aug 22 07:14:01 host kwalletd6[5925]: QObject::killTimer(): Error: timer id 251658249 is not valid for object 0x7ffed8295270 (KWalletD, ), timer has not been killed
Aug 22 07:14:01 host kwalletd6[5925]: QObject::killTimer(): Error: timer id 268435466 is not valid for object 0x7ffed8295270 (KWalletD, ), timer has not been killed
Aug 22 07:14:01 host kwalletd6[5925]: QObject::killTimer(): Error: timer id 285212676 is not valid for object 0x7ffed8295270 (KWalletD, ), timer has not been killed

STEPS TO REPRODUCE
1. Start kwalletd6 with option &quot;Close after timeout&quot;
2. Open a wallet (e.g. with kwalletmanager)
3. Observe log spam

WORKAROUND
Disable &quot;Close after timeout&quot;

OBSERVED RESULT
Logs are spammed

EXPECTED RESULT
No log spam

SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 16.0
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.2
Kernel Version: 6.12.0-160000.37-default (64-bit)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2541063</commentid>
    <comment_count>2</comment_count>
    <who name="michaelk83">mk.mateng</who>
    <bug_when>2026-08-23 08:01:46 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 524500 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>