Fedora Account System
Red Hat Associate
Red Hat Customer
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.
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.
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.
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
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.
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!
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
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.
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.