Bug 504082 - kwalletd6 6.14.0 crashed when starting Plasma
Summary: kwalletd6 6.14.0 crashed when starting Plasma
Status: RESOLVED DUPLICATE of bug 502808
Alias: None
Product: frameworks-kwallet
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.14.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Valentin Rusu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-12 02:52 UTC by Matt Fagnani
Modified: 2025-05-28 08:11 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Fagnani 2025-05-12 02:52:17 UTC
SUMMARY

I ran a dnf offline update in a Fedora 42 KDE installation which included KF 6.14.0. When I logged in to Plasma 6.3.5 on Wayland from sddm on the boot after the update, an abrt crash notification was shown for kwalletd6. In frame 12 in QGuiApplicationPrivate::init of the trace had memory errors in pointers ptr like 
session_key = {d = {d = 0x7ffd72881d90, ptr = 0x10 <error: Cannot access memory at address 0x10>, size = 140114346598400}, static _empty = 0 u'\000'}
envPlugins = {d = {d = 0x7ffd72881d50, ptr = 0xa <error: Cannot access memory at address 0xa>, size = 140726524976480}, static _empty = 0 '\000'}

(gdb) thread apply all bt full

Thread 2 (Thread 0x7f6ed54ef6c0 (LWP 1784)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6ee7e759da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:49
        result = <optimized out>
        pd = <optimized out>
        ch = <optimized out>
#2  0x00007f6ee7e75a24 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:75
        r = <optimized out>
#3  0x00007f6ee7eef176 in __GI_ppoll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>, sigmask=<optimized out>) at ../sysdeps/unix/sysv/linux/ppoll.c:42
        tval = {tv_sec = 24, tv_nsec = 883909576}
#4  0x00007f6ee9522210 in g_main_context_iterate_unlocked.isra () at /lib64/libglib-2.0.so.0
#5  0x00007f6ee95222d3 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#6  0x00007f6ee87ff56d in QEventDispatcherGlib::processEvents (this=0x7f6ed0000b70, flags=...) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:399
        d = 0x7f6ed0000b90
        canWait = <optimized out>
        savedFlags = {<QtPrivate::QFlagsStorageHelper<QEventLoop::ProcessEventsFlag, 4>> = {<QtPrivate::QFlagsStorage<QEventLoop::ProcessEventsFlag>> = {static IntegerSize = 4, i = 0}, <No data fields>}, <No data fields>}
        result = <optimized out>
#7  0x00007f6ee8503783 in QEventLoop::exec (this=this@entry=0x7f6ed54ee830, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/global/qflags.h:77
        d = 0x7f6ed0001590
        threadData = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--c
        locker = {m_mutex = 0x55c31c2e7428, m_isLocked = false}
        ref = {d = <optimized out>, locker = <optimized out>, exceptionCaught = <optimized out>}
        app = <optimized out>
#8  0x00007f6ee86217fd in QThread::exec (this=this@entry=0x7f6ee8bf8cc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/thread/qthread.cpp:644
        d = 0x55c31c2e73b0
        status = 0x7f6ed54ef658
        locker = {m_mutex = 0x55c31c2e7428, m_isLocked = false}
        eventLoop = {<QObject> = {_vptr.QObject = 0x7f6ee8a90cf0 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7f6ee890d210 <QObject::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN7QObjectE_t>+272>, data = 0x7f6ee890d100 <QObject::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN7QObjectE_t>>, static_metacall = 0x7f6ee855cfe0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7f6ee8a92ae0 <QObject::qt_staticMetaObjectRelocatingContent<(anonymous namespace)::qt_meta_tag_ZN7QObjectE_t>>, extradata = 0x0}}, d_ptr = {d = 0x7f6ed0001590}}, static staticMetaObject = {d = {superdata = {direct = 0x7f6ee8a8cc40 <QObject::staticMetaObject>}, stringdata = 0x7f6ee890a8ac <QEventLoop::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN10QEventLoopE_t>+236>, data = 0x7f6ee890a7c0 <QEventLoop::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN10QEventLoopE_t>>, static_metacall = 0x7f6ee8503360 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7f6ee8a90da0 <QEventLoop::qt_staticMetaObjectRelocatingContent<(anonymous namespace)::qt_meta_tag_ZN10QEventLoopE_t>>, extradata = 0x0}}}
        returnCode = <optimized out>
#9  0x00007f6ee8b48901 in QDBusConnectionManager::run (this=0x7f6ee8bf8cc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/dbus/qdbusconnectionmanager.cpp:144
        locker = {_M_device = <optimized out>}
#10 0x00007f6ee86bdde4 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:433
#11 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:365
#12 QThreadPrivate::start (arg=0x7f6ee8bf8cc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:393
        __clframe = {__cancel_routine = <optimized out>, __cancel_arg = 0x7f6ee8bf8cc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>, __do_it = 1, __cancel_type = <optimized out>}
        thr = 0x7f6ee8bf8cc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>
        data = <optimized out>
#13 0x00007f6ee7e791d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140114001852096, -3118923786864392567, 140114001852096, 140726524973664, 2, 140726524973927, -3118923786839226743, -3118956021469116791}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#14 0x00007f6ee7efbcec in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7f6ee9a8f500 (LWP 1761)):
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
        tid = <optimized out>
        ret = 0
        pd = <optimized out>
        old_mask = {__val = {140726524974032}}
        ret = <optimized out>
#1  0x00007f6ee7e7b1e3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#2  0x00007f6ee7e21afe in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
        ret = <optimized out>
#3  0x00007f6ee7e096d0 in __GI_abort () at abort.c:73
        act = {__sigaction_handler = {sa_handler = 0x107, sa_sigaction = 0x107}, sa_mask = {__val = {140726524974000, 94296480210320, 94296480210336, 263, 11171291131761621248, 263, 3, 140726524974288, 140726524974144, 140726524975088, 140726524975216, 140726524974112, 140114320089403, 263, 11171291131761621248, 18374403900871474942}}, sa_flags = -1491109632, sa_restorer = 0x7f6ee7a7cad2}
#4  0x00007f6ee841abfc in qAbort () at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/global/qassert.cpp:46
#5  0x00007f6ee846e308 in qt_message_fatal<QString&> (context=<optimized out>, message=...) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/global/qlogging.cpp:2122
#6  qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x7f6ee7a7cad2 "%s", ap=ap@entry=0x7ffd728814b8) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/global/qlogging.cpp:381
        buf = {d = {d = 0x55c31c2ccf90, ptr = 0x55c31c2ccfa0 u"This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.\n\nAvailable platform plugins are: vkkhrdisplay, minimal, linuxfb,"..., size = 263}, static _empty = 0 u'\000'}
#7  0x00007f6ee841c334 in QMessageLogger::fatal (this=this@entry=0x7ffd72881890, msg=msg@entry=0x7f6ee7a7cad2 "%s") at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/global/qlogging.cpp:883
        ctxt = {<QMessageLogContext> = {static CurrentVersion = 2, version = 3, line = 0, file = 0x0, function = 0x0, category = 0x7f6ee7a767ab "default"}, static DefaultBacktraceDepth = 32, backtrace = std::optional [no contained value]}
        ap = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7ffd728816f0, reg_save_area = 0x7ffd72881620}}
#8  0x00007f6ee722dc6d in init_platform (pluginNamesWithArguments=..., platformPluginPath=..., platformThemeName=..., argc=@0x7ffd72881ebc: 4, argv=argv@entry=0x7ffd728821d8) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/gui/kernel/qguiapplication.cpp:1345
        fatalMessage = {d = {d = 0x55c31c302440, ptr = 0x55c31c302450 u"This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.\n\nAvailable platform plugins are: vkkhrdisplay, minimal, linuxfb,"..., size = 263}, static _empty = 0 u'\000'}
        plugins = {<QListSpecialMethods<QString>> = {<QListSpecialMethodsBase<QString>> = {<No data fields>}, <No data fields>}, d = {d = 0x55c31c2ce4a0, ptr = 0x55c31c2ce4b0, size = 2}}
        platformArguments = {<QListSpecialMethods<QString>> = {<QListSpecialMethodsBase<QString>> = {<No data fields>}, <No data fields>}, d = {d = 0x0, ptr = 0x0, size = 0}}
        availablePlugins = {<QListSpecialMethods<QString>> = {<QListSpecialMethodsBase<QString>> = {<No data fields>}, <No data fields>}, d = {d = 0x55c31c2e6690, ptr = 0x55c31c2e66a0, size = 10}}
        themeNames = {<QListSpecialMethods<QString>> = {<QListSpecialMethodsBase<QString>> = {<No data fields>}, <No data fields>}, d = {d = <optimized out>, ptr = <optimized out>, size = <optimized out>}}
        platformIntegrationThemeNames = {<QListSpecialMethods<QString>> = {<QListSpecialMethodsBase<QString>> = {<No data fields>}, <No data fields>}, d = {d = 0x55c31c302440, ptr = 0x55c31c302450, size = 263}}
        platformIntegration = <optimized out>
#9  0x00007f6ee72e269b in QGuiApplicationPrivate::createPlatformIntegration (this=0x55c31c2ccdb0) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/gui/kernel/qguiapplication.cpp:1598
        platformPluginPath = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}
        platformName = {d = {d = 0x55c31c2e4680, ptr = 0x55c31c2e4690 "wayland;xcb", size = 11}, static _empty = 0 '\000'}
        platformArguments = {<QListSpecialMethods<QByteArray>> = {<QListSpecialMethodsBase<QByteArray>> = {<No data fields>}, <No data fields>}, d = {d = 0x55c31c2ce580, ptr = 0x55c31c2ce590, size = 1}}
        platformPluginBase = {d = {d = 0x55c31c2b10a0, ptr = <optimized out>, size = <optimized out>}, static _empty = 0 '\000'}
        hasWaylandDisplay = <optimized out>
        isWaylandSessionType = <optimized out>
        preferredPlatformOrder = {<QListSpecialMethods<QByteArray>> = {<QListSpecialMethodsBase<QByteArray>> = {<No data fields>}, <No data fields>}, d = {d = 0x55c31c2dea50, ptr = 0x55c31c2dea60, size = 2}}
        defaultIsXcb = <optimized out>
        xcbPlatformName = {d = {d = 0x55c31c2b10a0, ptr = 0x55c31c2b10b0 "xcb", size = 3}, static _empty = 0 '\000'}
        defaultIsWayland = <optimized out>
        waylandPlatformName = {d = {d = 0x55c31c2e67a0, ptr = 0x55c31c2e67b0 "wayland", size = 7}, static _empty = 0 '\000'}
        platformExplicitlySelected = <optimized out>
        platformNameEnv = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 '\000'}
        platformThemeName = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}
        icon = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}
        j = <optimized out>
#10 0x00007f6ee72e3188 in QGuiApplicationPrivate::createEventDispatcher (this=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/gui/kernel/qguiapplication.cpp:1617
#11 0x00007f6ee84fed65 in QCoreApplicationPrivate::init (this=this@entry=0x55c31c2ccdb0) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:866
        q = <optimized out>
        appPaths = 0x0
        manualPaths = 0x0
        thisThreadData = 0x55c31c2e1b50
#12 0x00007f6ee72e746d in QGuiApplicationPrivate::init (this=0x55c31c2ccdb0) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/gui/kernel/qguiapplication.cpp:1645
        loadTestability = <optimized out>
        pluginList = {<QListSpecialMethods<QByteArray>> = {<QListSpecialMethodsBase<QByteArray>> = {<No data fields>}, <No data fields>}, d = {d = <optimized out>, ptr = <optimized out>, size = <optimized out>}}
        session_id = {d = {d = 0x55c31c2b0700, ptr = 0x0, size = 140726524976384}, static _empty = 0 u'\000'}
        session_key = {d = {d = 0x7ffd72881d90, ptr = 0x10 <error: Cannot access memory at address 0x10>, size = 140114346598400}, static _empty = 0 u'\000'}
        s = {d = {d = 0x7ffd72881d30, ptr = 0x7f6ee7e89f8f <__GI___libc_malloc+575> u"襈䣂삅萏ケ\xffff譈ʨ蔏﹃\xffffҨ萏︻\xffff譈卑ᙡ䠀䪍䣰ᶍ櫿\026赈딄", size = 140114346598400}, static _empty = 0 u'\000'}
        j = <optimized out>
        envPlugins = {d = {d = 0x7ffd72881d50, ptr = 0xa <error: Cannot access memory at address 0xa>, size = 140726524976480}, static _empty = 0 '\000'}
        q = <optimized out>
#13 0x00007f6ee8c43755 in QApplicationPrivate::init (this=0x55c31c2ccdb0) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/widgets/kernel/qapplication.cpp:474
#14 0x00007f6ee8c43821 in QApplication::QApplication (this=<optimized out>, argc=@0x7ffd72881e60: 1921523888, argv=0x7f6ee8c43755 <QApplicationPrivate::init()+21>) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/widgets/kernel/qapplication.cpp:462
        d = <optimized out>
        d = <optimized out>
#15 0x000055c2ddfccab9 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kf6-kwallet-6.14.0-2.fc42.x86_64/src/runtime/kwalletd/main.cpp:27
        application = {<QGuiApplication> = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x7f6ee9396098 <vtable for QApplication+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7f6ee890d210 <QObject::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN7QObjectE_t>+272>, data = 0x7f6ee890d100 <QObject::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN7QObjectE_t>>, static_metacall = 0x7f6ee855cfe0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7f6ee8a92ae0 <QObject::qt_staticMetaObjectRelocatingContent<(anonymous namespace)::qt_meta_tag_ZN7QObjectE_t>>, extradata = 0x0}}, d_ptr = {d = 0x55c31c2ccdb0}}, static staticMetaObject = {d = {superdata = {direct = 0x7f6ee8a8cc40 <QObject::staticMetaObject>}, stringdata = 0x7f6ee8908e88 <QCoreApplication::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN16QCoreApplicationE_t>+392>, data = 0x7f6ee8908d00 <QCoreApplication::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN16QCoreApplicationE_t>>, static_metacall = 0x7f6ee84ffa40 <QCoreApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7f6ee8a90a00 <QCoreApplication::qt_staticMetaObjectRelocatingContent<(anonymous namespace)::qt_meta_tag_ZN16QCoreApplicationE_t>>, extradata = 0x0}}, static self = 0x7ffd72881ed0}, static staticMetaObject = {d = {superdata = {direct = 0x7f6ee8a909c0 <QCoreApplication::staticMetaObject>}, stringdata = 0x7f6ee7a9f790 <QGuiApplication::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN15QGuiApplicationE_t>+752>, data = 0x7f6ee7a9f4a0 <QGuiApplication::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN15QGuiApplicationE_t>>, static_metacall = 0x7f6ee72e5460 <QGuiApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7f6ee7bbe660 <QGuiApplication::qt_staticMetaObjectRelocatingContent<(anonymous namespace)::qt_meta_tag_ZN15QGuiApplicationE_t>>, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7f6ee7bbe620 <QGuiApplication::staticMetaObject>}, stringdata = 0x7f6ee9251508 <QApplication::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN12QApplicationE_t>+392>, data = 0x7f6ee9251380 <QApplication::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN12QApplicationE_t>>, static_metacall = 0x7f6ee8c43140 <QApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7f6ee9396160 <QApplication::qt_staticMetaObjectRelocatingContent<(anonymous namespace)::qt_meta_tag_ZN12QApplicationE_t>>, extradata = 0x0}}}
        aboutData = {d = std::unique_ptr<KAboutDataPrivate> = {get() = 0x7f6ee7e891c6 <_int_malloc+3638>}}
        parser = {d = 0x80}
        dbusUniqueInstance = <incomplete type>
        wallet = {<QObject> = {_vptr.QObject = 0x7f6ee7ff0ac0 <main_arena>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7f6ee890d210 <QObject::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN7QObjectE_t>+272>, data = 0x7f6ee890d100 <QObject::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN7QObjectE_t>>, static_metacall = 0x7f6ee855cfe0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7f6ee8a92ae0 <QObject::qt_staticMetaObjectRelocatingContent<(anonymous namespace)::qt_meta_tag_ZN7QObjectE_t>>, extradata = 0x0}}, d_ptr = {d = 0x7f6ee9d4f470}}, <QDBusContext> = {d_ptr = 0x7ffd72882090}, static staticMetaObject = {d = {superdata = {direct = 0x7f6ee8a8cc40 <QObject::staticMetaObject>}, stringdata = 0x55c2ddff6b7c <_ZN8KWalletD32qt_staticMetaObjectStaticContentIN12_GLOBAL__N_126qt_meta_tag_ZN8KWalletDE_tEEE.lto_priv.0+2940>, data = 0x55c2ddff6000 <_ZN8KWalletD32qt_staticMetaObjectStaticContentIN12_GLOBAL__N_126qt_meta_tag_ZN8KWalletDE_tEEE.lto_priv.0>, static_metacall = 0x55c2ddfda6d0 <KWalletD::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x55c2ddfff500 <_ZN8KWalletD36qt_staticMetaObjectRelocatingContentIN12_GLOBAL__N_126qt_meta_tag_ZN8KWalletDE_tEEE.lto_priv.0>, extradata = 0x0}}, m_backend = 0x7f6ee7e891c6 <_int_malloc+3638>, m_structure = {d = 0x5, m_size = 0}, m_openWallets = {d = 0x1}, m_idleTimers = {d = 0x1}, m_enabled = false, m_launchManager = false, m_closeIdle = false, m_idleTime = 0, m_configWatcher = {value = {ptr = 0x410}, d = 0x7f6ee9d50020}, static s_lastTransaction = 0}
Warning: the current language does not match this frame.

kwalletd6 aborted with errors like Failed to create wl_display (No such file or directory) and that it couldn't load the wayland and xcb plugins. 

May 11 21:43:01 sddm-helper[1693]: Starting Wayland user session: "/etc/sddm/wayland-session" "/usr/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland"
May 11 21:43:01 kwalletd6[1761]: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
                                 Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
                                 If this causes problems, reconfigure your locale. See the locale(1) manual
                                 for more information.
May 11 21:43:01 kwalletd6[1761]: Failed to create wl_display (No such file or directory)
May 11 21:43:01 systemd[1715]: Starting xdg-desktop-portal.service - Portal service...
May 11 21:43:01 kwalletd6[1761]: qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
May 11 21:43:01 uresourced[1447]: Setting resources on user.slice (MemoryMin: 262144000, MemoryLow: 0, CPUWeight: -, IOWeight: -)
May 11 21:43:01 uresourced[1447]: Setting resources on user-1000.slice (MemoryMin: 262144000, MemoryLow: 0, CPUWeight: 500, IOWeight: 500)
May 11 21:43:01 uresourced[1447]: Setting resources on user@1000.service (MemoryMin: 0, MemoryLow: 0, CPUWeight: 100, IOWeight: 100)
May 11 21:43:01 kwalletd6[1761]: qt.qpa.xcb: could not connect to display
May 11 21:43:01 kwalletd6[1761]: qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
May 11 21:43:01 audit[1761]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=1761 comm="kwalletd6" exe="/usr/bin/kwalletd6" sig=6 res=1
May 11 21:43:01 kwalletd6[1761]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
May 11 21:43:01 kwalletd6[1761]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
                                 
                                 Available platform plugins are: vkkhrdisplay, minimal, linuxfb, wayland-egl, eglfs, offscreen, vnc, wayland, xcb, minimalegl.

This problem happened 3/3 times that I started Plasma with KF 6.14.0, but it didn't happen with KF 6.13.0 or earlier. kwalletd6 wasn't running according to ps aux | grep kwallet. When I started KWalletManager, the wallet was closed when it would normally have been opened.

STEPS TO REPRODUCE
1. Boot a Fedora 42 KDE installation with Plasma 6.3.5 and KF 6.13.0
2. Log in to Plasma on Wayland
3. Start Konsole
4. Update to KF 6.14.0 from the updates-testing repo. I did this with
sudo dnf offline-upgrade download (with updates-testing enabled)
sudo dnf offline-upgrade reboot
5. On the boot after the offline update, log in to Plasma on Wayland

OBSERVED RESULT
kwalletd6 6.14.0 crashed when starting Plasma

EXPECTED RESULT
kwalletd6 6.14.0 shouldn't have crashed when starting Plasma

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION

xdg-desktop-portal-gtk.service repeatedly failed to start after kwalletd6 crashed which didn't appear to happen on earlier boots.

May 11 21:43:01 systemd[1715]: Starting xdg-document-portal.service - flatpak document portal service...
May 11 21:43:01 systemd[1715]: Started xdg-document-portal.service - flatpak document portal service.
May 11 21:43:01 xdg-desktop-por[1788]: Choosing gtk.portal for org.freedesktop.impl.portal.Settings as a last-resort fallback
May 11 21:43:01 systemd[1715]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
May 11 21:43:01 xdg-desktop-por[1826]: cannot open display: 
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
May 11 21:43:01 abrt-dump-journal-core[1485]: Failed to obtain all required information from journald
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
May 11 21:43:01 systemd[1715]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
May 11 21:43:01 xdg-desktop-por[1788]: Choosing gtk.portal for org.freedesktop.impl.portal.FileChooser as a last-resort fallback
May 11 21:43:01 systemd[1715]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
May 11 21:43:01 xdg-desktop-por[1831]: cannot open display: 
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
May 11 21:43:01 systemd[1715]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
May 11 21:43:01 xdg-desktop-por[1788]: Choosing gtk.portal for org.freedesktop.impl.portal.AppChooser as a last-resort fallback
May 11 21:43:01 systemd[1715]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
May 11 21:43:01 xdg-desktop-por[1834]: cannot open display: 
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
May 11 21:43:01 systemd[1715]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
May 11 21:43:01 xdg-desktop-por[1788]: Choosing gtk.portal for org.freedesktop.impl.portal.Print as a last-resort fallback
May 11 21:43:01 systemd[1715]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
May 11 21:43:01 xdg-desktop-por[1836]: cannot open display: 
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
May 11 21:43:01 systemd[1715]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
May 11 21:43:01 xdg-desktop-por[1788]: Choosing gtk.portal for org.freedesktop.impl.portal.Notification as a last-resort fallback
May 11 21:43:01 systemd[1715]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
May 11 21:43:01 kernel: filter_IN_drop_DROP: IN=enp1s0 OUT= MAC= SRC=192.168.2.10 DST=224.0.0.251 LEN=216 TOS=0x00 PREC=0x00 TTL=255 ID=42178 DF PROTO=UDP SPT=5353 DPT=5353 LEN=196 
May 11 21:43:01 xdg-desktop-por[1838]: cannot open display: 
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
May 11 21:43:01 systemd[1715]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
May 11 21:43:01 xdg-desktop-por[1788]: Choosing gtk.portal for org.freedesktop.impl.portal.Inhibit as a last-resort fallback
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
May 11 21:43:01 systemd[1715]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
May 11 21:43:01 xdg-desktop-por[1788]: Choosing gtk.portal for org.freedesktop.impl.portal.Access as a last-resort fallback
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
May 11 21:43:01 systemd[1715]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
May 11 21:43:01 systemd[1715]: Started pipewire.service - PipeWire Multimedia Service.
May 11 21:43:01 systemd[1715]: Started wireplumber.service - Multimedia Service Session Manager.
May 11 21:43:01 wireplumber[1842]: wp-internal-comp-loader: Loading profile 'main'
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
May 11 21:43:01 systemd[1715]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
May 11 21:43:01 xdg-desktop-por[1788]: Choosing gtk.portal for org.freedesktop.impl.portal.Account as a last-resort fallback
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
May 11 21:43:01 systemd[1715]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
May 11 21:43:01 xdg-desktop-por[1788]: Choosing gtk.portal for org.freedesktop.impl.portal.Email as a last-resort fallback
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
May 11 21:43:01 systemd[1715]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
May 11 21:43:01 xdg-desktop-por[1788]: Choosing gtk.portal for org.freedesktop.impl.portal.DynamicLauncher as a last-resort fallback
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
May 11 21:43:01 systemd[1715]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
May 11 21:43:01 systemd[1715]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
May 11 21:43:01 systemd[1715]: Started xdg-desktop-portal.service - Portal service.
Comment 1 Loïc Yhuel 2025-05-12 23:26:52 UTC
Same thing here with an X11 session, kwalletd6 initially crashes (note the weird ANSI_X3.4-1968 encoding, and libxcb-cursor0 exists) :
sddm-helper[1929]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
sddm-helper[1929]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
sddm-helper[1929]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
sddm-helper[1973]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
kwalletd6[1974]: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
kwalletd6[1974]: qt.qpa.xcb: could not connect to display
kwalletd6[1974]: qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
kwalletd6[1974]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
kwalletd6[1974]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
systemd-coredump[1978]: Process 1974 (kwalletd6) of user 1000 terminated abnormally with signal 6/ABRT, processing...

Then plasma-kwallet-pam.service fails.

After, kwalletd6 is started by dbus, but it doesn't work :
systemd[1935]: Created slice app-dbus\x2d:1.2\x2dorg.kde.kwalletd6.slice - Slice /app/dbus-:1.2-org.kde.kwalletd6.
systemd[1935]: Started dbus-:1.2-org.kde.kwalletd6@0.service.
systemd[1935]: Created slice app-dbus\x2d:1.2\x2dorg.kde.secretservicecompat.slice - Slice /app/dbus-:1.2-org.kde.secretservicecompat.
systemd[1935]: Started dbus-:1.2-org.kde.secretservicecompat@0.service.
ksecretd[2434]: kf.wallet.ksecretd: Lacking a socket, pipe: 0 env: 0
kwalletd6[2393]: kf.wallet.kwalletd: "createDLGroup failed: maybe libqca-ossl is missing"
kwalletd6[2393]: kf.wallet.kwalletd: "Could not connect to Secret Service"
kwalletd6[2393]: kf.wallet.kwalletd: "createDLGroup failed: maybe libqca-ossl is missing"
kwalletd6[2393]: kf.wallet.kwalletd: "Could not connect to Secret Service"
...

There is no wallet, each time I start kwalletmanager the two lines traces appear again.
Killing kwalletd6 didn't help, when it restarted there was still no wallet.

Killing ksecretd worked (even if there was no error trace which suggested an issue), it restarted on kwalletmanager start, and I was able to open the wallet.
Comment 2 Loïc Yhuel 2025-05-12 23:45:38 UTC
Also, even after the wallet was opened, I was still unable to connect to wifi (stuck on authentication) :
kded6[2188]: org.kde.plasma.nm.kded: GetSecrets was called again! This should not happen, cancelling first call "/org/freedesktop/NetworkManager/Settings/4" "802-11-wireless-security"

