Opened 12 years ago

Closed 12 years ago

#1367 closed defect (fixed)

wnv1 crash

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

Description

http://samples.mplayerhq.hu/V-codecs/LSV/lsvm.avi

(gdb) r -vcodec wnv1 -i lsvm.avi -f null -
Starting program: d:\mingw\msys\1.0\ffmpeg-head-ab7d6cb\ffmpeg_g.exe -vcodec wnv
1 -i lsvm.avi -f null -
[New Thread 2992.0xbb4]
ffmpeg version 0.10.2.git-ab7d6cb Copyright (c) 2000-2012 the FFmpeg developers
  built on May 27 2012 11:57:57 with gcc 4.6.1
  configuration: --disable-ffprobe --enable-gpl
  libavutil      51. 55.100 / 51. 55.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.101 / 54.  6.101
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[avi @ 03bc2340] non-interleaved AVI
Guessed Channel Layout for  Input Stream #0.1 : mono
Input #0, avi, from 'lsvm.avi':
  Duration: 00:00:26.63, start: 0.000000, bitrate: 382 kb/s
    Stream #0:0: Video: wnv1 (lsvm / 0x6D76736C), yuv422p, 320x240, 9.87 tbr, 9.
87 tbn, 9.87 tbc
    Metadata:
      title           : capture.avi Video #1
    Stream #0:1: Audio: gsm_ms (1[0][0][0] / 0x0031), 11025 Hz, mono, s16, 17 kb
/s
    Metadata:
      title           : capture.avi Audio #1
[buffer @ 03bd2dc0] w:320 h:240 pixfmt:yuv422p tb:4051/40000 sar:0/1 sws_param:f
lags=2
[buffersink @ 03bd31c0] No opaque field provided
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf54.6.101
    Stream #0:0: Video: rawvideo (Y42B / 0x42323459), yuv422p, 320x240, q=2-31,
200 kb/s, 90k tbn, 9.87 tbc
    Metadata:
      title           : capture.avi Video #1
    Stream #0:1: Audio: pcm_s16le, 11025 Hz, mono, s16, 176 kb/s
    Metadata:
      title           : capture.avi Audio #1
Stream mapping:
  Stream #0:0 -> #0:0 (wnv1 -> rawvideo)
  Stream #0:1 -> #0:1 (gsm_ms -> pcm_s16le)
Press [q] to stop, [?] for help
[wnv1 @ 03bcc7c0] Unknown WNV1 frame header value 0
[wnv1 @ 03bcc7c0] If you want to help, upload a sample of this file to ftp://upl
oad.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[null @ 03bcb020] Encoder did not produce proper pts, making some up.
[wnv1 @ 03bcc7c0] Unknown WNV1 frame header value 0
[wnv1 @ 03bcc7c0] If you want to help, upload a sample of this file to ftp://upl
oad.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[wnv1 @ 03bcc7c0] Unknown WNV1 frame header value 0
[wnv1 @ 03bcc7c0] If you want to help, upload a sample of this file to ftp://upl
oad.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[wnv1 @ 03bcc7c0] Unknown WNV1 frame header value 0
[wnv1 @ 03bcc7c0] If you want to help, upload a sample of this file to ftp://upl
oad.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[wnv1 @ 03bcc7c0] Unknown WNV1 frame header value 0
[wnv1 @ 03bcc7c0] If you want to help, upload a sample of this file to ftp://upl
oad.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[wnv1 @ 03bcc7c0] Unknown WNV1 frame header value 0
[wnv1 @ 03bcc7c0] If you want to help, upload a sample of this file to ftp://upl
oad.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[wnv1 @ 03bcc7c0] Unknown WNV1 frame header value 0
[wnv1 @ 03bcc7c0] If you want to help, upload a sample of this file to ftp://upl
oad.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[wnv1 @ 03bcc7c0] Unknown WNV1 frame header value 0
[wnv1 @ 03bcc7c0] If you want to help, upload a sample of this file to ftp://upl
oad.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[wnv1 @ 03bcc7c0] Unknown WNV1 frame header value 0
[wnv1 @ 03bcc7c0] If you want to help, upload a sample of this file to ftp://upl
oad.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[wnv1 @ 03bcc7c0] Unknown WNV1 frame header value 0
[wnv1 @ 03bcc7c0] If you want to help, upload a sample of this file to ftp://upl
oad.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[wnv1 @ 03bcc7c0] Unknown WNV1 frame header value 0
[wnv1 @ 03bcc7c0] If you want to help, upload a sample of this file to ftp://upl
oad.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[wnv1 @ 03bcc7c0] Unknown WNV1 frame header value 0
[wnv1 @ 03bcc7c0] If you want to help, upload a sample of this file to ftp://upl
oad.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[wnv1 @ 03bcc7c0] Unknown WNV1 frame header value 0
[wnv1 @ 03bcc7c0] If you want to help, upload a sample of this file to ftp://upl
oad.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.

Program received signal SIGSEGV, Segmentation fault.
0x0071ce4a in get_vlc2 (table=0xea9480, s=0x3bd4f64, max_depth=1, bits=9)
    at libavcodec/get_bits.h:479
479         UPDATE_CACHE(re, s);
(gdb) bt
#0  0x0071ce4a in get_vlc2 (table=0xea9480, s=0x3bd4f64, max_depth=1, bits=9)
    at libavcodec/get_bits.h:479
#1  wnv1_get_code (base_value=0, w=0x3bd4de0) at libavcodec/wnv1.c:52
#2  decode_frame (avctx=0x3bcc7c0, data=0x3bd4360, data_size=0x22e8bc,
    avpkt=0x22e5b8) at libavcodec/wnv1.c:115
#3  0x00542637 in avcodec_decode_video2 (avctx=0x3bcc7c0, picture=0x3bd4360,
    got_picture_ptr=0x22e8bc, avpkt=0x22e7f0) at libavcodec/utils.c:1464
#4  0x0040c507 in decode_video (got_output=<optimized out>,
    pkt=<optimized out>, ist=<optimized out>) at ffmpeg.c:2645
#5  output_packet (ist=0x3bd1440, pkt=0x22fbb0) at ffmpeg.c:2816
#6  0x0040e723 in transcode () at ffmpeg.c:3662
#7  0x00b14ee2 in main (argc=8, argv=0x3bd0dd0) at ffmpeg.c:5926
(gdb)

Change History (2)

comment:1 by Carl Eugen Hoyos, 12 years ago

Component: undeterminedavcodec
Keywords: wnv1 crash SIGSEGV added
Priority: normalimportant
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

comment:2 by Michael Niedermayer, 12 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.