keepassx crashes when trying to open another file
I can use keepassx with one file, but if I try to open another database it will crash with
ASSERT: "entry->uuid() == uuid()" in file <snip>/keepassx-9999/src/core/Entry.cpp, line 366.
Steps to reproduce
1) Open your default database.
2) Close database.
3) Open another database.
This might be related to some history/bookmark function.
#2 Updated by Harald Judt about 5 years ago
Ok, it seems this is a bit more complicated. The database is not corrupt, I can open it on another computer. I just encountered the same or a very similar problem before, that's why I came to that conclusion. In fact, the steps to reproduce do not work with another (third) database.
Maybe it is because of the patch I attached to #129. I will have to investigate more on this.
#8 Updated by Harald Judt about 5 years ago
Damn! Now I know why the older version worked! I remembered it had something to do with the history... I compiled that version in July and removed that ASSERT to get it working, but have already forgotten about it.
I will try to extract the information you requested.
#11 Updated by Harald Judt about 5 years ago
No, that was created by keepass (import from v1). I do not edit it but use it read-only and it's only an assertion, so actually no problem, but I guess I need to find out how to create a release build on my gentoo system that doesn't crash on the assert().
#12 Updated by Patrick Fournier over 4 years ago
I had the same problem with KeepassX 2.0 alpha 6 (Ubuntu 14.04). I used Keepass2 to clean up the history and object information of my DB (Tools/Database tools/Database maintenance) and it solved my problem. I was able to open my DB with KeepassX again.
The DB has a long history: it was initally created and updated in Keepass1, converted to Keepass 2 format with Keepass2, updated with Keepass2 for a while and then updated with KeepassX.