Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeePassXC freezes on Citrix VDA with FsLogix #10763

Open
Mr-NH opened this issue May 15, 2024 · 5 comments
Open

KeePassXC freezes on Citrix VDA with FsLogix #10763

Mr-NH opened this issue May 15, 2024 · 5 comments

Comments

@Mr-NH
Copy link

Mr-NH commented May 15, 2024

Overview

Since KeePassXC version 2.7.6, there has been an issue where KeePassXC freezes upon opening a database containing entries. An empty database can be opened without any problems. This issue was not present in version 2.7.5 and below.
The problem occurs only on our Citrix Virtual Desktops (Windows Server 2019) where we use FsLogix. When I open KeePassXC on the same servers with a user who does not have an FsLogix profile, KeePassXC runs smoothly.

Steps to Reproduce / Overview

When I start KeePassXC under a user account that has an FsLogix profile and open an existing database, the program freezes. If I open a new, empty database, I can use the program until I create the first entry. After saving, the program freezes again.
If KeePassXC is frozen and I do not end the KeePassXC process, the process consumes more and more RAM. The RAM usage grows to several gigabytes until the server eventually crashes.

Expected Behavior

I expect the program not to freeze after opening a database.

Context

I suspect that the program is attempting to write to a directory/cache due to the FsLogix configuration but does not have access to it. This likely generates some loop that leads to the excessive RAM usage. I am aware that KeePassXC writes to the following paths:

  • %userprofile%\AppData\Local\KeePassXC
  • %userprofile%\AppData\Local\Temp\keepassxc-xy.lock
  • %userprofile%\AppData\Roaming\KeePassXC

Are there any other paths/directories that KeePassXC accesses/writes to?


KeePassXC – VERSION: since version 2.7.6
Operating System: Windows
Windowing System: Windows Server 2019 (Citrix VDA) with FsLogix user profiles

@Mr-NH Mr-NH added the bug label May 15, 2024
@droidmonkey
Copy link
Member

droidmonkey commented May 15, 2024

Can you load 2.7.5 onto the machine and re-confirm that this issue is not present?

https://github.com/keepassxreboot/keepassxc/releases/tag/2.7.5

Recommend the portable version

@bargru
Copy link

bargru commented May 16, 2024

I can confirm the crashes starting with version 2.7.6. It does happen with normal version, legacy and portable.

Version 2.7.5 is working fine.

I would like to add my observations:
When the server is freshly rebooted, the problem doesn't occur. If the user logs off and back again from the Terminal Server Session, KeePassXC freezes as sone a existing database is opened.

When starting KeePassXC and creating a new empty database, no freeze occurs. I can reopen the empty database without any problem. But when adding a new entry to the database KeePassXC freezes. After killing the process and opening the database again, the new entry isn't saved.

@Mr-NH
Copy link
Author

Mr-NH commented May 16, 2024

Thank you for your feedback, gentlemen!

@droidmonkey At the moment, version 2.7.5 is installed on our servers and it's working perfectly. Once I update KeePassXC (or uninstall and then completely reinstall it), the mentioned error reappears.

@bargru I couldn't observe it working shortly after restarting the server. It behaves the same for us, whether freshly restarted or not. But everything else you mentioned is the same for us.

@droidmonkey
Copy link
Member

On that helps narrow the cause.

@droidmonkey
Copy link
Member

It is not possible for me to replicate this, unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants