Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#113 closed defect (worksforme)

When compiled with MMX support DVD's don't play

Reported by: drscotsman@… Owned by: r_togni@…
Priority: normal Component: vd
Version: 1.0pre5 Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

When compiling mplayer with MMX supports, mplayer doesn't play.

GDB output:

GNU gdb 6.2.1
Copyright 2004 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 "i686-pc-linux-gnu"...(no debugging symbols
found)...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) u run -v -vo xv -hardframedrop -dev vd-device /dev/cdroms/cdrom
0 dvd://
Starting program: /usr/bin/mplayer -v -vo xv -hardframedrop -dvd-device
/dev/cdroms/cdrom0 dvd://
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...[Thread debugging using libthread_db
enabled]
[New Thread -1219754736 (LWP 28221)]
MPlayer 1.0pre5-3.4.1 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron Covington/Pentium? II Deschutes,Tonga/Pentium? II Xeon 267.8
MHz (Family: 6, Stepping: 2)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /home/ryan/.mplayer/config

Reading /home/ryan/.mplayer/codecs.conf: Can't open
'/home/ryan/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 73 audio & 180 video codecs
CommandLine?: '-v' '-vo' 'xv' '-hardframedrop' '-dvd-device' '/dev/cdroms/cdrom0'
'dvd://'
init_freetype
get_path('font/font.desc') -> '/home/ryan/.mplayer/font/font.desc'
font: can't open file: /home/ryan/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX Optimized OnScreenDisplay?
Using usleep() timing
get_path('input.conf') -> '/home/ryan/.mplayer/input.conf'
Can't open input config file /home/ryan/.mplayer/input.conf: No such file or
directory
Parsing input config file /usr/share/mplayer/input.conf
Input config file /usr/share/mplayer/input.conf parsed: 53 binds
get_path('.conf') -> '/home/ryan/.mplayer/.conf'

Playing dvd://.
get_path('DVDKeys') -> '/home/ryan/.mplayer/DVDKeys'
Reading disc structure, please wait...
There are 1 titles on this DVD.
There are 1 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (stereo) language: unknown aid: 128
[open] number of audio channels on disk: 1.
[open] number of subtitles on disk: 0
DVD start cell: 0 pack: 0x0-0x1749
DVD start=0 end=5961
Detaching after fork from child process 28224.
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0

