-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Crash when quitting interactive mode #3880
Copy link
Copy link
Closed
Labels
Milestone
Description
Expected Behavior
In interactive mode, calling quit or pressing Ctrl-D should quit the program without throwing errors.
Current Behavior
If no other command is entered between opening the database and calling quit, there is no problem.
If you enter any other command before calling quit, it crashes instead of exiting cleanly.
Example:
$ keepassxc-cli open database.kdbx
My Database> ls
My Database> quit
QObject::startTimer: Timers can only be used with threads started with QThread
fish : Task , 'keepassxc-cli open database.kdbx' ended with SIGSEGV signalNote: the last line was translated from French:
fish : Tâche , 'keepassxc-cli open database.kdbx' terminée par le signal SIGSEGV (Erreur de frontière d'adresse)
Steps to Reproduce
keepassxc-cli open database.kdbxMy Database>lsor another commandMy Database>quitor pressCtrl-D
Debug Info
KeePassXC - Version 2.5.1
Revision: 0fd8836
Qt 5.12.5
Debugging mode is disabled.
Operating system: Fedora 31 (Workstation Edition)
CPU architecture: x86_64
Kernel: linux 5.3.11-300.fc31.x86_64
Enabled extensions:
- Auto-Type
- Browser Integration
- SSH Agent
- KeeShare (signed and unsigned sharing)
- YubiKey
- Secret Service Integration
Cryptographic libraries:
libgcrypt 1.8.5
Reactions are currently unavailable