[MPlayer-users] Segmentation fault when using mplayer
Bingrui Foo
foob at purdue.edu
Thu Mar 4 03:14:56 CET 2004
Hi,
I ran mplayer on 2 .avi and a .wmv and I have been getting seg faults.
This has never happened.
Any help will be greatly appreciated.
This is output from gdb:
type: 28 bytes, stream: 8 bytes ID: 1
unk1: 0 unk2: 21DFCE4
FILEPOS=0xA73
==> 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: 2A0D108
FILEPOS=0xAE5
==> 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]
[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=[0x6f455][455765]
============ ASF Stream group == END ===
Found movie at 0xB74 - 0x49F874
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
Clip info:
name:
author:
copyright:
comments:
get_path('sub/') -> '/home/foob/.mplayer/sub/'
get_path('default.sub') -> '/home/foob/.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.0
vo: X11 color mask: FFFF (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local
display)
[x11] Detected wm supports layers.
[x11] Current fstype setting honours LAYER X atoms
==========================================================================
Opening video decoder: [dmo] DMO video codecs
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1084456832 (LWP 8352)]
0x00bd943a in do_lookup_versioned () from /lib/ld-linux.so.2
#0 0x00bd943a in do_lookup_versioned () from /lib/ld-linux.so.2
#1 0x00bd85af in _dl_lookup_versioned_symbol_internal ()
from /lib/ld-linux.so.2
#2 0x00bdc29e in fixup () from /lib/ld-linux.so.2
#3 0x00bdc410 in _dl_runtime_resolve () from /lib/ld-linux.so.2
#4 0x0811f050 in FILE_dommap (unix_handle=12, start=0x401000,
size_high=0,
size_low=673280, offset_high=0, offset_low=1024, prot=7, flags=1024)
at ext.c:315
#5 0x0812a6f5 in PE_LoadImage (handle=11,
filename=0xbfe7e3c0 "/usr/local/lib/codecs/wmv9dmod.dll",
version=0x762f8)
at pe_image.c:634
#6 0x0812aa10 in PE_LoadLibraryExA (
name=0x762f8 <Address 0x762f8 out of bounds>, flags=484088)
at pe_image.c:842
#7 0x0811e294 in MODULE_LoadLibraryExA (
libname=0x762f8 <Address 0x762f8 out of bounds>, hfile=0,
flags=484088)
at module.c:302
#8 0x0811e6d7 in LoadLibraryExA (libname=0x82fcfe2 "wmv9dmod.dll",
hfile=0,
flags=0) at module.c:399
#9 0x0811e78d in LoadLibraryA (
libname=0x762f8 <Address 0x762f8 out of bounds>) at module.c:504
#10 0x08131ba3 in DMO_FilterCreate (
dllname=0x762f8 <Address 0x762f8 out of bounds>, id=0x762f8,
in_fmt=0x1c,
out_fmt=0x762f8) at dmo.c:54
#11 0x08130d8d in DMO_VideoDecoder_Open (
dllname=0x762f8 <Address 0x762f8 out of bounds>, guid=0x762f8,
format=0x9c17c8c, flip=0, maxauto=484088) at DMO_VideoDecoder.c:187
#12 0x080ca19b in init (sh=0x9bbc558) at vd_dmo.c:33
#13 0x080c27b7 in init_video (sh_video=0x9bbc558, codecname=0x0, vfm=0x0,
status=1) at dec_video.c:232
#14 0x080c2a5f in init_best_video_codec (sh_video=0x9bbc558,
video_codec_list=0xbfe7f0a4, video_fm_list=0x0) at dec_video.c:278
#15 0x08071b3c in main (argc=3, argv=0xbfe804e4) at mplayer.c:1737
Dump of assembler code from 0xbd941a to 0xbd945a:
0x00bd941a <do_lookup_versioned+170>: add %al,(%eax)
0x00bd941c <do_lookup_versioned+172>: mov 0x168(%esi),%esi
0x00bd9422 <do_lookup_versioned+178>: mov (%esi,%edx,4),%edi
0x00bd9425 <do_lookup_versioned+181>: test %edi,%edi
0x00bd9427 <do_lookup_versioned+183>: je 0xbd9465
<do_lookup_versioned+245>
0x00bd9429 <do_lookup_versioned+185>: lea 0x0(%esi,1),%esi
0x00bd9430 <do_lookup_versioned+192>: mov 0xffffffe4(%ebp),%esi
0x00bd9433 <do_lookup_versioned+195>: mov %edi,%ecx
0x00bd9435 <do_lookup_versioned+197>: shl $0x4,%ecx
0x00bd9438 <do_lookup_versioned+200>: add %ecx,%esi
0x00bd943a <do_lookup_versioned+202>: mov 0x4(%esi),%eax
0x00bd943d <do_lookup_versioned+205>: test %eax,%eax
0x00bd943f <do_lookup_versioned+207>: jne 0xbd94e2
<do_lookup_versioned+370>
0x00bd9445 <do_lookup_versioned+213>: movzbl 0xc(%esi),%edx
0x00bd9449 <do_lookup_versioned+217>: and $0xf,%edx
0x00bd944c <do_lookup_versioned+220>: cmp $0x6,%edx
0x00bd944f <do_lookup_versioned+223>: je 0xbd94e2
<do_lookup_versioned+370>
0x00bd9455 <do_lookup_versioned+229>: mov 0xffffffe8(%ebp),%eax
0x00bd9458 <do_lookup_versioned+232>: mov 0x16c(%eax),%esi
(gdb) info all-registers
eax 0x762f8 484088
ecx 0xca38c0d0 -902250288
edx 0x1c 28
ebx 0xbe5504 12473604
esp 0xbfe7e17c 0xbfe7e17c
ebp 0xbfe7e1b4 0xbfe7e1b4
esi 0xb538c0d0 -1254571824
edi 0x4ca38c0d 1285786637
eip 0xbd943a 0xbd943a
eflags 0x210283 2163331
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x8f 143
gs 0x33 51
st0 0 (raw 0x00000000000000000000)
st1 0 (raw 0x00000000000000000000)
st2 742.08489990234375 (raw 0x4008b9856f0000000000)
st3 -684.26318359375 (raw 0xc008ab10d80000000000)
st4 -0.99606529647402197724659345112740993 (raw
0xbffefefe22a109560000)
st5 0.91845395442254584850161336362361908 (raw
0x3ffeeb1fcc6120700000)
st6 -685.2586371112641572267420997377485 (raw
0xc008ab508d82ab9a5580)
st7 64.040000000000006252776074688881636 (raw
0x400580147ae147ae1800)
fctrl 0x37f 895
fstat 0x20 32
ftag 0xffff 65535
fiseg 0x23 35
fioff 0xc31c64 12786788
foseg 0x2b 43
fooff 0xbfe7db9c -1075324004
fop 0x55c 1372
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 = {
---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}
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 = 0xb9856f0000000000, v2_int32 = {0x0, 0xb9856f00},
v4_int16 = {0x0, 0x0, 0x6f00, 0xb985}, v8_int8 = {0x0, 0x0, 0x0, 0x0,
0x0,
0x6f, 0x85, 0xb9}}
mm3 {uint64 = 0xab10d80000000000, v2_int32 = {0x0, 0xab10d800},
v4_int16 = {0x0, 0x0, 0xd800, 0xab10}, v8_int8 = {0x0, 0x0, 0x0, 0x0,
0x0,
0xd8, 0x10, 0xab}}
mm4 {uint64 = 0xfefe22a109560000, v2_int32 = {0x9560000,
0xfefe22a1}, v4_int16 = {0x0, 0x956, 0x22a1, 0xfefe}, v8_int8 = {0x0,
0x0, 0x56, 0x9, 0xa1, 0x22, 0xfe, 0xfe}}
mm5 {uint64 = 0xeb1fcc6120700000, v2_int32 = {0x20700000,
0xeb1fcc61}, v4_int16 = {0x0, 0x2070, 0xcc61, 0xeb1f}, v8_int8 = {0x0,
0x0, 0x70, 0x20, 0x61, 0xcc, 0x1f, 0xeb}}
mm6 {uint64 = 0xab508d82ab9a5580, v2_int32 = {0xab9a5580,
0xab508d82}, v4_int16 = {0x5580, 0xab9a, 0x8d82, 0xab50}, v8_int8 =
{0x80,
0x55, 0x9a, 0xab, 0x82, 0x8d, 0x50, 0xab}}
mm7 {uint64 = 0x80147ae147ae1800, v2_int32 = {0x47ae1800,
0x80147ae1}, v4_int16 = {0x1800, 0x47ae, 0x7ae1, 0x8014}, v8_int8 =
{0x0,
0x18, 0xae, 0x47, 0xe1, 0x7a, 0x14, 0x80}}
(gdb) quit
More information about the MPlayer-users
mailing list