[CRASH] Dynamorio: Illegal instruction (core dumped) when laucnhed ffmpeg on specific file
Created by: AAANovikov
Describe the bug Dynamorio crashes when launched ffmpeg on specific avi file input_crash.zip
To Reproduce ./dynamorio/bin64/drrun -- ffmpeg -i input_crash.avi
<Starting` application /usr/bin/ffmpeg (17360)>
<Initial options = -no_dynamic_options -code_api -stack_size 56K -signal_stack_size 32K -max_elide_jmp 0 -max_elide_call 0 -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
<Paste into GDB to debug DynamoRIO clients:
set confirm off
add-symbol-file '/home/novikov/dynamorio/lib64/debug/libdynamorio.so' 0x00007f7ede82c0c0
>
<(1+x) Handling our fault in a TRY at 0x00007f7edea8aed3>
ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
<Application /usr/bin/ffmpeg (17360). Application exception at PC 0x00007f7edcb7fae3.
Signal 4 delivered to application as default action.
Callstack:
0x00007f7edcb7fae3 </usr/lib/x86_64-linux-gnu/libavcodec.so.57.107.100+0x842ae3>
>
<Stopping application /usr/bin/ffmpeg (17360)>
Illegal instruction (core dumped)
Expected behavior ffmpeg display file information.
Versions
- Dynamorio version: cronbuild-8.0.18460, Jul 18 2020.
- Operating system version: Ubuntu 18.04.5 LTS
- ffmpeg version 3.4.8, 64-bit