-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Crash on lockscreen when using Pageant #10828
Comments
Unfortunately I cannot replicate this at all. Can you provide any additional details or steps? I did the following:
I did this 20 times |
Thanks for looking into this. |
Just a quick update, I haven't managed to find what causes the issues yet. On my second machine I couldn't make it crash.
|
I also had a few keepassxc crashes after waking up from sleep but I don't use pageant. Is there any logging I can turn on to provide more infos for finding this issue? |
I've also observed the same issue without having pageant configured. Though, I'm accessing the database file from a network drive that is disconnected right after waking from sleep. When the file is located on a local drive that's accessible directly after waking, KeePassXC doesn't crash. My guess is that the crash is caused by KeePassXC trying to access a file that isn't accessible/doesn't exist (yet). The same error prompt (but in English) appears already on the Lock screen. Although this issue doesn't seem to be caused by Pageant (at least in my case). So I'm not sure if I would need to open a new issue for this. |
That would not cause a crash, we check if the file is valid and won't even load the tab if it is not. You can easily replicate that by opening a local database file, quit keepassxc, rename the local file, start keepassxc. |
That appears to be correct. If I rename a local file, after waking the Database is locked and unlocking gives a "file does not exist" error. |
cannot always reproduce but i also have this problem sometimes with a message box appearing on wake, before logging into windows. my database file is stored in the OneDrive folder, maybe that plays a part. after further experiments i found the steps to reproduce a crash but the crash happened after logged in steps to reproduce crash with 2.7.4
i then updated to 2.7.9 and cannot reproduce using the above steps, and have not yet crashed at the login screen too. windows 11 , but the about dialog shows 10 Qt 5.15.6 Operating system: Windows 10 Version 2009 Enabled extensions:
Cryptographic libraries:
|
We did fix this crash you described between 2.7.4 and 2.7.9 I am closing this issue since there is no way to reproduce the original report with the latest version. |
Seems fair. I am still experiencing the issue (on 2.7.9), but I couldn't find a way to consistently reproduce it. |
Overview
KeePassXC crashes on Windows after waking up from sleep, on the lockscreen, when using Pageant
Steps to Reproduce
Expected Behavior
Nothing, KeePassXC should continue running
Actual Behavior
KeePassXC crashes often in this situation. If it crashes, it might show a message like this, or it might crash silently:
Context
It doesn't crash if the database is locked before sleeping.
I'm using SSH-Agent with both OpenSSH and Pageant (I have some keys that I add to them upon unlocking the database). I found that disabling Pageant (and using either OpenSSH only or none) always prevents the crash. When having Pageant enabled (either with OpenSSH or alone), it "often" (maybe 50-90 percent) crashes.
I'm using Pageant Release 0.81.
As mentioned before, the crash is not completely reliable, so I can't be completely certain that Pageant/Pageant-Integration causes the issue.
Debug-info
KeePassXC - Version 2.7.8
Revision: f6757d3
Qt 5.15.11
Diagnosemodus ist deaktiviert.
Betriebssystem: Windows 11 Version 2009
CPU-Architektur: x86_64
Kernel: winnt 10.0.22631
Aktivierte Erweiterungen:
Kryptographische Bibliotheken:
Operating System: Windows
The text was updated successfully, but these errors were encountered: