Opened 12 years ago

Closed 12 years ago

#1395 closed defect (fixed)

mpc8 crash

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

Description

http://samples.mplayerhq.hu/multichannel/6_Channel_ID.flac

(gdb) r -acodec mpc8 -i 6_Channel_ID.flac -f null -
Starting program: d:\mingw\msys\1.0\ffmpeg-head-ab7d6cb\ffmpeg_g.exe -acodec mpc
8 -i 6_Channel_ID.flac -f null -
[New Thread 3648.0xe48]
ffmpeg version 0.10.2.git-ab7d6cb Copyright (c) 2000-2012 the FFmpeg developers
  built on May 30 2012 13:37:47 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
[mpc8 @ 03bbc7c0] Warning: not compiled with thread support, using thread emulat
ion
[mpc8 @ 03bbc7c0] channel layout does not match number of channels
Guessed Channel Layout for  Input Stream #0.0 : 5.1
Input #0, flac, from '6_Channel_ID.flac':
  Metadata:
    WAVEFORMATEXTENSIBLE_CHANNEL_MASK: 0x003F
  Duration: 00:00:05.83, bitrate: 269 kb/s
    Stream #0:0: Audio: musepack8, 44100 Hz, 5.1, s16
[pcm_s16le @ 04153c80] Warning: not compiled with thread support, using thread e
mulation
[mpc8 @ 03bbc7c0] Warning: not compiled with thread support, using thread emulat
ion
[mpc8 @ 03bbc7c0] channel layout does not match number of channels
Output #0, null, to 'pipe:':
  Metadata:
    WAVEFORMATEXTENSIBLE_CHANNEL_MASK: 0x003F
    encoder         : Lavf54.6.101
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, 5.1, s16, 4233 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpc8 -> pcm_s16le)
Press [q] to stop, [?] for help

Program received signal SIGSEGV, Segmentation fault.
0x0093341c in ff_mpadsp_apply_window_fixed (synth_buf=0x4157ad0,
    window=0x1175820, dither_state=0x22e4cc, samples=0x22ffe4, incr=6)
    at libavcodec/mpegaudiodsp_template.c:162
162             *samples2 = round_sample(&sum);
(gdb) bt
#0  0x0093341c in ff_mpadsp_apply_window_fixed (synth_buf=0x4157ad0,
    window=0x1175820, dither_state=0x22e4cc, samples=0x22ffe4, incr=6)
    at libavcodec/mpegaudiodsp_template.c:162
#1  0x00933598 in ff_mpa_synth_filter_fixed (s=0x4154cec,
    synth_buf_ptr=0x41579d0, synth_buf_offset=0x41599d0, window=0x1175820,
    dither_state=0x22e4cc, samples=0x22ffcc, incr=6, sb_samples=0x415a8e0)
    at libavcodec/mpegaudiodsp_template.c:189
#2  0x00a0c28d in mpc_synth (c=<optimized out>, out=0x22d2cc, channels=6)
    at libavcodec/mpc.c:55
#3  0x03bbc7c0 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

Change History (2)

comment:1 by Carl Eugen Hoyos, 12 years ago

Keywords: mpc8 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.