[FFmpeg-trac] #7618(undetermined:new): ffmpeg 32 bit crashed on x64 Windows for av01 format

FFmpeg trac at avcodec.org
Mon Dec 17 01:20:33 EET 2018


#7618: ffmpeg 32 bit crashed on x64 Windows for av01 format
-------------------------------------+-------------------------------------
             Reporter:  sunxvogy     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:
              Version:  git-master   |  undetermined
             Keywords:  libaom       |               Resolution:
  crash                              |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by sunxvogy):

 Replying to [comment:8 cehoyos]:
 > Replying to [comment:7 sunxvogy]:
 >
 > > If you need anything please let me know, I will send it to you.
 > In this case, please send backtrace, disassembly and register dump as
 explained on https://ffmpeg.org/bugreports.html




 Hi,

 I have run the gdb and get this:



 {{{
 C:\Users\Administrator\Desktop>gdb ffmpeg.exe
 GNU gdb (GDB) 8.2
 Copyright (C) 2018 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.
 Type "show copying" and "show warranty" for details.
 This GDB was configured as "x86_64-w64-mingw32".
 Type "show configuration" for configuration details.
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>.
 Find the GDB manual and other documentation resources online at:
     <http://www.gnu.org/software/gdb/documentation/>.

 For help, type "help".
 Type "apropos word" to search for commands related to "word"...
 Reading symbols from ffmpeg.exe...(no debugging symbols found)...done.
 (gdb) r -i d.mkv d.mp4
 Starting program: C:\Users\Administrator\Desktop\ffmpeg.exe -i d.mkv d.mp4
 [New Thread 116784.0x1c29c]
 warning: `C:\Windows\SYSTEM32\ntdll.dll': Shared library architecture
 i386:x86-6
 4 is not compatible with target architecture i386.
 warning: `C:\Windows\SYSTEM32\wow64.dll': Shared library architecture
 i386:x86-6
 4 is not compatible with target architecture i386.
 warning: `C:\Windows\SYSTEM32\wow64win.dll': Shared library architecture
 i386:x8
 6-64 is not compatible with target architecture i386.
 warning: `C:\Windows\SYSTEM32\wow64cpu.dll': Shared library architecture
 i386:x8
 6-64 is not compatible with target architecture i386.
 warning: Could not load shared library symbols for WOW64_IMAGE_SECTION.
 Do you need "set solib-search-path" or "set sysroot"?
 warning: Could not load shared library symbols for WOW64_IMAGE_SECTION.
 Do you need "set solib-search-path" or "set sysroot"?
 warning: Could not load shared library symbols for NOT_AN_IMAGE.
 Do you need "set solib-search-path" or "set sysroot"?
 warning: Could not load shared library symbols for NOT_AN_IMAGE.
 Do you need "set solib-search-path" or "set sysroot"?
 ffmpeg version N-92714-g436bffaca2 Copyright (c) 2000-2018 the FFmpeg
 developers

   built with gcc 8.2.1 (GCC) 20181201
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 fontconfi
 g --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
 --enable-lib
 freetype --enable-libmp3lame --enable-libopencore-amrnb --enable-
 libopencore-amr
 wb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-
 libsnappy --
 enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx
 --enable-l
 ibwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-
 libxml2 --
 enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-
 libvidstab --en
 able-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-
 libspeex --en
 able-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-
 ffnvcodec --e
 nable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2
 --enab
 le-avisynth --enable-libopenmpt
   libavutil      56. 24.101 / 56. 24.101
   libavcodec     58. 42.102 / 58. 42.102
   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
 [libaom-av1 @ 00256240] 1.0.0-1001-gf5c9213e7
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'd.mkv':
   Metadata:
     major_brand     : dash
     minor_version   : 0
     compatible_brands: iso6av01mp41
     creation_time   : 2018-09-13T12:31:47.000000Z
   Duration: 00:03:44.60, start: 0.000000, bitrate: 57 kb/s
     Stream #0:0(und): Video: av1 (Main) (av01 / 0x31307661), yuv420p(tv,
 bt709),
  1920x1080, 73 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)
     Metadata:
       creation_time   : 2018-09-13T12:31:47.000000Z
       handler_name    : ISO Media file produced by Google Inc. Created on:
 09/13
 /2018.
 File 'd.mp4' already exists. Overwrite ? [y/N] y
 [libaom-av1 @ 00328200] 1.0.0-1001-gf5c9213e7
 Stream mapping:
   Stream #0:0 -> #0:0 (av1 (libaom-av1) -> h264 (libx264))
 Press [q] to stop, [?] for help
 [New Thread 116784.0x1bfe0]
 [New Thread 116784.0x1c104]
 [New Thread 116784.0x1c454]

 Thread 3 received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 116784.0x1c104]
 0x0000002b in ?? ()
 (gdb) bt
 #0  0x0000002b in ?? ()
 #1  0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
 #2  0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
 #3  0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
 #4  0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
 #5  0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
 #6  0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
 #7  0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
 #8  0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
 #9  0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
 #10 0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
 #11 0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
 #12 0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
 #13 0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
 #14 0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
 #15 0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
 #16 0x00800080 in ffmpeg_g!av_dirac_parse_sequence_header ()
 #17 0x00100010 in ?? ()
 Backtrace stopped: previous frame inner to this frame (corrupt stack?)
 (gdb) disass $pc-32,$pc+32
 Dump of assembler code from 0xb to 0x4b:
    0x0000000b:  Cannot access memory at address 0xb
 (gdb) info all-registers
 eax            0x90a1160           151654752
 ecx            0x9                 9
 edx            0x4e0               1248
 ebx            0x9d1eb28           164752168
 esp            0x9d1eb28           0x9d1eb28
 ebp            0x90a1160           0x90a1160
 esi            0x9d1e920           164751648
 edi            0x9d1e920           164751648
 eip            0x2b                0x2b
 eflags         0x77e6f901          [ CF TF OF NT VM AC ID ]
 cs             0x0                 0
 ss             0x246               582
 ds             0xfffd5000          -176128
 es             0x79fd20            7994656
 fs             0x79ec30            7990320
 gs             0x737c2450          1937515600
 st0            <invalid float value> (raw 0x027f00000000020db54c)
 st1            2.40765429080837447497e-4946 (raw 0x00000000000000010202)
 st2            1.06110217245861686148e-4933 (raw 0x0000040a2e1000000023)
 st3            1.06110217245861689064e-4933 (raw 0x0000040a2e100000002b)
 st4            1.06110217245861689064e-4933 (raw 0x0000040a2e100000002b)
 st5            1.06110217245861689064e-4933 (raw 0x0000040a2e100000002b)
 st6            1.06110217245861703645e-4933 (raw 0x0000040a2e1000000053)
 st7            1.06110217245861689064e-4933 (raw 0x0000040a2e100000002b)
 --Type <RET> for more, q to quit, c to continue without paging--c
 fctrl          0x0                 0
 fstat          0x0                 0
 ftag           0x0                 0
 fiseg          0x0                 0
 fioff          0x0                 0
 foseg          0x0                 0
 fooff          0x0                 0
 fop            0x0                 0
 xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
 v16_int
 8 = {0x7f, 0x2, 0x0 <repeats 14 times>}, v8_int16 = {0x27f, 0x0, 0x0, 0x0,
 0x0,
 0x0, 0x0, 0x0}, v4_int32 = {0x27f, 0x0, 0x0, 0x0}, v2_int64 = {0x27f,
 0x0}, uint
 128 = 0x27f}
 xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
 v16_int
 8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
 0x0, 0x0
 }, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x0}
 xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
 v16_int
 8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
 0x0, 0x0
 }, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x0}
 xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
 v16_int
 8 = {0x0 <repeats 12 times>, 0x80, 0x1f, 0x0, 0x0}, v8_int16 = {0x0, 0x0,
 0x0, 0
 x0, 0x0, 0x0, 0x1f80, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x1f80}, v2_int64 =
 {0x0,
  0x1f8000000000}, uint128 = 0x1f80000000000000000000000000}
 xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
 v16_int
 8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
 0x0, 0x0
 }, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x0}
 xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
 v16_int
 8 = {0x0, 0x0, 0x0, 0x0, 0x80, 0x1f, 0x0, 0x0, 0xff, 0xff, 0x0, 0x0, 0x0,
 0x0, 0
 x0, 0x0}, v8_int16 = {0x0, 0x0, 0x1f80, 0x0, 0xffff, 0x0, 0x0, 0x0},
 v4_int32 =
 {0x0, 0x1f80, 0xffff, 0x0}, v2_int64 = {0x1f8000000000, 0xffff}, uint128 =
 0xfff
 f00001f8000000000}
 xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
 v16_int
 8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0x1f, 0x0, 0x0, 0xff,
 0xff, 0
 x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x1f80, 0x0, 0xffff, 0x0},
 v4_int32 =
 {0x0, 0x0, 0x1f80, 0xffff}, v2_int64 = {0x0, 0xffff00001f80}, uint128 =
 0xffff00
 001f800000000000000000}
 xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
 v16_int
 8 = {0x0 <repeats 12 times>, 0x80, 0x1f, 0x0, 0x0}, v8_int16 = {0x0, 0x0,
 0x0, 0
 x0, 0x0, 0x0, 0x1f80, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x1f80}, v2_int64 =
 {0x0,
  0x1f8000000000}, uint128 = 0x1f80000000000000000000000000}
 mxcsr          0x0                 [ ]
 mm0            {uint64 = 0x20db54c, v2_int32 = {0x20db54c, 0x0}, v4_int16
 = {0xb
 54c, 0x20d, 0x0, 0x0}, v8_int8 = {0x4c, 0xb5, 0xd, 0x2, 0x0, 0x0, 0x0,
 0x0}}
 mm1            {uint64 = 0x10202, v2_int32 = {0x10202, 0x0}, v4_int16 =
 {0x202,
 0x1, 0x0, 0x0}, v8_int8 = {0x2, 0x2, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0}}
 mm2            {uint64 = 0x40a2e1000000023, v2_int32 = {0x23, 0x40a2e10},
 v4_int
 16 = {0x23, 0x0, 0x2e10, 0x40a}, v8_int8 = {0x23, 0x0, 0x0, 0x0, 0x10,
 0x2e, 0xa
 , 0x4}}
 mm3            {uint64 = 0x40a2e100000002b, v2_int32 = {0x2b, 0x40a2e10},
 v4_int
 16 = {0x2b, 0x0, 0x2e10, 0x40a}, v8_int8 = {0x2b, 0x0, 0x0, 0x0, 0x10,
 0x2e, 0xa
 , 0x4}}
 mm4            {uint64 = 0x40a2e100000002b, v2_int32 = {0x2b, 0x40a2e10},
 v4_int
 16 = {0x2b, 0x0, 0x2e10, 0x40a}, v8_int8 = {0x2b, 0x0, 0x0, 0x0, 0x10,
 0x2e, 0xa
 , 0x4}}
 mm5            {uint64 = 0x40a2e100000002b, v2_int32 = {0x2b, 0x40a2e10},
 v4_int
 16 = {0x2b, 0x0, 0x2e10, 0x40a}, v8_int8 = {0x2b, 0x0, 0x0, 0x0, 0x10,
 0x2e, 0xa
 , 0x4}}
 mm6            {uint64 = 0x40a2e1000000053, v2_int32 = {0x53, 0x40a2e10},
 v4_int
 16 = {0x53, 0x0, 0x2e10, 0x40a}, v8_int8 = {0x53, 0x0, 0x0, 0x0, 0x10,
 0x2e, 0xa
 , 0x4}}
 mm7            {uint64 = 0x40a2e100000002b, v2_int32 = {0x2b, 0x40a2e10},
 v4_int
 16 = {0x2b, 0x0, 0x2e10, 0x40a}, v8_int8 = {0x2b, 0x0, 0x0, 0x0, 0x10,
 0x2e, 0xa
 , 0x4}}
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7618#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list