#1033681 ffmpeg: All executables fail to start with "Bus Error"

Package:
ffmpeg
Source:
ffmpeg
Description:
Tools for transcoding, streaming and playing of multimedia files
Submitter:
Shai Berger
Date:
2023-04-07 00:45:03 UTC
Severity:
normal
#1033681#5
Date:
2023-03-30 00:32:42 UTC
From:
To:
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.

#1033681#8
Date:
2023-03-30 15:51:20 UTC
From:
To:
hi.

thanks for your bugreport.

what's the output of /proc/cpuinfo ?


fmdsa
IOhannes

#1033681#13
Date:
2023-03-30 21:22:36 UTC
From:
To:
Hi,

Thanks for taking a look. Output of `cat /proc/cpuinfo` attached.

#1033681#18
Date:
2023-04-07 00:35:27 UTC
From:
To:
The error I encountered was followed by a set of other weird errors in
other programs, and apparently it was all caused by a bad disk.

Sorry for the noise,

Shai.