Opened 4 years ago

Closed 4 years ago

#1082 closed defect (fixed)

snow enc: crash with -s 4000x4000

Reported by: ami_stuff Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: snow
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

(gdb) r -i h261.avi -vcodec snow -strict -2 -s 4000x4000 out.avi
Starting program: d:\mingw\msys\1.0\ffmpeg\ffmpeg_g.exe -i h261.avi -vcodec snow
 -strict -2 -s 4000x4000 out.avi
[New Thread 1812.0xb9c]
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, avi, from 'h261.avi':
  Metadata:
    encoder         : Lavf54.2.100
  Duration: 00:00:00.04, start: 0.000000, bitrate: 1863 kb/s
    Stream #0:0: Video: h261 (H261 / 0x31363248), yuv420p, 352x288, 25 tbr, 25 t
bn, 25 tbc
w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
[scale @ 038722c0] w:352 h:288 fmt:yuv420p -> w:4000 h:4000 fmt:yuv420p flags:0x
4
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.2.100
    Stream #0:0: Video: snow (SNOW / 0x574F4E53), yuv420p, 4000x4000, q=2-31, 20
0 kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h261 -> snow)
Press [q] to stop, [?] for help
[h261 @ 03dd0920] warning: first frame is no keyframe

Program received signal SIGSEGV, Segmentation fault.
0x00a43bd7 in __chkstk_ms ()
(gdb) bt
#0  0x00a43bd7 in __chkstk_ms ()
#1  0x0081de03 in encode_subband_c0run (s=0x3ec0040, b=0x3ef8170,
    src=0x3d0910, parent=0x4520428, stride=16000, orientation=<optimized out>)
    at libavcodec/snowenc.c:837
#2  0x00820a68 in encode_subband (stride=16000, parent=<optimized out>,
    src=0x4520810, b=0x3ef8170, s=0x3ec0040, orientation=<optimized out>)
    at libavcodec/snowenc.c:953
#3  encode_frame (avctx=0x3dd2560, pkt=0x22db40, pict=0x22d9d8,
    got_packet=0x22dc0c) at libavcodec/snowenc.c:1803
#4  0x004f945d in avcodec_encode_video2 (avctx=0x3dd2560, avpkt=0x22db40,
    frame=0x22d9d8, got_packet_ptr=0x22dc0c) at libavcodec/utils.c:1219
#5  0x00405de0 in do_video_out (s=0x3dd2040, ost=0x3dd2940,
    in_picture=0x38742c0, 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=0x3871d60, ost_table=0x3dd2940, nb_ostreams=1,
    pkt=0x22fb28) at ffmpeg.c:2270
#8  0x0040bf3b in transcode (output_files=0x3871a00, nb_output_files=1,
    input_files=0x3871e20, nb_input_files=1) at ffmpeg.c:3082
#9  0x0022ff48 in ?? ()
Backtrace stopped: Not enough registers or memory available to unwind further
(gdb)

Attachments (1)

h261.avi (9.1 KB) - added by ami_stuff 4 years ago.

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by ami_stuff

comment:1 Changed 4 years ago by michael

  • Component changed from undetermined to avcodec
  • Keywords snow added
  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from unspecified to git-master

will be fixed in my next git push

Note: See TracTickets for help on using tickets.