Keepassxc: Endless Storing when drive is removed

Created on 17 Apr 2019  路  8Comments  路  Source: keepassxreboot/keepassxc

Expected Behavior

Program errors out and can be exited normally.

Current Behavior

Program shows "Couldn't save file, backup was saved under /temp/XXX" and interates in the XXX filename every half second. (Endless backup store)

Possible Solution

Worked in pre 2.4 Keepass

Steps to Reproduce

  1. Open Keepass DB in a container (Veracrypt)
  2. Unmount container
  3. Try closing keepass

Context

KeePass has to be killed (-9), as it won't close otherwise.

Debug Info

KeePassXC - Version 2.4.1
Revision: 7bafe65

Qt 5.9.5
Debugging mode is disabled.

Operating system: Ubuntu 18.04.2 LTS
CPU architecture: x86_64
Kernel: linux 4.15.0-47-generic

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • SSH Agent
  • KeeShare (only unsigned sharing)
  • YubiKey

Cryptographic libraries:
libgcrypt 1.8.1

bug high priority

Most helpful comment

OK found the problem.

All 8 comments

When you are exiting KeePassXC, is there an asterisk next to the file name? (ie, there are pending changes to be saved)

Yes, although I don't change anything knowingly.

Could be the browser Plugin or anything like that, I'm only using the entries, not editing.

You should be able to use safe file saves, please try enabling that in settings and see if that works for you.

Hey, I'm currently trying to find that option.
I've made a video showing the bug live (and invested a little time editing it correctly ^^). When recording I also realized that the bug only triggers if you have a second database open at the same time and then try to close the first one.
The zip file contains the video as github apparently doesn't like mp4 but .zip..
keepass_bug_save_disk_removal.zip

Just to clarify: I don't expect keepass to save in that situation. The bug is that it starts creating a huge amount of /tmp/XXX files and consumes the CPU when I just want to close the tab. Also you can't close it anymore via the X-Button.

OK found the problem.

Thanks for fixing this bug, and for keeping this software up to date. I use it everyday. Will download the latest release ASAP!

Was this page helpful?
0 / 5 - 0 ratings