https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85132

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Manuel Lauss from comment #6)
> (In reply to Martin Liška from comment #5)
> > (In reply to Manuel Lauss from comment #4)
> > > (In reply to Martin Liška from comment #3)
> > > > (In reply to Manuel Lauss from comment #2)
> > > > > This is the most minimal ffmpeg config that can trigger the segfault. 
> > > > > The
> > > > > interesting switch is "--enabled-hardcoded-tables".  I use the "mpv" 
> > > > > Player
> > > > > with a standard mp4 video file to trigger it
> > > > > (https://github.com/mpv-player/mpv/archive/v0.27.2.zip)
> > > > 
> > > > Good. so we have minimal set of options for ffmpeg. Now please explain 
> > > > me
> > > > how to build the MPV tool? Is it really needed? Can't one trigger that
> > > > directly with ffmepg? Please upload somewhere the mp4 file so that I can
> > > > reproduce it.
> > > 
> > > The segfault happens during initialization of ffmpeg when mpv player 
> > > starts.
> > > I can also trigger it with firefox on e.g. youtube: it crashes the tab.
> > 
> > Ok, so please download following sample video:
> > http://techslides.com/demos/sample-videos/small.mp4
> > 
> > And try to run ffmpeg to print info:
> > ./ffmpeg -i small.mp4
> > 
> > Does it also segfault?
> 
> Yes, same backtrace, same fault location.

Hm, I put __builtin_abort to:
static av_cold void aac_static_table_init(void)

function. And it's unfortunately called. Probably because:
$ ./ffmpeg -i small.mp4 test.mp3
...
Decoder (codec aac) not found for input stream #0:1

Are you sure the configure options enable the codec (AAC)?

Reply via email to