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

            Bug ID: 504678
           Summary: KWalletManager freezes if (first?) wallet creation is
                    aborted
    Classification: Frameworks and Libraries
           Product: frameworks-kwallet
      Version First 6.14.0
       Reported In:
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: va...@kde.org
          Reporter: mk.mat...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY
KWalletManager stops responding when (first?) wallet creation is aborted
without completing the wizard. Subsequent attempts to start KWalletManager take
~50 sec until the GUI shows up, and then the GUI displays an error. Killing
ksecretd and kwalletd resolves the problem.

STEPS TO REPRODUCE
1. Boot into KDE Neon User Edition live DVD (neon-user-20250511-0744.iso).
2. Start KWalletManager. Confirm the prompt to enable the KDE Wallet system
(click OK).
3. In KWalletManager, select File -> New Wallet...
4. Enter wallet name: test1
5. On the wallet type selection page, click Cancel. (KWalletManager stops
responding.)
6. Kill KWalletManager, then try starting KWalletManager again. (Takes ~50 sec,
shows an error.)
7. Kill ksecretd and kwalletd, then start KWalletManager one more time. (Starts
without an error.)

OBSERVED RESULT
- In step 5, KWalletManager becomes Not Responding as soon as the wizard is
cancelled.
- In step 6, KWalletManager takes ~50 sec to show up, then shows "An error
occurred when connecting to the KWallet service: Did not receive a reply."
- No error in step 7.

EXPECTED RESULT
KWalletManager remains responsive, and can be started and restarted without
problems.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon User Edition 20250511-0744 (live DVD)
KDE Frameworks Version: 6.14

ADDITIONAL INFORMATION
After canceling the wizard:

neon@neon:~$ cat ~/.config/kwalletrc
[Wallet]
Default Wallet=test1
Enabled=true

neon@neon:~$ ls -lAh ~/.local/share/kwalletd/
total 0

neon@neon:~$ journalctl --since -15m | grep kwallet
May 22 17:42:29 neon dbus-daemon[1640]: [session uid=1000 pid=1640] Activating
service name='org.kde.kwalletd6' requested by ':1.65' (uid=1000 pid=3943
comm="kwalletmanager5" label="unconfined")
May 22 17:42:30 neon dbus-daemon[1640]: [session uid=1000 pid=1640] Activating
service name='org.kde.secretservicecompat' requested by ':1.67' (uid=1000
pid=4007 comm="/usr/bin/kwalletd6" label="unconfined")
May 22 17:42:30 neon dbus-daemon[1640]: [session uid=1000 pid=1640]
Successfully activated service 'org.kde.kwalletd6'
May 22 17:42:30 neon kwalletd6[4007]: qt.dbus.integration: QDBusConnection:
name 'org.kde.secretservicecompat' had owner '' but we thought it was ':1.68'
May 22 17:42:30 neon kwalletd6[4007]: Secret Service availability changed:
Available
May 22 17:43:55 neon ksecretd[4027]: Using kwallet without parent window!
May 22 17:45:42 neon kwalletd6[4007]: received unexpected result type ao from
Completed signal instead of expected o
May 22 17:45:42 neon kwalletd6[4007]: g_task_return_error: assertion 'error !=
NULL' failed
May 22 17:45:42 neon kwalletd6[4007]: GTask secret_service_real_prompt_async
(source object: 0x55dbc3131e50, source tag: 0x72d486739c40) finalized without
ever returning (using g_task_return_*()). This potentially indicates a bug in
the program.
May 22 17:46:25 neon systemd-coredump[4181]: Process 3943 (kwalletmanager5) of
user 1000 dumped core.
May 22 17:46:25 neon drkonqi-coredump-processor[4182]:
"/usr/bin/kwalletmanager5" 3943
"/var/lib/systemd/coredump/core.kwalletmanager5.1000.b3d7f14f59fc421e894b8ae6729ef7a3.3943.1747935984000000.zst"
May 22 17:46:25 neon drkonqi-coredump-processor[2013]:
"/usr/bin/kwalletmanager5" 3943
"/var/lib/systemd/coredump/core.kwalletmanager5.1000.b3d7f14f59fc421e894b8ae6729ef7a3.3943.1747935984000000.zst"

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

Reply via email to