I had to stop and restart plasma-nm (Background Services => Plasma Network Management module) to fix the issue.
Maybe it didn't like kwalletd5 being restarted, or when is didn't work due to the unknown ksecretd issue.
Comment 3 Matt Fagnani 2025-05-13 00:22:01 UTC
pam-kwallet-6.3.5-2.fc42 was rebuilt today with KF 6.14.0. I upgraded to pam-kwallet-6.3.5-2.fc42, after which kwalletd6 didn't crash when starting Plasma. kwalletd6 wasn't running though. When I started KWalletManager, the wallet was still closed.
Comment 4 Loïc Yhuel 2025-05-13 02:08:16 UTC
(In reply to Matt Fagnani from comment #3)
> pam-kwallet-6.3.5-2.fc42 was rebuilt today with KF 6.14.0. I upgraded to
> pam-kwallet-6.3.5-2.fc42, after which kwalletd6 didn't crash when starting
> Plasma. kwalletd6 wasn't running though. When I started KWalletManager, the
> wallet was still closed.

OK, with https://invent.kde.org/frameworks/kwallet/-/commit/d79ef6bfbc59aa82a7e22df883b70abc25b569a1, pam-kwallet will fork and execute ksecretd instead of kwalletd6.
So maybe this one doesn't crash, even when started early (before the display is available ?).

Then kwalletd6 would started as needed (by D-Bus activation).
But if it doesn't see the wallet as open in ksecretd (if the running process is still the one forked from pam-kwallet), then something didn't work properly.
Comment 5 Matt Fagnani 2025-05-13 09:39:27 UTC
systemctl status --user plasma-kwallet-pam.service showed that it exited with status=0/SUCCESS, but there was a message
pam_kwallet_init[9618]: 2025/05/13 05:28:28 socat[9618] W address is opened in read-write mode but only supports read-only

ksecretd started when Plasma started, but kwalletd6 wasn't running. When I started KWalletManager, kwalletd6 started through dbus. Thanks.
Comment 6 Richard Steven Hack 2025-05-14 21:06:05 UTC
Confirm same problem on openSUSE Tumbleweed after latest snapshot.  This has resulted in my being logged out of every browser account that uses the wallet.

systemctl status --user plasma-kwallet-pam.service
× plasma-kwallet-pam.service - Unlock kwallet from pam credentials
     Loaded: loaded (/usr/lib/systemd/user/plasma-kwallet-pam.service; static)
     Active: failed (Result: exit-code) since Wed 2025-05-14 13:55:34 PDT; 8min ago
   Duration: 8ms
 Invocation: 02b666d3bb0b4d28ae99d8ff3104f099
   Main PID: 3118 (code=exited, status=1/FAILURE)
        CPU: 8ms

May 14 13:55:34 localhost.localdomain systemd[2870]: Started Unlock kwallet from pam credentials.
May 14 13:55:34 localhost.localdomain pam_kwallet_init[3122]: 2025/05/14 13:55:34 socat[3122] W address is opened in read-write mode but only supports read-only
May 14 13:55:34 localhost.localdomain pam_kwallet_init[3122]: 2025/05/14 13:55:34 socat[3122] E connect(, AF=1 "/run/user/1000/kwallet5.socket", 32): Connection refused
May 14 13:55:34 localhost.localdomain systemd[2870]: plasma-kwallet-pam.service: Main process exited, code=exited, status=1/FAILURE
May 14 13:55:34 localhost.localdomain systemd[2870]: plasma-kwallet-pam.service: Failed with result 'exit-code'.
Comment 7 michaelk83 2025-05-15 13:58:09 UTC

*** This bug has been marked as a duplicate of bug 502808 ***
Comment 8 michaelk83 2025-05-15 14:02:50 UTC
Actually, not sure if it's an exact duplicate of BUG 502808, but seems closely related.
Comment 9 michaelk83 2025-05-15 14:04:41 UTC
*** Bug 504254 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2025-05-15 18:35:43 UTC
Not a duplicate of Bug 502808; that tracks it not working at all; this tracks it crashing.
Comment 11 Nate Graham 2025-05-15 18:36:55 UTC
Nope, you were right, it is Bug 502808 after all, as the reason why it doesn't work is because it crashes!

*** This bug has been marked as a duplicate of bug 502808 ***
Comment 12 Daniele Scasciafratte 2025-05-20 09:01:33 UTC
Maybe it's https://bugs.kde.org/show_bug.cgi?id=501135 ?

I reported months ago but my fix was to recreate the kwallet.kwl file but is happening again maybe you can help to give more info about the error.
Comment 13 Daniele Scasciafratte 2025-05-28 08:11:40 UTC
I don't know if can help I think that is the same of https://bugs.kde.org/show_bug.cgi?id=501135
I had the issue again for days of kwallet crashing at start up, I had to remove the kwl file and put an old version (a backup I have) to fix it and avoid on next start up the crash.