#1117036 libcamera-ipa: SIGFPE in pipewire when using libcamera-ipa

Package:
libcamera-ipa
Source:
libcamera-ipa
Description:
complex camera support library (IPA modules)
Submitter:
Richard van der Hoff
Date:
2026-07-09 09:07:01 UTC
Severity:
normal
#1117036#5
Date:
2025-10-02 15:02:45 UTC
From:
To:
I'm not entirely sure if this is a bug in libcamera-ipa itself, or pipewire,
but, about 50% of the time, when I try to use my camera, I capture a frame or
two, and then pipewire is killed with SIGFPE.

I captured a coredump, which shows the following backtrace:

#0  0x00007f852c66ef98 in libcamera::ipa::soft::algorithms::Agc::process(libcamera::ipa::soft::IPAContext&, unsigned int, libcamera::ipa::soft::IPAFrameContext&, libcamera::SwIspStats const*, libcamera::ControlList&) () from /usr/lib/x86_64-linux-gnu/libcamera/ipa_soft_simple.so
#1  0x00007f852c66bb4f in libcamera::ipa::soft::IPASoftSimple::processStats(unsigned int, unsigned int, libcamera::ControlList const&) () from /usr/lib/x86_64-linux-gnu/libcamera/ipa_soft_simple.so
#2  0x00007f852e48ebd4 in libcamera::Object::message(libcamera::Message*) () from /lib/x86_64-linux-gnu/libcamera-base.so.0.4
#3  0x00007f852e49cbfc in libcamera::Thread::dispatchMessages(libcamera::Message::Type) () from /lib/x86_64-linux-gnu/libcamera-base.so.0.4
#4  0x00007f852e492f96 in libcamera::EventDispatcherPoll::processEvents() () from /lib/x86_64-linux-gnu/libcamera-base.so.0.4
#5  0x00007f852e49c809 in libcamera::Thread::exec() () from /lib/x86_64-linux-gnu/libcamera-base.so.0.4
#6  0x00007f852e2f8224 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007f8530783b7b in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:448
#8  0x00007f85308015f0 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100

I tried upgrading to the version of libcamera in trixie-backports (0.5.2), but
the camera doesn't seem to work *at all* if I do that.

My camera is (I believe) an OV01A10.

#1117036#10
Date:
2025-11-13 08:21:39 UTC
From:
To:
#1117036#15
Date:
2025-11-13 10:35:46 UTC
From:
To:
Yes, that does look likely.
#1117036#20
Date:
2026-07-09 08:41:38 UTC
From:
To:
This seems to be fixed in the version of libcamera in trixie-backports
(ibspa-0.2-libcamera 1.4.9-1~bpo13+2).