[MPlayer-users] crashing signal 11 in module decode_video/ aspect ration on svcd
Max Hofer
max-hofer at gmx.net
Mon Apr 22 01:29:01 CEST 2002
i have seen that someone already reported this bug but i didnt find any
answers about it. so i report the bug it again.
i use the latest cvs verison (from today). since i upgraded mplayer some VCSs
and SVCDs are not scaled to FS anymore but play in the 480x480 mode
(this i can fix manually with the -x,-y options but it's kinda unhandy).
main problem is that the using mplayer to read a vcd/svcd option does not
work in a proper way anymore. mplayer crashes with a signal 11 or if the svcd
is played, it is soo slow that i can't watch it anymore (audio/video out of
synch). i played those SVCDs a coupld weks ago on the same machine with an
older mplayer verison without any problems.
it didnt mather which video-output (mga, xmga, xv, x11) i used.
in the attachment are the files needed for the bugreport:
* log of mplayer -v output
* info about my system
* and gdb output
mfg Max
-------------- next part --------------
* Linux information:
Linux distro: Debian Sid
Kernel version: 2.4.18
libc: /lib/libc-2.2.5.so
Xversion: XFree86 Version 4.1.0.1 / X Window System
GNU ld version 2.12.90.0.1 20020307 Debian/GNU Linux
gcc version 2.95.4 20011002 (Debian prerelease)
GNU assembler 2.12.90.0.1 20020307 Debian/GNU Linux
* CPU Info:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 6
model name : Celeron (Mendocino)
stepping : 0
cpu MHz : 416.536
cache size : 128 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 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips : 830.66
Video Card: Matrox G200 Mystique AGP (8MB Ram)
Soundcard: Creative SB16 Vibra (ISA, PNP)
-------------- next part --------------
MPlayer CVS-020421-19:08-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
CPU vendor name: GenuineIntel max cpuid level: 2
CPU: Intel Celeron A Mendocino/Pentium II Dixon (Type: 6, Stepping: 0)
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile mplayer from sources with --disable-runtime-cpudetection
CommandLine:Reading /home/max/.mplayer/codecs.conf: 34 audio & 91 video codecs
get_path('font/font.desc') -> '/home/max/.mplayer/font/font.desc'
'-v' '-vcd' '2'
Linux RTC init error: Permission denied
Using usleep() timing
Font /home/max/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX Optimized OnScreenDisplay
get_path('input.conf') -> '/home/max/.mplayer/input.conf'
Parsing input config file /home/max/.mplayer/input.conf
Input config file /home/max/.mplayer/input.conf parsed : 50 binds
Playing VCD track 2
Can't open IFO file: No such file or directory
track 01: adr=1 ctrl=6 format=2 00:02:00 mode: 1
track 02: adr=1 ctrl=6 format=2 00:08:00 mode: 1
VCD start byte position: 0x1546E0 end: 0x2DDA55B4
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x82b6810
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x82b6810
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x82b6810
Checking for MOV
DEMUXER: freeing demuxer at 0x82b6810
Checking for VIVO
DEMUXER: freeing demuxer at 0x82b6810
header block 1 size: 0
Checking for REAL
DEMUXER: freeing demuxer at 0x82b6810
stream_seek: WARNING! Can't seek to 0x4 !
DEMUXER: freeing demuxer at 0x82b6810
DEMUXER: freeing demuxer at 0x82b6810
DEMUXER: freeing demuxer at 0x82b6810
DEMUXER: freeing demuxer at 0x82b6810
DEMUXER: freeing demuxer at 0x82b6810
system stream synced at 0x1546ED (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 0
Searching for sequence header... OK!
VIDEO: MPEG2 480x480 (aspect 2) 29.97 fps 2970.0 kbps (371.2 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:480x480 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/home/max/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: srate=44100 chans=2 bps=2 sfmt=0x10 ratio: 28000->176400
CPU vendor name: GenuineIntel max cpuid level: 2
CPU: Intel Celeron A Mendocino/Pentium II Dixon (Type: 6, Stepping: 0)
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
MPEG 1.0, Layer II, 44100 Hz 224 kbit Stereo, BPF: 731
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
==========================================================================
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 bits/pixel (":0.0" => local display)
Trying to force video codec driver family 5 ...
INFO: libavcodec init OK!
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx
Detected video codec: [ffmpeg12] drv:5 prio:0 (FFmpeg-1)
==========================================================================
AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Start playing...
ao2: 44100 Hz 2 chans Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536
A: 0.8 V: 0.8 A-V: -0.076 ct: 0.000 1/ 1 0% 0% 0.0% 0 0 0%
user_data: len= 14 10 0E FF FF ''
VDec: vo config request - 480 x 480, Planar YV12
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x437 (i=0)
Movie-Aspect is undefined - no prescaling applied.
video_out->init(480x480->480x480,flags=1,'MPlayer',0x32315659)
VO: [xv] 480x480 => 480x480 Planar YV12 fs
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
*** [vo] Exporting mp_image_t, 480x480x12bpp YUV planar, 345600 bytes
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 58 for hw scaling
[xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1280 dh: 1024
[xv-fs] dcx: 160 dcy: 0 dx: 160 dy: 0 dw: 960 dh: 1024
A: 0.8 V: 0.8 A-V: 0.027 ct: 0.003 2/ 2 0% 0% 0.0% 0 0 0%
A: 0.9 V: 1.0 A-V: -0.125 ct: -0.001 3/ 3 0% 0% 0.0% 0 0 0%
MPlayer interrupted by signal 11 in module: decode_video
- MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. For details, see DOCS/bugreports.html section 5.b.
- MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/bugreports.html and follow instructions there. We can't and won't help unless you provide these informations when reporting a possible bug.
*** free_stream() called ***
-------------- next part --------------
(gdb) run -v -nofs -vcd 2
Starting program: /home/max/download/software/source/MPlayer/main/mplayer -v -nofs -vcd 2
[New Thread 1024 (LWP 12166)]
MPlayer CVS-020421-19:08-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPU vendor name: GenuineIntel max cpuid level: 2
CPU: Intel Celeron A Mendocino/Pentium II Dixon (Type: 6, Stepping: 0)
CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile mplayer from sources with --disable-runtime-cpudetection
/etc/mplayer.conf(11): option: vo
/etc/mplayer.conf(11): parameter: xv
/etc/mplayer.conf(14): option: fs
/etc/mplayer.conf(14): parameter: yes
/etc/mplayer.conf(17): option: fsmode
/etc/mplayer.conf(17): parameter: 1
/etc/mplayer.conf(19): option: vm
/etc/mplayer.conf(19): parameter: no
/etc/mplayer.conf(27): option: osdlevel
/etc/mplayer.conf(27): parameter: 1
/etc/mplayer.conf(29): option: zoom
/etc/mplayer.conf(29): parameter: no
/etc/mplayer.conf(32): option: cdrom-device
/etc/mplayer.conf(32): parameter: /dev/scd1
/etc/mplayer.conf(46): option: sound
/etc/mplayer.conf(46): parameter: 1
/etc/mplayer.conf(47): option: nosound
/etc/mplayer.conf(47): parameter: nein
/etc/mplayer.conf(48): option: mixer
/etc/mplayer.conf(48): parameter: /dev/mixer
/etc/mplayer.conf(58): option: ffactor
/etc/mplayer.conf(58): parameter: 0.75
/etc/mplayer.conf(79): option: vfm
/etc/mplayer.conf(79): parameter: 5
/home/max/.mplayer/config(11): option: vo
/home/max/.mplayer/config(11): parameter: xv
/home/max/.mplayer/config(14): option: fs
/home/max/.mplayer/config(14): parameter: yes
/home/max/.mplayer/config(17): option: fsmode
/home/max/.mplayer/config(17): parameter: 1
/home/max/.mplayer/config(19): option: vm
/home/max/.mplayer/config(19): parameter: no
/home/max/.mplayer/config(27): option: osdlevel
/home/max/.mplayer/config(27): parameter: 1
/home/max/.mplayer/config(29): option: zoom
/home/max/.mplayer/config(29): parameter: no
/home/max/.mplayer/config(32): option: cdrom-device
/home/max/.mplayer/config(32): parameter: /dev/scd1
/home/max/.mplayer/config(46): option: sound
/home/max/.mplayer/config(46): parameter: 1
/home/max/.mplayer/config(47): option: nosound
/home/max/.mplayer/config(47): parameter: nein
/home/max/.mplayer/config(48): option: mixer
/home/max/.mplayer/config(48): parameter: /dev/mixer
/home/max/.mplayer/config(58): option: ffactor
/home/max/.mplayer/config(58): parameter: 0.75
/home/max/.mplayer/config(79): option: vfm
/home/max/.mplayer/config(79): parameter: 5
Reading /home/max/.mplayer/codecs.conf: 34 audio & 91 video codecs
CommandLine: '-v' '-nofs' '-vcd' '2'
get_path('font/font.desc') -> '/home/max/.mplayer/font/font.desc'
Font /home/max/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX Optimized OnScreenDisplay
Linux RTC init error: Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/max/.mplayer/input.conf'
Parsing input config file /home/max/.mplayer/input.conf
Input config file /home/max/.mplayer/input.conf parsed : 50 binds
Playing VCD track 2
Can't open IFO file: No such file or directory
track 01: adr=1 ctrl=6 format=2 00:02:00 mode: 1
track 02: adr=1 ctrl=6 format=2 00:08:00 mode: 1
VCD start byte position: 0x1546E0 end: 0x2DDA55B4
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x82a0820
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x82a0820
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x82a0820
Checking for MOV
DEMUXER: freeing demuxer at 0x82a0820
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x82a0820
Checking for REAL
DEMUXER: freeing demuxer at 0x82a0820
stream_seek: WARNING! Can't seek to 0x4 !
DEMUXER: freeing demuxer at 0x82a0820
DEMUXER: freeing demuxer at 0x82a0820
DEMUXER: freeing demuxer at 0x82a0820
DEMUXER: freeing demuxer at 0x82a0820
DEMUXER: freeing demuxer at 0x82a0820
system stream synced at 0x1546ED (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 0
Searching for sequence header... OK!
VIDEO: MPEG2 480x480 (aspect 2) 29.97 fps 2970.0 kbps (371.2 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:480x480 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/home/max/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
CPU vendor name: GenuineIntel max cpuid level: 2
CPU: Intel Celeron A Mendocino/Pentium II Dixon (Type: 6, Stepping: 0)
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
MPEG 1.0, Layer II, 44100 Hz 224 kbit Stereo, BPF: 731
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: srate=44100 chans=2 bps=2 sfmt=0x10 ratio: 28000->176400
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 bits/pixel (":0.0" => local display)
==========================================================================
Trying to force video codec driver family 5 ...
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx
INFO: libavcodec init OK!
Detected video codec: [ffmpeg12] drv:5 prio:0 (FFmpeg-1)
==========================================================================
AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 44100 Hz 2 chans Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536
Start playing...
user_data: len= 14 10 0E FF FF ''
VDec: vo config request - 480 x 480, Planar YV12 0% 0% 0.0% 0 0 0%
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x437 (i=0)
Movie-Aspect is undefined - no prescaling applied.
video_out->init(480x480->480x480,flags=0,'MPlayer',0x32315659)
VO: [xv] 480x480 => 480x480 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 58 for hw scaling
[xv] dcx: 4 dcy: 20 dx: 0 dy: 0 dw: 480 dh: 480
*** [vo] Exporting mp_image_t, 480x480x12bpp YUV planar, 345600 bytes
X11 Window 4x20-480x480
[xv] dcx: 4 dcy: 20 dx: 0 dy: 0 dw: 480 dh: 480
A: 0.9 V: 1.0 A-V: -0.058 ct: 0.000 3/ 3 0% 0% 0.0% 0 0 0%
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 12166)]
0x08079182 in fast_memcpy (to=0x4070a000, from=0xc80, len=480) at aclib_template.c:359
359 if(len) small_memcpy(to, from, len);
(gdb) bt
#0 0x08079182 in fast_memcpy (to=0x4070a000, from=0xc80, len=480) at aclib_template.c:359
#1 0x0806826e in draw_slice (image=0x829ea08, stride=0x829ea14, w=480, h=480, x=0, y=0) at vo_xv.c:621
#2 0x08082f73 in put_image (vf=0x829bf20, mpi=0x829e9e8) at vf_vo.c:78
#3 0x0807d0e0 in decode_video (sh_video=0x829fce0, start=0x40546008 "", in_size=3200, drop_frame=0) at dec_video.c:205
#4 0x0805086e in main (argc=5, argv=0xbffffaa4, envp=0xbffffabc) at mplayer.c:1524
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x8079162 to 0x80791a2:
0x8079162 <fast_memcpy+1506>: movq %mm5,0x28(%edi)
0x8079166 <fast_memcpy+1510>: movq %mm6,0x30(%edi)
0x807916a <fast_memcpy+1514>: movq %mm7,0x38(%edi)
0x807916e <fast_memcpy+1518>: add $0x40,%esi
0x8079171 <fast_memcpy+1521>: add $0x40,%edi
0x8079174 <fast_memcpy+1524>: dec %ecx
0x8079175 <fast_memcpy+1525>: jne 0x8079130 <fast_memcpy+1456>
0x8079177 <fast_memcpy+1527>: emms
0x8079179 <fast_memcpy+1529>: cmpl $0x0,0xfffffff4(%ebp)
0x807917d <fast_memcpy+1533>: je 0x8079194 <fast_memcpy+1556>
0x807917f <fast_memcpy+1535>: mov 0xfffffff4(%ebp),%ecx
0x8079182 <fast_memcpy+1538>: repz movsb %ds:(%esi),%es:(%edi)
0x8079184 <fast_memcpy+1540>: jmp 0x8079194 <fast_memcpy+1556>
0x8079186 <fast_memcpy+1542>: add $0xfffffffc,%esp
0x8079189 <fast_memcpy+1545>: push %ebx
0x807918a <fast_memcpy+1546>: push %edx
0x807918b <fast_memcpy+1547>: mov 0x8(%ebp),%eax
0x807918e <fast_memcpy+1550>: push %eax
0x807918f <fast_memcpy+1551>: call 0x804d2d0 <memcpy>
0x8079194 <fast_memcpy+1556>: mov 0x8(%ebp),%eax
0x8079197 <fast_memcpy+1559>: lea 0xffffffd8(%ebp),%esp
0x807919a <fast_memcpy+1562>: pop %ebx
0x807919b <fast_memcpy+1563>: pop %esi
0x807919c <fast_memcpy+1564>: pop %edi
0x807919d <fast_memcpy+1565>: mov %ebp,%esp
0x807919f <fast_memcpy+1567>: pop %ebp
0x80791a0 <fast_memcpy+1568>: ret
0x80791a1 <fast_memcpy+1569>: lea 0x0(%esi),%esi
End of assembler dump.
(gdb)
More information about the MPlayer-users
mailing list