KeePassXC on Windows suddenly crashed in the background due to a faulty memory read. The following message popped out of nowhere.
No idea. KeePassXC was minimized in the tray. This needs investigating.
KeePassXC - Version 2.3.0
Revision: 4c0ed74
Libraries:
Operating system: Windows 10 (10.0)
CPU architecture: x86_64
Kernel: winnt 10.0.16299
Enabled extensions:
I got this too after I had KeePassXC running for some time. I do not minimize, only keeping it in the background. Windows 10 64bit.
I have not seen this, but I do not use autotype
The window title may be misleading. I did not use Auto-Type. In fact, I had no interaction with KeePassXC. It just popped up randomly.
I've never had that before and I haven't had it since, but there must be a problem, still.
Today it happened a lot sooner then yesterday. It might be connected to auto-type, cause it happened quite soon after I used auto-type. And I seem to be able to recreate it by just use auto-type. And way I can help track the problem??
You'd have to trigger it in a debugger, but if you can trigger it reliably post your exact conditions when it crashes
I just start KeePassXC. It opens with my last open database and shows the login. I then switch to my browser and put the cursor in the login I need KeePassXC for. After that I press the hotkey set for auto-type. I get the login dialog. After that it shows the matched keys. I select the correct one and make it send the user/password. It works fine and I get logged in. Then maybe 10 seconds later I get the dialog popup that KeePassXC has crashed. It might be 8 seconds since that is my autolock setting. But I have not managed to time it that close. I will see if I can get the debug version up and running and see if I get the same behavior.
I had it this afternoon when lock session (windows seven 64bits)
I have the same problem on a Windows 10 (x64) machine. I am not sure but I think this problem come when KeePassXC is unlocked and my screen is locked.
Most times I recognized, that KeePassXC was crashed, were after I returned back to my PC.
There are no entried in the Windows event log.
It happens each time I lock my session (Windows 7 64bits). I thought I could use the 2.2.4 again to avoid this, but now my database is not compatible with 2.2...
@6wheels you can downgrade your database if you select the old KDF again.
Not without the implicit upgrade fix in 2.3.1, which we haven't released yet.
Downgrading my database to KDBX 3.1 (with 2.3.1) allows me to use the 2.2.4 again.
I tried both 32 and 64bits versions, still failing (2.3.1).
I haven't been able to reproduce the crash since my first report.
I can reproduce with this sequence:
I tried it 5 times I got error 5 times
Thanks, I can reproduce the crash with that information. However, I think it's much simpler than that. For me it crashes every time it auto-locks after Auto-Type when I lock my session.
This bug actually exists in 2.2 as well. 2.1.4 is the last version not to have the bug. I guess it got introduced with auto lock. I'll se if I can fix it.
I never had this bug in 2.2.4, If i'm right @6wheels too (5 post before)
I have this bug in the 2.3.1 too. Now, I am using the 2.2.0 again in lack of having the old install file of the 2.2.4 saved.
@jo-shi 2.2.4 is available in the release tab ;)
@OlivierMary you're right, I never had this issue with 2.2.x or any previous KeepassXC version.
Hope the devs will find a solution ;)
Actually, the linux version works ok (but I did'nt tried the lock/unlock/tray method as my i3-lock does not lock the KeepassXC's databases automatically).
Is this reproducible on Linux, with Gnome or KDE?
@jo-shi did you see the crash in 2.3.1 performing the exact sequence that OlivierMary described?
@droidmonkey yes, I can verify the exact sequence that @OlivierMary descibed:

I couldn't reproduce it on Linux. I can reproduce it on Windows by
That's all I need to do to reproduce the crash. I can, however, repro it with a 2.2 build as well. Only 2.1 which doesn't have auto lock on session lock doesn't have the problem. I may have to try it with our downloadable 2.2.4 release, but from what I've seen so far, 2.2 seems to be affected as well.
Update: I tested it with our 2.2 ZIP and it seems that the problem is not present there, which is weird, because I can reproduce it with a 2.2 development build.
If you can, please test my patch in #1691.
@phoerious I will try tomorow at work, no windows at home :laughing:
@phoerious Test ok for me :+1:
KeePassXC - Version 2.3.1-snapshot
Genre de la version : Snapshot
Révision : f620ad9
Bibliothèques :
Système d’exploitation : Windows 7 SP 1 (6.1)
Architecture processeur : x86_64
Noyau : winnt 6.1.7601
Extensions activées :
I also confirm that the given patch fixes the issue.
Thanks for the quick fix. Waiting for the 2.3.2 release ;)