Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#1632 closed defect (fixed)

snow crash

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

Description

http://samples.mplayerhq.hu/V-codecs/MOHD/crap.avi

(gdb) r -vcodec snow -i crap.avi -an -f null -
Starting program: d:\mingw\msys\1.0\ffmpeg\ffmpeg_g.exe -vcodec snow -i crap.avi
 -an -f null -
[New Thread 3748.0xecc]
ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun 28 2012 19:36:59 with gcc 4.6.1
  configuration: --disable-ffprobe --disable-ffplay --disable-asm
  libavutil      51. 63.100 / 51. 63.100
  libavcodec     54. 29.101 / 54. 29.101
  libavformat    54. 11.100 / 54. 11.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     3.  0.100 /  3.  0.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
[avi @ 03a3d3e8] non-interleaved AVI
[snow @ 03a3db40] Error s->spatial_decomposition_count is 0
[snow @ 03a3db40] spatial_decomposition_count 0 too large for size
[snow @ 03a3db40] spatial_decomposition_type -1 not supported
[snow @ 03a3db40] No reference frames
[snow @ 03a3db40] Error s->spatial_decomposition_count is 0
[snow @ 03a3db40] spatial_decomposition_type -1 not supported
[snow @ 03a3db40] Error s->version is 1
[snow @ 03a3db40] Error s->spatial_decomposition_count is 53
[snow @ 03a3db40] spatial_decomposition_type -5 not supported
[snow @ 03a3db40] Error s->spatial_decomposition_count is 0
    Last message repeated 3 times
[snow @ 03a3db40] Error s->version is 1
[snow @ 03a3db40] Error s->version is 3
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, avi, from 'crap.avi':
  Metadata:
    encoder         : MEncoder Sherpya-SVN-r27305-4.2.4
  Duration: 00:00:18.05, start: 0.000000, bitrate: 1830 kb/s
    Stream #0:0: Video: snow (MOHD / 0x44484F4D), yuv420p, 1280x720, 29.97 fps,
29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream #0:1: Audio: adpcm_ms ([2][0][0][0] / 0x0002), 22050 Hz, stereo, s16,
 176 kb/s
[graph 0 input from stream 0:0 @ 048efba0] w:1280 h:720 pixfmt:yuv420p tb:892/26
733 fr:26733/892 sar:0/1 sws_param:flags=2
[output stream 0:0 @ 048efe20] No opaque field provided
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf54.11.100
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720, q=2-31,
 200 kb/s, 90k tbn, 29.97 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (snow -> rawvideo)
Press [q] to stop, [?] for help
[snow @ 03a3db40] Error s->spatial_decomposition_count is 0
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] spatial_decomposition_count 0 too large for size
Error while decoding stream #0:0: Error number -1 occurred
    Last message repeated 58 times
[snow @ 03a3db40] spatial_decomposition_type -1 not supported
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] No reference frames
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] Error s->spatial_decomposition_count is 0
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] spatial_decomposition_type -1 not supported
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] Error s->version is 1
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] Error s->spatial_decomposition_count is 53
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] spatial_decomposition_type -5 not supported
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] Error s->spatial_decomposition_count is 0
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] Error s->spatial_decomposition_count is 0
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] Error s->spatial_decomposition_count is 0
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] Error s->spatial_decomposition_count is 0
Error while decoding stream #0:0: Error number -1 occurred
    Last message repeated 1 times
[snow @ 03a3db40] Error s->version is 1
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] Error s->version is 3
Error while decoding stream #0:0: Error number -1 occurred
[null @ 03b16008] Encoder did not produce proper pts, making some up.
[snow @ 03a3db40] Error s->version is 1
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] Error s->version is 1
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] Error s->spatial_decomposition_count is 63
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] spatial_decomposition_type 8 not supported
Error while decoding stream #0:0: Error number -1 occurred
    Last message repeated 1 times
[snow @ 03a3db40] Error s->spatial_decomposition_count is 0
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] Error s->version is 1
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] Error s->spatial_decomposition_count is 0
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] Error s->spatial_decomposition_count is 16
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] Invalid ref
Error while decoding stream #0:0: Invalid data found when processing input
frame=   85 fps=0.0 q=0.0 size=       0kB time=00:00:02.83 bitrate=   0.0kbits/s
Error s->version is 1
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] Invalid ref
Error while decoding stream #0:0: Invalid data found when processing input
[snow @ 03a3db40] Error s->spatial_decomposition_count is 0
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] Error s->spatial_decomposition_count is 0
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] Invalid ref
Error while decoding stream #0:0: Invalid data found when processing input
[snow @ 03a3db40] Invalid ref
Error while decoding stream #0:0: Invalid data found when processing input
[snow @ 03a3db40] block_max_depth= -1 is too large
Error while decoding stream #0:0: Error number -1 occurred
[snow @ 03a3db40] Error s->version is 1
Error while decoding stream #0:0: Error number -1 occurred
unsupported color subsample mode 20 0
Error while decoding stream #0:0: Error number -1 occurred

