[FFmpeg-trac] #1239(undetermined:new): rv20: crash with lowres

FFmpeg trac at avcodec.org
Fri Apr 20 15:03:37 CEST 2012


#1239: rv20: crash with lowres
-------------------------------------+-------------------------------------
               Reporter:  ami_stuff  |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 the file encoded with "Compression: G2" works ok:

 G2_320_240.rm

 the file encoded with "Compression: G2 with SVT" crashes:

 G2_with_SVT_320_240.rm


 {{{
 (gdb) r -vlowres 2 -i G2_with_SVT_320_240.rm out.avi
 Starting program: d:\mingw\msys\1.0\ffmpeg-head-7432bcf\ffmpeg_g.exe
 -vlowres 2
 -i G2_with_SVT_320_240.rm out.avi
 [New Thread 2860.0x7a8]
 ffmpeg version 0.10.2.git-7432bcf Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Apr 15 2012 01:02:52 with gcc 4.6.1
   configuration: --disable-ffprobe
   libavutil      51. 46.100 / 51. 46.100
   libavcodec     54. 14.101 / 54. 14.101
   libavformat    54.  3.100 / 54.  3.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 70.100 /  2. 70.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 11.100 /  0. 11.100
 [rm @ 039d2340] Unsupported stream type 00000180
 [rm @ 039d2340] max_analyze_duration 5000000 reached at 5000000
 Input #0, rm, from 'G2_with_SVT_320_240.rm':
   Metadata:
     title           :
     author          :
     copyright       :
     comment         :
   Duration: 00:00:05.90, start: 0.000000, bitrate: 984 kb/s
     Stream #0:0: Video: rv20 (RV20 / 0x30325652), yuv420p, 80x60, 1000
 kb/s, 15
 fps, 15 tbr, 1k tbn, 1k tbc
     Stream #0:1: Data: none
 w:80 h:60 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:flags=2
 Output #0, avi, to 'out.avi':
   Metadata:
     INAM            :
     author          :
     ICOP            :
     ICMT            :
     ISFT            : Lavf54.3.100
     Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 80x60, q=2-31,
 200 k
 b/s, 15 tbn, 15 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (rv20 -> mpeg4)
 Press [q] to stop, [?] for help

 Program received signal SIGSEGV, Segmentation fault.
 0x7c919d6f in ntdll!RtlpUnWaitCriticalSection ()
    from C:\WINDOWS\system32\ntdll.dll
 (gdb) bt
 #0  0x7c919d6f in ntdll!RtlpUnWaitCriticalSection ()
    from C:\WINDOWS\system32\ntdll.dll
 #1  0x7c96fb98 in ntdll!RtlpNtMakeTemporaryKey ()
    from C:\WINDOWS\system32\ntdll.dll
 #2  0x7c94b244 in ntdll!LdrFindEntryForAddress ()
    from C:\WINDOWS\system32\ntdll.dll
 #3  0x039d0000 in ?? ()
 #4  0x7c919c0c in ntdll!RtlpUnWaitCriticalSection ()
    from C:\WINDOWS\system32\ntdll.dll
 #5  0x77c1c3c9 in msvcrt!free () from C:\WINDOWS\system32\msvcrt.dll
 #6  0x039d0000 in ?? ()
 #7  0x77c1c3e7 in msvcrt!free () from C:\WINDOWS\system32\msvcrt.dll
 #8  0x00003030 in ?? ()
 #9  0x0022e178 in ?? ()
 #10 0x77c1c42e in msvcrt!malloc () from C:\WINDOWS\system32\msvcrt.dll
 #11 0x00a88cdf in av_malloc (size=12304) at libavutil/mem.c:86
 #12 0x004ff02c in video_get_buffer (pic=0x3f5a140, s=0x3f36520)
     at libavcodec/utils.c:482
 #13 avcodec_default_get_buffer (avctx=0x3f36520, frame=0x3f5a140)
     at libavcodec/utils.c:540
 #14 0x005a97f3 in alloc_frame_buffer (s=0x3f30060, pic=0x3f5a140)
     at libavcodec/mpegvideo.c:260
 #15 0x005b6229 in ff_alloc_picture (s=0x3f30060, pic=0x3f5a140, shared=0)
     at libavcodec/mpegvideo.c:312
 #16 0x00684372 in load_input_picture (pic_arg=0x22e4a8, s=0x3f30060)
     at libavcodec/mpegvideo_enc.c:992
 #17 ff_MPV_encode_picture (avctx=0x3f36520, pkt=0x22e610,
 pic_arg=0x22e4a8,
     got_packet=0x22e6dc) at libavcodec/mpegvideo_enc.c:1419
 #18 0x0050053d in avcodec_encode_video2 (avctx=0x3f36520, avpkt=0x22e610,
     frame=0x22e4a8, got_packet_ptr=0x22e6dc) at libavcodec/utils.c:1274
 #19 0x0040628b in do_video_out (s=0x3f36020, ost=0x39e6120,
     in_picture=0x39ea6e0, ist=<optimized out>) at ffmpeg.c:1632
 #20 0x0040825c in transcode_video (pkt_pts=<optimized out>,
     got_output=<optimized out>, pkt=<optimized out>, ist=<optimized out>)
     at ffmpeg.c:2203
 #21 output_packet (ist=0x39e5c10, ost_table=0x39e6120, nb_ostreams=1,
     pkt=0x22fbf0) at ffmpeg.c:2292
 #22 0x0040ca68 in transcode (output_files=0x39e6280, nb_output_files=1,
     input_files=0x39e5d20, nb_input_files=1) at ffmpeg.c:3163
 #23 0x0022ff48 in ?? ()
 Backtrace stopped: Not enough registers or memory available to unwind
 further
 }}}

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


More information about the FFmpeg-trac mailing list