Skip to content

Saving DB fails intermittently on windows #197

@mattvchandler

Description

@mattvchandler

Current Behavior

Most of the time, attempting to save a database file on windows fails with this message:

Writing the database failed.

The Process cannot access the file because it is being used by another process.

A copy of the DB file is written at \path\to\db.kdbx.<2 random? letters><PID>

Occasionally, the write does go through without an error.

Steps to Reproduce (for bugs)

I have not yet been able to reproduce the error with a fresh database created with either keepassxc or keepassX. Obviously, I'm not willing to upload one of my real DBs.

Context

Process Explorer reports no other process has a handle to the .kdbx file.

Your Environment

  • KeePassXC version/commit used: 42c0815
  • Qt version 5.6.2
  • Compiler: gcc version 6.3.0 (Rev1, Built by MSYS2 project)
  • Operating System and version: Windows 7 SP1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions