[FFmpeg-trac] #2428(undetermined:new): ffplay crashes on weird file

FFmpeg trac at avcodec.org
Tue Apr 2 22:51:38 CEST 2013


#2428: ffplay crashes on weird file
-------------------------------------+-------------------------------------
               Reporter:  cehoyos    |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  important  |              Component:
                Version:  git-       |  undetermined
  master                             |               Keywords:  crash
             Blocked By:             |  regression
Reproduced by developer:  0          |               Blocking:
                                     |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 With the sample from ticket #2424:
 http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket2424/
 {{{
 (gdb) r aspect_bug.mkv
 Starting program: ffplay_g aspect_bug.mkv
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib64/libthread_db.so.1".
 ffplay version N-51524-gccc2537 Copyright (c) 2003-2013 the FFmpeg
 developers
   built on Apr  2 2013 22:48:41 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --disable-indev=jack
   libavutil      52. 24.100 / 52. 24.100
   libavcodec     55.  2.100 / 55.  2.100
   libavformat    55.  1.100 / 55.  1.100
   libavdevice    55.  0.100 / 55.  0.100
   libavfilter     3. 48.105 /  3. 48.105
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [New Thread 0x7ffff677a700 (LWP 24919)]
 [New Thread 0x7ffff4d7d700 (LWP 24920)]
 [New Thread 0x7ffff447b700 (LWP 24921)]
 Input #0, matroska,webm, from 'aspect_bug.mkv':KB sq=    0B f=0/0
   Duration: 00:01:00.06, start: 0.000000, bitrate: 4395 kb/s
     Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x536 [SAR 1:1 DAR
 160:67], SAR 67:3 DAR 160:3, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
 (default)
     Stream #0:1(ger): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 768
 kb/s
     Metadata:
       title           : DTS
     Stream #0:2(ger): Subtitle: subrip
     Metadata:
       title           : Forced
 [New Thread 0x7ffff3afd700 (LWP 24922)]
 [New Thread 0x7ffff32fc700 (LWP 24923)]
 [New Thread 0x7ffff2afb700 (LWP 24924)]
 [New Thread 0x7ffff22fa700 (LWP 24925)]
 [New Thread 0x7ffff1af9700 (LWP 24926)]
 [New Thread 0x7ffff12f8700 (LWP 24927)]
 [New Thread 0x7ffff0af7700 (LWP 24928)]
 [New Thread 0x7fffebfff700 (LWP 24929)]
 [New Thread 0x7fffeb7fe700 (LWP 24930)]
 [New Thread 0x7fffeaffd700 (LWP 24931)]
 [New Thread 0x7fffea7fc700 (LWP 24932)]
 [New Thread 0x7fffe9ffb700 (LWP 24933)]
    0.10 A-V: -0.026 fd=   0 aq= 3140KB vq=12237KB sq=    0B f=0/0
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0x7fffea7fc700 (LWP 24932)]
 0x00007ffff69f8249 in _int_free () from /lib64/libc.so.6
 (gdb) bt
 #0  0x00007ffff69f8249 in _int_free () from /lib64/libc.so.6
 #1  0x0000000000bbf50c in av_free (ptr=<optimized out>) at
 libavutil/mem.c:194
 #2  av_freep (arg=arg at entry=0x7fffe4000a90) at libavutil/mem.c:201
 #3  0x0000000000bb37fe in av_buffer_unref (buf=buf at entry=0x7fffe4000a90)
     at libavutil/buffer.c:112
 #4  0x0000000000bb9945 in av_frame_unref (frame=0x7fffe40008c0) at
 libavutil/frame.c:342
 #5  0x000000000045711c in video_thread (arg=0x7ffff447c040) at
 ffplay.c:1982
 #6  0x00007ffff7875e96 in ?? () from /usr/lib64/libSDL-1.2.so.0
 #7  0x00007ffff78b8cd9 in ?? () from /usr/lib64/libSDL-1.2.so.0
 #8  0x00007ffff764fe0e in start_thread () from /lib64/libpthread.so.0
 #9  0x00007ffff6a632cd in clone () from /lib64/libc.so.6
 }}}
 The crash is a regression since 32fdfdf
 (valgrind claims a crash in sdl)

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2428>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list