Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#1655 closed defect (fixed)

mplayer crashes playing most FLV files

Reported by: t.artem@… Owned by: reimar
Priority: very important Component: vo
Version: HEAD Severity: critical
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

A sample flv file:

http://www.mediafire.com/?xjwjmhzryn4

./configure --disable-vidix --enable-gui --enable-dynamic-plugins --enable-menu --enable-radio --enable-radio-capture --disable-inet6 --disable-arts --disable-esd --disable-smb --disable-openal --enable-debug=3

mplayer -v -v -v
this_opt = option: v
Setting v=(null)
MPlayer SVN-r30749-4.2.4 (C) 2000-2010 MPlayer Team
CPU vendor name: GenuineIntel? max cpuid level: 11
CPU: Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz (Family: 6, Model: 37, Stepping: 2)
extended cpuid-level: 8
extended cache-info: 16801856
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 SSSE3 CMOV

(gdb) bt
#0 0x0866d334 in put_pixels16_sse2 ()
#1 0x000000c8 in ?? ()
#2 0xffffffe8 in ?? ()
#3 0x08636f2c in vp56_decode_frame ()
#4 0x00000000 in ?? ()

(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x866d314 to 0x866d354:
0x0866d314 <put_pixels16_sse2+20>: and $0x10,%al
0x0866d316 <put_pixels16_sse2+22>: mov 0xc(%esp),%esi
0x0866d31a <put_pixels16_sse2+26>: lea (%ecx,%ecx,2),%eax
0x0866d31d <put_pixels16_sse2+29>: movdqu (%ebx),%xmm0
0x0866d321 <put_pixels16_sse2+33>: movdqu (%ebx,%ecx,1),%xmm1
0x0866d326 <put_pixels16_sse2+38>: movdqu (%ebx,%ecx,2),%xmm2
0x0866d32b <put_pixels16_sse2+43>: movdqu (%ebx,%eax,1),%xmm3
0x0866d330 <put_pixels16_sse2+48>: movdqa %xmm0,(%esi)
0x0866d334 <put_pixels16_sse2+52>: movdqa %xmm1,(%esi,%ecx,1)
0x0866d339 <put_pixels16_sse2+57>: movdqa %xmm2,(%esi,%ecx,2)
0x0866d33e <put_pixels16_sse2+62>: movdqa %xmm3,(%esi,%eax,1)
0x0866d343 <put_pixels16_sse2+67>: sub $0x4,%edx
0x0866d346 <put_pixels16_sse2+70>: lea (%ebx,%ecx,4),%ebx
0x0866d349 <put_pixels16_sse2+73>: lea (%esi,%ecx,4),%esi
0x0866d34c <put_pixels16_sse2+76>: jne 0x866d31d <put_pixels16_sse2+29>
0x0866d34e <put_pixels16_sse2+78>: mov (%esp),%ebx
0x0866d351 <put_pixels16_sse2+81>: mov 0x4(%esp),%esi
End of assembler dump.
(gdb)
Dump of assembler code for function put_pixels16_sse2:
0x0866d300 <put_pixels16_sse2+0>: sub $0x8,%esp
0x0866d303 <put_pixels16_sse2+3>: mov 0x14(%esp),%ecx
0x0866d307 <put_pixels16_sse2+7>: mov %ebx,(%esp)
0x0866d30a <put_pixels16_sse2+10>: mov 0x18(%esp),%edx
0x0866d30e <put_pixels16_sse2+14>: mov %esi,0x4(%esp)
0x0866d312 <put_pixels16_sse2+18>: mov 0x10(%esp),%ebx
0x0866d316 <put_pixels16_sse2+22>: mov 0xc(%esp),%esi
0x0866d31a <put_pixels16_sse2+26>: lea (%ecx,%ecx,2),%eax
0x0866d31d <put_pixels16_sse2+29>: movdqu (%ebx),%xmm0
0x0866d321 <put_pixels16_sse2+33>: movdqu (%ebx,%ecx,1),%xmm1
0x0866d326 <put_pixels16_sse2+38>: movdqu (%ebx,%ecx,2),%xmm2
0x0866d32b <put_pixels16_sse2+43>: movdqu (%ebx,%eax,1),%xmm3
0x0866d330 <put_pixels16_sse2+48>: movdqa %xmm0,(%esi)
0x0866d334 <put_pixels16_sse2+52>: movdqa %xmm1,(%esi,%ecx,1)
0x0866d339 <put_pixels16_sse2+57>: movdqa %xmm2,(%esi,%ecx,2)
0x0866d33e <put_pixels16_sse2+62>: movdqa %xmm3,(%esi,%eax,1)
0x0866d343 <put_pixels16_sse2+67>: sub $0x4,%edx
0x0866d346 <put_pixels16_sse2+70>: lea (%ebx,%ecx,4),%ebx
0x0866d349 <put_pixels16_sse2+73>: lea (%esi,%ecx,4),%esi
0x0866d34c <put_pixels16_sse2+76>: jne 0x866d31d <put_pixels16_sse2+29>
0x0866d34e <put_pixels16_sse2+78>: mov (%esp),%ebx
0x0866d351 <put_pixels16_sse2+81>: mov 0x4(%esp),%esi
0x0866d355 <put_pixels16_sse2+85>: add $0x8,%esp
0x0866d358 <put_pixels16_sse2+88>: ret
End of assembler dump.

(gdb) info all-registers
eax 0x258 600
ecx 0xc8 200
edx 0xc 12
ebx 0x8fffdb3 150994355
esp 0xbfffad04 0xbfffad04
ebp 0x8f816a0 0x8f816a0
esi 0x8f895d0 150509008
edi 0x192 402
eip 0x866d334 0x866d334 <put_pixels16_sse2+52>
eflags 0x10282 [ SF IF RF ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
st0 -nan(0x1d1c1c1c1c1c1c1c) (raw 0xffff1d1c1c1c1c1c1c1c)
st1 -nan(0x1d001c001c001c) (raw 0xffff001d001c001c001c)
st2 -nan(0x1d1c1c1c1c1c1c1c) (raw 0xffff1d1c1c1c1c1c1c1c)
st3 -nan(0x1d001c001c001c) (raw 0xffff001d001c001c001c)
st4 -nan(0x1c001c001c001c) (raw 0xffff001c001c001c001c)
st5 -nan(0x1d001c001c001c) (raw 0xffff001d001c001c001c)
st6 -nan(0x1c001c001c001c) (raw 0xffff001c001c001c001c)
st7 -inf (raw 0xffff0000000000000000)
fctrl 0x37f 895
fstat 0x420 1056
ftag 0xaaaa 43690
fiseg 0x73 115
fioff 0x8125b4e 135420750
foseg 0x7b 123
fooff 0x8fdf5d8 150861272
fop 0x55c 1372
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x80 <repeats 16 times>}, v8_int16 = {0x8080, 0x8080, 0x8080, 0x8080,

0x8080, 0x8080, 0x8080, 0x8080}, v4_int32 = {0x80808080, 0x80808080, 0x80808080, 0x80808080}, v2_int64 = {0x8080808080808080, 0x8080808080808080},

uint128 = 0x80808080808080808080808080808080}

xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x80 <repeats 16 times>}, v8_int16 = {0x8080, 0x8080, 0x8080, 0x8080,

0x8080, 0x8080, 0x8080, 0x8080}, v4_int32 = {0x80808080, 0x80808080, 0x80808080, 0x80808080}, v2_int64 = {0x8080808080808080, 0x8080808080808080},

uint128 = 0x80808080808080808080808080808080}

xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x80 <repeats 16 times>}, v8_int16 = {0x8080, 0x8080, 0x8080, 0x8080,

0x8080, 0x8080, 0x8080, 0x8080}, v4_int32 = {0x80808080, 0x80808080, 0x80808080, 0x80808080}, v2_int64 = {0x8080808080808080, 0x8080808080808080},

uint128 = 0x80808080808080808080808080808080}

xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x80 <repeats 16 times>}, v8_int16 = {0x8080, 0x8080, 0x8080, 0x8080,

0x8080, 0x8080, 0x8080, 0x8080}, v4_int32 = {0x80808080, 0x80808080, 0x80808080, 0x80808080}, v2_int64 = {0x8080808080808080, 0x8080808080808080},

uint128 = 0x80808080808080808080808080808080}

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 = {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}

xmm7 {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}

---Type <return> to continue, or q <return> to quit---
mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ]
mm0 {uint64 = 0x1d1c1c1c1c1c1c1c, v2_int32 = {0x1c1c1c1c, 0x1d1c1c1c}, v4_int16 = {0x1c1c, 0x1c1c, 0x1c1c, 0x1d1c}, v8_int8 = {0x1c, 0x1c, 0x1c,

0x1c, 0x1c, 0x1c, 0x1c, 0x1d}}

mm1 {uint64 = 0x1d001c001c001c, v2_int32 = {0x1c001c, 0x1d001c}, v4_int16 = {0x1c, 0x1c, 0x1c, 0x1d}, v8_int8 = {0x1c, 0x0, 0x1c, 0x0, 0x1c,

0x0, 0x1d, 0x0}}

mm2 {uint64 = 0x1d1c1c1c1c1c1c1c, v2_int32 = {0x1c1c1c1c, 0x1d1c1c1c}, v4_int16 = {0x1c1c, 0x1c1c, 0x1c1c, 0x1d1c}, v8_int8 = {0x1c, 0x1c, 0x1c,

0x1c, 0x1c, 0x1c, 0x1c, 0x1d}}

mm3 {uint64 = 0x1d001c001c001c, v2_int32 = {0x1c001c, 0x1d001c}, v4_int16 = {0x1c, 0x1c, 0x1c, 0x1d}, v8_int8 = {0x1c, 0x0, 0x1c, 0x0, 0x1c,

0x0, 0x1d, 0x0}}

mm4 {uint64 = 0x1c001c001c001c, v2_int32 = {0x1c001c, 0x1c001c}, v4_int16 = {0x1c, 0x1c, 0x1c, 0x1c}, v8_int8 = {0x1c, 0x0, 0x1c, 0x0, 0x1c,

0x0, 0x1c, 0x0}}

mm5 {uint64 = 0x1d001c001c001c, v2_int32 = {0x1c001c, 0x1d001c}, v4_int16 = {0x1c, 0x1c, 0x1c, 0x1d}, v8_int8 = {0x1c, 0x0, 0x1c, 0x0, 0x1c,

0x0, 0x1d, 0x0}}

mm6 {uint64 = 0x1c001c001c001c, v2_int32 = {0x1c001c, 0x1c001c}, v4_int16 = {0x1c, 0x1c, 0x1c, 0x1c}, v8_int8 = {0x1c, 0x0, 0x1c, 0x0, 0x1c,

0x0, 0x1c, 0x0}}

mm7 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
(gdb)

mplayer-d -v -v -v /tmp/1.flv
this_opt = option: v
Setting v=/tmp/1.flv
Adding file /tmp/1.flv
Config pushed level is now 2
Config pushed level is now 3
MPlayer SVN-r30749-4.2.4 (C) 2000-2010 MPlayer Team
CPU vendor name: GenuineIntel? max cpuid level: 11
CPU: Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz (Family: 6, Model: 37, Stepping: 2)
extended cpuid-level: 8
extended cache-info: 16801856
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 SSSE3 CMOV
get_path('codecs.conf') -> '/home/birdie/.mplayer/codecs.conf'
Reading /home/birdie/.mplayer/codecs.conf: Can't open '/home/birdie/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 150 audio & 335 video codecs
Configuration: --disable-vidix --enable-gui --enable-dynamic-plugins --enable-menu --enable-radio --enable-radio-capture --disable-inet6 --disable-arts --disable-esd --disable-smb --disable-openal --enable-debug=3
CommandLine?: '-v' '-v' '-v' '/tmp/1.flv'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay?
get_path('fonts') -> '/home/birdie/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/birdie/.mplayer/input.conf'
Can't open input config file /home/birdie/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('1.flv.conf') -> '/home/birdie/.mplayer/1.flv.conf'

[init getch2?]

Playing /tmp/1.flv.
get_path('sub/') -> '/home/birdie/.mplayer/sub/'
[file] File size is 3023738 bytes
STREAM: [file] /tmp/1.flv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
seek to 0x0
s->pos=0 newpos=0 new_bufpos=0 buflen=0
LAVF_check: FLV format
libavformat file format detected.
seek to 0x0
s->pos=8000 newpos=0 new_bufpos=0 buflen=0
mp_seek(0x9ab8570, 4, 0)
seek to 0x4
32768=mp_read(0x9ab8570, 0x9ab9b84, 32768), eof:0
32768=mp_read(0x9ab8570, 0x9ab9b84, 32768), eof:0
32768=mp_read(0x9ab8570, 0x9ab9b84, 32768), eof:0
32768=mp_read(0x9ab8570, 0x9ab9b84, 32768), eof:0
mp_seek(0x9ab8570, 0, 65536)
[flv @ 0x9ac27a0]Estimating duration from bitrate, this may be inaccurate
==> Found video stream: 0
[lavf] Video stream found, -vid 0
aspect= 400*0/(225*1)
======= VIDEO Format ======

biSize 41
biWidth 400
biHeight 225
biPlanes 0
biBitCount 0
biCompression 1177964630='VP6F'
biSizeImage 0

