[FFmpeg-trac] #11073(undetermined:new): FFmpeg gives bus error
FFmpeg
trac at avcodec.org
Fri Jun 28 08:01:33 EEST 2024
#11073: FFmpeg gives bus error
-------------------------------------+-------------------------------------
Reporter: hellohi3654 | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
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 at 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 at 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 at 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 at 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.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11073>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list