digikam crashes with illegal instruction on AMD Athlon II
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
digikam (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Kinetic |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
The crash happens early in the initialisation, since it occurs just trying to display the version:
$ digikam --version
Illegal instruction (core dumped)
$
Gdb shows the failing instruction:
$ gdb digikam
GNU gdb (Ubuntu 12.1-3ubuntu2) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https:/
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from digikam...
This GDB supports auto-downloading debuginfo from the following URLs:
https:/
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Reading symbols from /home/ghewson/
(gdb) r
Starting program: /usr/bin/digikam
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
[New Thread 0x7fffd13966c0 (LWP 319127)]
Thread 1 "digikam" received signal SIGILL, Illegal instruction.
0x00007ffff6c748b4 in operator* (m1=..., m2=...) at /usr/include/
642 /usr/include/
(gdb) disas /s $pc-10,+20
Dump of assembler code from 0x7ffff6c748aa to 0x7ffff6c748be:
/usr/include/
642 in /usr/include/
643 in /usr/include/
644 in /usr/include/
645 in /usr/include/
646 in /usr/include/
647 in /usr/include/
648 in /usr/include/
649 in /usr/include/
0x00007ffff6
0x00007ffff6
642 in /usr/include/
0x00007ffff6
=> 0x00007ffff6c748b4 <_ZmlRK10QMatri
0x00007ffff6
End of assembler dump.
(gdb)
EXTRACTPS is part of the SSE4.1 instruction set, which is not supported by AMD Athlon II Regor processors (or any other in the family, I believe): they support only the SSE4a instruction group.
References:
https:/
https:/
ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: digikam 4:8.0.0~
ProcVersionSign
Uname: Linux 5.19.0-26-generic x86_64
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Thu Dec 29 10:41:20 2022
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-09-08 (2668 days ago)
InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: digikam
UpgradeStatus: Upgraded to kinetic on 2022-10-25 (64 days ago)
To be clear, digikam always crashes, with any option or none.