-
-
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
Crashing upon search #1254
Comments
Does this happen in any database, even a brand new one? Any search term at all? |
Just made a new blank database. It did not crash then. I quit and reopened my other database. Any search time at all will crash it, even before I finish typing. |
How did you create your database, was it from keepass 2? |
I created both databases within Keepassxc. |
Yikes, i fear the only way for us to debug this is to send us your broken database.... Are you able to compile the application in debug mode and run it through a debugger? |
That sounds a bit beyond my scope but I could do it if you have some sort of tutorial. And obviously the database has all my passwords so I'm a little weary of sending that... If my database is at risk of breaking/corrupting, is it easy to fix by creating a new database then doing an export/import? |
I could build a debug version that works in Mint 18.3 and provide it to you with simple instructions on how to run it in the debugger. Will likely get to that this weekend. We definitely want to fix the crash, so don't delete the database. This would only cause problems if the program crashed before you could save your database after any changes. |
Alternatively you can:
Then you can report to us if this entry has some problem or strange field. |
OK, please download the following build of KeePassXC and perform the below steps https://www.dropbox.com/s/cqyhjqdybousnou/keepassxc-2.2.2-debug.tar.gz
|
Thanks for the help. If it makes any difference, Keepassxc froze instead and Mint said the program wasn't responding. Normally it just disappears. Here's the output: (gdb) bt |
That's odd, it stopped in qt code. See if you can get it to stop/crash a couple of times and see if the output of bt is any different. The next best option is to do what @TheZ3ro mentioned... Copy your db snd then delete entries or groups one by one to see when it stops crashing. |
Crashed a couple more times. Looks the same: Thread 1 "keepassxc" received signal SIGSEGV, Segmentation fault. |
It's probably the same issue as #335, which may be the same as or related to https://bugreports.qt.io/browse/QTBUG-52601 |
Huh, mine crashes between groups too. I used to use it but stopped so I never noticed. |
Thanks @phoerious AppImage seems to work fine for me on Mint 18.3. I don't get crashes. |
I have the same problem:
|
It's the same problem and a bug in Qt 5.5. To get rid of it, either use the AppImage or upgrade to an Ubuntu version that ships at least 5.6. |
Closing this, since it appears to be the same issue and we cannot fix it. |
Some more info to share on the above as I have been running KeepassXC successfully on Mint 18.3 and also experienced the same issues as above. I have multiple devices running identical mirrors of Linux Mint. Same libraries, programs, etc. This issue described by the OP has occurred 3x now on different machines for me at the application level. The database crash isn't reproduced on other machines and I can use the databases just fine on "working" machines. Meanwhile the machine experiencing the crashes has the same behaviour with any KeepassXC database. Including new ones created for testing. A full, clean install of the OS resolves the issue, but beyond that have not been able to fix. As weird as this may sound, I believe the issue happens when I update too many entries too fast while having the "automatic save on every change" and/or "backup database before saving" features enabled. It seems that if a change is made before the previous change is finished saving, the application crashes. And anytime the application is launched going forward, it crashes on searches and directory/folder navigation. I can't seem to pinpoint where it's getting hung up, but it doesn't seem to be the QT issue as mentioned earlier (at least in my case) since I'm successfully running the same database on the same version of Linux Mint on other machines (exactly the same). It isn't until something goes haywire once on the particular KeepassXC install that it then continues to have issues. Or there's a unusual coincidence. |
It is a Qt bug and we cannot fix it. Mint 18.3 is also based on Ubuntu 16.04, which has Qt 5.5. Use our AppImage if you cannot upgrade your system. |
For the record, you can't possibly do anything with KeePassXC until the save is complete since it's a synchronous function. |
Ok got it. Thank you both for the reply. So strange it works without a hitch on some devices running Mint 18.3 but not others. I'll use the AppImage for now and try upgrading the system to see if that resolve. Edit: Also forgot to note that the Linux Mint device that KeepassXC is crashing on only crashes for one user. Installs for other regular and sudo users on the same device are not experiencing the crash issue. |
Note the temp solution: I got the same question, and my OS is LinuxMint 18.3. Before today I haven't the question, but it happened today(I guess because that some Qt composes upgrade auto, but not sure). And using AppImage is good, no this question. If someone gets the same question, can use AppImage temp. |
Expected Behavior
Search should not crash the program.
Current Behavior
Searching will immediately close the program on Linux Mint 18.3 Cinnamon.
Context
Search did not crash before 2.2.2. I have to re-open Keepass and enter my key as if I was starting the program up.
Debug Info
KeePassXC - Version 2.2.2
Revision: 6d46717
Libraries:
Operating system: Linux Mint 18.3
CPU architecture: x86_64
Kernel: linux 4.14.0-041400-generic
Enabled extensions:
The text was updated successfully, but these errors were encountered: