-
-
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
(Windows 10) Crash on wake from sleep: memory access error #1853
Comments
I have the same but does not happen every time. Today it is particualrly well-behaved and does not crash. Edit: In light of other comments, auto-lock is also set to happen when locking the workstation. |
I get the same error when the database auto-locks itself after the set time. |
Please run it in a debugger and reproduce the crash. I use kpxc in this exact same scenario and never experience a crash in resume or unlock. It might be something unique in your config and or database that is causing it. |
Hey @droidmonkey, sorry for the late reply. I consistently run into the error with the following steps (I'm not sure whether the issue is the same as the original one, but since I also get a memory error, I assume it's due to the auto-locking):
Please guide me on how to debug the error, I'll be happy to assist. In the meantime, in case it helps, this is my [General]
ShowToolbar=true
LastDir=HIDDEN
LastDatabases=HIDDEN
LastKeyFiles=HIDDEN
LastChallengeResponse=HIDDEN
LastOpenedDatabases=HIDDEN
RememberLastDatabases=true
RememberLastKeyFiles=true
OpenPreviousDatabasesOnStartup=true
AutoSaveAfterEveryChange=false
AutoSaveOnExit=false
AutoReloadOnChange=true
MinimizeOnCopy=false
UseGroupIconOnEntryCreation=true
IgnoreGroupExpansion=false
AutoTypeEntryTitleMatch=true
GlobalAutoTypeKey=73
GlobalAutoTypeModifiers=201326592
SingleInstance=true
AutoTypeDelay=25
BackupBeforeSave=false
UseAtomicSaves=false
AutoTypeEntryURLMatch=true
SSHAgent=false
LastAttachmentDir=HIDDEN
[GUI]
MainWindowGeometry=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\x2\x1c\0\0\0\x92\0\0\x5:\0\0\x3\x91\0\0\x2$\0\0\0\xb1\0\0\x5\x32\0\0\x3\x89\0\0\0\0\0\0\0\0\a\x80)
SplitterState=175, 602
EntryListColumnSizes=150, 150, 300
EntrySearchColumnSizes=@Invalid()
Language=system
ShowTrayIcon=true
MinimizeToTray=true
MinimizeOnClose=true
MinimizeOnStartup=true
AutoTypeSelectDialogSize=@Size(400 250)
DetailSplitterState=@Invalid()
HideUsernames=false
HidePasswords=true
ListViewState=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\x1\x1\0\0\0\0\0\0\0\0\0\0\0\f\x1\0\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\x4Z\0\0\0\f\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\0\0\0\x18\0\0\0\x81\0\0\0\0\0\0\0\f\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\x9d\0\0\0\x1\0\0\0\0\0\0\0\x85\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x18\0\0\0\x1\0\0\0\x2\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x3\xe8\x1\0\0\0\x64)
SearchViewState=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x4\xbe\0\0\0\f\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\0\0\0\x18\0\0\0\x81\0\0\0\0\0\0\0\f\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x9d\0\0\0\x1\0\0\0\0\0\0\0\x85\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x18\0\0\0\x1\0\0\0\x2\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x3\xe8\x1\0\0\0\x64)
HideDetailsView=false
DarkTrayIcon=false
[security]
autotypeask=true
clearclipboard=true
clearclipboardtimeout=15
lockdatabaseidle=true
lockdatabaseidlesec=600
lockdatabaseminimize=false
lockdatabasescreenlock=true
passwordscleartext=false
passwordsrepeat=true
IconDownloadFallbackToGoogle=false
relockautotype=false
hidepassworddetails=true
hidenotes=false
[Http]
Enabled=false
ShowNotification=true
BestMatchOnly=false
UnlockDatabase=true
MatchUrlScheme=true
SortByUsername=false
Port=19455
AlwaysAllowAccess=false
AlwaysAllowUpdate=false
SearchInAllDatabases=false
SupportKphFields=true
generator\LowerCase=true
generator\UpperCase=true
generator\Numbers=true
generator\SpecialChars=false
generator\ExcludeAlike=false
generator\EnsureEvery=true
generator\Length=20
generator\EASCII=false
[generator]
LowerCase=true
UpperCase=true
Numbers=true
SpecialChars=true
EASCII=false
ExcludeAlike=true
EnsureEvery=true
Length=20
WordCount=6
WordSeparator=" "
WordList=eff_large.wordlist
Type=0
[Browser]
Enabled=true
ShowNotification=true
BestMatchOnly=false
UnlockDatabase=true
MatchUrlScheme=true
SortByUsername=false
SupportBrowserProxy=true
UseCustomProxy=false
CustomProxyLocation=
UpdateBinaryPath=false
AlwaysAllowAccess=false
AlwaysAllowUpdate=false
SearchInAllDatabases=false
SupportKphFields=true And my "debug info":
Some more info that I don't know whether is relevant: my key store file is located in a Dropbox folder. |
I also suffer from this issue. Maybe the issue is related to YubiKey? Running the binary version in debugger gives the following information:
|
Duplicate of #1561 |
Expected Behavior
When putting the PC to sleep and then waking it, the application should remain running.
Current Behavior
When waking the PC from sleep I consistently have the app crash. See attached screenshot for the error message.

Possible Solution
This this is easily reproducible on my machine and I am a programmer, I'd be happy to help pinpointing the source of the error, with specific guidance as to the steps to take.
Steps to Reproduce (for bugs)
Context
I use a laptop for my development work, which I put to sleep and awake many times over each work day. Needing to restart KeePassXC and enter my master DB password is unnecessarily time-consuming, to the point of considering alternative solutions.
Debug Info
KeePassXC - Version 2.3.1
Revision: 2fcaeea
Libraries:
Operating system: Windows 10 (10.0)
CPU architecture: x86_64
Kernel: winnt 10.0.16299
Enabled extensions:
The text was updated successfully, but these errors were encountered: