Bug 2351057 - [abrt] pipewire: libcamera::ipa::soft::algorithms::Agc::process(): pipewire killed by SIGFPE
Summary: [abrt] pipewire: libcamera::ipa::soft::algorithms::Agc::process(): pipewire k...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: pipewire
Version: 42
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Wim Taymans
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:65deb8095efc605e9c5186a7b71...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-10 09:59 UTC by kja999
Modified: 2026-06-08 16:42 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-06-08 16:42:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: proc_pid_status (1.48 KB, text/plain)
2025-03-10 09:59 UTC, kja999
no flags Details
File: maps (3.94 KB, text/plain)
2025-03-10 09:59 UTC, kja999
no flags Details
File: limits (1.29 KB, text/plain)
2025-03-10 10:00 UTC, kja999
no flags Details
File: environ (2.03 KB, text/plain)
2025-03-10 10:00 UTC, kja999
no flags Details
File: open_fds (13.88 KB, text/plain)
2025-03-10 10:00 UTC, kja999
no flags Details
File: mountinfo (3.36 KB, text/plain)
2025-03-10 10:00 UTC, kja999
no flags Details
File: os_info (746 bytes, text/plain)
2025-03-10 10:00 UTC, kja999
no flags Details
File: cpuinfo (3.03 KB, text/plain)
2025-03-10 10:00 UTC, kja999
no flags Details
File: dso_list (597 bytes, text/plain)
2025-03-10 10:00 UTC, kja999
no flags Details
File: var_log_messages (2.99 KB, text/plain)
2025-03-10 10:00 UTC, kja999
no flags Details
File: backtrace (60.42 KB, text/plain)
2025-03-10 10:00 UTC, kja999
no flags Details

Description kja999 2025-03-10 09:59:56 UTC
Description of problem:
Launched teams call from Firefox.
Using ipu6 webcam and meteor lake chip

Version-Release number of selected component:
pipewire-1.2.7-4.fc42

Additional info:
reporter:       libreport-2.17.15
type:           CCpp
reason:         pipewire killed by SIGFPE
journald_cursor: s=96da2a8f40ac44e98ebe35527d0041f1;i=221d17;b=4b98194bd3a44c7087fb8f3fcf1c0781;m=ecbeda1;t=62ffa01d6ae21;x=3389de0fabbe4a32
executable:     /usr/bin/pipewire
cmdline:        /usr/bin/pipewire
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/pipewire.service
rootdir:        /
uid:            1000
kernel:         6.13.5-200.ipu6.fc41.x86_64
package:        pipewire-1.2.7-4.fc42
runlevel:       N 5
backtrace_rating: 4
crash_function: libcamera::ipa::soft::algorithms::Agc::process

Truncated backtrace:
Thread no. 1 (7 frames)
 #0 libcamera::ipa::soft::algorithms::Agc::process at ../src/ipa/simple/algorithms/agc.cpp:121
 #1 libcamera::ipa::soft::IPASoftSimple::processStats at ../src/ipa/simple/soft_simple.cpp:306
 #2 libcamera::Object::message at ../src/libcamera/base/object.cpp:211
 #4 libcamera::Thread::dispatchMessages at ../src/libcamera/base/thread.cpp:649
 #5 libcamera::EventDispatcherPoll::processEvents at ../src/libcamera/base/event_dispatcher_poll.cpp:146
 #6 libcamera::Thread::exec at ../src/libcamera/base/thread.cpp:311
 #7 std::execute_native_thread_routine at ../../../../../libstdc++-v3/src/c++11/thread.cc:104

Comment 1 kja999 2025-03-10 09:59:58 UTC
Created attachment 2079541 [details]
File: proc_pid_status

Comment 2 kja999 2025-03-10 09:59:59 UTC
Created attachment 2079542 [details]
File: maps

Comment 3 kja999 2025-03-10 10:00:01 UTC
Created attachment 2079543 [details]
File: limits

Comment 4 kja999 2025-03-10 10:00:02 UTC
Created attachment 2079544 [details]
File: environ

Comment 5 kja999 2025-03-10 10:00:04 UTC
Created attachment 2079545 [details]
File: open_fds

