https://bugs.kde.org/show_bug.cgi?id=521581

            Bug ID: 521581
           Summary: ksecretd crashes at reboot in Leap 16.0
    Classification: Frameworks and Libraries
           Product: frameworks-kwallet
      Version First 6.16.0
       Reported In:
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

2026-06-17a
ksecretd crashed at reboot in Leap 16.0

openSUSE Leap 16.0
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.12.0-160000.34-default (64-bit)
Graphics Platform: X11
Processors: 22 × Intel® Core™ Ultra 7 155H
Memory: 64 GiB of RAM (62.1 GiB usable)
Graphics Processor: Mesa Intel® Arc
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: NUC14RVH-B

kwalletd6 v6.16.0-bp160.1.2

Before this problem:
Installed current software updates with zypper dup
Worked on the computer as usual.

Reproduce the problem with:
Zypper software distribution upgrade to this Opensuse version.
Reboot the computer.

Other information:
The computer has SELinux active, with "SELINUX=enforcing".

Like
chris@suse9:~/tmp
$> coredumpctl --reverse
    TIME                          PID  UID  GID SIG     COREFILE EXE           
   SIZE
    Wed 2026-06-17 16:16:41 CEST 2397 1000 1000 SIGSEGV present 
/usr/bin/ksecretd 4.1M

### Ksecretd PID 2397 (stack trace of process 2397 aka gdb tread 1)

chris@suse9:~/tmp
$> coredumpctl gdb 2397
           PID: 2397 (ksecretd)
           UID: 1000 (chris)
           GID: 1000 (chris)
        Signal: 11 (SEGV)
     Timestamp: Wed 2026-06-17 16:16:40 CEST (1h 15min ago)
  Command Line: /usr/bin/ksecretd
    Executable: /usr/bin/ksecretd
 Control Group:
/user.slice/user-1000.slice/[email protected]/app.slice/app-dbus\x2d:1.2\x2dorg.kde.secretservicecompat.slice/dbus-:[email protected]
          Unit: [email protected]
     User Unit: dbus-:[email protected]
         Slice: user-1000.slice
     Owner UID: 1000 (chris)
       Boot ID: d9b1933e8892453ba8624af2bf909530
    Machine ID: 21d183505d224f4c85d4a2da82cb287c
      Hostname: suse9
       Storage:
/var/lib/systemd/coredump/core.ksecretd.1000.d9b1933e8892453ba8624af2bf909530.2397.1781705800000000.zst
(present)
  Size on Disk: 4.1M
       Message: Process 2397 (ksecretd) of user 1000 dumped core.

                Stack trace of thread 2397:
                #0  0x00007f105309ad1c __pthread_kill_implementation (libc.so.6
+ 0x93d1c)
                #1  0x00007f1053047fc6 raise (libc.so.6 + 0x40fc6)
                #2  0x00007f10556b79c1 _ZN6KCrash19defaultCrashHandlerEi
(libKF6Crash.so.6 + 0x79c1)
                #3  0x00007f1053048090 __restore_rt (libc.so.6 + 0x41090)
                #4  0x00007f10552ec9a3 n/a (libqca-qt6.so.2 + 0x7b9a3)
                #5  0x00007f10552ecf72 _ZN3QCA12MemoryRegionD2Ev
(libqca-qt6.so.2 + 0x7bf72)
                #6  0x000055e46ebee6d8 _ZN3QCA12SymmetricKeyD2Ev
(/usr/bin/ksecretd + 0x466d8)
                #7  0x000055e46ebee7c5
_ZNKSt14default_deleteI34KWalletFreedesktopSessionAlgorithmEclEPS0_
(/usr/bin/ksecretd + 0x467c5)
                #8  0x000055e46ec11f7d
_ZNKSt14default_deleteI25KWalletFreedesktopSessionEclEPS0_ (/usr/bin/ksecretd +
0x69f7d)
                #9  0x000055e46ebe3508
_ZNSt8_Rb_treeI7QStringSt4pairIKS0_St10unique_ptrI25KWalletFreedesktopSessionSt14default_deleteIS4_EEESt10_Select1stIS8_ESt4lessIS0_ESaIS8_EED2Ev
(/usr/bin/ksecretd + 0x3b508)
                #10 0x000055e46ebd33ab _ZN25KWalletFreedesktopServiceD0Ev
(/usr/bin/ksecretd + 0x2b3ab)
                #11 0x000055e46ebcd205 main (/usr/bin/ksecretd + 0x25205)
                #12 0x00007f1053031340 __libc_start_call_main (libc.so.6 +
