[Pkg-utopia-maintainers] Bug#1100160: data-loop.0[27932]: segfault
Christoph Anton Mitterer
calestyo at scientia.org
Wed Mar 12 04:10:20 GMT 2025
Package: libspa-0.2-modules
Version: 1.4.0-1
Severity: important
Hey.
Since a while I see segfaults with some (but not all) videos when
playing them back via mpv (but not e.g. when playing back via ffplay).
The segfaults seem to happen in libspa-0.2-modules:
Mar 12 05:08:54 heisenberg kernel: data-loop.0[29809]: segfault at 0 ip 00007fca0e6443c9 sp 00007fc92efec2e8 error 4 in libc.so.6[1643c9,7fca0e508000+165000] likely on CPU 6 (core 12, socket 0)
Mar 12 05:08:54 heisenberg kernel: Code: 66 66 2e 0f 1f 84 00 00 00 00 00 66 66 2e 0f 1f 84 00 00 00 00 00 66 66 2e 0f 1f 84 00 00 00 00 00 48 89 f8 48 83 fa 20 72 27 <c5> fe 6f 06 48 83 fa 40 0f 87 a9 00 00 00 c5 fe 6f 4c 16 e0 c5 fe
Backtrace:
$ gdb --args mpv x.flv
GNU gdb (Debian 16.2-2) 16.2
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from mpv...
(No debugging symbols found in mpv)
(gdb) run
Starting program: /usr/bin/mpv x.flv
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fff61dff6c0 (LWP 29408)]
[New Thread 0x7fff615fe6c0 (LWP 29409)]
[New Thread 0x7fff60dfd6c0 (LWP 29410)]
[New Thread 0x7fff605fc6c0 (LWP 29411)]
[New Thread 0x7fff5fdfb6c0 (LWP 29412)]
[New Thread 0x7fff5f5fa6c0 (LWP 29413)]
[New Thread 0x7fff5edf96c0 (LWP 29414)]
[New Thread 0x7fff5e5f86c0 (LWP 29415)]
[New Thread 0x7fff5ddf76c0 (LWP 29416)]
[New Thread 0x7fff5d5f66c0 (LWP 29417)]
[New Thread 0x7fff5cdf56c0 (LWP 29418)]
[New Thread 0x7fff5c5f46c0 (LWP 29419)]
[New Thread 0x7fff5bdf36c0 (LWP 29420)]
[New Thread 0x7fff5b5f26c0 (LWP 29421)]
[New Thread 0x7fff5adf16c0 (LWP 29422)]
[New Thread 0x7fff5a5f06c0 (LWP 29423)]
[New Thread 0x7fff59def6c0 (LWP 29424)]
[New Thread 0x7fff595ee6c0 (LWP 29425)]
[New Thread 0x7fff58ded6c0 (LWP 29426)]
[New Thread 0x7fff53fff6c0 (LWP 29427)]
[New Thread 0x7fff537fe6c0 (LWP 29428)]
[New Thread 0x7fff52ffd6c0 (LWP 29429)]
[New Thread 0x7fff527fc6c0 (LWP 29430)]
[New Thread 0x7fff51bff6c0 (LWP 29431)]
[Thread 0x7fff5adf16c0 (LWP 29422) exited]
[Thread 0x7fff5b5f26c0 (LWP 29421) exited]
[Thread 0x7fff5bdf36c0 (LWP 29420) exited]
[Thread 0x7fff5c5f46c0 (LWP 29419) exited]
[Thread 0x7fff5cdf56c0 (LWP 29418) exited]
[Thread 0x7fff5d5f66c0 (LWP 29417) exited]
[Thread 0x7fff5ddf76c0 (LWP 29416) exited]
[Thread 0x7fff5e5f86c0 (LWP 29415) exited]
[Thread 0x7fff5edf96c0 (LWP 29414) exited]
[Thread 0x7fff5f5fa6c0 (LWP 29413) exited]
[Thread 0x7fff5fdfb6c0 (LWP 29412) exited]
[Thread 0x7fff605fc6c0 (LWP 29411) exited]
[Thread 0x7fff60dfd6c0 (LWP 29410) exited]
[Thread 0x7fff615fe6c0 (LWP 29409) exited]
[Thread 0x7fff61dff6c0 (LWP 29408) exited]
[Detaching after fork from child process 29432]
[Detaching after fork from child process 29433]
[Detaching after fork from child process 29434]
[New Thread 0x7fff5adf16c0 (LWP 29435)]
[Thread 0x7fff5adf16c0 (LWP 29435) exited]
[New Thread 0x7fff5adf16c0 (LWP 29436)]
● Video --vid=1 (vp6f 640x480 25 fps)
● Audio --aid=1 (mp3 1ch 22050 Hz 48 kbps)
[New Thread 0x7fff5b5f26c0 (LWP 29437)]
[New Thread 0x7fff5bdf36c0 (LWP 29438)]
[New Thread 0x7fff5c5f46c0 (LWP 29439)]
[New Thread 0x7fff5cf7f6c0 (LWP 29440)]
[New Thread 0x7fff513fe6c0 (LWP 29441)]
[New Thread 0x7fff50bfd6c0 (LWP 29442)]
[W][05:05:25.454926] pw.conf | [ conf.c: 1204 pw_conf_load_conf_for_context()] setting config.name to client-rt.conf is deprecated, using client.conf
[New Thread 0x7fff47fff6c0 (LWP 29443)]
[New Thread 0x7fff477fe6c0 (LWP 29444)]
AO: [pipewire] 22050Hz mono 1ch floatp
VO: [gpu] 640x480 yuv420p
AV: 00:00:00 / 00:14:04 (0%) A-V: -0.040
Thread 35 "data-loop.0" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff477fe6c0 (LWP 29444)]
__memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:265
warning: 265 ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory
(gdb) bt
#0 __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:265
#1 0x00007fff581676b7 in memcpy (__dest=<optimized out>, __src=<optimized out>, __len=252) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29
#2 impl_native_process (r=0x555555a8c548, src=0x7fff477ed460, in_len=0x7fff477ed370, dst=0x555555a8c6c8, out_len=0x7fff477ed374) at ../spa/plugins/audioconvert/resample-native.c:229
#3 0x00007fff5814392d in run_resample_stage (s=<optimized out>, c=0x7fff477ed400) at ../spa/plugins/audioconvert/audioconvert.c:3322
#4 0x00007fff5814706f in impl_node_process (object=0x555555a6ee80) at ../spa/plugins/audioconvert/audioconvert.c:3842
#5 0x00007fff5812ceff in spa_node_process_fast (object=<optimized out>) at ../spa/include/spa/node/node.h:756
#6 impl_node_process (object=0x5555559cceb8) at ../spa/plugins/audioconvert/audioadapter.c:1810
#7 0x00007ffff34f35a7 in spa_node_process_fast (object=<optimized out>) at ../spa/include/spa/node/node.h:756
#8 process_node (data=data at entry=0x5555559cd440, nsec=nsec at entry=8608516051565) at ../src/pipewire/impl-node.c:1497
#9 0x00007ffff34f3a4e in node_on_fd_events (source=<optimized out>) at ../src/pipewire/impl-node.c:1574
#10 0x00007fff5ec9fc46 in loop_iterate (object=object at entry=0x5555559b3d08, timeout=timeout at entry=-1) at ../spa/plugins/support/loop.c:726
#11 0x00007ffff34c17f0 in do_loop (user_data=0x5555559b34c0) at ../src/pipewire/data-loop.c:67
#12 0x00007ffff2e66abd in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:448
#13 0x00007ffff2ee47b8 in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
(gdb)
It doesn't happen when I disable audio (--ao=null).
Thanks,
Chris.
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.17-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libspa-0.2-modules depends on:
ii libasound2t64 1.2.13-1+b1
ii libc6 2.41-4
ii libdbus-1-3 1.16.2-2
ii libebur128-1 1.2.6-1+b2
ii libfftw3-single3 3.3.10-2+b1
ii libgcc-s1 14.2.0-17
ii liblilv-0-0 0.24.26-1
ii libmysofa1 1.3.3+dfsg-1
ii libsndfile1 1.2.2-2+b1
ii libstdc++6 14.2.0-17
ii libsystemd0 257.4-1
ii libudev1 257.4-1
ii libwebrtc-audio-processing-1-3 1.3-3+b1
libspa-0.2-modules recommends no packages.
libspa-0.2-modules suggests no packages.
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list