#588: FFmpeg crashes when transcoding a wmv video on windows 7 (64 bit) machine -------------------------------------+----------------------------------- Reporter: eiljoe | Owner: michael Type: defect | Status: open Priority: important | Component: avcodec Version: unspecified | Resolution: Keywords: win64 | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+----------------------------------- Changes (by cehoyos):
* keywords: => win64 * priority: critical => important * status: new => open * component: FFmpeg => avcodec * reproduced: 0 => 1 Comment: {{{ (gdb) r -i ffmpeg-crash-around-frame-60.wmv -vn -f null - ffmpeg version N-34060-g51bfaa2, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 26 2011 04:00:05 with gcc 4.7.0 20110827 (experimental) configuration: libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 0 / 2. 45. 0 libswscale 2. 1. 0 / 2. 1. 0 [wmav2 @ 00000000003AC980] Warning: not compiled with thread support, using thread emulation [wmv2 @ 0000000005E26260] Warning: not compiled with thread support, using thread emulation [asf @ 00000000003ABA90] parser not found for codec wmav2, packets or times may be invalid. Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1) Input #0, asf, from 'ffmpeg-crash-around-frame-60.wmv': Metadata: WMFSDKVersion : 11.0.5721.5245 WMFSDKNeeded : 0.0.0.0000 IsVBR : 1 VBR Peak : 8464 ¡║X½½½½½½½½½½½½½½½½■¯■¯■¯■ Buffer Average : 8514 ¡║X½½½½½½½½½½½½½½½½■¯■¯■¯■ Encoded_By : Sorenson Squeeze Encoded_With : Sorenson Squeeze Duration: 00:01:20.02, start: 0.000000, bitrate: 153 kb/s Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, 2 channels, s16, 128 kb/s Stream #0:1: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 1280x720, 18000 kb/s, 25 tbr, 1k tbn, 1k tbc [pcm_s16le @ 0000000005E275B0] Warning: not compiled with thread support, using thread emulation [wmav2 @ 00000000003AC980] Warning: not compiled with thread support, using thread emulation Output #0, null, to 'pipe:': Metadata: WMFSDKVersion : 11.0.5721.5245 WMFSDKNeeded : 0.0.0.0000 IsVBR : 1 VBR Peak : 8464 ¡║X½½½½½½½½½½½½½½½½■¯■¯■¯■ Buffer Average : 8514 ¡║X½½½½½½½½½½½½½½½½■¯■¯■¯■ Encoded_By : Sorenson Squeeze Encoded_With : Sorenson Squeeze encoder : Lavf53.17.0 Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s Stream mapping: Stream #0.0 -> #0.0 (wmav2 -> pcm_s16le) Press [q] to stop, [?] for help Program received signal SIGSEGV, Segmentation fault. 0x00000000009d5712 in ff_imdct_half_sse.pre () (gdb) bt #0 0x00000000009d5712 in ff_imdct_half_sse.pre () #1 0x0000000000000029 in ?? () #2 0x0000000000000000 in ?? () (gdb) disass $pc-32,$pc+32 Dump of assembler code from 0x9d56f2 to 0x9d5732: 0x00000000009d56f2 <ff_imdct_half_sse+34>: pop %rcx 0x00000000009d56f3 <ff_imdct_half_sse+35>: and %cl,0x61(%rbx,%rcx,4) 0x00000000009d56f7 <ff_imdct_half_sse+39>: sub %cl,0x1(%rbp) 0x00000000009d56fa <ff_imdct_half_sse+42>: lret 0x00000000009d56fb <ff_imdct_half_sse+43>: add %r9,%r12 0x00000000009d56fe <ff_imdct_half_sse+46>: shr %r9 0x00000000009d5701 <ff_imdct_half_sse+49>: mov 0x8(%rcx),%r10 0x00000000009d5705 <ff_imdct_half_sse+53>: add %r9,%r10 0x00000000009d5708 <ff_imdct_half_sse+56>: sub $0x4,%r9 0x00000000009d570c <ff_imdct_half_sse+60>: xor %rdi,%rdi 0x00000000009d570f <ff_imdct_half_sse+63>: sub %r9,%rdi => 0x00000000009d5712 <ff_imdct_half_sse.pre+0>: movaps (%r8,%r9,4),%xmm0 0x00000000009d5717 <ff_imdct_half_sse.pre+5>: movaps -0x10(%r8,%rdi,4),%xmm1 0x00000000009d571d <ff_imdct_half_sse.pre+11>: movaps %xmm0,%xmm2 0x00000000009d5720 <ff_imdct_half_sse.pre+14>: shufps $0x88,%xmm1,%xmm0 0x00000000009d5724 <ff_imdct_half_sse.pre+18>: shufps $0x77,%xmm2,%xmm1 0x00000000009d5728 <ff_imdct_half_sse.pre+22>: movlps (%r11,%r9,2),%xmm4 0x00000000009d572d <ff_imdct_half_sse.pre+27>: movlps (%r12,%r9,2),%xmm5 End of assembler dump. (gdb) info all-registers rax 0x5ee42b0 99500720 rbx 0x5ee12ac 99488428 rcx 0x5ee42b0 99500720 rdx 0x5ee12ac 99488428 rsi 0x400 1024 rdi 0xfffffffffffffc04 -1020 rbp 0x5ee02ac 0x5ee02ac rsp 0x22dd30 0x22dd30 r8 0x5edd2ac 99472044 r9 0x3fc 1020 r10 0x5efd580 99603840 r11 0x5e5f540 98956608 r12 0x5e60540 98960704 r13 0x0 0 r14 0x29 41 r15 0x5ed3dd0 99433936 rip 0x9d5712 0x9d5712 <ff_imdct_half_sse.pre> eflags 0x10293 [ CF AF SF IF RF ] cs 0x33 51 ss 0x293002b 43188267 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x2b0000 2818048 st0 0 (raw 0x00000000000000000000) st1 0 (raw 0x00000000000000000000) st2 0 (raw 0x00000000000000000000) st3 0 (raw 0x00000000000000000000) st4 9 (raw 0x40029000000000000000) st5 1 (raw 0x3fff8000000000000000) st6 1584.893192461114 (raw 0x4009c61c95085b309b42) st7 3.2000000000000002 (raw 0x4000ccccccccccccd000) fctrl 0x420037f 69206911 fstat 0x420 1056 ftag 0x5d80000 98041856 fiseg 0x33 51 fioff 0xa55c40 10837056 foseg 0x2b 43 fooff 0x0 0 fop 0x0 0 xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} }}} -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/588#comment:1> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac