You have been subscribed to a public bug:

Dear *ubuntu dev team,

as far as I can fathom there might be a bug for the recent libexiv2
release/update. (That might be my first bug report on launchpad, so
please bear with me.)

os-info: Kubuntu LTS; VERSION="24.04.4 LTS (Noble Numbat)"
CPU/APU: AMD Ryzen 5 PRO 5650G (Zen 3)


I ran updates this morning (18th of March 2026) and soon thereafter my system 
was nearly utterly broken.
Everything that would parse metadata in images (or ask a lib to get this done) 
(e.g. dolphin file manager, and image preview, gwenview (KDE's image viewer), 
also non-Qt-based things like GIMP would crash (and cause a plethora of icons 
on systray) or simply not open anything in terms of images. 

I had a dmesg on it and found that related libs/programs were throwing illegal 
opcodes. 
I am not really familiar with *buntu, but using Gentoo for many years, and I 
know from experience that this might come from a program compiled with compiler 
flags for a wrong/different architecture. 

So I used some search-enigine-fu and found that very very recently
libexiv2 was updates, and that would make a good suspect.


As it seems the previous version was
libexiv2-27 0.27.6-1build1 500
and was updated to
libexiv2-27 0.27.6-1ubuntu0.1 500
and that one might cause the troubles.

I managed to downgrade, but still have to reboot (or at least reastart
X) to verify.

Would be nice if someone could look into it, as this might also affect
other people. (I would have expected things to be compiled with some
generic amd65/x86_64 flags, but maybe something slipped here.)


e.g. from dmesg
baloo_filemetad[3016]: segfault at 0 ip 0000000000000000 sp 00007ffeeed13748 
error 14 in baloo_filemetadata_temp_extractor[64a235393000+2000] likely on CPU 
11 (core 5, socket 0)
Code: Unable to access opcode bytes at 0xffffffffffffffd6.

So the baloo engine (run by dolphin likely) asks for metadata and that
lead to segfault/illegal opcode.

As libexiv2 should be "basic machinery" it should be independent of
Kubuntu/Ubuntu/Xubuntu and the likes, thus affecting all sorts of Ubuntu
flavours.

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: crash exif gwenview illegal libexiv2 libexiv2-27 metadata opcode 
segfault
-- 
libexiv2-27 (24.04.4 LTS) recent update causes illegal opcodes on Zen3
https://bugs.launchpad.net/bugs/2144752
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to