[FFmpeg-trac] #122(FFplay:reopened): Kega Game Video codec broken with ffplay

FFmpeg trac at avcodec.org
Mon Aug 29 13:18:05 CEST 2011


#122: Kega Game Video codec broken with ffplay
-----------------------+-----------------------
Reporter:  cehoyos     |       Owner:  michael
    Type:  defect      |      Status:  reopened
Priority:  normal      |   Component:  FFplay
 Version:  git-master  |  Resolution:
Keywords:              |  Blocked By:
Blocking:              |  Reproduced:  0
Analyzed:  0           |
-----------------------+-----------------------

Comment (by cehoyos):

 Does not crash for ia32 and ppc, crashes for x86_64
 {{{
 (gdb) r -i kgv1.avi
 Starting program: ffplay_g -i kgv1.avi
 [Thread debugging using libthread_db enabled]
 ffplay version N-32138-g312645e, Copyright (c) 2003-2011 the FFmpeg
 developers
   built on Aug 29 2011 12:38:58 with gcc 4.5.3
   configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
   libavutil    51. 14. 0 / 51. 14. 0
   libavcodec   53. 12. 0 / 53. 12. 0
   libavformat  53. 10. 0 / 53. 10. 0
   libavdevice  53.  3. 0 / 53.  3. 0
   libavfilter   2. 35. 0 /  2. 35. 0
   libswscale    2.  0. 0 /  2.  0. 0
 [New Thread 0x7ffff5299910 (LWP 16019)]
 [New Thread 0x7ffff49ca910 (LWP 16020)]
 [avi @ 0x1313a80] parser not found for codec pcm_s16le, packets or times
 may be invalid.
 [avi @ 0x1313a80] parser not found for codec kgv1, packets or times may be
 invalid.
 Input #0, avi, from 'kgv1.avi':
   Duration: 00:00:05.21, start: 0.000000, bitrate: 1633 kb/s
     Stream #0.0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2
 channels, s16, 1411 kb/s
     Stream #0.1: Video: kgv1 (KGV1 / 0x3156474B), rgb555le, 640x480, 60
 tbr, 60 tbn, 60 tbc
 [New Thread 0x7ffff3fc4910 (LWP 16021)]
 [New Thread 0x7ffff37c3910 (LWP 16022)]
 [New Thread 0x7ffff2fc2910 (LWP 16023)]
 [buffersink @ 0x13145c0] auto-inserting filter 'auto-inserted scaler 0'
 between the filter 'src' and the filter 'out'
 [scale @ 0x7fffec000ae0] w:640 h:480 fmt:rgb555le -> w:640 h:480
 fmt:yuv420p flags:0x4
 1314614578.13 A-V:  0.000 s:0.0 aq=  320KB vq=   47KB sq=    0B f=0/0
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0x7ffff37c3910 (LWP 16022)]
 0x00007ffff68b97ab in memcpy () from /lib64/libc.so.6
 (gdb) bt full
 #0  0x00007ffff68b97ab in memcpy () from /lib64/libc.so.6
 No symbol table info available.
 #1  0x0000000000958f2f in av_image_copy_plane (height=238, bytewidth=1280,
 src_linesize=640,
     src=<value optimized out>, dst_linesize=1280, dst=<value optimized
 out>) at libavutil/imgutils.c:239
 No locals.
 #2  av_image_copy (height=238, bytewidth=1280, src_linesize=640,
 src=<value optimized out>,
     dst_linesize=1280, dst=<value optimized out>) at
 libavutil/imgutils.c:272
         h = <value optimized out>
         bwidth = -227366336
         i = <value optimized out>
         planes_nb = 1
         desc = <value optimized out>
 #3  0x0000000000408354 in input_request_frame (link=0x13144a0) at
 ffplay.c:1618
         priv = 0x1316740
         picref = 0x13192e0
         pts = 0
         pkt = {pts = 0, dts = 0, data = 0x1319ce0 "'\035", size = 898,
 stream_index = 1, flags = 1,
           side_data = 0x0, side_data_elems = 0, duration = 1, destruct =
 0x4ee6c0 <av_destruct_packet>,
           priv = 0x14, pos = 3282, convergence_duration = 0}
 #4  0x00000000004165ee in avfilter_request_frame (link=<value optimized
 out>)
     at libavfilter/avfilter.c:505
 No locals.
 #5  0x0000000000423c24 in av_vsink_buffer_get_video_buffer_ref (ctx=<value
 optimized out>,
     picref=0x7ffff37c3080, flags=0) at libavfilter/vsink_buffer.c:109
         buf = 0x1312400
         inlink = 0x1330680
         ret = <value optimized out>
 #6  0x00000000004099ec in video_thread (arg=0x7ffff49cb040) at
 ffplay.c:1766
         picref = 0x0
         is = 0x7ffff49cb040
         frame = 0x1316500
         pts_int = -9223372036854775808
         pos = -1
         pts = <value optimized out>
         ret = <value optimized out>
         graph = 0x12ee180
         filt_out = 0x1314940
         last_w = 640
         last_h = 480
 #7  0x00007ffff743f3b5 in ?? () from /usr/lib64/libSDL-1.2.so.0
 No symbol table info available.
 #8  0x00007ffff7482539 in ?? () from /usr/lib64/libSDL-1.2.so.0
 No symbol table info available.
 #9  0x00007ffff721565d in start_thread () from /lib64/libpthread.so.0
 No symbol table info available.
 #10 0x00007ffff690aecd in clone () from /lib64/libc.so.6
 No symbol table info available.
 #11 0x0000000000000000 in ?? ()
 No symbol table info available.
 }}}

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/122#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list