Bug#1033681: ffmpeg: All executables fail to start with "Bus Error"
Package: ffmpeg
Version: 7:5.1.2-3
Severity: important
Dear Maintainer,
I have not used ffmpeg in a while, so I cannot say how new this is,
but, as the title says, today, if I try to run ffmpgeg, ffprobe or
ffplay, even with just the '-version' flag, I get the same response:
$ ffmpeg -version
Bus error
This happens only on this one system. I have another system which
is also a Debian Testing, and there things do work.
I have tried to debug this, but to no avail:
$ gdb /usr/bin/ffmpeg
GNU gdb (Debian 13.1-2) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
[...]
This GDB supports auto-downloading debuginfo from the following URLs:
<https://debuginfod.debian.net>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Reading symbols from /home/shai/.cache/debuginfod_client/7215fbfbcdbd6cfa01fc6d11f68e6cd32e232637/debuginfo...
(gdb) r -version
Starting program: /usr/bin/ffmpeg -version
Downloading separate debug info for /lib64/ld-linux-x86-64.so.2
Downloading separate debug info for system-supplied DSO at 0x7ffff7fc9000
Program received signal SIGBUS, Bus error.
0x00007ffff7fd93c8 in ?? () from /lib64/ld-linux-x86-64.so.2
(gdb) where
#0 0x00007ffff7fd93c8 in ?? () from /lib64/ld-linux-x86-64.so.2
#1 0x00007ffff7fe8c09 in ?? () from /lib64/ld-linux-x86-64.so.2
#2 0x00007ffff7fe519f in ?? () from /lib64/ld-linux-x86-64.so.2
#3 0x00007ffff7fe6b1c in ?? () from /lib64/ld-linux-x86-64.so.2
#4 0x00007ffff7fe59c8 in ?? () from /lib64/ld-linux-x86-64.so.2
#5 0x0000000000000002 in ?? ()
#6 0x00007fffffffe16d in ?? ()
#7 0x00007fffffffe17d in ?? ()
#8 0x0000000000000000 in ?? ()
(gdb)
I've also tried running the same with a user which never used
ffmpeg before, to account for some settings if relevant. Same.
I am at a loss on how to debug this further.
Thanks in advance for your attention and help,
Shai.
-- System Information:
Debian Release: 12.0
APT prefers testing
APT policy: (900, 'testing'), (800, 'unstable'), (800, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-6-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_IL.UTF-8, LC_CTYPE=en_IL.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ffmpeg depends on:
ii libavcodec59 7:5.1.2-3
ii libavdevice59 7:5.1.2-3
ii libavfilter8 7:5.1.2-3
ii libavformat59 7:5.1.2-3
ii libavutil57 7:5.1.2-3
ii libc6 2.36-8
ii libpostproc56 7:5.1.2-3
ii libsdl2-2.0-0 2.26.4+dfsg-1
ii libswresample4 7:5.1.2-3
ii libswscale6 7:5.1.2-3
ffmpeg recommends no packages.
Versions of packages ffmpeg suggests:
pn ffmpeg-doc <none>
-- no debconf information
Reply to: