keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
21.39k stars 1.48k forks source link

Attempting to add a file to an entry causes KeePassXC to become unresponsive. #11383

Closed akwala closed 1 month ago

akwala commented 1 month ago

Overview

KeePassXC becomes unresponsive indefinitely when attempting to add a file to an entry,

Steps to Reproduce

  1. Right-click an entry and select 'Edit entry...'.
  2. Go to the 'Advanced' tab.
  3. In 'Attachments' section, click the 'Add' button.
  4. A file manager window (Dolphin) appears.
  5. Try changing the folder in the file manager.

Expected Behavior

Be able to

Actual Behavior

The file manager window freezes and is unresponsive for an indefinite amount of time. Attempting to close the window causes a dialog window to appear, saying that KeePassXC is unresponsive and asking whether it should be terminated.

Context

KeePassXC - Version 2.7.9 Revision: 8f6dd13

Qt 5.15.3 Debugging mode is disabled.

Operating system: Ubuntu 22.04.5 LTS CPU architecture: x86_64 Kernel: linux 5.15.0-124-generic

Enabled extensions:

Cryptographic libraries:

Operating System: Linux Desktop Env: KDE Windowing System: X11

droidmonkey commented 1 month ago

We don't control the file manager window, that is actually a system window (ie, there is no code on our end). You have something going on external to keepassxc.

You'll have to run the program through gdb and provide a stack trace to determine what's going on.

droidmonkey commented 1 month ago

Since this does not occur from within KeePassXC code going to close this one unless you can provide a stack trace showing otherwise. I do recommend updating your system if possible or switching to the Flatpak distribution.

Tinister commented 1 week ago

I'm seeing the same thing on Windows 10. KeepassXC goes unresponsive and crashes as soon as the file picker opens.

Since this is Windows, I'm hesitant to think it's "something going on external". Additionally, opening files in every other program I've tried so far works fine.

droidmonkey commented 1 week ago

File picker is windows code. If it crashes when it's shown that is either windows or qt. If it crashes after a file is chosen then maybe it could be us.