Summary: | KWalletManager freezes if (first?) wallet creation is aborted | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kwallet | Reporter: | michaelk83 <mk.mateng> |
Component: | general | Assignee: | Valentin Rusu <valir> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kdedev, kdelibs-bugs-null, m.kurz, mte90net, nate, notmart, zejdzztegomaila |
Priority: | NOR | ||
Version First Reported In: | 6.14.0 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=501135 https://bugs.kde.org/show_bug.cgi?id=504656 |
||
Latest Commit: | https://invent.kde.org/frameworks/kwallet/-/commit/4e7362e5751a79496fca370345af3c1885ff0250 | Version Fixed In: | 6.15 |
Sentry Crash Report: | https://crash-reports.kde.org/organizations/kde/issues/156997/events/db94e19d86164d28be95631d4a2460dd/ |
Description
michaelk83
2025-05-22 20:04:34 UTC
Bug 501135 sounds similar, though I think not the same case. This one is during wallet creation and not during boot. Rebooting would restart ksecretd and kwalletd, which resolves this issue. Also, I'm not seeing the "Assertion `b->cipherType() ..." that was reported in 501135. I suspect this one is caused by the 6.14 refactor, possibly libsecret hanging when it can't load the partially "created" wallet when KWalletManager tries to refresh the wallets list. That would be similar to what we found in Bug 504656: https://invent.kde.org/frameworks/kwallet/-/merge_requests/120#note_1225108 Can reproduce with those steps, even if it's not the first wallet. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kwallet/-/merge_requests/122 Git commit 4e7362e5751a79496fca370345af3c1885ff0250 by Marco Martin. Committed on 29/05/2025 at 12:16. Pushed by mart into branch 'master'. Don't freeze when the create wallet dialog is dismissed libsecret doesn't like invalid dbus object paths as the second parameter of the signal Completed of the Prompt interface, and will cause a freeze with a nested glib event loop stuck in secret_collection_create_sync use an object path parameter identical to what gnome-keychain uses, which is just a path to "/" M +3 -1 src/runtime/ksecretd/kwalletfreedesktopprompt.cpp https://invent.kde.org/frameworks/kwallet/-/commit/4e7362e5751a79496fca370345af3c1885ff0250 *** Bug 503556 has been marked as a duplicate of this bug. *** |