Closed SecTec closed 1 month ago
Can you post the output of
botan cpuid
on your system?
Also from within gdb
after the SIGILL
is received can you run
disassemble /s
and post the first 30 or so instructions
Possible workaround to try: set env variable BOTAN_CLEAR_CPUID=sse2
Oh I think I see it now, try this
BOTAN_CLEAR_CPUID=bmi2
Yay, the last one worked for me.
KeepassXC runs with:
> BOTAN_CLEAR_CPUID=bmi2 keepassxc
For the sake of completeness:
> botan cpuid
CPUID flags: rdtsc sse2 ssse3 bmi2 aes_ni clmul
And GDB did not output anything with disassemble /s
.
I hope someone with the same or related issue might find this useful.
Many thanks, you saved my day. Best regards.
@SecTec FYI this was fixed in 3.6.1 which is available on Arch now, so the workaround should no longer be required.
General Info
OS: Arch Linux CPU: AMD FX(tm)-6300 Six-Core Processor Affected version: 3.6.0-1 KeepassXC version: 2.7.9-4
Issue
KeepassXC crashes after update of libbotan from v3.5.0-1 to v3.6.0-1.
Debug output (GDB):
Conclusion
Maybe some code was added to libbotan in the last update that uses some CPU instructions / features that are not present in my CPU.
CPU Info (lscpu):
Many thanks, best regards