Comment 6 kja999 2025-03-10 10:00:05 UTC
Created attachment 2079546 [details]
File: mountinfo

Comment 7 kja999 2025-03-10 10:00:07 UTC
Created attachment 2079547 [details]
File: os_info

Comment 8 kja999 2025-03-10 10:00:08 UTC
Created attachment 2079548 [details]
File: cpuinfo

Comment 9 kja999 2025-03-10 10:00:09 UTC
Created attachment 2079549 [details]
File: dso_list

Comment 10 kja999 2025-03-10 10:00:11 UTC
Created attachment 2079550 [details]
File: var_log_messages

Comment 11 kja999 2025-03-10 10:00:12 UTC
Created attachment 2079551 [details]
File: backtrace

Comment 12 Erkka Heinilä 2025-03-17 11:37:52 UTC
Just to comment that I also see this on Precision 5490 with

Kernel: 6.13.6
libcamera: 0.4.0
libpipewire: 1.4.0

```
maalis 10 10:06:56 procyon-nixos systemd-coredump[6442]: [🡕] Process 4033 (pipewire) of user 1000 dumped core.
                                                         
                                                         Module libspa-audiomixer.so without build-id.
                                                         Module libspa-v4l2.so without build-id.
                                                         Module ipa_soft_simple.so without build-id.
                                                         Module libatomic.so.1 without build-id.
                                                         Module liblttng-ust-tracepoint.so.1 without build-id.
                                                         Module liblttng-ust-common.so.1 without build-id.
                                                         Module libnuma.so.1 without build-id.
                                                         Module libyaml-0.so.2 without build-id.
                                                         Module liblttng-ust.so.1 without build-id.
                                                         Module libgcc_s.so.1 without build-id.
                                                         Module libstdc++.so.6 without build-id.
                                                         Module libcamera-base.so.0.4 without build-id.
                                                         Module libcamera.so.0.4 without build-id.
                                                         Module libspa-libcamera.so without build-id.
                                                         Module libspa-audioconvert.so without build-id.
                                                         Module libasound.so.2 without build-id.
                                                         Module libspa-alsa.so without build-id.
                                                         Module libpipewire-module-jackdbus-detect.so without build-id.
                                                         Module libogg.so.0 without build-id.
                                                         Module libvorbis.so.0 without build-id.
                                                         Module libXdmcp.so.6 without build-id.
                                                         Module libXau.so.6 without build-id.
                                                         Module libltdl.so.7 without build-id.
                                                         Module libvorbisfile.so.3 without build-id.
                                                         Module libxcb.so.1 without build-id.
                                                         Module libcanberra.so.0 without build-id.
                                                         Module libXfixes.so.3 without build-id.
                                                         Module libX11.so.6 without build-id.
                                                         Module libpipewire-module-x11-bell.so without build-id.
                                                         Module libpipewire-module-session-manager.so without build-id.
                                                         Module libpipewire-module-link-factory.so without build-id.
                                                         Module libpipewire-module-adapter.so without build-id.
                                                         Module libpipewire-module-access.so without build-id.
                                                         Module libpipewire-module-portal.so without build-id.
                                                         Module libpipewire-module-client-device.so without build-id.
                                                         Module libpipewire-module-client-node.so without build-id.
                                                         Module libpipewire-module-spa-node-factory.so without build-id.
                                                         Module libpipewire-module-spa-device-factory.so without build-id.
                                                         Module libpipewire-module-metadata.so without build-id.
                                                         Module libpipewire-module-profiler.so without build-id.
                                                         Module libpcre2-8.so.0 without build-id.
                                                         Module libselinux.so.1 without build-id.
                                                         Module libpipewire-module-protocol-native.so without build-id.
                                                         Module libpipewire-module-rt.so without build-id.
                                                         Module libspa-dbus.so without build-id.
                                                         Module libcap.so.2 without build-id.
                                                         Module libspa-journal.so without build-id.
                                                         Module libspa-support.so without build-id.
                                                         Module libpipewire-0.3.so.0 without build-id.
                                                         Stack trace of thread 6439:
                                                         #0  0x00007f9c80b39e58 _ZN9libcamera3ipa4soft10algorithms3Agc7processERNS1_10IPAContextEjRNS1_15IPAFrameContextEPKNS_10SwIspStatsERNS_11ControlListE (ipa_soft_simple.so + 0x1be58)
                                                         #1  0x00007f9c80b36a0f _ZN9libcamera3ipa4soft13IPASoftSimple12processStatsEjjRKNS_11ControlListE (ipa_soft_simple.so + 0x18a0f)
                                                         #2  0x00007f9c82cd7aa4 _ZN9libcamera6Object7messageEPNS_7MessageE (libcamera-base.so.0.4 + 0x12aa4)
                                                         #3  0x00007f9c82ce50cc _ZN9libcamera6Thread16dispatchMessagesENS_7Message4TypeE (libcamera-base.so.0.4 + 0x200cc)
                                                         #4  0x00007f9c82cdb3a2 _ZN9libcamera19EventDispatcherPoll13processEventsEv (libcamera-base.so.0.4 + 0x163a2)
                                                         #5  0x00007f9c82ce4cc9 _ZN9libcamera6Thread4execEv (libcamera-base.so.0.4 + 0x1fcc9)
                                                         #6  0x00007f9c82aed0a4 execute_native_thread_routine (libstdc++.so.6 + 0xed0a4)
                                                         #7  0x00007f9c89a972e3 start_thread (libc.so.6 + 0x972e3)
                                                         #8  0x00007f9c89b1b0d4 __clone (libc.so.6 + 0x11b0d4)
                                                         
                                                         Stack trace of thread 4033:
                                                         #0  0x00007f9c89b1b7de epoll_wait (libc.so.6 + 0x11b7de)
                                                         #1  0x00007f9c899f5f42 impl_pollfd_wait (libspa-support.so + 0x19f42)
                                                         #2  0x00007f9c899e5a25 loop_iterate (libspa-support.so + 0x9a25)
                                                         #3  0x00007f9c89c85734 pw_main_loop_run (libpipewire-0.3.so.0 + 0x65734)
                                                         #4  0x0000563d7dde66df n/a (n/a + 0x0)
                                                         ELF object binary architecture: AMD x86-64
```

