-
-
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
Segmentation fault when deleting entry with TOTP Seed #1360
Comments
Yes, probably. It's because of that. |
It seems like this is the case, a stray pointer. Here is a stack trace:
|
Can you guys test if this PR fixes this problem? #1338 |
I tested PR #1338, but the problem persists. Would emitting a signal when the recycle bin is about to be emptied and when it has been emptied work to prevent this? The signal would be used in |
I can reproduce the crash and will prepare a fix. |
- Fix crash when deleting TOTP entry - Fix TOTP update timeout on DetailsWidget - Fix TOTP settings attributes not being applied before first call to totpSeed()
- Fix crash when deleting TOTP entry - Fix memory leak when selecting TOTP entries - Fix TOTP update timeout on DetailsWidget - Fix TOTP settings attributes not being applied before first call to totpSeed()
- Fix crash when deleting TOTP entry - Fix memory leak when selecting TOTP entries - Fix TOTP update timeout on DetailsWidget - Fix TOTP settings attributes not being applied before first call to totpSeed()
- Fix crash when deleting TOTP entry - Fix memory leak when selecting TOTP entries - Fix TOTP update timeout on DetailsWidget - Fix TOTP settings attributes not being applied before first call to totpSeed()
- Fix crash when deleting TOTP entry - Fix memory leak when selecting TOTP entries - Fix TOTP update timeout on DetailsWidget - Fix TOTP settings attributes not being applied before first call to totpSeed()
- Fix crash when deleting TOTP entry - Fix memory leak when selecting TOTP entries - Fix TOTP update timeout on DetailsWidget - Fix TOTP settings attributes not being applied before first call to totpSeed()
Fix multiple TOTP issues, resolves #1360
Expected Behavior
No seg fault, entry is deleted as expected.
Current Behavior
seg fault.
Steps to Reproduce (for bugs)
TOTP Seed
Empty recycle bin
Debug Info
KeePassXC - Version 2.2.4
Revision: 6476b6b
Libraries:
Operating system: Ubuntu 16.04.3 LTS
CPU architecture: x86_64
Kernel: linux 4.10.0-42-generic
Enabled extensions:
@TheZ3ro I believe it might have to do with the new details view, which I guess has a recurring job to update the totp code. Is it possible that the totp refreshing job wakes up to a deleted entry?
The text was updated successfully, but these errors were encountered: