[FFmpeg-trac] #7196(ffplay:closed): ffplay crashes on seeking

FFmpeg trac at avcodec.org
Mon May 14 22:15:04 EEST 2018


#7196: ffplay crashes on seeking
-------------------------------------+-------------------------------------
             Reporter:  aleks8888    |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  ffplay
              Version:  git-master   |               Resolution:
             Keywords:               |  needs_more_info
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by aleks8888):

 Here is the output. Is ffplay supposed to create threads this often?

 Btw, does anybody has a version of ffplay that uses sdl1 or directdraw?
 Because sdl2 version doesn't work on one of my computers, no 3d
 acceleration there.

 {{{
 $ gdb --args ffplay_g sm19342901.mp4
 GNU gdb (GDB) 7.11.1
 Copyright (C) 2016 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 "i686-pc-msys".
 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"...
 Traceback (most recent call last):
   File "<string>", line 3, in <module>
 ImportError: No module named libstdcxx.v6.printers
 /etc/gdbinit:6: Error in sourced command file:
 Error while executing Python code.
 Reading symbols from ffplay_g...done.
 (gdb) r
 Starting program: /c/_src/ffmpeg_src/__new/FFmpeg/build3-release/ffplay_g
 sm1934
 2901.mp4
 [New Thread 4172.0x1740]
 [New Thread 4172.0xf68]
 [New Thread 4172.0x1714]
 [New Thread 4172.0x70c]
 ffplay version 3.4.git Copyright (c) 2003-2018 the FFmpeg developers
   built with gcc 7.3.0 (GCC)
   configuration: --enable-shared --enable-gpl --enable-version3 --enable-
 nonfree
 --disable-doc
   libavutil      56. 18.100 / 56. 18.100
   libavcodec     58. 19.101 / 58. 19.101
   libavformat    58. 13.102 / 58. 13.102
   libavdevice    58.  4.100 / 58.  4.100
   libavfilter     7. 21.100 /  7. 21.100
   libswscale      5.  2.100 /  5.  2.100
   libswresample   3.  2.100 /  3.  2.100
   libpostproc    55.  2.100 / 55.  2.100
 [New Thread 4172.0x10e0]
 warning: Dll Loaded :-)
 [New Thread 4172.0x11d8]
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sm19342901.mp4':0B f=0/0
   Metadata:
     major_brand     : isom
     minor_version   : 1
     compatible_brands: isom
     creation_time   : 2012-11-11T14:58:41.000000Z
     copyright       :
     copyright-eng   :
   Duration: 00:02:05.81, start: 0.000000, bitrate: 1330 kb/s
     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv,
 smpte1
 70m/unknown/unknown), 864x486, 1199 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc
 (defaul                                                               t)
     Metadata:
       creation_time   : 2012-11-12T08:23:33.000000Z
       handler_name    : Video
     Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
 stereo, flt
 p, 127 kb/s (default)
     Metadata:
       creation_time   : 2012-11-11T14:58:41.000000Z
       handler_name    : GPAC ISO Audio Handler
 [New Thread 4172.0xb70]
 [New Thread 4172.0x176c]
 [New Thread 4172.0x850]
 [New Thread 4172.0x13f8]
 [New Thread 4172.0xea8]
 [New Thread 4172.0x11c0]
 [New Thread 4172.0x1460]
 [New Thread 4172.0x144]
 [New Thread 4172.0x17a0]
 [New Thread 4172.0xabc]
 [New Thread 4172.0x16fc]
 [New Thread 4172.0xffc]
 [New Thread 4172.0x188]
 [New Thread 4172.0x1610]
 [New Thread 4172.0x14b4]
 [New Thread 4172.0x1004]
 [Thread 4172.0x176c exited with code 0]vq=   20KB sq=    0B f=0/0
 [Thread 4172.0x13f8 exited with code 0]
 [Thread 4172.0xb70 exited with code 0]
 [Thread 4172.0x850 exited with code 0]
 [New Thread 4172.0x13b0]  0 aq=   20KB vq=  206KB sq=    0B f=0/0
 [New Thread 4172.0x1524]
 [New Thread 4172.0xee0]
 [New Thread 4172.0xbf8]
 [New Thread 4172.0x840]   0 aq=   20KB vq=  199KB sq=    0B f=0/0
 [New Thread 4172.0x16bc]
 [New Thread 4172.0xa74]
 [New Thread 4172.0x1188]
 [New Thread 4172.0x1568]
 [New Thread 4172.0x16b8]
 Seek to 33% ( 0:00:40) of total duration ( 0:02:05)       B f=0/0
 [Thread 4172.0x1524 exited with code 0]vq=  159KB sq=    0B f=0/0
 [Thread 4172.0xbf8 exited with code 0]
 [Thread 4172.0x16bc exited with code 0]
 [Thread 4172.0x1188 exited with code 0]
 [Thread 4172.0xee0 exited with code 0]
 [New Thread 4172.0x278]
 [New Thread 4172.0x8c4]
 [Thread 4172.0xa74 exited with code 0] vq=  156KB sq=    0B f=0/0
 [Thread 4172.0x840 exited with code 0]
 [New Thread 4172.0x16f8]
 [New Thread 4172.0x844]
 [New Thread 4172.0x1434]
 [New Thread 4172.0xc84]
 [New Thread 4172.0x179c]
 [New Thread 4172.0x1548]
 Seek to 65% ( 0:01:21) of total duration ( 0:02:05)       B f=0/0
 [Thread 4172.0x16f8 exited with code 0]vq=  166KB sq=    0B f=0/0
 [Thread 4172.0x179c exited with code 0]
 [Thread 4172.0x8c4 exited with code 0]
 [Thread 4172.0x1434 exited with code 0]
 [New Thread 4172.0x1118]
 [Thread 4172.0x278 exited with code 0]
 [Thread 4172.0xc84 exited with code 0]
 [New Thread 4172.0x700]
 [New Thread 4172.0xac]=  12 aq=   19KB vq=  262KB sq=    0B f=0/0
 [New Thread 4172.0x16dc]
 [Thread 4172.0x1548 exited with code 0]
 [Thread 4172.0x844 exited with code 0]
 [New Thread 4172.0x138]
 [New Thread 4172.0xa24]
 [New Thread 4172.0x10cc]
 [New Thread 4172.0x153c]
 Seek to 95% ( 0:01:59) of total duration ( 0:02:05)       B f=0/0
 [Thread 4172.0x16dc exited with code 0]vq=    0KB sq=    0B f=0/0
 [Thread 4172.0x153c exited with code 0]
 [Thread 4172.0xa24 exited with code 0]
 [Thread 4172.0x1118 exited with code 0]
 [New Thread 4172.0xc60]
 [New Thread 4172.0x1498] 13 aq=    9KB vq=   65KB sq=    0B f=0/0
 [New Thread 4172.0x1134]
 [New Thread 4172.0xd50]
 [Thread 4172.0x700 exited with code 0] vq=  224KB sq=    0B f=0/0
 [Thread 4172.0x10cc exited with code 0]
 [Thread 4172.0x138 exited with code 0]

 Thread 43 "ffplay_g" received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 4172.0xac]
 0x00000000 in ?? ()
 (gdb) bt
 #0  0x00000000 in ?? ()
 #1  0x67e7bc8d in avutil-56!av_sha512_final ()
    from /usr/local/bin/avutil-56.dll
 #2  0x6110a87c in pthread::thread_init_wrapper(void*)@4
 (arg=<unavailable>)
     at
 /msys_scripts/msys2-runtime/src/msys2-runtime/winsup/cygwin/thread.cc:201
 5
 (gdb) disass $pc-32,$pc+32
 Dump of assembler code from 0xffffffe0 to 0x20:
 End of assembler dump.
 (gdb) info all-registers
 eax            0x0      0
 ecx            0x0      0
 edx            0x0      0
 ebx            0x205bcc80       542887040
 esp            0x7e5ecdbc       0x7e5ecdbc
 ebp            0x7e5ece08       0x7e5ece08
 esi            0x205be0b0       542892208
 edi            0x2066b5c8       543602120
 eip            0x0      0x0
 eflags         0x10202  [ IF RF ]
 cs             0x1b     27
 ss             0x23     35
 ds             0x23     35
 es             0x23     35
 fs             0x3b     59
 gs             0x0      0
 st0            0        (raw 0x00000000000000000000)
 st1            0        (raw 0x00000000000000000000)
 st2            0        (raw 0x00000000000000000000)
 st3            0        (raw 0x00000000000000000000)
 st4            0        (raw 0x00000000000000000000)
 st5            0        (raw 0x00000000000000000000)
 st6            0        (raw 0x00000000000000000000)
 ---Type <return> to continue, or q <return> to quit---
 st7            0        (raw 0x00000000000000000000)
 fctrl          0x27f    639
 fstat          0x0      0
 ftag           0xffff   65535
 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_int8 = {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 = 0x00000000000000000000000000000000}
 xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
   v16_int8 = {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 = 0x00000000000000000000000000000000}
 xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
   v16_int8 = {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 = 0x00000000000000000000000000000000}
 xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
   v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0,
 0x0,
 ---Type <return> to continue, or q <return> to quit---
      0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
 uint128 = 0x00000000000000000000000000000000}
 xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
 v16_int8 = {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 = 0x00000000000000000000000000000000}
 xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
 v16_int8 = {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 = 0x00000000000000000000000000000000}
 xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
 v16_int8 = {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 = 0x00000000000000000000000000000000}
 xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
 v16_int8 = {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 = 0x00000000000000000000000000000000}
 mxcsr          0x1f80   [ IM DM ZM OM UM PM ]
 mm0            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
 mm1            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
 mm2            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
 mm3            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
 mm4            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
 mm5            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
 mm6            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
 mm7            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
 (gdb)
 }}}

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


More information about the FFmpeg-trac mailing list