[MPlayer-users] Bug Report
David T. Moraski II
moraski2 at Princeton.EDU
Sat May 8 08:16:14 CEST 2004
I have recently upgraded to Fedora Core 1 (from Redhat 7.3).
I have reinstalled mplayer on my machine, and now find that several .wmv
files that previously played without problems now give a segmentation
fault.
The common thread seems to be that they are all using the DMO video
codecs.
The segmentation fault occurs with all working output drivers.
I have attached the results of a gdm trace.
Help?
Dave
-------------- next part --------------
[thewyrm at localhost mma]$ gdb mplayer
GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh)
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 genki-sudo.wmv
Starting program: /usr/local/bin/mplayer -v genki-sudo.wmv
[Thread debugging using libthread_db enabled]
[New Thread -1085353856 (LWP 23077)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MPlayer 1.0pre4-3.3.2 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 1406 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 for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/thewyrm/.mplayer/config
Reading /home/thewyrm/.mplayer/codecs.conf: Can't open '/home/thewyrm/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' 'genki-sudo.wmv'
init_freetype
get_path('font/font.desc') -> '/home/thewyrm/.mplayer/font/font.desc'
font: can't open file: /home/thewyrm/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using usleep() timing
get_path('input.conf') -> '/home/thewyrm/.mplayer/input.conf'
Can't open input config file /home/thewyrm/.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('genki-sudo.wmv.conf') -> '/home/thewyrm/.mplayer/genki-sudo.wmv.conf'
Playing genki-sudo.wmv.
[file] File size is 5257958 bytes
STREAM: [file] genki-sudo.wmv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8bbf120
ASF file format detected.
Title:
Author:
Copyright:
Comment:
ASF: packets: 821 flags: 2 max_packet_size: 6400 min_packet_size: 6400 max_bitrate: 520818 preroll: 4000
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 28 bytes, stream: 8 bytes ID: 1
unk1: 0 unk2: 3E4FCE4
FILEPOS=0xA6D
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 2
Samplerate: 44100
avg byte/sec: 8005
Block align: 1487
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [88] [0] [0] [f] [0] [79] [2e] [0] [0]
===========================
ASF: audio scrambling: 1 x 1 x 1487
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 55 bytes, stream: 0 bytes ID: 2
unk1: 0 unk2: 5081C68
FILEPOS=0xADF
==> 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: [4c] [79] [1a] [1]
===========================
============ ASF Stream group == START ===
object size = 38
stream count=[0x2][2]
stream id=[0x1][1]
max bitrate=[0x100c5][65733]
stream id=[0x2][2]
max bitrate=[0x6f1ad][455085]
============ ASF Stream group == END ===
Found movie at 0xB6E - 0x50386E
ASF: 1 audio and 1 video streams found
Auto-selected ASF video ID = 2
Auto-selected ASF audio ID = 1
VIDEO: [WMV3] 320x240 24bpp
ASF: Searching for audio stream (id:1).
[V] filefmt:6 fourcc:0x33564D57 size:320x240 fps:1000.00 ftime:=0.0010
Clip info:
name:
author:
copyright:
comments:
get_path('sub/') -> '/home/thewyrm/.mplayer/sub/'
get_path('default.sub') -> '/home/thewyrm/.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: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 8005->176400 (64.0 kbit)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (ffmpeg))
==========================================================================
X11 opening display: :0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP X atoms
==========================================================================
Opening video decoder: [dmo] DMO video codecs
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1085353856 (LWP 23077)]
0x006ba49a in do_lookup_versioned () from /lib/ld-linux.so.2
(gdb) bt
#0 0x006ba49a in do_lookup_versioned () from /lib/ld-linux.so.2
#1 0x006b960f in _dl_lookup_versioned_symbol_internal ()
from /lib/ld-linux.so.2
#2 0x006bd2fe in fixup () from /lib/ld-linux.so.2
#3 0x006bd470 in _dl_runtime_resolve () from /lib/ld-linux.so.2
#4 0x0813b598 in UnmapViewOfFile (handle=0x1f0) at ext.c:430
#5 0x081468a0 in PE_LoadImage (handle=10,
filename=0xbfea2ec0 "/usr/local/lib/codecs/wmv9dmod.dll",
version=0x1cfe9) at pe_image.c:665
#6 0x08146c11 in PE_LoadLibraryExA (
name=0x1cfe9 <Address 0x1cfe9 out of bounds>, flags=118761)
at pe_image.c:842
#7 0x0813a444 in MODULE_LoadLibraryExA (
libname=0x1cfe9 <Address 0x1cfe9 out of bounds>, hfile=0,
flags=118761) at module.c:302
#8 0x0813a9d6 in LoadLibraryExA (libname=0x8378644 "wmv9dmod.dll",
hfile=0, flags=0) at module.c:399
#9 0x0813aa81 in LoadLibraryA (
libname=0x1cfe9 <Address 0x1cfe9 out of bounds>) at module.c:537
#10 0x0814dd73 in DMO_FilterCreate (
dllname=0x1cfe9 <Address 0x1cfe9 out of bounds>, id=0x1cfe9,
in_fmt=0x21, out_fmt=0x1cfe9) at dmo.c:54
#11 0x0814cf7e in DMO_VideoDecoder_Open (
---Type <return> to continue, or q <return> to quit---
dllname=0x1cfe9 <Address 0x1cfe9 out of bounds>, guid=0x1cfe9,
format=0x8c01cfc, flip=0, maxauto=118761) at DMO_VideoDecoder.c:187
#12 0x080e5fcf in init (sh=0x8bbd750) at vd_dmo.c:33
#13 0x080df637 in init_video (sh_video=0x8bbd750, codecname=0x0,
vfm=0x0, status=1) at dec_video.c:237
#14 0x080df8e4 in init_best_video_codec (sh_video=0x8bbd750,
video_codec_list=0xbfea3ba4, video_fm_list=0x0) at dec_video.c:283
#15 0x08074a05 in main (argc=3, argv=0xbfea5ff4) at mplayer.c:1741
(gdb)
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x6ba47a to 0x6ba4ba:
0x006ba47a <do_lookup_versioned+170>: add %al,(%eax)
0x006ba47c <do_lookup_versioned+172>: mov 0x168(%esi),%esi
0x006ba482 <do_lookup_versioned+178>: mov (%esi,%edx,4),%edi
0x006ba485 <do_lookup_versioned+181>: test %edi,%edi
0x006ba487 <do_lookup_versioned+183>: je 0x6ba4c5 <do_lookup_versioned+245>
0x006ba489 <do_lookup_versioned+185>: lea 0x0(%esi,1),%esi
0x006ba490 <do_lookup_versioned+192>: mov 0xffffffe4(%ebp),%esi
0x006ba493 <do_lookup_versioned+195>: mov %edi,%ecx
0x006ba495 <do_lookup_versioned+197>: shl $0x4,%ecx
0x006ba498 <do_lookup_versioned+200>: add %ecx,%esi
0x006ba49a <do_lookup_versioned+202>: mov 0x4(%esi),%eax
0x006ba49d <do_lookup_versioned+205>: test %eax,%eax
0x006ba49f <do_lookup_versioned+207>: jne 0x6ba542 <do_lookup_versioned+370>
0x006ba4a5 <do_lookup_versioned+213>: movzbl 0xc(%esi),%edx
0x006ba4a9 <do_lookup_versioned+217>: and $0xf,%edx
0x006ba4ac <do_lookup_versioned+220>: cmp $0x6,%edx
0x006ba4af <do_lookup_versioned+223>: je 0x6ba542 <do_lookup_versioned+370>
0x006ba4b5 <do_lookup_versioned+229>: mov 0xffffffe8(%ebp),%eax
0x006ba4b8 <do_lookup_versioned+232>: mov 0x16c(%eax),%esi
---Type <return> to continue, or q <return> to quit---
End of assembler dump.
(gdb) info all-registers
eax 0x1cfe9 118761
ecx 0x1f0 496
edx 0x21 33
ebx 0x6c6508 7103752
esp 0xbfea2c9c 0xbfea2c9c
ebp 0xbfea2cd4 0xbfea2cd4
esi 0x53d804f0 1406665968
edi 0x1f 31
eip 0x6ba49a 0x6ba49a
eflags 0x210206 2163206
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x8f 143
gs 0x33 51
st0 -nan(0x84a800c2a404244d) (raw 0xffff84a800c2a404244d)
st1 -nan(0x6320042080994c02) (raw 0xffff6320042080994c02)
st2 -nan(0x91e74e1c80db7331) (raw 0xffff91e74e1c80db7331)
st3 -nan(0xbd798ea725c5f5e6) (raw 0xffffbd798ea725c5f5e6)
st4 -nan(0xe727e292e3694971) (raw 0xffffe727e292e3694971)
st5 -nan(0xf8a5f3fff62765f9) (raw 0xfffff8a5f3fff62765f9)
st6 -nan(0xf2bbd58f8ca7297c) (raw 0xfffff2bbd58f8ca7297c)
---Type <return> to continue, or q <return> to quit---
st7 64.040000000000006252776074688881636 (raw 0x400580147ae147ae1800)
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 = {
---Type <return> to continue, or q <return> to quit---
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}
---Type <return> to continue, or q <return> to quit---
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 = 0x84a800c2a404244d, v2_int32 = {0xa404244d,
0x84a800c2}, v4_int16 = {0x244d, 0xa404, 0xc2, 0x84a8}, v8_int8 = {
0x4d, 0x24, 0x4, 0xa4, 0xc2, 0x0, 0xa8, 0x84}}
mm1 {uint64 = 0x6320042080994c02, v2_int32 = {0x80994c02,
0x63200420}, v4_int16 = {0x4c02, 0x8099, 0x420, 0x6320}, v8_int8 = {
0x2, 0x4c, 0x99, 0x80, 0x20, 0x4, 0x20, 0x63}}
mm2 {uint64 = 0x91e74e1c80db7331, v2_int32 = {0x80db7331,
0x91e74e1c}, v4_int16 = {0x7331, 0x80db, 0x4e1c, 0x91e7}, v8_int8 = {
0x31, 0x73, 0xdb, 0x80, 0x1c, 0x4e, 0xe7, 0x91}}
mm3 {uint64 = 0xbd798ea725c5f5e6, v2_int32 = {0x25c5f5e6,
---Type <return> to continue, or q <return> to quit---
0xbd798ea7}, v4_int16 = {0xf5e6, 0x25c5, 0x8ea7, 0xbd79}, v8_int8 = {
0xe6, 0xf5, 0xc5, 0x25, 0xa7, 0x8e, 0x79, 0xbd}}
mm4 {uint64 = 0xe727e292e3694971, v2_int32 = {0xe3694971,
0xe727e292}, v4_int16 = {0x4971, 0xe369, 0xe292, 0xe727}, v8_int8 = {
0x71, 0x49, 0x69, 0xe3, 0x92, 0xe2, 0x27, 0xe7}}
mm5 {uint64 = 0xf8a5f3fff62765f9, v2_int32 = {0xf62765f9,
0xf8a5f3ff}, v4_int16 = {0x65f9, 0xf627, 0xf3ff, 0xf8a5}, v8_int8 = {
0xf9, 0x65, 0x27, 0xf6, 0xff, 0xf3, 0xa5, 0xf8}}
mm6 {uint64 = 0xf2bbd58f8ca7297c, v2_int32 = {0x8ca7297c,
0xf2bbd58f}, v4_int16 = {0x297c, 0x8ca7, 0xd58f, 0xf2bb}, v8_int8 = {
0x7c, 0x29, 0xa7, 0x8c, 0x8f, 0xd5, 0xbb, 0xf2}}
mm7 {uint64 = 0x80147ae147ae1800, v2_int32 = {0x47ae1800,
0x80147ae1}, v4_int16 = {0x1800, 0x47ae, 0x7ae1, 0x8014}, v8_int8 = {
0x0, 0x18, 0xae, 0x47, 0xe1, 0x7a, 0x14, 0x80}}
(gdb)
(gdb) quit
More information about the MPlayer-users
mailing list