0x2a340)
                #13 0x00007f1053031409 __libc_start_main@@GLIBC_2.34 (libc.so.6
+ 0x2a409)
                #14 0x000055e46ebcdc65 _start (/usr/bin/ksecretd + 0x25c65)

                Stack trace of thread 2423:
                #0  0x00007f105310b876 ppoll (libc.so.6 + 0x104876)
                #1  0x00007f1052c93c1b n/a (libglib-2.0.so.0 + 0x5fc1b)
                #2  0x00007f1052c9431c g_main_context_iteration
(libglib-2.0.so.0 + 0x6031c)
                #3  0x00007f10539f20c0
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x3f20c0)
                #4  0x00007f10537bb07b
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 +
0x1bb07b)
                #5  0x00007f10538a0ea6 _ZN7QThread4execEv (libQt6Core.so.6 +
0x2a0ea6)
                #6  0x00007f105477878e n/a (libQt6DBus.so.6 + 0x3a78e)
                #7  0x00007f1053919cb6 n/a (libQt6Core.so.6 + 0x319cb6)
                #8  0x00007f1053098ed9 start_thread (libc.so.6 + 0x91ed9)
                #9  0x00007f1053119a3c __clone3 (libc.so.6 + 0x112a3c)

                Stack trace of thread 2426:
                #0  0x00007f105310b2df __poll (libc.so.6 + 0x1042df)
                #1  0x00007f10535458aa n/a (libxcb.so.1 + 0xe8aa)
                #2  0x00007f105354741c xcb_wait_for_event (libxcb.so.1 +
0x1041c)
                #3  0x00007f1051b9625d n/a (libQt6XcbQpa.so.6 + 0x6725d)
                #4  0x00007f1053919cb6 n/a (libQt6Core.so.6 + 0x319cb6)
                #5  0x00007f1053098ed9 start_thread (libc.so.6 + 0x91ed9)
                #6  0x00007f1053119a3c __clone3 (libc.so.6 + 0x112a3c)

                Stack trace of thread 2486:
                #0  0x00007f10530958de __futex_abstimed_wait_common (libc.so.6
+ 0x8e8de)
                #1  0x00007f1053098318 pthread_cond_wait@@GLIBC_2.3.2
(libc.so.6 + 0x91318)
                #2  0x00007f1041bfe2f9 n/a (libgallium-24.3.3.so + 0x5fe2f9)
                #3  0x00007f1041bba53c n/a (libgallium-24.3.3.so + 0x5ba53c)
                #4  0x00007f1041bfe237 n/a (libgallium-24.3.3.so + 0x5fe237)
                #5  0x00007f1053098ed9 start_thread (libc.so.6 + 0x91ed9)
                #6  0x00007f1053119a3c __clone3 (libc.so.6 + 0x112a3c)

                Stack trace of thread 2487:
                #0  0x00007f10530958de __futex_abstimed_wait_common (libc.so.6
+ 0x8e8de)
                #1  0x00007f1053098318 pthread_cond_wait@@GLIBC_2.3.2
(libc.so.6 + 0x91318)
                #2  0x00007f1041bfe2f9 n/a (libgallium-24.3.3.so + 0x5fe2f9)
                #3  0x00007f1041bba53c n/a (libgallium-24.3.3.so + 0x5ba53c)
                #4  0x00007f1041bfe237 n/a (libgallium-24.3.3.so + 0x5fe237)
                #5  0x00007f1053098ed9 start_thread (libc.so.6 + 0x91ed9)
                #6  0x00007f1053119a3c __clone3 (libc.so.6 + 0x112a3c)
                ELF object binary architecture: AMD x86-64

GNU gdb (GDB; SUSE Linux 16) 16.3
This GDB was configured as "x86_64-suse-linux".

Reading symbols from /usr/bin/ksecretd...
Reading symbols from /usr/lib/debug/usr/bin/ksecretd.debug...

