Bug#1117036: libcamera-ipa: SIGFPE in pipewire when using libcamera-ipa
Package: libcamera-ipa
Version: 0.4.0-7
Severity: important
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.
-- System Information:
Debian Release: 13.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.48+deb13-rt-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libcamera-ipa depends on:
ii libc6 2.41-12
ii libcamera0.4 0.4.0-7
ii libgcc-s1 14.2.0-19
ii libstdc++6 14.2.0-19
libcamera-ipa recommends no packages.
libcamera-ipa suggests no packages.
-- no debconf information
Reply to: