[MPlayer-users] Mplayer crashes with wmv-files
Kimmo Vuorinen
kimmo_lists at palsi.net
Sat Feb 7 23:45:09 CET 2004
I am experiencing crashes playing window media files with mplayer cvs.
Quite many wmv files are causing crashes but all files will play after multiple tries.
One of those files can be found from http://www.rob.com/matt/videos/F15_midair.wmv
Configure options used --enable-runtime-cpudetection --enable-gui --enable-debug=3
Below are included system and debug information:
Fedora Core 1 running on AMD XP1600+, via kt400 chipset, 512MB ddr sdram and Gainward nVidia Ti4200 64MB.
NVIDIA XFree86 Driver 1.0-5336 Wed Jan 14 18:30:46 PST 2004
VT8233 AC97 Audio Co (rev 64) tested with OSS and 2.6 kernel ALSA drivers
[kvuorine at vger mplayer]$ uname -a
Linux vger.palsi.net 2.6.1-1.53 #1 Wed Jan 21 08:54:29 EST 2004 i686 athlon i386 GNU/Linux
[kvuorine at vger mplayer]$ ls -l /lib/libc[.-]*
-rwxr-xr-x 1 root root 1572520 Dec 30 23:16 /lib/libc-2.3.3.so
lrwxrwxrwx 1 root root 13 Jan 1 06:13 /lib/libc.so.6 -> libc-2.3.3.so
[kvuorine at vger mplayer]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.3.2 20040119 (Red Hat Linux 3.3.2-7)
[kvuorine at vger mplayer]$ ld -v
GNU ld version 2.14.90.0.8 20040114
[kvuorine at vger mplayer]$ as --version
GNU assembler 2.14.90.0.8 20040114
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i386-redhat-linux'.
[kvuorine at vger mplayer]$ gdb ./mplayer
GNU gdb Red Hat Linux (6.0post-0.20031117.7rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run -v ~/F15_midair.wmv
Starting program: /usr/src/redhat/BUILD/mplayer/mplayer -v ~/F15_midair.wmv
[Thread debugging using libthread_db enabled]
[New Thread -1207294624 (LWP 5306)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale
MPlayer dev-CVS-040207-22:19-3.3.2 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 3085 MHz (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/kvuorine/.mplayer/config
Reading /home/kvuorine/.mplayer/codecs.conf: Can't open '/home/kvuorine/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' '/home/kvuorine/F15_midair.wmv'
init_freetype
get_path('font/font.desc') -> '/home/kvuorine/.mplayer/font/font.desc'
Font /home/kvuorine/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Device or resource busy (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/kvuorine/.mplayer/input.conf'
Can't open input config file /home/kvuorine/.mplayer/input.conf: No such file or directory
Can't open input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('F15_midair.wmv.conf') -> '/home/kvuorine/.mplayer/F15_midair.wmv.conf'
Playing /home/kvuorine/F15_midair.wmv.
[file] File size is 709086 bytes
STREAM: [file] /home/kvuorine/F15_midair.wmv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x89f18b8
ASF file format detected.
ASF: packets: 489 flags: 2 max_packet_size: 1444 min_packet_size: 1444 max_bitrate: 271180 preroll: 3000
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 28 bytes, stream: 8 bytes ID: 1
unk1: 0 unk2: 23EF32C
FILEPOS=0x9D1
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 2
Samplerate: 22050
avg byte/sec: 4006
Block align: 744
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [44] [0] [0] [17] [0] [41] [17] [0] [0]
===========================
ASF: audio scrambling: 1 x 1 x 744
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 55 bytes, stream: 0 bytes ID: 2
unk1: 0 unk2: 57C5E08
FILEPOS=0xA43
==> Found video stream: 2
======= VIDEO Format ======
biSize 44
biWidth 320
biHeight 240
biPlanes 1
biBitCount 24
biCompression 861293911='WMV3'
biSizeImage 0
Unknown extra header dump: [4e] [39] [1a] [1]
===========================
============ ASF Stream group == START ===
object size = 38
stream count=[0x2][2]
stream id=[0x1][1]
max bitrate=[0x886d][34925]
stream id=[0x2][2]
max bitrate=[0x39adf][236255]
============ ASF Stream group == END ===
Found movie at 0xAD2 - 0xAD116
ASF: 1 audio and 1 video streams found
Auto-selected ASF video ID = 2
VIDEO: [WMV3] 320x240 24bpp
ASF: Searching for audio stream (id:1).
Auto-selected ASF audio ID = 1
[V] filefmt:6 fourcc:0x33564D57 size:320x240 fps:1000,00 ftime:=0,0010
get_path('sub/') -> '/home/kvuorine/.mplayer/sub/'
get_path('default.sub') -> '/home/kvuorine/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 131072 + 65536 = 196608 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec init OK!
AUDIO: 22050 Hz, 2 ch, 16 bit (0x10), ratio: 4006->88200 (32,0 kbit)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (ffmpeg))
==========================================================================
X11 opening display: :0.0
vo: X11 color mask: FFFF (R:F800 G:7E0 B:1F)
vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0.0" => local display)
[x11] Detected wm supports layers.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Current fstype setting honours LAYER FULLSCREEN X atoms
==========================================================================
Opening video decoder: [dmo] DMO video codecs
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1207294624 (LWP 5306)]
0x0032149a in do_lookup_versioned () from /lib/ld-linux.so.2
(gdb) bt
#0 0x0032149a in do_lookup_versioned () from /lib/ld-linux.so.2
#1 0x0032060f in _dl_lookup_versioned_symbol_internal () from /lib/ld-linux.so.2
#2 0x003242fe in fixup () from /lib/ld-linux.so.2
#3 0x00324470 in _dl_runtime_resolve () from /lib/ld-linux.so.2
#4 0x08149ff0 in FILE_dommap (unix_handle=11, start=0x401000, size_high=0, size_low=673280, offset_high=0, offset_low=1024, prot=7, flags=1024)
at ext.c:315
#5 0x08155555 in PE_LoadImage (handle=10, filename=0xbff21040 "/usr/lib/win32/wmv9dmod.dll", version=0x9dc7d) at pe_image.c:634
#6 0x08155880 in PE_LoadLibraryExA (name=0x9dc7d <Address 0x9dc7d out of bounds>, flags=646269) at pe_image.c:842
#7 0x08149234 in MODULE_LoadLibraryExA (libname=0x9dc7d <Address 0x9dc7d out of bounds>, hfile=0, flags=646269) at module.c:302
#8 0x08149677 in LoadLibraryExA (libname=0x835acd8 "wmv9dmod.dll", hfile=0, flags=0) at module.c:399
#9 0x0814972d in LoadLibraryA (libname=0x9dc7d <Address 0x9dc7d out of bounds>) at module.c:504
#10 0x0815c5c3 in DMO_FilterCreate (dllname=0x9dc7d <Address 0x9dc7d out of bounds>, id=0x9dc7d, in_fmt=0xb3, out_fmt=0x9dc7d) at dmo.c:54
#11 0x0815b842 in DMO_VideoDecoder_Open (dllname=0x9dc7d <Address 0x9dc7d out of bounds>, guid=0x9dc7d, format=0x8a30c44, flip=0, maxauto=646269)
at DMO_VideoDecoder.c:187
#12 0x080f634b in init (sh=0x89f0130) at vd_dmo.c:33
#13 0x080efa47 in init_video (sh_video=0x89f0130, codecname=0x0, vfm=0x0, status=1) at dec_video.c:232
#14 0x080efcef in init_best_video_codec (sh_video=0x89f0130, video_codec_list=0xbff21d24, video_fm_list=0x0) at dec_video.c:278
#15 0x0807be98 in main (argc=3, argv=0xbff24194) at mplayer.c:1740
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x32147a to 0x3214ba:
0x0032147a <do_lookup_versioned+170>: add %al,(%eax)
0x0032147c <do_lookup_versioned+172>: mov 0x168(%esi),%esi
0x00321482 <do_lookup_versioned+178>: mov (%esi,%edx,4),%edi
0x00321485 <do_lookup_versioned+181>: test %edi,%edi
0x00321487 <do_lookup_versioned+183>: je 0x3214c5 <do_lookup_versioned+245>
0x00321489 <do_lookup_versioned+185>: lea 0x0(%esi,1),%esi
0x00321490 <do_lookup_versioned+192>: mov 0xffffffe4(%ebp),%esi
0x00321493 <do_lookup_versioned+195>: mov %edi,%ecx
0x00321495 <do_lookup_versioned+197>: shl $0x4,%ecx
0x00321498 <do_lookup_versioned+200>: add %ecx,%esi
0x0032149a <do_lookup_versioned+202>: mov 0x4(%esi),%eax
0x0032149d <do_lookup_versioned+205>: test %eax,%eax
0x0032149f <do_lookup_versioned+207>: jne 0x321542 <do_lookup_versioned+370>
0x003214a5 <do_lookup_versioned+213>: movzbl 0xc(%esi),%edx
0x003214a9 <do_lookup_versioned+217>: and $0xf,%edx
0x003214ac <do_lookup_versioned+220>: cmp $0x6,%edx
0x003214af <do_lookup_versioned+223>: je 0x321542 <do_lookup_versioned+370>
0x003214b5 <do_lookup_versioned+229>: mov 0xffffffe8(%ebp),%eax
0x003214b8 <do_lookup_versioned+232>: mov 0x16c(%eax),%esi
End of assembler dump.
(gdb) info all-registers
eax 0x9dc7d 646269
ecx 0xfe2df0f0 -30543632
edx 0xb3 179
ebx 0x32d508 3331336
esp 0xbff20dec 0xbff20dec
ebp 0xbff20e24 0xbff20e24
esi 0xfe2df0f0 -30543632
edi 0xfe2df0f 266526479
eip 0x32149a 0x32149a
eflags 0x210286 2163334
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x8f 143
gs 0x33 51
st0 <invalid float value> (raw 0xffff0000000000000000)
st1 <invalid float value> (raw 0xffff0000000000000000)
st2 <invalid float value> (raw 0xffff0000000000000000)
st3 <invalid float value> (raw 0xffff0000000000000000)
st4 <invalid float value> (raw 0xffff0000000000000000)
st5 <invalid float value> (raw 0xffff0000000000000000)
st6 <invalid float value> (raw 0xffff0000000000000000)
st7 32.048000000000001818989403545856476 (raw 0x4004803126e978d50000)
fctrl 0x37f 895
fstat 0x20 32
ftag 0xffff 65535
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {
0xffffffffffffffff, 0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {
0xffffffffffffffff, 0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {
0xffffffffffffffff, 0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {
0xffffffffffffffff, 0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {
0xffffffffffffffff, 0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {
0xffffffffffffffff, 0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {
0xffffffffffffffff, 0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {
0xffffffffffffffff, 0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
mxcsr 0x1f80 8064
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 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm2 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm3 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm4 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm5 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm6 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
---Type <return> to continue, or q <return> to quit---
mm7 {uint64 = 0x803126e978d50000, v2_int32 = {0x78d50000, 0x803126e9}, v4_int16 = {0x0, 0x78d5, 0x26e9, 0x8031}, v8_int8 = {0x0, 0x0, 0xd5,
0x78, 0xe9, 0x26, 0x31, 0x80}}
(gdb)
More information about the MPlayer-users
mailing list