Opened 13 years ago
Closed 13 years ago
#1075 closed defect (fixed)
sonic: crash while docoding
Reported by: | ami_stuff | Owned by: | |
---|---|---|---|
Priority: | important | Component: | avcodec |
Version: | git-master | Keywords: | sonic, regression |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
ffmpeg -i in_x.wav -acodec sonic out_x.wav
(gdb) r -i out_x.wav out.wav Starting program: d:\mingw\msys\1.0\ffmpeg\ffmpeg_g.exe -i out_x.wav out.wav [New Thread 1652.0x350] ffmpeg version 0.9.1.git Copyright (c) 2000-2012 the FFmpeg developers built on Mar 10 2012 16:15:15 with gcc 4.6.1 configuration: --disable-yasm --disable-ffprobe libavutil 51. 42.100 / 51. 42.100 libavcodec 54. 10.100 / 54. 10.100 libavformat 54. 2.100 / 54. 2.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 63.100 / 2. 63.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 7.100 / 0. 7.100 [sonic @ 03dd0920] Sonic: ver: 0 ls: 0 dr: 0 taps: 128 block: 1024 frame: 4096 d ownsamp: 2 Input #0, wav, from 'out_x.wav': Duration: 00:00:01.02, bitrate: 151 kb/s Stream #0:0: Audio: sonic (H [0][0] / 0x2048), 44100 Hz, 2 channels, s16, 12 8 kb/s File 'out.wav' already exists. Overwrite ? [y/N] y Sonic: ver: 0 ls: 0 dr: 0 taps: 128 block: 1024 frame: 4096 downsamp: 2 Output #0, wav, to 'out.wav': Metadata: encoder : Lavf54.2.100 Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s Stream mapping: Stream #0:0 -> #0:0 (sonic -> pcm_s16le) Press [q] to stop, [?] for help Multiple frames in a packet from stream 0 Program received signal SIGSEGV, Segmentation fault. 0x005ccbb6 in pcm_encode_frame (avctx=0x3ddab00, avpkt=0x22db40, frame=0x38722a0, got_packet_ptr=0x22dc0c) at libavcodec/pcm.c:178 178 memcpy(dst, samples, n*sample_size); (gdb) bt #0 0x005ccbb6 in pcm_encode_frame (avctx=0x3ddab00, avpkt=0x22db40, frame=0x38722a0, got_packet_ptr=0x22dc0c) at libavcodec/pcm.c:178 #1 0x004fbe11 in avcodec_encode_audio2 (avctx=0x3ddab00, avpkt=0x22db40, frame=0x38722a0, got_packet_ptr=0x22dc0c) at libavcodec/utils.c:995 #2 0x00405552 in encode_audio_frame (s=0x3863320, ost=0x3863820, buf=0xfffd0003 <Address 0xfffd0003 out of bounds>, buf_size=2097128) at ffmpeg.c:1090 #3 0x00408c12 in do_audio_out (ist=<optimized out>, ost=<optimized out>, s=<optimized out>, decoded_frame=<optimized out>) at ffmpeg.c:1298 #4 transcode_audio (got_output=<optimized out>, pkt=<optimized out>, ist=<optimized out>) at ffmpeg.c:2079 #5 output_packet (ist=0x38718a0, ost_table=0x3863820, nb_ostreams=1, pkt=0x22fb28) at ffmpeg.c:2267 #6 0x0040bf3b in transcode (output_files=0x3871c20, nb_output_files=1, input_files=0x3871960, nb_input_files=1) at ffmpeg.c:3082 #7 0x0022ff48 in ?? () Backtrace stopped: Not enough registers or memory available to unwind further
Attachments (2)
Change History (4)
by , 13 years ago
by , 13 years ago
comment:1 by , 13 years ago
Component: | undetermined → avcodec |
---|---|
Keywords: | sonic added |
Priority: | normal → important |
Reproduced by developer: | set |
Status: | new → open |
Version: | unspecified → git-master |
comment:2 by , 13 years ago
Keywords: | regression added |
---|---|
Resolution: | → fixed |
Status: | open → closed |
Note:
See TracTickets
for help on using tickets.
Locally fixed, will commit in a moment