Bug 2547048

Summary: ipa_soft_simple.so signature is not valid causing it to run isolated
Product: [Fedora] Fedora Reporter: Tim <tim>
Component: libcameraAssignee: Milan Zamazal <mzamazal>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 44CC: hans, javierm, mzamazal, terjeros, tim, wtaymans
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: libcamera-0.7.2-5.fc46 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-07 14:31:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tim 2026-10-06 19:41:46 UTC
Hi, libcamera crashes on my device due to an issue in libcamera, but as per one of the maintainers it should only trigger when its running isolated. They are under the impression that it should actually be signed in Fedora & should thus not be a problem here, but it is. The .sign files are there but for the ipa_soft_simple.so module its seems invalid:

---

tim@tim-xps ~ $ ls /usr/lib64/libcamera/ipa/
ipa_ipu3.so  ipa_ipu3.so.sign  ipa_soft_simple.so  ipa_soft_simple.so.sign  ipa_vimc.so  ipa_vimc.so.sign

---
tim@tim-xps ~ $ LIBCAMERA_LOG_LEVELS=IPAManager:0,IPAModule:0 qcam 2>&1 | grep -iE 'sign|isolat'
[0:18:45.869527598] [5756] DEBUG IPAModule ipa_module.cpp:333 ipa_ipu3.so: IPA module /usr/lib64/libcamera/ipa/ipa_ipu3.so is signed
[0:18:45.869617778] [5756] DEBUG IPAModule ipa_module.cpp:333 ipa_soft_simple.so: IPA module /usr/lib64/libcamera/ipa/ipa_soft_simple.so is signed
[0:18:45.869656692] [5756] DEBUG IPAModule ipa_module.cpp:333 ipa_vimc.so: IPA module /usr/lib64/libcamera/ipa/ipa_vimc.so is signed
[0:18:45.879232818] [5756] DEBUG IPAManager ipa_manager.cpp:310 IPA module /usr/lib64/libcamera/ipa/ipa_soft_simple.so signature is not valid
[0:18:45.889596365] [5757] DEBUG IPAModule ipa_module.cpp:333 ipa_soft_simple.so: IPA module /usr/lib64/libcamera/ipa/ipa_soft_simple.so is signed
---

This is the link to the issue on libcamera's bug tracker: https://gitlab.freedesktop.org/camera/libcamera/-/work_items/358

My hardware:
Device: Dell XPS 9640
Sensor: ov02c10
OS: Fedora 44, KDE.

Thanks!

-Tim

Reproducible: Sometimes

Steps to Reproduce:
1. Run any camera (e.g. brave with pipewire, firefox with pipewire, of qcam)
2. Point the camera at a bright light
3. When it starts lagging, just stop the camera.
Actual Results:
In most cases libcamera will crash, taking out wireplubmber with it.

Expected Results:
The camera just exists, no crash.

Additional Information:
This is a clean Fedora 44 KDE installation, done a few days ago using the Fedora Media Writer.

Comment 1 Tim 2026-10-07 09:29:40 UTC
After some checking I do see a possible cause (also applies to the rawhide & F45 spec). In the libcamera.spec file it seems to sign: 
%{buildroot}/%{_libdir}/libcamera/ipa_*.so

But for me the .so files are actually in /usr/lib64/libcamera/ipa/

It seems like its missing the /ipa/ part, I have not tested this locally though.

Comment 2 Milan Zamazal 2026-10-07 10:57:36 UTC
Hi, thank you for the bug report and identifying the possible cause. I managed to reproduce "signature is not valid" error; I'll rebuild the package with the path fixed and let's see.

Comment 3 Fedora Update System 2026-10-07 12:45:55 UTC
FEDORA-2026-537f259dc4 (libcamera-0.7.2-5.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-537f259dc4

Comment 4 Fedora Update System 2026-10-07 14:31:11 UTC
FEDORA-2026-537f259dc4 (libcamera-0.7.2-5.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Tim 2026-10-07 16:43:29 UTC
Nice! Just replaced the 3 libcamera packages that I have with the same 3 from koji with the change, and the signatures are valid & I no longer have the crash. Thanks!

Comment 6 Fedora Update System 2026-10-09 09:55:14 UTC
FEDORA-2026-5a28fd5695 (libcamera-0.7.1-2.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-5a28fd5695

Comment 7 Fedora Update System 2026-10-10 01:58:28 UTC
FEDORA-2026-5a28fd5695 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-5a28fd5695`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-5a28fd5695

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-10-13 01:09:49 UTC
FEDORA-2026-5a28fd5695 (libcamera-0.7.1-2.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.