Unknown extra header dump: [f]
===========================
==> Found audio stream: 1
[lavf] Audio stream found, -aid 1
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 1
Samplerate: 44100
avg byte/sec: 16000
Block align: 1
bits/sample: 16
cbSize: 0
==========================================================================
LAVF: 1 audio and 1 video streams found
LAVF: build 3421696
VIDEO: [VP6F] 400x225 0bpp 25.000 fps 614.4 kbps (75.0 kbyte/s)
[V] filefmt:44 fourcc:0x46365056 size:400x225 fps:25.000 ftime:=0.0400
Clip info:

duration: 31
width: 400
height: 225
videodatarate: 600
framerate: 25
videocodecid: 4
audiodatarate: 128
audiodelay: 0
audiocodecid: 2
canSeekToEnd: true

get_path('sub/') -> '/home/birdie/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec.size: 400 x 225
INFO: libavcodec init OK!
Selected video codec: [ffvp6f] vfm: ffmpeg (FFmpeg VP6 Flash)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using SSE optimized decore!
MP3lib: init layer2&3 finished, tables done
ds_fill_buffer(d_audio) called
demux_lavf_fill_buffer()
DEMUX: Append packet to d_audio, len=417 pts=0.000 pos=131076 [packs: A=1 V=0]
MPEG 1.0, Layer III, 44100 Hz 128 kbit Single-Channel, BPF: 417
Channels: 1, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Trying every known audio driver...
ao2: 44100 Hz 2 chans s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 8/8 (8192 bytes/frag) free: 65536
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Starting playback...
ds_fill_buffer(d_audio) called
demux_lavf_fill_buffer()
DEMUX: Append packet to d_audio, len=417 pts=0.026 pos=131076 [packs: A=1 V=0]
ds_fill_buffer(d_audio) called
demux_lavf_fill_buffer()
DEMUX: Append packet to d_video, len=20691 pts=0.027 pos=131076 [packs: A=0 V=1]
demux_lavf_fill_buffer()
DEMUX: Append packet to d_audio, len=417 pts=0.052 pos=131076 [packs: A=1 V=1]
ds_fill_buffer(d_audio) called
demux_lavf_fill_buffer()
DEMUX: Append packet to d_video, len=3053 pts=0.067 pos=131076 [packs: A=0 V=2]
demux_lavf_fill_buffer()
DEMUX: Append packet to d_audio, len=417 pts=0.078 pos=131076 [packs: A=1 V=2]
ds_fill_buffer(d_audio) called
demux_lavf_fill_buffer()
DEMUX: Append packet to d_audio, len=417 pts=0.104 pos=131076 [packs: A=1 V=2]
ds_fill_buffer(d_audio) called
demux_lavf_fill_buffer()
DEMUX: Append packet to d_video, len=4464 pts=0.107 pos=131076 [packs: A=0 V=3]
demux_lavf_fill_buffer()
DEMUX: Append packet to d_audio, len=417 pts=0.130 pos=131076 [packs: A=1 V=3]
ds_fill_buffer(d_audio) called
demux_lavf_fill_buffer()
DEMUX: Append packet to d_video, len=4263 pts=0.147 pos=131076 [packs: A=0 V=4]
demux_lavf_fill_buffer()
DEMUX: Append packet to d_audio, len=417 pts=0.156 pos=131076 [packs: A=1 V=4]
ds_fill_buffer(d_audio) called
demux_lavf_fill_buffer()
DEMUX: Append packet to d_audio, len=417 pts=0.182 pos=131076 [packs: A=1 V=4]
ds_fill_buffer(d_audio) called
demux_lavf_fill_buffer()
DEMUX: Append packet to d_video, len=2809 pts=0.187 pos=131076 [packs: A=0 V=5]
demux_lavf_fill_buffer()
DEMUX: Append packet to d_audio, len=417 pts=0.208 pos=131076 [packs: A=1 V=5]
ds_fill_buffer(d_audio) called
demux_lavf_fill_buffer()
DEMUX: Append packet to d_video, len=3412 pts=0.227 pos=131076 [packs: A=0 V=6]
demux_lavf_fill_buffer()
DEMUX: Append packet to d_audio, len=417 pts=0.235 pos=131076 [packs: A=1 V=6]
ds_fill_buffer(d_audio) called
demux_lavf_fill_buffer()
DEMUX: Append packet to d_audio, len=417 pts=0.261 pos=131076 [packs: A=1 V=6]
ds_fill_buffer(d_audio) called
demux_lavf_fill_buffer()
DEMUX: Append packet to d_video, len=2762 pts=0.267 pos=131076 [packs: A=0 V=7]
demux_lavf_fill_buffer()
DEMUX: Append packet to d_audio, len=417 pts=0.287 pos=131076 [packs: A=1 V=7]
ds_fill_buffer(d_audio) called
demux_lavf_fill_buffer()
DEMUX: Append packet to d_video, len=2777 pts=0.307 pos=131076 [packs: A=0 V=8]
demux_lavf_fill_buffer()
DEMUX: Append packet to d_audio, len=417 pts=0.313 pos=131076 [packs: A=1 V=8]
ds_fill_buffer(d_audio) called
demux_lavf_fill_buffer()
DEMUX: Append packet to d_audio, len=417 pts=0.339 pos=131076 [packs: A=1 V=8]
ds_fill_buffer(d_audio) called
demux_lavf_fill_buffer()
DEMUX: Append packet to d_video, len=6198 pts=0.347 pos=131076 [packs: A=0 V=9]
demux_lavf_fill_buffer()
DEMUX: Append packet to d_audio, len=417 pts=0.365 pos=131076 [packs: A=1 V=9]
Increasing filtered audio buffer size from 0 to 65536
ds_fill_buffer(d_video) called
vd_ffmpeg data: 190f4678, 6a3f190f, 7401e39e, 48eb11de
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 400 x 225 (preferred colorspace: Planar YV12)
Trying filter chain: vo
vo_debug: query(Planar YV12) returned 0xE4B7 (i=0)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (400x225->400x225,flags=0,'MPlayer',0x32315659)
VO: [vdpau] 400x225 => 400x225 Planar YV12
VO: Description: VDPAU with X11
VO: Author: Rajib Mahapatra <rmahapatra@…> and others
[vdpau] Updating CSC matrix for BT.601
OUT CREATE: 5
OUT CREATE: 6
OUT CREATE: 7
OUT CREATE: 8
using IP
* [vo] Allocating mp_image_t, 400x240x12bpp YUV planar, 144000 bytes
(imgfmt: 32315659, planes: 0x9b34200,0x9b516c0,0x9b4b900 strides: 400,200,200, chroma: 200x120, shift: h:1,v:1)
VID CREATE: 9
DRAW_OSD
Unicode font: 679 glyphs.
Unicode font: 679 glyphs.
OSD chg: 6 V: no pb:-1
OSD chg: 5 V: no pb:-1
OSD chg: 3 V: no pb:-1
OSD chg: 2 V: no pb:-1
* ftime=0.000 *
delay=0.330317

FLIP_PAGE VID:9 -> OUT:5
ds_fill_buffer(d_video) calledct: 0.000 0/ 0 ??% ??% ??,?% 0 0
vd_ffmpeg data: 198145a4, f9a3be6e, 5b1c276b, c3ff971c
using IP
* [vo] Allocating mp_image_t, 400x240x12bpp YUV planar, 144000 bytes
(imgfmt: 32315659, planes: 0x9b6f700,0x9b8cbc0,0x9b86e00 strides: 400,200,200, chroma: 200x120, shift: h:1,v:1)

MPlayer interrupted by signal 11 in module: decode video

  • MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
  • MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug.

Attachments (1)

aligndim.diff (3.9 KB) - added by reimar 9 years ago.
fix avcodec_align_dimensions to fix crashes with some flv files due to unaligned SSE access

Download all attachments as: .zip

Change History (6)

comment:1 Changed 9 years ago by t.artem@…

I have GCC version 4.2.4.

Older mplayer builds didn't have this problem.

ffplay plays this file just fine.

Applications based on ffmpeg crash at playing this file.

comment:2 Changed 9 years ago by reimar

  • Owner changed from beastd to reimar

Work is in progress to fix this from the FFmpeg side (instead of just hacking MPlayer). Downside is that it might take some time more.
I'll attach the latest proposed patch, though right now it is untested - my computer is still busy compiling...

Changed 9 years ago by reimar

fix avcodec_align_dimensions to fix crashes with some flv files due to unaligned SSE access

comment:3 Changed 9 years ago by reimar

comment:4 Changed 9 years ago by reimar

  • Resolution set to fixed
  • Status changed from new to closed

Should be fixed with FFmpeg SVN r22095.

comment:5 Changed 9 years ago by t.artem@…

The bug is indeed fixed, thank you for a rapid response and fix.

Note: See TracTickets for help on using tickets.