Keepassxc: Segmentation Fault when creating and deleting unsaved entries (specific steps)

Created on 3 Jan 2020  路  7Comments  路  Source: keepassxreboot/keepassxc

Expected Behavior

No SEGFAULT

Current Behavior

SEGFAULT

Steps to Reproduce

  1. Create a new entry, pick any title and click OK.
  2. Now delete the recently created entry.
  3. Create another entry, pick any title, but now you click Cancel instead.
  4. A dialog will pop up, asking you to: Save, Discard or Cancel.
  5. Choose: Discard.
  6. KeePassXC will crash with segfault

Debug Info

KeePassXC - Version 2.5.1
Revision: 0fd8836

Qt 5.14.0
Debugging mode is disabled.

Operating system: Arch Linux
CPU architecture: x86_64
Kernel: linux 5.4.7-zen1-1-zen

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • SSH Agent
  • KeeShare (signed and unsigned sharing)
  • YubiKey
  • Secret Service Integration

Cryptographic libraries:
libgcrypt 1.8.5

bug high priority

All 7 comments

This is fixed in 2.5.2 releasing tomorrow.

Just updated to 2.5.2, still can reproduce this.

Found out this is only reproducible if you've disabled the recycle bin in your database.

Good to know!!

I've tried capturing a trace with gdb. Hope it's helpful:

gdb.txt

Yes it is helpful and points to exactly what I suspected the problem was. It is directly related to the bug I reported yesterday: #4093

This has been fixed in 2.6

Was this page helpful?
0 / 5 - 0 ratings