Opened 3 days ago

#11073 new defect

FFmpeg gives bus error

Reported by: hellohi3654 Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: Running any command to do with ffmpeg with both ffmpeg built from source and installed using apt gives the Bus error message. Tried reinstalling libc6,-dev and -dbg. I had motioneye installed before which means ffmpeg was previously working but now after trying to install it again it seems to have completely broken ffmpeg. I have also removed motion and motioneye.
How to reproduce:

root@home:~/ffmpeg_sources/ffmpeg# gdb ./ffmpeg_g
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 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 ./ffmpeg_g...
(gdb) r
Starting program: /root/ffmpeg_sources/ffmpeg/ffmpeg_g

Program received signal SIGBUS, Bus error.
elf_dynamic_do_Rela (skip_ifunc=<optimized out>,
    lazy=<optimized out>, nrelative=<optimized out>,
    relsize=<optimized out>, reladdr=<optimized out>,
    map=0x7ffff7fb8460) at do-rel.h:127
127     do-rel.h: No such file or directory.
(gdb) q
A debugging session is active.

        Inferior 1 [process 4656] will be killed.

Quit anyway? (y or n) y
root@home:~/ffmpeg_sources/ffmpeg# gdb ./ffprobe_g
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 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 ./ffprobe_g...
(gdb) r
Starting program: /root/ffmpeg_sources/ffmpeg/ffprobe_g

Program received signal SIGBUS, Bus error.
elf_dynamic_do_Rela (skip_ifunc=<optimized out>,
    lazy=<optimized out>, nrelative=<optimized out>,
    relsize=<optimized out>, reladdr=<optimized out>,
    map=0x7ffff7fb8460) at do-rel.h:127
127     do-rel.h: No such file or directory.
(gdb) q
A debugging session is active.

        Inferior 1 [process 4668] will be killed.

Quit anyway? (y or n) y
root@home:~/ffmpeg_sources/ffmpeg# gdb ./ffplay_g
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 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 ./ffplay_g...
(gdb) r
Starting program: /root/ffmpeg_sources/ffmpeg/ffplay_g

Program received signal SIGBUS, Bus error.
elf_dynamic_do_Rela (skip_ifunc=<optimized out>,
    lazy=<optimized out>, nrelative=<optimized out>,
    relsize=<optimized out>, reladdr=<optimized out>,
    map=0x7ffff7fb8460) at do-rel.h:127
127     do-rel.h: No such file or directory.
(gdb) q
A debugging session is active.

        Inferior 1 [process 4680] will be killed.

Quit anyway? (y or n) y
root@home:~/ffmpeg_sources/ffmpeg#

ffmpeg version latest as of right now
built on Debian 11 running openmediavault was trying to install motioneye and noticed ffmpeg isn't working.

Change History (0)

Note: See TracTickets for help on using tickets.