[FFmpeg-trac] #7015(avutil:closed): UBSan: libavutil/eval.c:318:77: runtime error: division by zero
FFmpeg
trac at avcodec.org
Fri Dec 14 15:29:11 EET 2018
#7015: UBSan: libavutil/eval.c:318:77: runtime error: division by zero
------------------------------------+--------------------------------------
Reporter: tsmith | Owner:
Type: defect | Status: closed
Priority: normal | Component: avutil
Version: git-master | Resolution: worksforme
Keywords: ubsan | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+--------------------------------------
Changes (by richardpl):
* status: new => closed
* resolution: => worksforme
Comment:
Not reproducible with clang 6.0:
{{{
ffmpeg -i ~/Downloads/test.flac -f null -
ffmpeg version N-92703-gc6e1966c1a Copyright (c) 2000-2018 the FFmpeg
developers
built with clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
configuration: --cc='ccache clang' --as='ccache clang' --disable-indevs
--disable-outdevs --disable-autodetect --enable-gpl --enable-libpulse
--enable-indev=lavfi --enable-indev=alsa --enable-indev=pulse --enable-
nonfree --en
able-zlib --enable-openssl --enable-outdev=alsa --disable-static --enable-
shared --enable-ladspa --enable-lv2 --enable-libbs2b --enable-libmp3lame
--enable-librubberband --enable-libmysofa --enable-libx264 --enable-
fontconfig -
-enable-libilbc --enable-libaom --enable-libfreetype --enable-libass
--enable-libzimg --disable-stripping --samples=../fate-suite
libavutil 56. 24.101 / 56. 24.101
libavcodec 58. 42.101 / 58. 42.101
libavformat 58. 24.101 / 58. 24.101
libavdevice 58. 6.101 / 58. 6.101
libavfilter 7. 46.101 / 7. 46.101
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
[flac @ 0xf33e00] Could not find codec parameters for stream 0 (Audio:
flac, mono, s16 (5 bit)): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, flac, from '/home/computer/Downloads/test.flac':
Duration: N/A, bitrate: N/A
Stream #0:0: Audio: flac, mono, s16 (5 bit)
Stream mapping:
Stream #0:0 -> #0:0 (flac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[abuffer @ 0x1072340] Value inf for parameter 'time_base' out of range [0
- 2.14748e+09]
Last message repeated 3 times
[abuffer @ 0x1072340] Error setting option time_base to value 1/0.
[graph_0_in_0_0 @ 0x1072240] Error applying options to the filter.
Error reinitializing filters!
Error while filtering: Numerical result out of range
Finishing stream 0:0 without any data written to it.
[abuffer @ 0x1073f00] Value inf for parameter 'time_base' out of range [0
- 2.14748e+09]
Last message repeated 3 times
[abuffer @ 0x1073f00] Error setting option time_base to value 1/0.
[graph_0_in_0_0 @ 0x1073dc0] Error applying options to the filter.
Error configuring filter graph
Conversion failed!
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7015#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list