[MPlayer-users] FFmpeg fudges MP4

Josh joshf87 at live.com
Tue Jul 14 20:15:51 CEST 2015


On 7/14/2015 05:30, Josh wrote:
>
>  From commit
> http://git.videolan.org/?p=ffmpeg.git;a=commit;h=b5136612510052a7acacd560b9b5edad69402519
> causes MP4 to crash in MPlayer, unknown if other formats are affected.
>
> Sample: Haven't been able to ever get the FTP to server for a really
> long time in FileZilla...
>
> Playing I:\boss2_ep01_hd[sars].mp4.
> libavformat version 56.40.100 (internal)
> libavformat file format detected.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0057a48b in ff_configure_buffers_for_index (s=s at entry=0x2565e8e0,
> time_tolerance=1000000) at libavformat/utils.c:1791
> 1791        if (!(strcmp(proto, "file") && strcmp(proto, "pipe") &&
> strcmp(proto, "cache")))
> (gdb) bt
> #0  0x0057a48b in ff_configure_buffers_for_index (s=s at entry=0x2565e8e0,
> time_tolerance=1000000) at libavformat/utils.c:1791
> #1  0x00606943 in mov_read_header (s=0x2565e8e0) at libavformat/mov.c:4302
> #2  0x005822c7 in avformat_open_input (ps=ps at entry=0x28ec0c,
> filename=filename at entry=0x28ec10 "mp:I:\\boss2_ep01_hd[sars].mp4",
>      fmt=0x12dec40 <ff_mov_demuxer>, options=options at entry=0x28ec08) at
> libavformat/utils.c:470
> #3  0x0051ea9b in demux_open_lavf (demuxer=0x25c70458) at
> libmpdemux/demux_lavf.c:572
> #4  0x00499be6 in demux_open_stream (stream=stream at entry=0x25c6e3d8,
> file_format=44, force=0, audio_id=audio_id at entry=-1,
> video_id=video_id at entry=-1,
>      dvdsub_id=-1, filename=filename at entry=0x2563eb38
> "I:\\boss2_ep01_hd[sars].mp4") at libmpdemux/demuxer.c:1105
> #5  0x0049a4e7 in demux_open (vs=0x25c6e3d8, file_format=0, audio_id=-1,
> video_id=-1, dvdsub_id=-1, filename=0x2563eb38
> "I:\\boss2_ep01_hd[sars].mp4")
>      at libmpdemux/demuxer.c:1279
> #6  0x01260b26 in main (argc=2, argv=0x2562d2c0) at mplayer.c:3408
> (gdb) disass $pc-32,$pc+32
> Dump of assembler code from 0x57a46b to 0x57a4ab:
>     0x0057a46b <ff_configure_buffers_for_index+27>:      add    %al,(%eax)
>     0x0057a46d <ff_configure_buffers_for_index+29>:      add
> %cl,-0x74c7dbbc(%ecx)
>     0x0057a473 <ff_configure_buffers_for_index+35>:      test
> %ah,(%eax,%eax,4)
>     0x0057a476 <ff_configure_buffers_for_index+38>:      add    %al,(%eax)
>     0x0057a478 <ff_configure_buffers_for_index+40>:      add
> %al,0x48920c0(%ebx)
>     0x0057a47e <ff_configure_buffers_for_index+46>:      and    $0xe8,%al
>     0x0057a480 <ff_configure_buffers_for_index+48>:      int3
>     0x0057a481 <ff_configure_buffers_for_index+49>:      and    $0x1,%al
>     0x0057a483 <ff_configure_buffers_for_index+51>:      add %bh,0x5(%ecx)
>     0x0057a489 <ff_configure_buffers_for_index+57>:      mov    %eax,%esi
> => 0x0057a48b <ff_configure_buffers_for_index+59>:      repz cmpsb
> %es:(%edi),%ds:(%esi)
>     0x0057a48d <ff_configure_buffers_for_index+61>:      je     0x57a6e7
> <ff_configure_buffers_for_index+663>
>     0x0057a493 <ff_configure_buffers_for_index+67>:      mov
> $0x14199f0,%edi
>     0x0057a498 <ff_configure_buffers_for_index+72>:      mov    $0x5,%ecx
>     0x0057a49d <ff_configure_buffers_for_index+77>:      mov    %eax,%esi
>     0x0057a49f <ff_configure_buffers_for_index+79>:      repz cmpsb
> %es:(%edi),%ds:(%esi)
>     0x0057a4a1 <ff_configure_buffers_for_index+81>:      je     0x57a6e7
> <ff_configure_buffers_for_index+663>
>     0x0057a4a7 <ff_configure_buffers_for_index+87>:      mov
> $0x14199f5,%edi
> End of assembler dump.
> (gdb) info all-registers
> eax            0x0      0
> ecx            0x5      5
> edx            0x28e8e0 2681056
> ebx            0x2566e440       627500096
> esp            0x28ea10 0x28ea10
> ebp            0x2565e8e0       0x2565e8e0
> esi            0x0      0
> edi            0x14199eb        21076459
> eip            0x57a48b 0x57a48b <ff_configure_buffers_for_index+59>
> eflags         0x10206  [ PF IF RF ]
> cs             0x23     35
> ss             0x2b     43
> ds             0x2b     43
> es             0x2b     43
> fs             0x53     83
> gs             0x2b     43
> st0            0        (raw 0x00000000000000000000)
> st1            -1       (raw 0xbfff8000000000000000)
> st2            -1       (raw 0xbfff8000000000000000)
> st3            -1       (raw 0xbfff8000000000000000)
> st4            -1       (raw 0xbfff8000000000000000)
> st5            -1       (raw 0xbfff8000000000000000)
> st6            1        (raw 0x3fff8000000000000000)
> st7            1        (raw 0x3fff8000000000000000)
> fctrl          0x37f    895
> fstat          0x4020   16416
> ftag           0xffff   65535
> fiseg          0x23     35
> fioff          0xc28319 12747545
> foseg          0x2b     43
> fooff          0x28e748 2680648
> 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}
> xmm1           {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}
> xmm2           {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}
> xmm3           {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}
> xmm4           {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}
> xmm5           {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}
> xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
> v16_int8 = {0x6f, 0x2, 0x70, 0x2, 0x71, 0x2, 0x72, 0x2, 0x73, 0x2, 0x74,
> 0x2, 0x75,
>      0x2, 0x76, 0x2}, v8_int16 = {0x26f, 0x270, 0x271, 0x272, 0x273,
> 0x274, 0x275, 0x276}, v4_int32 = {0x270026f, 0x2720271, 0x2740273,
> 0x2760275},
>    v2_int64 = {0x27202710270026f, 0x276027502740273}, uint128 =
> 0x0276027502740273027202710270026f}
> xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
> v16_int8 = {0x77, 0x2, 0x78, 0x2, 0x79, 0x2, 0x7a, 0x2, 0x7b, 0x2, 0x7c,
> 0x2, 0x7d,
>      0x2, 0x7e, 0x2}, v8_int16 = {0x277, 0x278, 0x279, 0x27a, 0x27b,
> 0x27c, 0x27d, 0x27e}, v4_int32 = {0x2780277, 0x27a0279, 0x27c027b,
> 0x27e027d},
> ---Type <return> to continue, or q <return> to quit---
>    v2_int64 = {0x27a027902780277, 0x27e027d027c027b}, uint128 =
> 0x027e027d027c027b027a027902780277}
> mxcsr          0x9fc0   [ DAZ IM DM ZM OM UM PM FZ ]
> mm0            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0,
> 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
> mm1            {uint64 = 0x8000000000000000, v2_int32 = {0x0,
> 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0,
> 0x0, 0x0, 0x0, 0x0, 0x0,
>      0x80}}
> mm2            {uint64 = 0x8000000000000000, v2_int32 = {0x0,
> 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0,
> 0x0, 0x0, 0x0, 0x0, 0x0,
>      0x80}}
> mm3            {uint64 = 0x8000000000000000, v2_int32 = {0x0,
> 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0,
> 0x0, 0x0, 0x0, 0x0, 0x0,
>      0x80}}
> mm4            {uint64 = 0x8000000000000000, v2_int32 = {0x0,
> 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0,
> 0x0, 0x0, 0x0, 0x0, 0x0,
>      0x80}}
> mm5            {uint64 = 0x8000000000000000, v2_int32 = {0x0,
> 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0,
> 0x0, 0x0, 0x0, 0x0, 0x0,
>      0x80}}
> mm6            {uint64 = 0x8000000000000000, v2_int32 = {0x0,
> 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0,
> 0x0, 0x0, 0x0, 0x0, 0x0,
>      0x80}}
> mm7            {uint64 = 0x8000000000000000, v2_int32 = {0x0,
> 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0,
> 0x0, 0x0, 0x0, 0x0, 0x0,
>      0x80}}
> (gdb)
>
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

Upload a sample "ffmpeg_configure_buffers_crash.mp4", but basically any 
MP4 will crash.


More information about the MPlayer-users mailing list