Cache fill: 0.00% (0 bytes)
Cache fill: 0.78% (65536 bytes)
Cache fill: 10.35% (868352 bytes) Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x85cf1f8
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x85cf1f8
Checking for Nullsoft Streaming Video
DEMUXER: freeing demuxer at 0x85cf1f8
Checking for NuppelVideo?
DEMUXER: freeing demuxer at 0x85cf1f8
Checking for REAL
DEMUXER: freeing demuxer at 0x85cf1f8
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x85cf1f8
DEMUXER: freeing demuxer at 0x85cfb98
DEMUXER: freeing demuxer at 0x85cfb98
Searching demuxer type for filename dvd:// ext: (null)
Checking for MOV
DEMUXER: freeing demuxer at 0x85cfb98
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x85cfb98
DEMUXER: freeing demuxer at 0x85cfb98
DEMUXER: freeing demuxer at 0x85cfb98
DEMUXER: freeing demuxer at 0x85cfb98
DEMUXER: freeing demuxer at 0x85cfb98
DEMUXER: freeing demuxer at 0x85cfb98
DEMUXER: freeing demuxer at 0x85cfb98
Checking for PVA
DEMUXER: freeing demuxer at 0x85cfb98
Checking for MPEG-TS...
TRIED UP TO POSITION 68072, FOUND 47, packet_size= 0, SEEMS A TS? 0
DEMUXER: freeing demuxer at 0x85cfb98
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
DEMUXER: freeing demuxer at 0x85cfb98
system stream synced at 0xD (0)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 7000.0 kbps (875.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/home/ryan/.mplayer/sub/'
get_path('default.sub') -> '/home/ryan/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
No accelerated IMDCT transform found
AC3: 2.0 (stereo) 48000 Hz 384.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0x2
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 48000->192000 (384.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask: FFFF (R:F800 G:7E0 B:1F)
vo: X11 running at 800x600 with depth 16 and 16 bpp (":0.0" => local display)
[x11] Unknown wm type...
[x11] Current fstype setting doesn't honour any X atoms
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale? params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: compiled for ALSA-1.0.6
alsa-init: setup for 1/2 channel(s)
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: default
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65572
alsa: 48000 Hz/2 channels/4 bpf/65572 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy@…>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
Starting playback...
alsa-space: free space = 65572, prepared --
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x480->720x540,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x480 => 720x540 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel@…> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x35315652 (RV15) packed
Xvideo image format: 0x36315652 (RV16) packed
using Xvideo port 84 for hw scaling
[xv] dx: 0 dy: 0 dw: 720 dh: 540
* [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
[xv] dx: 0 dy: 0 dw: 720 dh: 540
A: 0.6 V: 0.0 A-V: 0.605 ct: 0.000 1/ 1 0% 0% 0.0% 0 0 83%
alsa-space: xrun of at least 1826.689 msecs. resetting stream
alsa-space: free space = 0, xrun --
A: 0.6 V: 0.1 A-V: 0.571 ct: 0.003 2/ 2 0% 0% 0.0% 1 0 83%
alsa-space: free space = 65572, prepared --
A: 0.6 V: 0.1 A-V: 0.524 ct: 0.007 3/ 3 0% 0% 0.0% 2 0 89%
A: 0.6 V: 0.3 A-V: 0.279 ct: 0.010 4/ 4 0% 0% 0.0% 3 0 89%
A: 0.6 V: 0.4 A-V: 0.248 ct: 0.013 5/ 5 0% 0% 0.0% 4 0 89%
* [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1219754736 (LWP 28221)]
0x081536e7 in mpeg2_set_buf ()
(gdb) bt
#0 0x081536e7 in mpeg2_set_buf ()
#1 0x00000004 in ?? ()
#2 0x00000000 in ?? ()
#3 0x000002d0 in ?? ()
#4 0x085f8758 in ?? ()
#5 0x00000003 in ?? ()
#6 0x080f492e in mpcodecs_draw_slice ()
#7 0x08628f60 in ?? ()
#8 0x085f8778 in ?? ()
#9 0x085f8758 in ?? ()
#10 0x000002d0 in ?? ()
#11 0x000001e0 in ?? ()
#12 0xbfffd510 in ?? ()
#13 0x00000000 in ?? ()
#14 0xa6bbd38c in ?? ()
#15 0x0847e9d8 in mpcodecs_vd_sgi ()
#16 0x00007200 in ?? ()
#17 0x00000000 in ?? ()
#18 0x080f2512 in decode_video ()
#19 0x085d2598 in ?? ()
#20 0xb6a3c008 in ?? ()
#21 0x00007200 in ?? ()
#22 0x00000000 in ?? ()
#23 0x08631b68 in ?? ()
#24 0x08633f48 in ?? ()
#25 0x00000161 in ?? ()
#26 0xb6a3c008 in ?? ()
#27 0x00000000 in ?? ()
#28 0x0839ef3e in _IO_stdin_used ()
#29 0xbffff8c8 in ?? ()
#30 0x08074bbf in main ()
(gdb)
#0 0x081536e7 in mpeg2_set_buf ()
#1 0x00000004 in ?? ()
#2 0x00000000 in ?? ()
#3 0x000002d0 in ?? ()
#4 0x085f8758 in ?? ()
#5 0x00000003 in ?? ()
#6 0x080f492e in mpcodecs_draw_slice ()
#7 0x08628f60 in ?? ()
#8 0x085f8778 in ?? ()
#9 0x085f8758 in ?? ()
#10 0x000002d0 in ?? ()
#11 0x000001e0 in ?? ()
#12 0xbfffd510 in ?? ()
#13 0x00000000 in ?? ()
#14 0xa6bbd38c in ?? ()
#15 0x0847e9d8 in mpcodecs_vd_sgi ()
#16 0x00007200 in ?? ()
#17 0x00000000 in ?? ()
#18 0x080f2512 in decode_video ()
#19 0x085d2598 in ?? ()
#20 0xb6a3c008 in ?? ()
#21 0x00007200 in ?? ()
#22 0x00000000 in ?? ()
#23 0x08631b68 in ?? ()
#24 0x08633f48 in ?? ()
#25 0x00000161 in ?? ()
#26 0xb6a3c008 in ?? ()
#27 0x00000000 in ?? ()
#28 0x0839ef3e in _IO_stdin_used ()
#29 0xbffff8c8 in ?? ()
#30 0x08074bbf in main ()
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x81536c7 to 0x8153707:
0x081536c7 <mpeg2_set_buf+55>: push %es
0x081536c8 <mpeg2_set_buf+56>: test %ecx,%ecx
0x081536ca <mpeg2_set_buf+58>: mov %eax,(%edx)
0x081536cc <mpeg2_set_buf+60>: mov 0x4(%esi),%eax
0x081536cf <mpeg2_set_buf+63>: mov %eax,0x4(%edx)
0x081536d2 <mpeg2_set_buf+66>: mov 0x8(%esi),%eax
0x081536d5 <mpeg2_set_buf+69>: mov %eax,0x8(%edx)
0x081536d8 <mpeg2_set_buf+72>: mov 0x28(%esp),%eax
0x081536dc <mpeg2_set_buf+76>: mov %eax,0xc(%edx)
0x081536df <mpeg2_set_buf+79>: je 0x8153710 <mpeg2_set_buf+128>
0x081536e1 <mpeg2_set_buf+81>: mov 0x398(%ebx),%edx
0x081536e7 <mpeg2_set_buf+87>: mov (%edx),%ebx
0x081536e9 <mpeg2_set_buf+89>: test %ebx,%ebx
0x081536eb <mpeg2_set_buf+91>: jne 0x8153710 <mpeg2_set_buf+128>
0x081536ed <mpeg2_set_buf+93>: movl $0x0,0xc(%edx)
0x081536f4 <mpeg2_set_buf+100>: mov (%esi),%ebx
0x081536f6 <mpeg2_set_buf+102>: mov %ebx,(%edx)
0x081536f8 <mpeg2_set_buf+104>: mov 0x4(%esi),%eax
0x081536fb <mpeg2_set_buf+107>: mov %eax,0x4(%edx)
0x081536fe <mpeg2_set_buf+110>: mov 0x8(%esi),%ecx
0x08153701 <mpeg2_set_buf+113>: mov %ecx,0x8(%edx)
0x08153704 <mpeg2_set_buf+116>: lea 0x0(%esi),%esi
End of assembler dump.
(gdb) info all-e register
eax 0x85f8758 140478296
ecx 0x1 1
edx 0x0 0
ebx 0x8628f60 140676960
esp 0xbfffd4d0 0xbfffd4d0
ebp 0x862916c 0x862916c
esi 0x85f8778 140478328
edi 0x8628f60 140676960
eip 0x81536e7 0x81536e7
eflags 0x210202 2163202
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
st0 -nan(0xfbc00406fc1901bf) (raw 0xfffffbc00406fc1901bf)
st1 -nan(0xfa8e08ecfb4106e3) (raw 0xfffffa8e08ecfb4106e3)
st2 0.13346679508686065673828125 (raw 0x3ffc88ab850000000000)
st3 0.98469582128524780275128855389077387 (raw 0x3ffefc15067ced916873)
st4 0.24827495050430297850087985045419714 (raw 0x3ffcfe3bc9e353f7ced8)
st5 0 (raw 0x00000000000000000000)
st6 -0.2334667950868606622893963731257827 (raw 0xbffcef11eb6666666800)
st7 -0.19715907096862792969725781955236954 (raw 0xbffcc9e41147ae147ae2)
fctrl 0x37f 895
fstat 0x20 32
ftag 0xffff 65535
fiseg 0x73 115
fioff 0x8075a04 134699524
foseg 0x7b 123
fooff 0x83a0890 138021008
fop 0x5d8 1496
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 = {
---Type <return> to continue, or q <return> to quit---q q
0xff <repeatQuit
(gdb) info all-registers
eax 0x85f8758 140478296
ecx 0x1 1
edx 0x0 0
ebx 0x8628f60 140676960
esp 0xbfffd4d0 0xbfffd4d0
ebp 0x862916c 0x862916c
esi 0x85f8778 140478328
edi 0x8628f60 140676960
eip 0x81536e7 0x81536e7
eflags 0x210202 2163202
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
st0 -nan(0xfbc00406fc1901bf) (raw 0xfffffbc00406fc1901bf)
st1 -nan(0xfa8e08ecfb4106e3) (raw 0xfffffa8e08ecfb4106e3)
st2 0.13346679508686065673828125 (raw 0x3ffc88ab850000000000)
st3 0.98469582128524780275128855389077387 (raw 0x3ffefc15067ced916873)
st4 0.24827495050430297850087985045419714 (raw 0x3ffcfe3bc9e353f7ced8)
st5 0 (raw 0x00000000000000000000)
st6 -0.2334667950868606622893963731257827 (raw 0xbffcef11eb6666666800)
st7 -0.19715907096862792969725781955236954 (raw 0xbffcc9e41147ae147ae2)
fctrl 0x37f 895
fstat 0x20 32
ftag 0xffff 65535
fiseg 0x73 115
fioff 0x8075a04 134699524
foseg 0x7b 123
fooff 0x83a0890 138021008
fop 0x5d8 1496
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 = {
---Type <return> to continue, or q <return> to quit---

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 = 0xfbc00406fc1901bf, v2_int32 = {0xfc1901bf,
0xfbc00406}, v4_int16 = {0x1bf, 0xfc19, 0x406, 0xfbc0},

v8_int8 = {0xbf, 0x1, 0x19, 0xfc, 0x6, 0x4, 0xc0, 0xfb}}

mm1 {uint64 = 0xfa8e08ecfb4106e3, v2_int32 = {0xfb4106e3,
0xfa8e08ec}, v4_int16 = {0x6e3, 0xfb41, 0x8ec, 0xfa8e},

v8_int8 = {0xe3, 0x6, 0x41, 0xfb, 0xec, 0x8, 0x8e, 0xfa}}

mm2 {uint64 = 0x88ab850000000000, v2_int32 = {0x0, 0x88ab8500},
v4_int16 = {0x0, 0x0, 0x8500, 0x88ab}, v8_int8 = {

0x0, 0x0, 0x0, 0x0, 0x0, 0x85, 0xab, 0x88}}

mm3 {uint64 = 0xfc15067ced916873, v2_int32 = {0xed916873,
0xfc15067c}, v4_int16 = {0x6873, 0xed91, 0x67c, 0xfc15},

v8_int8 = {0x73, 0x68, 0x91, 0xed, 0x7c, 0x6, 0x15, 0xfc}}

mm4 {uint64 = 0xfe3bc9e353f7ced8, v2_int32 = {0x53f7ced8,
0xfe3bc9e3}, v4_int16 = {0xced8, 0x53f7, 0xc9e3,

0xfe3b}, v8_int8 = {0xd8, 0xce, 0xf7, 0x53, 0xe3, 0xc9, 0x3b, 0xfe}}

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 = 0xef11eb6666666800, v2_int32 = {0x66666800,
0xef11eb66}, v4_int16 = {0x6800, 0x6666, 0xeb66,

0xef11}, v8_int8 = {0x0, 0x68, 0x66, 0x66, 0x66, 0xeb, 0x11, 0xef}}

mm7 {uint64 = 0xc9e41147ae147ae2, v2_int32 = {0xae147ae2,
0xc9e41147}, v4_int16 = {0x7ae2, 0xae14, 0x1147,

0xc9e4}, v8_int8 = {0xe2, 0x7a, 0x14, 0xae, 0x47, 0x11, 0xe4, 0xc9}}

(gdb) Quit
The program is running. Exit anyway? (y or n) y

Distribution: Gentoo

Kernel version: Linux laptop 2.6.9-rc3 #5 Fri Oct 15 17:34:50 BST 2004 i686
Pentium II (Deschutes) GenuineIntel? GNU/Linux

libc-2.3.4
gcc version 3.4.1 20040803
GNU ld version 2.15.92.0.2 20040927
GNU assembler 2.15.92.0.2 20040927

CPU INFO:

processor : 0
vendor_id : GenuineIntel?
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 2
cpu MHz : 267.328
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
pse36 mmx fxsr
bogomips : 526.33

Using Neomagic Video card (NM2160 128XD?)

Using Cirrus Logic CS4237B ISA sound card

lspci -vv output:

0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge
(AGP disabled) (rev 02)

Control: I/O- Mem+ BusMaster?+ SpecCycle?- MemWINV- VGASnoop- ParErr?-

Stepping- SERR+ FastB2B-

Status: Cap- 66Mhz- UDF- FastB2B- ParErr?- DEVSEL=medium >TAbort-

<TAbort- <MAbort+ >SERR- <PERR+

Latency: 32
Region 0: Memory at d0000000 (32-bit, prefetchable)

0000:00:02.0 VGA compatible controller: Neomagic Corporation NM2160 [MagicGraph?
128XD] (rev 01) (prog-if 00 [VGA])

Subsystem: Dell MagicGraph? 128XD
Control: I/O+ Mem+ BusMaster?+ SpecCycle?- MemWINV- VGASnoop- ParErr?-

Stepping- SERR- FastB2B-

Status: Cap- 66Mhz- UDF- FastB2B+ ParErr?- DEVSEL=medium >TAbort-

<TAbort- <MAbort- >SERR- <PERR-

Latency: 32 (4000ns min, 63750ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at e0000000 (32-bit, prefetchable)
Region 1: Memory at fbe00000 (32-bit, non-prefetchable) [size=2M]
Region 2: Memory at fbd00000 (32-bit, non-prefetchable) [size=1M]

0000:00:03.0 CardBus? bridge: Texas Instruments PCI1131 (rev 01)

Subsystem: Dell: Unknown device 0074
Control: I/O- Mem- BusMaster?- SpecCycle?- MemWINV- VGASnoop- ParErr?-

Stepping- SERR- FastB2B-

Status: Cap- 66Mhz- UDF- FastB2B- ParErr?- DEVSEL=medium >TAbort-

<TAbort- <MAbort- >SERR- <PERR-

Interrupt: pin A routed to IRQ 11
Region 0: Memory at 10000000 (32-bit, non-prefetchable) [disabled]
Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
I/O window 0: 00000000-00000003 [disabled]
I/O window 1: 00000000-00000003 [disabled]
BridgeCtl?: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt- PostWrite?-
16-bit legacy interface ports at 0001

0000:00:03.1 CardBus? bridge: Texas Instruments PCI1131 (rev 01)

Subsystem: Dell: Unknown device 0074
Control: I/O- Mem- BusMaster?- SpecCycle?- MemWINV- VGASnoop- ParErr?-

Stepping- SERR- FastB2B-

Status: Cap- 66Mhz- UDF- FastB2B- ParErr?- DEVSEL=medium >TAbort-

<TAbort- <MAbort- >SERR- <PERR-

Interrupt: pin B routed to IRQ 11
Region 0: Memory at 10001000 (32-bit, non-prefetchable) [disabled]
Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
I/O window 0: 00000000-00000003 [disabled]
I/O window 1: 00000000-00000003 [disabled]
BridgeCtl?: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt- PostWrite?-
16-bit legacy interface ports at 0001

0000:00:07.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 01)

Control: I/O+ Mem+ BusMaster?+ SpecCycle?+ MemWINV- VGASnoop- ParErr?-

Stepping- SERR+ FastB2B-

Status: Cap- 66Mhz- UDF- FastB2B+ ParErr?- DEVSEL=medium >TAbort-

<TAbort- <MAbort- >SERR- <PERR-

Latency: 0

0000:00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
(prog-if 80 [Master])

Control: I/O+ Mem- BusMaster?+ SpecCycle?- MemWINV- VGASnoop- ParErr?-

Stepping- SERR- FastB2B-

Status: Cap- 66Mhz- UDF- FastB2B+ ParErr?- DEVSEL=medium >TAbort-

<TAbort- <MAbort- >SERR- <PERR-

Latency: 32
Region 4: I/O ports at 0860 [size=16]

0000:00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
(prog-if 00 [UHCI])

Control: I/O+ Mem- BusMaster?+ SpecCycle?- MemWINV- VGASnoop- ParErr?-

Stepping- SERR- FastB2B-

Status: Cap- 66Mhz- UDF- FastB2B+ ParErr?- DEVSEL=medium >TAbort-

<TAbort- <MAbort- >SERR- <PERR-

Latency: 32
Interrupt: pin D routed to IRQ 11
Region 4: I/O ports at ece0 [size=32]

0000:00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 01)

Control: I/O+ Mem+ BusMaster?- SpecCycle?- MemWINV- VGASnoop- ParErr?-

Stepping- SERR- FastB2B-

Status: Cap- 66Mhz- UDF- FastB2B+ ParErr?- DEVSEL=medium >TAbort-

<TAbort- <MAbort- >SERR- <PERR-

Interrupt: pin ? routed to IRQ 9

0000:00:11.0 PCI bridge: Digital Equipment Corporation DECchip 21150 (rev 06)
(prog-if 00 [Normal decode])

Control: I/O+ Mem+ BusMaster?+ SpecCycle?- MemWINV- VGASnoop- ParErr?-

Stepping- SERR+ FastB2B-

Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr?- DEVSEL=medium >TAbort-

<TAbort- <MAbort- >SERR- <PERR-

Latency: 32, cache line size 08
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 0000f000-0000ffff
Memory behind bridge: fd000000-feffffff
Expansion ROM at 0000f000 [disabled] [size=4K]
BridgeCtl?: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
Capabilities: [dc] Power Management version 1

Flags: PMEClk- DSI- D1- D2- AuxCurrent?=0mA

PME(D0-,D1-,D2-,D3hot-,D3cold-)

Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Bridge: PM- B3+

0000:01:05.0 IDE interface: Silicon Image, Inc. (formerly CMD Technology Inc)
PCI0646 (rev 07) (prog-if 8f [Master SecP SecO PriP PriO])

Subsystem: Silicon Image, Inc. (formerly CMD Technology Inc) PCI0646
Control: I/O+ Mem- BusMaster?+ SpecCycle?- MemWINV- VGASnoop- ParErr?-

Stepping- SERR- FastB2B-

Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr?- DEVSEL=medium >TAbort-

<TAbort- <MAbort- >SERR- <PERR-

Latency: 32 (500ns min, 1000ns max)
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at fcf8
Region 1: I/O ports at fcf0 [size=4]
Region 2: I/O ports at fce0 [size=8]
Region 3: I/O ports at fcd8 [size=4]
Region 4: I/O ports at fcc0 [size=16]
Capabilities: [60] Power Management version 1

Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent?=0mA

PME(D0-,D1-,D2-,D3hot-,D3cold-)

Status: D0 PME-Enable- DSel=0 DScale=3 PME-

0000:01:07.0 SCSI storage controller: Adaptec AIC-7880U (rev 02)

Subsystem: Adaptec AIC-7880P Ultra/Ultra? Wide SCSI Chipset
Control: I/O+ Mem+ BusMaster?+ SpecCycle?- MemWINV+ VGASnoop- ParErr?-

Stepping- SERR+ FastB2B-

Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr?- DEVSEL=medium >TAbort-

<TAbort- <MAbort- >SERR- <PERR-

Latency: 32 (2000ns min, 2000ns max), cache line size 08
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at f800 [size=fe000000]
Region 1: Memory at fdfff000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at 00010000 [disabled]
Capabilities: [dc] Power Management version 1

Flags: PMEClk- DSI- D1+ D2+ AuxCurrent?=0mA

PME(D0-,D1-,D2-,D3hot-,D3cold-)

Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:01:08.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)

Subsystem: Dell: Unknown device 00a8
Control: I/O+ Mem+ BusMaster?+ SpecCycle?- MemWINV+ VGASnoop- ParErr?-

Stepping- SERR+ FastB2B-

Status: Cap+ 66Mhz- UDF- FastB2B- ParErr?- DEVSEL=medium >TAbort-

<TAbort- <MAbort- >SERR- <PERR-

Latency: 32 (2500ns min, 2500ns max), cache line size 08
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at fc00 [size=fe000000]
Region 1: Memory at fdffec00 (32-bit, non-prefetchable) [size=128]
Expansion ROM at 00020000 [disabled]
Capabilities: [dc] Power Management version 2

Flags: PMEClk- DSI- D1+ D2+ AuxCurrent?=0mA

PME(D0+,D1+,D2+,D3hot+,D3cold+)

Status: D0 PME-Enable- DSel=0 DScale=2 PME-

Change History (5)

comment:1 Changed 15 years ago by reimar

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1219754736 (LWP 28221)]
0x081536e7 in mpeg2_set_buf ()
(gdb) bt
#0 0x081536e7 in mpeg2_set_buf ()
#1 0x00000004 in ?? ()
#2 0x00000000 in ?? ()
#3 0x000002d0 in ?? ()

[...]
That stackdump is broken for sure. No way MPlayer was executing code at address
0x00000000...
Did you ./configure --enable-debug && make distclean && make?
If not, please do so and provide a new backtrace.

comment:2 Changed 15 years ago by drscotsman@…

Sorry, using Gentoo I emerged mplayer but forgot to compile it with debug support.

Here's the proper gdb output:

Script started on Sun Oct 17 12:14:30 2004
]0;ryan@laptop:~bash-2.05b$ gdb mplayer
GNU gdb 6.2.1
Copyright 2004 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 "i686-pc-linux-gnu"...(no debugging symbols
found)...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run -v -vo xb v -hardframedrop -dvd-device /dev/cdroms/cdrom0 / dvd://1
Starting program: /usr/bin/mplayer -v -vo xv -hardframedrop -dvd-device
/dev/cdroms/cdrom0 dvd://1
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...[Thread debugging using libthread_db
enabled]
[New Thread -1219754736 (LWP 27113)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale

MPlayer 1.0pre5-3.4.1 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron Covington/Pentium? II Deschutes,Tonga/Pentium? II Xeon 378.2
MHz (Family: 6, Stepping: 2)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /home/ryan/.mplayer/config
Reading /home/ryan/.mplayer/codecs.conf: Can't open
'/home/ryan/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 73 audio & 180 video codecs
CommandLine?: '-v' '-vo' 'xv' '-hardframedrop' '-dvd-device' '/dev/cdroms/cdrom0'
'dvd://1'
init_freetype
get_path('font/font.desc') -> '/home/ryan/.mplayer/font/font.desc'
font: can't open file: /home/ryan/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX Optimized OnScreenDisplay?
Using usleep() timing
get_path('input.conf') -> '/home/ryan/.mplayer/input.conf'
Can't open input config file /home/ryan/.mplayer/input.conf: No such file or
directory
Parsing input config file /usr/share/mplayer/input.conf
Input config file /usr/share/mplayer/input.conf parsed: 53 binds
get_path('1.conf') -> '/home/ryan/.mplayer/1.conf'

Playing dvd://1.
get_path('DVDKeys') -> '/home/ryan/.mplayer/DVDKeys'
Reading disc structure, please wait...
There are 1 titles on this DVD.
There are 1 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (stereo) language: unknown aid: 128
[open] number of audio channels on disk: 1.
[open] number of subtitles on disk: 0
DVD start cell: 0 pack: 0x0-0x1749
DVD start=0 end=5961
Detaching after fork from child process 27116.
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0

Cache fill: 0.00% (0 bytes)
Cache fill: 2.15% (180224 bytes)
Cache fill: 10.35% (868352 bytes) Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x85670c8
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x85670c8
Checking for Nullsoft Streaming Video
DEMUXER: freeing demuxer at 0x85670c8
Checking for NuppelVideo?
DEMUXER: freeing demuxer at 0x85670c8
Checking for REAL
DEMUXER: freeing demuxer at 0x85670c8
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x85670c8
DEMUXER: freeing demuxer at 0x8567a68
DEMUXER: freeing demuxer at 0x8567a68
Searching demuxer type for filename dvd://1 ext: (null)
Checking for MOV
DEMUXER: freeing demuxer at 0x8567a68
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x8567a68
DEMUXER: freeing demuxer at 0x8567a68
DEMUXER: freeing demuxer at 0x8567a68
DEMUXER: freeing demuxer at 0x8567a68
DEMUXER: freeing demuxer at 0x8567a68
DEMUXER: freeing demuxer at 0x8567a68
DEMUXER: freeing demuxer at 0x8567a68
Checking for PVA
DEMUXER: freeing demuxer at 0x8567a68
Checking for MPEG-TS...
TRIED UP TO POSITION 68072, FOUND 47, packet_size= 0, SEEMS A TS? 0
DEMUXER: freeing demuxer at 0x8567a68
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
DEMUXER: freeing demuxer at 0x8567a68
system stream synced at 0xD (0)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 7000.0 kbps (875.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/home/ryan/.mplayer/sub/'
get_path('default.sub') -> '/home/ryan/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
No accelerated IMDCT transform found
AC3: 2.0 (stereo) 48000 Hz 384.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0x2
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 48000->192000 (384.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask: FFFF (R:F800 G:7E0 B:1F)
vo: X11 running at 800x600 with depth 16 and 16 bpp (":0.0" => local display)
[x11] Unknown wm type...
[x11] Current fstype setting doesn't honour any X atoms
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale? params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: compiled for ALSA-1.0.6
alsa-init: setup for 1/2 channel(s)
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: default
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65572
alsa: 48000 Hz/2 channels/4 bpf/65572 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy@…>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
Starting playback...
alsa-space: free space = 65572, prepared --
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x480->720x540,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x480 => 720x540 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel@…> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x35315652 (RV15) packed
Xvideo image format: 0x36315652 (RV16) packed
using Xvideo port 84 for hw scaling
[xv] dx: 0 dy: 0 dw: 720 dh: 540
[xv] dx: 0 dy: 0 dw: 720 dh: 540
A: 0.6 V: 0.0 A-V: 0.605 ct: 0.000 1/ 1 0% 0% 0.0% 1 0 80%
alsa-space: xrun of at least 2242.138 msecs. resetting stream
alsa-space: free space = 0, xrun --
A: 0.6 V: 0.1 A-V: 0.571 ct: 0.003 2/ 2 0% 0% 0.0% 2 0 80%
alsa-space: free space = 65572, prepared --
A: 0.6 V: 0.1 A-V: 0.524 ct: 0.007 3/ 3 0% 0% 0.0% 3 0 89%
A: 0.6 V: 0.3 A-V: 0.279 ct: 0.010 4/ 4 0% 0% 0.0% 4 0 89%
* [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1219754736 (LWP 27113)]
0x0813a457 in mpeg2_set_buf ()
(gdb) bt
#0 0x0813a457 in mpeg2_set_buf ()
#1 0x080ea67d in mpcodecs_draw_slice ()
#2 0x080e8393 in decode_video ()
#3 0x08075098 in main ()
(gdb) disass $-pc pc-32 $pc+32
Dump of assembler code from 0x813a437 to 0x813a477:
0x0813a437 <mpeg2_set_buf+55>: mov (%esi),%eax
0x0813a439 <mpeg2_set_buf+57>: test %ecx,%ecx
0x0813a43b <mpeg2_set_buf+59>: mov %eax,(%edx)
0x0813a43d <mpeg2_set_buf+61>: mov 0x4(%esi),%eax
0x0813a440 <mpeg2_set_buf+64>: mov %eax,0x4(%edx)
0x0813a443 <mpeg2_set_buf+67>: mov 0x8(%esi),%eax
0x0813a446 <mpeg2_set_buf+70>: mov %eax,0x8(%edx)
0x0813a449 <mpeg2_set_buf+73>: mov 0x10(%ebp),%eax
0x0813a44c <mpeg2_set_buf+76>: mov %eax,0xc(%edx)
0x0813a44f <mpeg2_set_buf+79>: je 0x813a480 <mpeg2_set_buf+128>
0x0813a451 <mpeg2_set_buf+81>: mov 0x398(%ebx),%edx
0x0813a457 <mpeg2_set_buf+87>: mov (%edx),%ecx
0x0813a459 <mpeg2_set_buf+89>: test %ecx,%ecx
0x0813a45b <mpeg2_set_buf+91>: jne 0x813a480 <mpeg2_set_buf+128>
0x0813a45d <mpeg2_set_buf+93>: movl $0x0,0xc(%edx)
0x0813a464 <mpeg2_set_buf+100>: mov (%esi),%eax
0x0813a466 <mpeg2_set_buf+102>: mov %eax,(%edx)
0x0813a468 <mpeg2_set_buf+104>: mov 0x4(%esi),%eax
---Type <return> to continue, or q <return> to quit---
0x0813a46b <mpeg2_set_buf+107>: mov %eax,0x4(%edx)
0x0813a46e <mpeg2_set_buf+110>: mov 0x8(%esi),%eax
0x0813a471 <mpeg2_set_buf+113>: mov %eax,0x8(%edx)
0x0813a474 <mpeg2_set_buf+116>: lea 0x0(%esi),%esi
End of assembler dump.
(gdb) info all-registers
eax 0x8588c48 140020808
ecx 0x1 1
edx 0x0 0
ebx 0x85c0e30 140250672
esp 0xbfffd540 0xbfffd540
ebp 0xbfffd558 0xbfffd558
esi 0x8588c68 140020840
edi 0x85c0e30 140250672
eip 0x813a457 0x813a457
eflags 0x210202 2163202
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
st0 -nan(0xfbc00406fc1901bf) (raw 0xfffffbc00406fc1901bf)
st1 -nan(0xfa8e08ecfb4106e3) (raw 0xfffffa8e08ecfb4106e3)
st2 0.100100100040435791015625 (raw 0x3ffbcd01480000000000)
---Type <return> to continue, or q <return> to quit---
st3 0.100100100040435791015625 (raw 0x3ffbcd01480000000000)
st4 0.100100100040435791015625 (raw 0x3ffbcd01480000000000)
st5 0 (raw 0x00000000000000000000)
st6 -0.2334667950868606622893963731257827 (raw 0xbffcef11eb6666666800)
st7 -0.22420994281768798827366058479260147 (raw 0xbffce5974a8f5c28f5c2)
fctrl 0x37f 895
fstat 0x20 32
ftag 0xffff 65535
fiseg 0x73 115
fioff 0x8075e97 134700695
foseg 0x7b 123
fooff 0x8336be0 137587680
fop 0x5d8 1496
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,

---Type <return> to continue, or q <return> to quit---

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,

---Type <return> to continue, or q <return> to quit---

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}

---Type <return> to continue, or q <return> to quit---
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 = 0xfbc00406fc1901bf, v2_int32 = {0xfc1901bf,

0xfbc00406}, v4_int16 = {0x1bf, 0xfc19, 0x406, 0xfbc0}, v8_int8 = {0xbf,
0x1, 0x19, 0xfc, 0x6, 0x4, 0xc0, 0xfb}}

mm1 {uint64 = 0xfa8e08ecfb4106e3, v2_int32 = {0xfb4106e3,

0xfa8e08ec}, v4_int16 = {0x6e3, 0xfb41, 0x8ec, 0xfa8e}, v8_int8 = {0xe3,
0x6, 0x41, 0xfb, 0xec, 0x8, 0x8e, 0xfa}}

mm2 {uint64 = 0xcd01480000000000, v2_int32 = {0x0, 0xcd014800},

v4_int16 = {0x0, 0x0, 0x4800, 0xcd01}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x48, 0x1, 0xcd}}

mm3 {uint64 = 0xcd01480000000000, v2_int32 = {0x0, 0xcd014800},

v4_int16

comment:3 Changed 15 years ago by diego@…

  • Owner changed from alex@… to r_togni@…

Mass reassign all vd bugs to Roberto, the new component owner.

comment:4 Changed 15 years ago by diego@…

(In reply to comment #0)

Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1

This is obsolete, libmpeg2 has since been upgraded, please retry with a current
CVS snapshot.

comment:5 Changed 14 years ago by reimar

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

No news on this, assuming this was fixed by the libmpeg2 update. If not reopen.

Note: See TracTickets for help on using tickets.