| Summary: | keepassxc fails with unknown machine instruction | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Marc Krämer <mageia> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | brtians1, geiger.david68210, h.goebel, sysadmin-bugs, tmb |
| Version: | 7 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA7-64-OK | ||
| Source RPM: | argon2-20171227-2.mga7.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Marc Krämer
2019-07-16 20:06:18 CEST
@Marc : Can you provide any console output, please. Assigning to Sander. Assignee:
bugsquad =>
mageia $ keepassxc
Ungültiger Maschinenbefehl
not much....
running in strace gives me
[pid 978] eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK) = 29
[pid 978] write(29, 0x7faf8dad6908, 8) = 8
[pid 978] prctl(PR_SET_NAME, 0x5628e61c4538) = 0
[pid 978] --- SIGILL {si_signo=SIGILL, si_code=ILL_ILLOPN, si_addr=0x7fafa5c8a3a9} ---
Tried to recompile, tried newer version 2.4.3 on cauldron and tried fedora build (https://koji.fedoraproject.org/koji/buildinfo?buildID=1297141).
All result in the same error...
Anything processor dependend in there ? I'm using i7 M620 .
It only happens if I use the default settings with Argon2 (KDBX 4).
Lewis Smith
2019-07-18 11:04:54 CEST
CC:
lewyssmith =>
(none) I can't reproduce this on my system (i5-5300U) Ever confirmed:
1 =>
0 I think it is the same issue as this: https://github.com/keepassxreboot/keepassxc/issues/1711 Looks like it has to be built with "OPTTARGET=none" see this post too https://dev.getsol.us/T6009 So we should probably fix argon2 build. CCing David. CC:
(none) =>
geiger.david68210 looks like it is an libargon2 problem. Maybe they use some optimization not supported by older processors (like mine from ~2010)
Marc Krämer
2019-08-14 02:51:40 CEST
Assignee:
mageia =>
geiger.david68210 @David: I've tested this. After the change it works as expected. Adding export OPTTARGET=none before makebuild results in "Building without optimizations" If this is not set, the optimizations of the built system are used which is unlikely everyone can use them. I hope you don't mind, checked in the fix (mga7) and pushed to updates_testing. Updated agron2 packages fix processor incompability. Due to an compiler optimization the package will raise an invalid instruction exception if the target platform does not match our build infrastructure. ======================== Updated packages in core/updates_testing: ======================== argon2-20171227-3.mga7 lib64argon2_1-20171227-3.mga7 lib64argon2-devel-20171227-3.mga7 argon2-debugsource-20171227-3.mga7 argon2-debuginfo-20171227-3.mga7 lib64argon2_1-debuginfo-20171227-3.mga7 SRPM: argon2-20171227-3.mga7.src.rpm Assignee:
geiger.david68210 =>
qa-bugs MGA7 - 64 running on Cinnamon $ uname -a Linux localhost.localdomain 5.2.13-desktop-2.mga7 #1 SMP Sun Sep 8 10:54:20 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux Installed the argon2 packages and then keepassxc. I chose 4 version as noted and it worked fine. CC:
(none) =>
brtians1 I can confirm this issue: I had the same issue, on a CPU from ~2010. Rebuilding lib64argon2_1-20171227-2.mga7.x86_64.rpm on my machine solved this issue. Also installing lib64argon2_1-20171227-3.mga7.x86_64.rpm from Core Updates Testing solved the issue. CC:
(none) =>
h.goebel So I think this update should be validated now as per comment 9 and 12 Ever confirmed:
0 =>
1
Thomas Backlund
2019-09-21 11:53:44 CEST
Keywords:
(none) =>
advisory, validated_update An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2019-0131.html Status:
NEW =>
RESOLVED |