KeePassVault crashed when trying to open my database? #287 #15
Replies: 2 comments
-
Hi @Adhjie, I see a java.lang.OutOfMemoryError in the stack trace you've provided. This indicates that the Android OS cannot allocate enough memory for the application because it is limited by the OS. I suggest tweaking the "Memory usage is 1536 MiB" option to potentially resolve the issue. I also tested password+key unlocking, and it worked in my case. Out of curiosity, why do you need so much memory for your passwords? KeePassXC has 64MB as default value But yeah I think I should take into account when my phone has many apps open, I was basing it based on my phone maximum available memory and still it crashes, so I turn it down until I reach 1536 MiB, and it doesn't crash in KeePassDX, KeePassXC, and now KeePass2Android. I will copy my database and emptied the pasted database then try to tone down the encryption settings, until KeePassVault could open it. BRB. I may not understand some core principles of KeePass correctly, but here is my understanding of it:
Please, feel free to destroy my illusions regarding these principles 😄 With that all said, KeePassVault works with this settings:
This attached database below is my main database but with all the real entries deleted, only leaving the test entry to remains: Master Password_test:[Redacted] Keyfile in the link: This solved this the cause of this bug. Feel free to close after testing my test database/vault. |
Beta Was this translation helpful? Give feedback.
-
@Adhjie it is better to delete database from here, after deleting entries some garbage may still be inside file |
Beta Was this translation helpful? Give feedback.
-
Overview
Continuing from:
aivanovski/keepassvault#286
The bug:
KeePassVault crashed after I entered my password and keyfile, and then clicked 'unlock'.
Expected result:
Database opened.
Additional context, maybe this bug has to do with my encryption settings?
Algorithm is AES 256-bit
Key derivation function is Argon2id
Transfrom rounds is 2
Memory usage is 1536 MiB
Paralellism is 6 threads
Is there a maximum limit for encryption settings that KeePassVault could handle?
I'm still not sure, so I hope this logcat files will of use to you to debug with.
Attached logcat files from Logfox app:
KeePassVault_Crash_02_12-06-17-54_199.zip
crash-com-ivanovsky-passnotes-02_12-06-18-29_716.zip
P.S.:
I started to check out other KeePass for Android project starting from this bug in KeePassDX:
Kunzisoft/KeePassDX#1948
I settled with KeePass2Android for now, until this and that bug are fixed.
Found out about this app from Awesome-KeePass-List/Projects (awesome-list category) in Github.
How to reproduce
Version
1.9.0
Android Version
Android 12
Device Model
Samsung Galaxy A12
;
From:
aivanovski/keepassvault#287
;
Beta Was this translation helpful? Give feedback.
All reactions