CC: erkkahe

Comment 13 cholody.kacper1998 2025-04-30 13:35:49 UTC
opened camera app with intel ipu6 camera


reporter:       libreport-2.17.15
type:           CCpp
reason:         pipewire killed by SIGFPE
journald_cursor: s=dd3fff46cc7a4f9eb4682d7c91144e7f;i=15267;b=c42210b30fda4e62962910ccea5daedb;m=35b34979e;t=633fed84f87df;x=a31dd0409ce39ab4
executable:     /usr/bin/pipewire
cmdline:        /usr/bin/pipewire
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/pipewire.service
rootdir:        /
uid:            1000
kernel:         6.14.4-300.fc42.x86_64
package:        pipewire-1.4.2-1.fc42
runlevel:       N 5
backtrace_rating: 4
crash_function: libcamera::ipa::soft::algorithms::Agc::process
comment:        opened camera app with intel ipu6 camera

Comment 14 James 2025-05-30 11:27:42 UTC
Could this be a bug in libcamera? I see this when I run qcam on an ov02c10-based laptop camera that's been disable with the hardware switch (in addition to the pipewire crashes when it's not disabled).

Core was generated by `/usr/bin/qcam'.
Program terminated with signal SIGFPE, Arithmetic exception.
#0  0x00007f12aa5dcf44 in libcamera::ipa::soft::algorithms::Agc::process (this=0x7f12a001add0, 
    context=..., frame=<optimized out>, frameContext=..., stats=<optimized out>, metadata=...)
    at ../src/ipa/simple/algorithms/agc.cpp:121
121                     unsigned int idx = (i - (i / yHistValsPerBinMod)) / yHistValsPerBin;   <-- denominator is zero
[Current thread is 1 (Thread 0x7f12aadfe6c0 (LWP 6410))]
(gdb) bt
#0  0x00007f12aa5dcf44 in libcamera::ipa::soft::algorithms::Agc::process
    (this=0x7f12a001add0, context=..., frame=<optimized out>, frameContext=..., stats=<optimized out>, metadata=<optimized out>) at ../src/ipa/simple/algorithms/agc.cpp:121
#1  0x00007f12aa5d98b6 in libcamera::ipa::soft::IPASoftSimple::processStats
    (this=0x7f12a004bf30, frame=1, bufferId=<optimized out>, sensorControls=...)
    at ../src/ipa/simple/soft_simple.cpp:306
#2  0x00007f12de976f60 in libcamera::Object::message (this=<optimized out>, msg=<optimized out>)
    at ../src/libcamera/base/object.cpp:211
#3  libcamera::Object::message (this=<optimized out>, msg=<optimized out>)
    at ../src/libcamera/base/object.cpp:201
#4  0x00007f12de9853d3 in libcamera::Thread::dispatchMessages
    (this=0x7f12a00403d0, type=libcamera::Message::None) at ../src/libcamera/base/thread.cpp:649
#5  0x00007f12de97b867 in libcamera::EventDispatcherPoll::processEvents (this=0x7f1294000ba0)
    at ../src/libcamera/base/event_dispatcher_poll.cpp:146
#6  0x00007f12de984e49 in libcamera::Thread::exec (this=0x7f12a00403d0)
    at ../src/libcamera/base/thread.cpp:311
#7  0x00007f12dca4e164 in std::execute_native_thread_routine (__p=0x7f12a00022e0)
    at ../../../../../libstdc++-v3/src/c++11/thread.cc:104
#8  0x00007f12dc87f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#9  0x00007f12dc901cec in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
(gdb) print yHistValsPerBin
$1 = 0

Comment 15 kja999 2025-06-02 07:32:47 UTC
launched kamodo using an ipu6 camera on lenovo X1 carbon


reporter:       libreport-2.17.15
type:           CCpp
reason:         pipewire killed by SIGFPE
journald_cursor: s=5e99491d746c4b94863fab92f0bac7c6;i=478a7;b=b757e05c18ed41bfabffa690ffa74b3b;m=d41ae451;t=63691c04ce67b;x=2cd827fc0a457a8a
executable:     /usr/bin/pipewire
cmdline:        /usr/bin/pipewire
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/pipewire.service
rootdir:        /
uid:            1000
kernel:         6.14.9-300.fc42.x86_64
package:        pipewire-1.4.4-2.fc42
runlevel:       N 5
backtrace_rating: 4
crash_function: libcamera::ipa::soft::algorithms::Agc::process
comment:        launched kamodo using an ipu6 camera on lenovo X1 carbon

Comment 16 Jake Laurie 2025-09-04 02:23:58 UTC
Testing IPU6 Camera in Firefox and Chrome

Loaded in firefox https://mozilla.github.io/webrtc-landing/gum_test.html
Pressed camera, works OK
Killed page
Opened in chrome
Enabled pipewire camera in chrome://flags
Restart chrome
Works ok

Reopened in firefox, pipewire crash

firefox-142.0.1-1.fc42.x86_64
Chrome (Flatpak) Version 139.0.7258.154 (Official Build) (64-bit)


reporter:       libreport-2.17.15
type:           CCpp
reason:         pipewire killed by SIGFPE
journald_cursor: s=132eda4c15a8459fbbc4cdfb4ad4d6cb;i=179c5;b=5c69ccf3997a48f19a7d3540f58a99fc;m=3fe8039f;t=63df03fa0a238;x=d6f70ed4668da024
executable:     /usr/bin/pipewire
cmdline:        /usr/bin/pipewire
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/pipewire.service
rootdir:        /
uid:            1000
kernel:         6.16.3-200.fc42.x86_64
package:        pipewire-1.4.7-1.fc42
runlevel:       N 5
backtrace_rating: 4
crash_function: libcamera::ipa::soft::algorithms::Agc::process

Comment 17 Fedora Release Engineering 2026-05-06 12:27:34 UTC
This message is a reminder that Fedora Linux 42 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 42 on 2026-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '42'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 42 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 18 Aoife Moloney 2026-06-08 16:42:01 UTC
Fedora Linux 42 entered end-of-life (EOL) status on 2026-05-27.

Fedora Linux 42 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.