[FFmpeg-trac] #1097(undetermined:new): prores_kostya: crash

FFmpeg trac at avcodec.org
Sun Mar 18 19:31:08 CET 2012


#1097: prores_kostya: crash
-------------------------------------+-------------------------------------
             Reporter:  ami_stuff    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 -vcodec prores works ok

 {{{
 (gdb) r -i 600.png -vcodec prores_kostya out.mov
 Starting program: d:\mingw\msys\1.0\ffmpeg\ffmpeg_g.exe -i 600.png -vcodec
 prore
 s_kostya out.mov
 [New Thread 448.0xbe4]
 ffmpeg version 0.9.1.git Copyright (c) 2000-2012 the FFmpeg developers
   built on Mar 10 2012 16:15:15 with gcc 4.6.1
   configuration: --disable-yasm --disable-ffprobe
   libavutil      51. 42.100 / 51. 42.100
   libavcodec     54. 10.100 / 54. 10.100
   libavformat    54.  2.100 / 54.  2.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 63.100 /  2. 63.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0.  7.100 /  0.  7.100
 Input #0, image2, from '600.png':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: png, rgb24, 600x412, 25 tbr, 25 tbn, 25 tbc
 File 'out.mov' already exists. Overwrite ? [y/N] y
 Incompatible pixel format 'rgb24' for codec 'prores_kostya', auto-
 selecting form
 at 'yuv444p10le'
 [buffer @ 03871cc0] w:600 h:412 pixfmt:rgb24 tb:1/1000000 sar:0/1
 sws_param:
 [buffersink @ 03871f40] auto-inserting filter 'auto-inserted scale 0'
 between th
 e filter 'src' and the filter 'out'
 [scale @ 038714c0] w:600 h:412 fmt:rgb24 -> w:600 h:412 fmt:yuv444p10le
 flags:0x
 4
 Output #0, mov, to 'out.mov':
   Metadata:
     encoder         : Lavf54.2.100
     Stream #0:0: Video: prores (apcn / 0x6E637061), yuv444p10le, 600x412,
 q=2-31
 , 200 kb/s, 25 tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (png -> prores_kostya)
 Press [q] to stop, [?] for help

 Program received signal SIGSEGV, Segmentation fault.
 prores_fdct_c (src=0x411dc40, linesize=1216, block=0x3865650)
     at libavcodec/proresdsp.c:64
 64                  block[y * 8 + x] = tsrc[x];
 (gdb) bt
 #0  prores_fdct_c (src=0x411dc40, linesize=1216, block=0x3865650)
     at libavcodec/proresdsp.c:64
 #1  0x00805fc0 in get_slice_data (ctx=0x38635c0, src=0x411b640,
     linesize=1216, x=<optimized out>, y=400, w=600, h=412,
 blocks=0x3865650,
     mbs_per_slice=8, blocks_per_mb=4, is_chroma=1)
     at libavcodec/proresenc_kostya.c:257
 #2  0x0080683f in find_slice_quant (mbs_per_slice=8, y=25, x=<optimized
 out>,
     trellis_node=16, pic=0x22d9d8, avctx=0x386ab20)
     at libavcodec/proresenc_kostya.c:582
 #3  encode_frame (avctx=0x386ab20, pkt=0x22db40, pic=0x22d9d8,
     got_packet=0x22dc0c) at libavcodec/proresenc_kostya.c:756
 #4  0x004f945d in avcodec_encode_video2 (avctx=0x386ab20, avpkt=0x22db40,
     frame=0x22d9d8, got_packet_ptr=0x22dc0c) at libavcodec/utils.c:1219
 #5  0x00405de0 in do_video_out (s=0x386a620, ost=0x3863320,
     in_picture=0x3873800, ist=<optimized out>) at ffmpeg.c:1619
 #6  0x00407d6c in transcode_video (pkt_pts=<optimized out>,
     got_output=<optimized out>, pkt=<optimized out>, ist=<optimized out>)
     at ffmpeg.c:2178
 #7  output_packet (ist=0x3871640, ost_table=0x3863320, nb_ostreams=1,
     pkt=0x22fb28) at ffmpeg.c:2270
 #8  0x0040bf3b in transcode (output_files=0x3871a80, nb_output_files=1,
     input_files=0x3871700, nb_input_files=1) at ffmpeg.c:3082
 #9  0x0022ff48 in ?? ()
 Backtrace stopped: Not enough registers or memory available to unwind
 further
 }}}

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


More information about the FFmpeg-trac mailing list