-
-
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
Linux: Crash when two databases use hardware key and one is closed without key present #11450
Comments
I have never seen the application crash when closing a database tab. You'll have to provide a stack trace to validate that finding. If your other database is not connected to the browser extension, then it will not shift the connection to it. I have also not experienced this issue. When closing a database or changing tabs, the browser extension updates immediately. |
Please provide a screen recording showing what you are seeing. |
If you are using two databases at the same time, make sure the second one is not a clone. Goto Database Settings -> Browser Integration and generate new Root Group UUID's to them just in case. |
I can't give you a video of the crash yet as it's random. But for the keepassxc browser link broken after closing one of the 2 databases, here is the video: simplescreenrecorder-2024-11-28_19.55.12.mp4Note that databases are NOT a clone, they have been created the two from scratch (one of them created from a passman CSV export, the other as a new empty db) |
What does the extension log says? You can access it from about:debugging. |
The message says (it's in french sorry): [Error keepass.js:256] KeePassXC-Browser - 5: Impossible de se connecter à KeePassXC. Vérifiez que l’intégration au navigateur est activée dans les paramètres de KeePassXC. The browser integration is activated. If I click to reload button ("Recharger" in french, I think it should be reload in english, or refresh) the connection work again on the remaining database. |
This is something I could try to reproduce, but I'm more interested about the KeePassXC crash. |
I will try to reproduce it at my work office soon. It happen more often here than at home for some reason I don't know... and I will try to have some logs about that |
I have the bug now in video of keepassxc crash while closing one of the 2 databases: simplescreenrecorder-2024-11-29_15.10.20.mp4I launch keepass from terminal so I can have log. App logs are:
First lines appears before crash, not important. The important lines are the 2 last: maybe the crash is due to the french locale so? Maybe the accent in that message? |
Can you provide any crash logs? |
I don't know where I find it... KDE don't detect crash of keepass so it does not give me a bug report so... I send you what I have in the terminal from where I launch keepass, I don't have more thant that. Except if you can help me for where I can find it |
Run a snapshot version to get crash reports: https://snapshot.keepassxc.org |
I try the AppImage for the link you give me, but I don't view any crash log too. Dolphin just says me "the process crash" but without more details... But I better understand how to reproduce the crash error. In my case the work database is protected only by a yubikey. The home database is protected by a yubikey + a password. Several scenarios:
At home, the yubikey is generally always plugged, but not at work, that seems to explain why I experience this crash bug mainly at work. Please keep in mind that the bug with keepassxc browser is not related to that, it occurres in all cases listed above. |
I cannot replicate this crash at all on Windows |
And I cannot replicate the error in the extension when opening two databases and removing the second database tab. |
I replicated the crash on Linux. I am going to re-title this issue to focus on the crash. If the browser issue persists and we can replicate we can open another issue. |
I added the fix to #11513 |
Overview
Close a database (if 2 databases opened) cause bugs:
Steps to Reproduce
Expected Behavior
KeepassXC is still alive, the still opened database is still connected in keepassxc browser
Actual Behavior
Sometimes, KeepassXC crashes. If not, the link with keepassxc browser is always lost.
Context
KeePassXC - 2.7.9
Revision: 8f6dd13
Operating System: Linux (debian 12)
Desktop Env: KDE
Windowing System: X11
The text was updated successfully, but these errors were encountered: