[MPlayer-users] SEGV when seeking

Martin Simmons vyslnqaaxytp at spammotel.com
Sun Jan 8 21:44:38 CET 2006


The movie plays fine, but mplayer always gets a SEGV when I hit the right
arrow key to seek forward.



Mandrake Linux release 9.1 (Bamboo) for i586
Kernel 2.4.21-0.13mdk on an i686
/lib/libc-2.3.1.so
gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
GNU ld version 2.13.90.0.18 20030121
GNU assembler 2.13.90.0.18 20030121
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 6
model		: 2
model name	: AMD Athlon(tm) Processor
stepping	: 1
cpu MHz		: 604.247
cache size	: 512 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips	: 1205.86
nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15) (prog-if 00 [VGA])
X built-in driver
Creative Labs SB Live! EMU10k1 (rev 07)



% gdb ./mplayer
GNU gdb 5.3-22mdk (Mandrake Linux)
Copyright 2002 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 "i586-mandrake-linux-gnu"...
gdb> r -v mms://ms.groovygecko.net/groovyg/clients/haymarket/WhatCar/Audi/new_Audi_A4_512k.wmv
Starting program: /home/martin/tmp/mplayer/cvs/main/mplayer -v mms://ms.groovygecko.net/groovyg/clients/haymarket/WhatCar/Audi/new_Audi_A4_512k.wmv
[New Thread 16384 (LWP 12967)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MPlayer dev-CVS-060107-23:55-3.2.2 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Athlon K75 Pluto,Orion (Family: 6, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx


get_path('codecs.conf') -> '/home/martin/.mplayer/codecs.conf'
Reading /home/martin/.mplayer/codecs.conf: Can't open '/home/martin/.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' 'mms://ms.groovygecko.net/groovyg/clients/haymarket/WhatCar/Audi/new_Audi_A4_512k.wmv'
init_freetype
get_path('font/font.desc') -> '/home/martin/.mplayer/font/font.desc'
font: can't open file: /home/martin/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Permission denied (it should be readable by the user.)
Using nanosleep() timing
get_path('input.conf') -> '/home/martin/.mplayer/input.conf'
Can't open input config file /home/martin/.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('new_Audi_A4_512k.wmv.conf') -> '/home/martin/.mplayer/new_Audi_A4_512k.wmv.conf'
Playing mms://ms.groovygecko.net/groovyg/clients/haymarket/WhatCar/Audi/new_Audi_A4_512k.wmv.
get_path('sub/') -> '/home/martin/.mplayer/sub/'
Filename for url is now mms://ms.groovygecko.net/groovyg/clients/haymarket/WhatCar/Audi/new_Audi_A4_512k.wmv
Filename for url is now mms://ms.groovygecko.net/groovyg/clients/haymarket/WhatCar/Audi/new_Audi_A4_512k.wmv
STREAM_ASF, URL: mms://ms.groovygecko.net/groovyg/clients/haymarket/WhatCar/Audi/new_Audi_A4_512k.wmv
Trying ASF/UDP...
  ===> ASF/UDP failed
Trying ASF/TCP...
Resolving ms.groovygecko.net for AF_INET...
Connecting to server ms.groovygecko.net[212.113.20.81]: 1755...
Connected
Unknown object
File object, packet length = 5800 (5800)
Unknown object
Unknown object
Unknown object
Stream object, stream id: 1
Stream object, stream id: 2
Unknown object
Data object
mmst packet_length = 5800
Cache size set to 64 KBytes
STREAM: [null] mms://ms.groovygecko.net/groovyg/clients/haymarket/WhatCar/Audi/new_Audi_A4_512k.wmv
STREAM: Description: mms and mms over http streaming
STREAM: Author: Bertrand, Reimar Doeffinger, Albeu
STREAM: Comment: originally based on work by Majormms (is that code still there?)
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  
Cache fill: 12.50% (8192 bytes)   
ASF file format detected.
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 28 bytes,  stream: 8 bytes  ID: 1
unk1: 0  unk2: 19B4FE00
FILEPOS=0x13F2
==> 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 -49
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 51 bytes,  stream: 0 bytes  ID: 2
unk1: 0  unk2: 0
FILEPOS=0x1464
==> Found video stream: 2
======= VIDEO Format ======
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 827739479='WMV1'
  biSizeImage 0
===========================
ASF: packets: 1980  flags: 2  max_packet_size: 5800  min_packet_size: 5800  max_bitrate: 472820  preroll: 3000

 Title: Audi A4

============ ASF Stream group == START ===
 stream count=[0x2][2]
   stream id=[0x1][1]
   max bitrate=[0x100c6][65734]
   stream id=[0x2][2]
   max bitrate=[0x6362e][407086]
============ ASF Stream group == END ===
Found movie at 0x14EF - 0xAF504F
ASF: 1 audio and 1 video streams found
Auto-selected ASF video ID = 2
Auto-selected ASF audio ID = 1
ASF: Searching for audio stream (id:1).
VIDEO:  [WMV1]  320x240  24bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:6  fourcc:0x31564D57  size:320x240  fps:1000.00  ftime:=0.0010
Clip info:
 name: Audi A4
get_path('sub/') -> '/home/martin/.mplayer/sub/'
get_path('default.sub') -> '/home/martin/.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, s16le, 64.0 kbit/4.54% (ratio: 8005->176400)
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 1600x1200 with depth 24 and 32 bpp (":0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours STAYS_ON_TOP X atoms
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffwmv1] vfm: ffmpeg (FFmpeg M$ WMV1/WMV7)
==========================================================================
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
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...

avg. framerate: 0 fps             
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (320x240->320x240,flags=0,'MPlayer',0x32315659)
VO: [x11] 320x240 => 320x240 Planar YV12 
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
Sharing memory.
SwScaler: using unscaled Planar YV12 -> BGRA special converter
*** [vo] Allocating (slices) mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
get_path('subfont.ttf') -> '/home/martin/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
*** [vo] Allocating (slices) mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
Stream not seekable!
Warning! plen>packetsize! (799064065>5800)  
ASF_parser: warning! segment len=799018898
ASF_parser: warning! segment len=-1261329880
ASF_parser: warning! segment len=-51566
Warning! plen>packetsize! (11000>5800)  
ASF_parser: warning! segment len=1399713380
Warning! plen>packetsize! (1969448599>5800)  
unknown segment type (rlen): 0x00  
ASF_parser: warning! segment len=1969448568
Warning! plen>packetsize! (9791>5800)  
ASF_parser: warning! segment len=-366635044
Warning! invalid packet 1, sig11 coming soon...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 12967)]
demux_asf_fill_buffer (demux=0x86348a8, ds=0x8635180) at demux_asf.c:268
268	              streamno=p[0]&0x7F;
gdb> bt
#0  demux_asf_fill_buffer (demux=0x86348a8, ds=0x8635180) at demux_asf.c:268
#1  0x08135e38 in demux_fill_buffer (demux=0x0, ds=0x0) at demuxer.c:332
#2  0x08135f16 in ds_fill_buffer (ds=0x8635180) at demuxer.c:381
#3  0x081392b3 in demux_seek_asf (demuxer=0x86348a8, rel_seek_secs=-nan(0x7a411b), flags=0x0) at demux_asf.c:395
#4  0x0813703c in demux_seek (demuxer=0x86348a8, rel_seek_secs=0, flags=0x0) at demuxer.c:859
#5  0x08077fba in main (argc=0x3, argv=0xbffff4c4) at mplayer.c:4187
#6  0x405d67f7 in __libc_start_main () from /lib/i686/libc.so.6
gdb> disass $pc-32 $pc+32
Dump of assembler code from 0x8138c75 to 0x8138cd9:
0x8138c75 <demux_asf_fill_buffer+645>:	add    %al,(%eax)
0x8138c77 <demux_asf_fill_buffer+647>:	mov    0xffffffb0(%ebp),%eax
0x8138c7a <demux_asf_fill_buffer+650>:	cmp    %eax,0xffffffa8(%ebp)
0x8138c7d <demux_asf_fill_buffer+653>:	jge    0x8138e45 <demux_asf_fill_buffer+1109>
0x8138c83 <demux_asf_fill_buffer+659>:	cmp    0xffffffd8(%ebp),%edi
0x8138c86 <demux_asf_fill_buffer+662>:	movl   $0x0,0xffffff94(%ebp)
0x8138c8d <demux_asf_fill_buffer+669>:	movl   $0x0,0xffffff90(%ebp)
0x8138c94 <demux_asf_fill_buffer+676>:	jae    0x8138ffd <demux_asf_fill_buffer+1549>
0x8138c9a <demux_asf_fill_buffer+682>:	cmpl   $0x1,0x8519ed8
0x8138ca1 <demux_asf_fill_buffer+689>:	jg     0x8138fbd <demux_asf_fill_buffer+1485>
0x8138ca7 <demux_asf_fill_buffer+695>:	movzbl (%edi),%eax
0x8138caa <demux_asf_fill_buffer+698>:	mov    %eax,%ebx
0x8138cac <demux_asf_fill_buffer+700>:	and    $0x7f,%bl
0x8138caf <demux_asf_fill_buffer+703>:	test   %al,%al
0x8138cb1 <demux_asf_fill_buffer+705>:	mov    $0x1,%eax
0x8138cb6 <demux_asf_fill_buffer+710>:	cmovns 0xffffff90(%ebp),%eax
0x8138cba <demux_asf_fill_buffer+714>:	inc    %edi
0x8138cbb <demux_asf_fill_buffer+715>:	mov    %eax,0xffffff90(%ebp)
0x8138cbe <demux_asf_fill_buffer+718>:	movzbl 0xffffffb8(%ebp),%eax
0x8138cc2 <demux_asf_fill_buffer+722>:	shr    $0x4,%al
0x8138cc5 <demux_asf_fill_buffer+725>:	and    $0x3,%eax
0x8138cc8 <demux_asf_fill_buffer+728>:	cmp    $0x2,%eax
0x8138ccb <demux_asf_fill_buffer+731>:	je     0x8138faf <demux_asf_fill_buffer+1471>
0x8138cd1 <demux_asf_fill_buffer+737>:	cmp    $0x2,%eax
0x8138cd4 <demux_asf_fill_buffer+740>:	jg     0x8138f99 <demux_asf_fill_buffer+1449>
End of assembler dump.
gdb> info all-registers
eax            0x0	0x0
ecx            0x0	0x0
edx            0x0	0x0
ebx            0x4a	0x4a
esp            0xbfffdf50	0xbfffdf50
ebp            0xbfffe008	0xbfffe008
esi            0xea2597dc	0xea2597dc
edi            0xf289010f	0xf289010f
eip            0x8138ca7	0x8138ca7
eflags         0x10246	0x10246
cs             0x23	0x23
ss             0x2b	0x2b
ds             0x2b	0x2b
es             0x2b	0x2b
fs             0x0	0x0
gs             0x7	0x7
st0            -nan(0x50502296a2843210)	(raw 0xffff50502296a2843210)
st1            -nan(0xba411bcb9648681d)	(raw 0xffffba411bcb9648681d)
st2            -1	(raw 0xbfff8000000000000000)
st3            0.0039999961853027345971767420648029789	(raw 0x3ff78312666666666873)
st4            142.69059963974086713278666138648987	(raw 0x40068eb0cb2353510000)
st5            10	(raw 0x4002a000000000000000)
st6            10.19008636474609375	(raw 0x4002a30a980000000000)
st7            101.9008636474609375	(raw 0x4005cbcd3e0000000000)
fctrl          0x37f	0x37f
fstat          0x20	0x20
ftag           0xffff	0xffff
fiseg          0x0	0x0
fioff          0x0	0x0
foseg          0x0	0x0
fooff          0x0	0x0
fop            0x0	0x0
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	0x1f80
orig_eax       0xffffffff	0xffffffff
mm0            {uint64 = 0x50502296a2843210, v2_int32 = {0xa2843210, 0x50502296}, v4_int16 = {0x3210, 0xa284, 0x2296, 0x5050}, v8_int8 = {0x10, 0x32, 0x84, 0xa2, 0x96, 0x22, 0x50, 0x50}}
mm1            {uint64 = 0xba411bcb9648681d, v2_int32 = {0x9648681d, 0xba411bcb}, v4_int16 = {0x681d, 0x9648, 0x1bcb, 0xba41}, v8_int8 = {0x1d, 0x68, 0x48, 0x96, 0xcb, 0x1b, 0x41, 0xba}}
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 = 0x8312666666666873, v2_int32 = {0x66666873, 0x83126666}, v4_int16 = {0x6873, 0x6666, 0x6666, 0x8312}, v8_int8 = {0x73, 0x68, 0x66, 0x66, 0x66, 0x66, 0x12, 0x83}}
mm4            {uint64 = 0x8eb0cb2353510000, v2_int32 = {0x53510000, 0x8eb0cb23}, v4_int16 = {0x0, 0x5351, 0xcb23, 0x8eb0}, v8_int8 = {0x0, 0x0, 0x51, 0x53, 0x23, 0xcb, 0xb0, 0x8e}}
mm5            {uint64 = 0xa000000000000000, v2_int32 = {0x0, 0xa0000000}, v4_int16 = {0x0, 0x0, 0x0, 0xa000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xa0}}
mm6            {uint64 = 0xa30a980000000000, v2_int32 = {0x0, 0xa30a9800}, v4_int16 = {0x0, 0x0, 0x9800, 0xa30a}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x98, 0xa, 0xa3}}
mm7            {uint64 = 0xcbcd3e0000000000, v2_int32 = {0x0, 0xcbcd3e00}, v4_int16 = {0x0, 0x0, 0x3e00, 0xcbcd}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x3e, 0xcd, 0xcb}}
gdb> 

__Martin




More information about the MPlayer-users mailing list