warning: Can't open file anon_inode:i915.gem during file-backed mapping note
processing
[New LWP 2397]
[New LWP 2423]
[New LWP 2426]
[New LWP 2486]
[New LWP 2487]
Downloading separate debug info for /lib64/libKF6WalletBackend.so.6
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Core was generated by `/usr/bin/ksecretd'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=11, no_tid=no_tid@entry=0)
    at pthread_kill.c:44
44            return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO
(ret) : 0;
[Current thread is 1 (Thread 0x7f1051c66e40 (LWP 2397))]

(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=11, no_tid=no_tid@entry=0)
    at pthread_kill.c:44
#1  0x00007f105309ada3 in __pthread_kill_internal (signo=11,
threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007f1053047fc6 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007f10556b79c1 in KCrash::defaultCrashHandler (sig=11) at
/usr/src/debug/kcrash-6.16.0/src/kcrash.cpp:605
#4  0x00007f1053048090 in <signal handler called> () at /lib64/libc.so.6
#5  0x00007f10552ec9a3 in QCA::Botan::MemoryRegion<unsigned char>::deallocate
    (n=17, p=0x55e48d097a60 "\240\002\037S\020\177", this=0x55e48d124220)
    at /usr/src/debug/qca-2.3.10/src/botantools/botan/botan/secmem.h:188
#6  QCA::Botan::MemoryRegion<unsigned char>::~MemoryRegion
(this=0x55e48d124220, this=<optimized out>)
    at /usr/src/debug/qca-2.3.10/src/botantools/botan/botan/secmem.h:157
#7  QCA::Botan::SecureVector<unsigned char>::~SecureVector
(this=0x55e48d124220, this=<optimized out>)
    at /usr/src/debug/qca-2.3.10/src/botantools/botan/botan/secmem.h:299
#8  QCA::ai_delete (ai=<optimized out>) at
/usr/src/debug/qca-2.3.10/src/qca_tools.cpp:335
#9  QCA::ai_delete (ai=<optimized out>) at
/usr/src/debug/qca-2.3.10/src/qca_tools.cpp:331
#10 0x00007f10552ecf72 in QCA::MemoryRegion::Private::~Private
(this=0x55e48d1241e0, this=<optimized out>)
    at /usr/src/debug/qca-2.3.10/src/qca_tools.cpp:370
#11 QSharedDataPointer<QCA::MemoryRegion::Private>::~QSharedDataPointer
(this=<optimized out>, this=<optimized out>)
    at /usr/include/qt6/QtCore/qshareddata.h:57
#12 QSharedDataPointer<QCA::MemoryRegion::Private>::~QSharedDataPointer
(this=<optimized out>, this=<optimized out>)
    at /usr/include/qt6/QtCore/qshareddata.h:57
#13 QCA::MemoryRegion::~MemoryRegion (this=<optimized out>, this=<optimized
out>)
    at /usr/src/debug/qca-2.3.10/src/qca_tools.cpp:418
#14 0x00007f10552ed4e5 in QCA::SecureArray::~SecureArray (this=<optimized out>,
this=<optimized out>)
    at /usr/src/debug/qca-2.3.10/src/qca_tools.cpp:597
#15 0x000055e46ebee6d8 in QCA::SymmetricKey::~SymmetricKey (this=<optimized
out>, this=<optimized out>)
    at /usr/include/qt6/Qca-qt6/QtCrypto/qca_core.h:1263
#16
KWalletFreedesktopSessionAlgorithmDhAes::~KWalletFreedesktopSessionAlgorithmDhAes
    (this=0x55e48d123cd0, this=<optimized out>)
    at
/usr/src/debug/kwallet-6.16.0/src/runtime/ksecretd/kwalletfreedesktopsession.h:74
#17
KWalletFreedesktopSessionAlgorithmDhAes::~KWalletFreedesktopSessionAlgorithmDhAes
    (this=0x55e48d123cd0, this=<optimized out>)
    at
/usr/src/debug/kwallet-6.16.0/src/runtime/ksecretd/kwalletfreedesktopsession.h:74
#18 0x000055e46ebee7c5 in
std::default_delete<KWalletFreedesktopSessionAlgorithm>::operator()
    (__ptr=<optimized out>, this=<optimized out>) at
/usr/include/c++/13/bits/unique_ptr.h:99
#19 std::unique_ptr<KWalletFreedesktopSessionAlgorithm,
std::default_delete<KWalletFreedesktopSessionAlgorithm> >::~unique_ptr
(this=0x55e48ce22630, this=<optimized out>) at
/usr/include/c++/13/bits/unique_ptr.h:404
#20 KWalletFreedesktopSession::~KWalletFreedesktopSession (this=0x55e48ce22610,
this=<optimized out>)
    at
/usr/src/debug/kwallet-6.16.0/src/runtime/ksecretd/kwalletfreedesktopsession.h:29
#21 KWalletFreedesktopSession::~KWalletFreedesktopSession (this=0x55e48ce22610,
this=<optimized out>)
    at
/usr/src/debug/kwallet-6.16.0/src/runtime/ksecretd/kwalletfreedesktopsession.h:29
#22 0x000055e46ec11f7d in
std::default_delete<KWalletFreedesktopSession>::operator()
    (__ptr=<optimized out>, this=<optimized out>) at
/usr/include/c++/13/bits/unique_ptr.h:99
#23 std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> >::~unique_ptr
    (this=0x55e48d0ec038, this=<optimized out>) at
/usr/include/c++/13/bits/unique_ptr.h:404
#24 std::pair<QString const, std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> > >::~pair (this=0x55e48d0ec020,
this=<optimized out>) at /usr/include/c++/13/bits/stl_pair.h:187
#25 std::destroy_at<std::pair<QString const,
std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> > > >
(__location=0x55e48d0ec020) at /usr/include/c++/13/bits/stl_construct.h:88
#26 std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<QString
const, std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> > > > >
>::destroy<std::pair<QString const, std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> > > > (__p=0x55e48d0ec020,
__a=<optimized out>)
    at /usr/include/c++/13/bits/alloc_traits.h:560
#27 std::_Rb_tree<QString, std::pair<QString const,
std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> > >,
std::_Select1st<std::pair<QString const,
std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> > > >, std::less<QString>,
std::allocator<std::pair<QString const,
std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> > > > >::_M_destroy_node
    (__p=0x55e48d0ec000, this=<optimized out>) at
/usr/include/c++/13/bits/stl_tree.h:625
#28 std::_Rb_tree<QString, std::pair<QString const,
std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> > >,
std::_Select1st<std::pair<QString const,
std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> > > >, std::less<QString>,
std::allocator<std::pair<QString const,
std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> > > > >::_M_drop_node
    (this=<optimized out>, __p=0x55e48d0ec000) at
/usr/include/c++/13/bits/stl_tree.h:633
#29 std::_Rb_tree<QString, std::pair<QString const,
std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> > >,
std::_Select1st<std::pair<QString const,
std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> > > >, std::less<QString>,
std::allocator<std::pair<QString const,
std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> > > >
>::_M_erase(std::_Rb_tree_node<std::pair<QString const,
std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> > > >*) [clone .isra.0]
(__x=0x55e48d0ec000, this=<optimized out>) at
/usr/include/c++/13/bits/stl_tree.h:1938
#30 0x000055e46ebe3508 in std::_Rb_tree<QString, std::pair<QString const,
std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> > >,
std::_Select1st<std::pair<QString const,
std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> > > >, std::less<QString>,
std::allocator<std::pair<QString const,
std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> > > > >::~_Rb_tree
    (this=0x55e48cfad508, this=<optimized out>) at
/usr/include/c++/13/bits/stl_tree.h:736
#31 std::map<QString, std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> >, std::less<QString>,
std::allocator<std::pair<QString const,
std::unique_ptr<KWalletFreedesktopSession,
std::default_delete<KWalletFreedesktopSession> > > > >::~map
(this=0x55e48cfad508, this=<optimized out>)
    at /usr/include/c++/13/bits/stl_map.h:314
#32 KWalletFreedesktopService::~KWalletFreedesktopService (this=0x55e48cfad4f0,
this=<optimized out>)
    at
/usr/src/debug/kwallet-6.16.0/src/runtime/ksecretd/kwalletfreedesktopservice.cpp:182
#33 0x000055e46ebd33ab in KWalletFreedesktopService::~KWalletFreedesktopService
    (this=0x55e48cfad4f0, this=<optimized out>)
    at
/usr/src/debug/kwallet-6.16.0/src/runtime/ksecretd/kwalletfreedesktopservice.cpp:182
#34 std::default_delete<KWalletFreedesktopService>::operator()
(__ptr=0x55e48cfad4f0, this=<optimized out>)
    at /usr/include/c++/13/bits/unique_ptr.h:99
#35 std::unique_ptr<KWalletFreedesktopService,
std::default_delete<KWalletFreedesktopService> >::~unique_ptr
    (this=0x7ffc47d36648, this=<optimized out>) at
/usr/include/c++/13/bits/unique_ptr.h:404
#36 KSecretD::~KSecretD (this=0x7ffc47d36580, this=<optimized out>)
    at /usr/src/debug/kwallet-6.16.0/src/runtime/ksecretd/ksecretd.cpp:177
#37 0x000055e46ebcd205 in main (argc=<optimized out>, argv=<optimized out>)
    at /usr/src/debug/kwallet-6.16.0/src/runtime/ksecretd/main.cpp:213
(gdb) q

Bye

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to