[FFmpeg-user] Segmentation fault with tee and fifo muxers

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Nov 7 01:26:03 EET 2016


2016-11-06 22:31 GMT+01:00 Moritz Barsnick <barsnick at gmx.net>:
> I could reproduce this issue. I stripped down the command
> line, dropping audio, dropping the video filter, using a
> different codec:

Not reproducible with file output?

> $ ./ffmpeg_g -re -f lavfi -i testsrc -vcodec mpeg2video -map 0 -f tee "[f=fifo:onfail=ignore:fifo_format=flv]rtmp://host2/live/stream|[f=fifo:onfail=ignore:fifo_format=flv]rtmp://host1/live/strean"
>
> Now, it works most of the time, sometimes it segfaults, sometimes I get
> a "double free or corruption (fasttop)" or "double free or corruption
> (!prev)", and with a longer command line, I also got "corrupted linked
> list". None of this occurs - never! - with gdb attached. :-(

Use valgrind instead, you may have to force a very (!) small
resolution.

The libc does not help;-(

Carl Eugen


More information about the ffmpeg-user mailing list