Program received signal SIGSEGV, Segmentation fault.
draw_edges_8_c (
    p_buf=0x4daac40 "\200\200\200\200\200\200\200\200\201\201\201\201\201\201\20
1\201\201\201\201\201\201\201\201\201", '\200' <repeats 16 times>"\201, \201\201
\201\201\201\201\201\201\201\201\201\201\200\177~~}|{{|}}~~\177\200\200\177~~}}|
{{|}}~~\177\200\200\177~~}}|{{|}}~~\177\200\200\177~~}}|{{{{{{{{{{zyxwvutuvxy{|~
\177\200\200\200\200\200\200\200\200\177~|{yxvuvy|\177éů\210őŹÄÄÄĆÄîŐ\210çů\2
03\201\201\203ůç\210ŐîÄĆĆĆĆ", 'Ä' <repeats 12 times>, "ŹőŐ\210"...,
    p_wrap=672, width=1280, height=720, w=16, h=16, sides=3)
    at libavcodec/dsputil_template.c:100
100             memset(ptr + width, ptr[width-1], w);
(gdb) bt
#0  draw_edges_8_c (
    p_buf=0x4daac40 "\200\200\200\200\200\200\200\200\201\201\201\201\201\201\20
1\201\201\201\201\201\201\201\201\201", '\200' <repeats 16 times>"\201, \201\201
\201\201\201\201\201\201\201\201\201\201\200\177~~}|{{|}}~~\177\200\200\177~~}}|
{{|}}~~\177\200\200\177~~}}|{{|}}~~\177\200\200\177~~}}|{{{{{{{{{{zyxwvutuvxy{|~
\177\200\200\200\200\200\200\200\200\177~|{yxvuvy|\177éů\210őŹÄÄÄĆÄîŐ\210çů\2
03\201\201\203ůç\210ŐîÄĆĆĆĆ", 'Ä' <repeats 12 times>, "ŹőŐ\210"...,
    p_wrap=672, width=1280, height=720, w=16, h=16, sides=3)
    at libavcodec/dsputil_template.c:100
#1  0x009a3630 in ff_snow_frame_start (s=0x3c10020) at libavcodec/snow.c:578
#2  0x007c9d46 in decode_frame (avctx=0x3a3db40, data=0x3b2b990,
    data_size=0x22eedc, avpkt=0x22ebd8) at libavcodec/snowdec.c:424
#3  0x00513e77 in avcodec_decode_video2 (avctx=0x3a3db40, picture=0x3b2b990,
    got_picture_ptr=0x22eedc, avpkt=0x22ee10) at libavcodec/utils.c:1485
#4  0x00407bc4 in decode_video (got_output=<optimized out>,
    pkt=<optimized out>, ist=<optimized out>) at ffmpeg.c:2456
#5  output_packet (ist=0x3b20f30, pkt=0x22fbd0) at ffmpeg.c:2630
#6  0x0040d44b in transcode () at ffmpeg.c:3647
#7  0x00a3bd7b in main (argc=9, argv=0x3a32870) at ffmpeg.c:5934
(gdb)

Change History (3)

comment:1 Changed 7 years ago by cehoyos

  • Keywords crash SIGSEGV snow added
  • Priority changed from normal to important
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb76768e0 (LWP 28216)]
0xb79361f7 in memset () from /lib/libc.so.6
(gdb) bt
#0  0xb79361f7 in memset () from /lib/libc.so.6
#1  0x08548f1c in decode_frame (avctx=0x9106860, data=0x9102000, data_size=0xbf9518b4, avpkt=0xbf951570)
    at libavcodec/snowdec.c:117
#2  0x08591285 in avcodec_decode_video2 (avctx=0x9106860, picture=0x9102000, got_picture_ptr=0xbf95172c,
    avpkt=0x20) at libavcodec/utils.c:1509
#3  0x0805e4db in output_packet (ist=0x91084e0, pkt=0xbf951a48) at ffmpeg.c:1549
#4  0x080612d5 in process_input () at ffmpeg.c:2858
#5  0x080620ca in main (argc=Cannot access memory at address 0x140
) at ffmpeg.c:2916

comment:2 Changed 7 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed

comment:3 Changed 7 years ago by michael

  • Component changed from undetermined to avcodec
Note: See TracTickets for help on using tickets.