KeePassXC closing itself upon pressing OK

Hello,

  • OpenMandriva Lx version:
    Rock 4.3 & Rolling

  • Desktop environment (KDE, LXQT…):
    Plasma

  • Description of the issue (screenshots if relevant):
    The application close iself when tying to open or create a database.

  • Relevant informations (hardware involved, software version, logs or output…):
    When i launch it from Konsole i get the following message : “Instruction not permitted”.
    Tried argument --debug-info noticed it use libgcrypt, installed that package but it didn’t change anything.
    Do i miss anything to make it work ?

Welcome to OpenMandriva Community and forum @Rick399.

I do not know anything about keepassxc. But here it does open in Rock/4.3.

This looks like I succeded in creating a database:

Maybe we need more info about how to reproduce the issue?

Edit: I might want to learn how to use this software. Looks useful. But have so much on my To Do List right now.

So for further testing I fired up an ancient ASUS notebook with a i5 3337u cpu and Rolling installed. Installed keepasscx and when I ran it and tried to create a database I also got the illegal instruction error that @Rick399 was getting. We talked to @bero on IRC and he told us that this could be an an instruction that older hardware can not handle. We sometimes miss things like this because most computers in daily use in contributor group tend to be relatively newer.

Anyway @bero was able to find a fix for this and build a new version of the package argon2. When you upgrade your system you should see lib64argon2_1-20190702-4 and this should fix the illegal instruction error in keepassxc.

Wow, thanks for your quick assistance !

Sorry for the bad error message translation.
Yeah after posting on forum i noticed some errors in journalctl yesterday as stated in chat :

kwin_x11[1257]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 36822, resource id: 14850634, major code: 3 (GetWindowAttributes), minor code: 0
kwin_x11[1257]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 36823, resource id: 14850634, major code: 14 (GetGeometry), minor code: 0
kernel: traps: Thread (pooled)[16468] trap invalid opcode ip:7f553635d821 sp:7f54f1177d20 error:0 in libargon2.so.1[7f553635a000+6000]
kwin_x11[1257]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 37256, resource id: 4194310, major code: 15 (QueryTree), minor code: 0
kwin_x11[1257]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 37292, resource id: 10487362, major code: 18 (ChangeProperty), minor code: 0

I updated this morning and it’s working now.
Thank you guys!

Those qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow) errors are in every journal log I have seen. OM devs tell me they are nothing to be concerned about.

This one:

kernel: traps: Thread (pooled)[16468] trap invalid opcode ip:7f553635d821 sp:7f54f1177d20 error:0 in libargon2.so.1[7f553635a000+6000]

was the problem. This should be fixed on systems with lib64argon2_1-20190702-4. We backported that package (argon2) to Rolling and 4.3.

I think we can close this thread now.