Opened 13 years ago

Closed 13 years ago

#1377 closed defect (fixed)

pcm_s8_planar crash

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

Description

http://samples.mplayerhq.hu/V-codecs/HHE1/hhe1.avi

(gdb) r -acodec pcm_s8_planar -i hhe1.avi -vn -f null -
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: d:\mingw\msys\1.0\ffmpeg-head-ab7d6cb\ffmpeg_g.exe -acodec pcm
_s8_planar -i hhe1.avi -vn -f null -
[New Thread 536.0x398]
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] max_analyze_duration 5000000 reached at 5000000
[avi @ 03bc2340] Could not find codec parameters (Video: none (HHE1 / 0x31454848
), 160x240)
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, avi, from 'hhe1.avi':
  Metadata:
    encoder         : zflicks 1.1 (build 2325/release)
  Duration: 00:06:09.40, start: 0.000000, bitrate: 50 kb/s
    Stream #0:0: Video: none (HHE1 / 0x31454848), 160x240, 15 fps, 15 tbr, 15 tb
n, 15 tbc
    Stream #0:1: Audio: pcm_s8_planar (U[0][0][0] / 0x0055), 44100 Hz, stereo, u
8, 128 kb/s
[aformat @ 03bd7e00] auto-inserting filter 'auto-inserted resampler 0' between t
he filter 'src' and the filter 'aformat'
[aresample @ 03bd8b40] chl:stereo fmt:u8 r:44100Hz -> chl:stereo fmt:s16 r:44100
Hz
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf54.6.101
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (pcm_s8_planar -> pcm_s16le)
Press [q] to stop, [?] for help

Program received signal SIGSEGV, Segmentation fault.
eightsvx_decode_frame (avctx=0x3bccbc0, data=0x3bd9120,
    got_frame_ptr=0x22e8bc, avpkt=0x22e5b8) at libavcodec/8svx.c:166
166             *dst++ = *src++ + 128;
(gdb) bt
#0  eightsvx_decode_frame (avctx=0x3bccbc0, data=0x3bd9120,
    got_frame_ptr=0x22e8bc, avpkt=0x22e5b8) at libavcodec/8svx.c:166
#1  0x00542887 in avcodec_decode_audio4 (avctx=0x3bccbc0, frame=0x3bd9120,
    got_frame_ptr=0x22e8bc, avpkt=0x22e7f0) at libavcodec/utils.c:1576
#2  0x0040ce24 in decode_audio (got_output=<optimized out>,
    pkt=<optimized out>, ist=<optimized out>) at ffmpeg.c:2540
#3  output_packet (ist=0x3bd7200, pkt=0x22fbb0) at ffmpeg.c:2813
#4  0x0040e723 in transcode () at ffmpeg.c:3662
#5  0x00b14ee2 in main (argc=9, argv=0x3bd0df0) at ffmpeg.c:5926
(gdb)

Change History (2)

comment:1 by Carl Eugen Hoyos, 13 years ago

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

comment:2 by Michael Niedermayer, 13 years ago

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