Hi,
On 02/10/2025 17:02, Richard van der Hoff wrote:
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 wonder if this is the same issue:
https://gitlab.freedesktop.org/camera/libcamera/-/issues/280
Best regards,
Dylan