Opened 12 years ago

Closed 12 years ago

#1380 closed defect (fixed)

binkaudio_dct crash

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

Description

http://samples.mplayerhq.hu/V-codecs/h264/422/h264_422.ts

(gdb) r -acodec binkaudio_dct -i h264_422.ts -vn -f null -
Starting program: d:\mingw\msys\1.0\ffmpeg-head-ab7d6cb\ffmpeg_g.exe -acodec bin
kaudio_dct -i h264_422.ts -vn -f null -
[New Thread 3072.0x9b0]
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
[h264 @ 041180e0] Warning: not compiled with thread support, using thread emulat
ion
[binkaudio_dct @ 041184c0] Warning: not compiled with thread support, using thre
ad emulation

Program received signal SIGFPE, Arithmetic exception.
0x007fc26b in decode_frame (avctx=0x41184c0, data=0x22f6e8,
    got_frame_ptr=0x22f8a8, avpkt=0x22f658) at libavcodec/binkaudio.c:342
342         s->frame.nb_samples = s->block_size / avctx->channels;
(gdb) bt
#0  0x007fc26b in decode_frame (avctx=0x41184c0, data=0x22f6e8,
    got_frame_ptr=0x22f8a8, avpkt=0x22f658) at libavcodec/binkaudio.c:342
#1  0x00542887 in avcodec_decode_audio4 (avctx=0x41184c0, frame=0x22f6e8,
    got_frame_ptr=0x22f8a8, avpkt=0x22f860) at libavcodec/utils.c:1576
#2  0x0046feda in try_decode_frame (st=0x3bc1ae0, avpkt=<optimized out>,
    options=<optimized out>) at libavformat/utils.c:2319
#3  0x00477dae in avformat_find_stream_info (ic=0x3bb2340, options=0x3bc1cc0)
    at libavformat/utils.c:2635
#4  0x0040ab87 in opt_input_file (o=0x22fdc8, opt=0x3bc0eb2 "i",
    filename=<optimized out>) at ffmpeg.c:4327
#5  0x00413a7f in parse_option (optctx=0x22fdc8, opt=<optimized out>,
    arg=0x3bc0eb4 "h264_422.ts", options=0xb74bc0) at cmdutils.c:305
#6  0x00413ce2 in parse_options (optctx=0x22fdc8, argc=9,
    argv=<optimized out>, options=0xb74bc0,
    parse_arg_function=0x410748 <opt_output_file>) at cmdutils.c:338
#7  0x00b12f75 in main (argc=9, argv=0x3bc0df0) at ffmpeg.c:5906
(gdb)

Change History (2)

comment:1 by Carl Eugen Hoyos, 12 years ago

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

comment:2 by Elon Musk, 12 years ago

Resolution: fixed
Status: openclosed

Fixed.

Note: See TracTickets for help on using tickets.