[FFmpeg-devel] [PATCH 03/11] avformat/fifo: Add fate test

Michael Niedermayer michael at niedermayer.cc
Tue Aug 2 23:08:38 EEST 2016


On Tue, Aug 02, 2016 at 03:24:14PM +0200, sebechlebskyjan at gmail.com wrote:
> From: Jan Sebechlebsky <sebechlebskyjan at gmail.com>
> 
> Signed-off-by: Jan Sebechlebsky <sebechlebskyjan at gmail.com>
> ---
>  This adds two tests checking that the output of muxers is the same
>  as when fifo is used and stand-alone test program which covers
>  behaviour in failure scenarios.
> 
>  libavformat/Makefile           |   1 +
>  libavformat/tests/fifo_muxer.c | 447 +++++++++++++++++++++++++++++++++++++++++
>  tests/Makefile                 |   1 +
>  tests/fate/fifo-muxer.mak      |  20 ++
>  tests/ref/fate/fifo-muxer-tst  |  11 +
>  5 files changed, 480 insertions(+)
>  create mode 100644 libavformat/tests/fifo_muxer.c
>  create mode 100644 tests/fate/fifo-muxer.mak
>  create mode 100644 tests/ref/fate/fifo-muxer-tst

segfaults  on x86-32

Program received signal SIGSEGV, Segmentation fault.
0xf7dfb265 in ?? () from /lib/i386-linux-gnu/libc.so.6
(gdb) bt
Python Exception <type 'exceptions.ImportError'> No module named gdb.frames:
#0  0xf7dfb265 in ?? () from /lib/i386-linux-gnu/libc.so.6
#1  0xf7dfc33f in ?? () from /lib/i386-linux-gnu/libc.so.6
#2  0xf7dfd528 in ?? () from /lib/i386-linux-gnu/libc.so.6
#3  0xf7dff7fd in memalign () from /lib/i386-linux-gnu/libc.so.6
#4  0xf7e00934 in posix_memalign () from /lib/i386-linux-gnu/libc.so.6
#5  0x08ad06c0 in av_malloc (size=688) at src/libavutil/mem.c:97
#6  av_mallocz (size=688) at src/libavutil/mem.c:254
#7  0x081f757b in avformat_new_stream (s=0x95b7020, c=0x0) at src/libavformat/utils.c:4144
#8  0x080a89fd in initialize_fifo_tst_muxer_chain (oc=0xffffd368) at src/libavformat/tests/fifo_muxer.c:174
#9  run_test (test=0x8af5b60 <tests>) at src/libavformat/tests/fifo_muxer.c:361
#10 0x080a81fd in main (argc=1, argv=0xffffd5c4) at src/libavformat/tests/fifo_muxer.c:437


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160802/a91f59fa/attachment.sig>


More information about the ffmpeg-devel mailing list