[FFmpeg-trac] #5115(avformat:new): SIGFPE in ivf_write_trailer
FFmpeg
trac at avcodec.org
Fri Jan 1 00:09:12 CET 2016
#5115: SIGFPE in ivf_write_trailer
----------------------------------+--------------------------------------
Reporter: tsmith | Type: defect
Status: new | Priority: normal
Component: avformat | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+--------------------------------------
Summary of the bug:
FPE in ivf_write_traile at libavformat/ivfenc.c:80
{{{
Program received signal SIGFPE, Arithmetic exception.
0x0000000000a2c15e in ivf_write_trailer (s=<optimized out>) at
libavformat/ivfenc.c:80
80 avio_wl64(pb, ctx->frame_cnt * ctx->sum_delta_pts /
(ctx->frame_cnt - 1));
(gdb) bt
#0 0x0000000000a2c15e in ivf_write_trailer (s=<optimized out>)
at libavformat/ivfenc.c:80
#1 0x0000000000b4fd35 in av_write_trailer (s=0x61b00001ea80) at
libavformat/mux.c:1083
#2 0x0000000000590d90 in transcode () at ffmpeg.c:4190
#3 0x00000000005787b8 in main (argc=<optimized out>, argv=<optimized
out>)
at ffmpeg.c:4334
}}}
How to reproduce:
{{{
% ffmpeg -i <test_case> -vcodec copy -an out.ivf
ffmpeg version N-77454-ge42e0b1 Copyright (c) 2000-2015 the FFmpeg
developers
built with Ubuntu clang version 3.7.1-svn253742-1~exp1
(branches/release_37) (based on LLVM 3.7.1)
configuration: --cc=clang --cxx=clang++ --disable-libxcb --disable-xlib
--disable-logging --disable-ffprobe --disable-ffplay --disable-sdl
--disable-ffserver --disable-doc --disable-pthreads --disable-network
--disable-d3d11va --disable-dxva2 --disable-vaapi --disable-vda --disable-
vdpau --disable-stripping --disable-runtime-cpudetect --disable-
optimizations --disable-pic
libavutil 55. 11.100 / 55. 11.100
libavcodec 57. 20.100 / 57. 20.100
libavformat 57. 20.100 / 57. 20.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 21.101 / 6. 21.101
libswscale 4. 0.100 / 4. 0.100
built on linux x86_64
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5115>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list