[MPlayer-dev-eng] sig11 when mplayer can't load mga_vid - mem2agpcpy bug?
Gabucino
gabucino at mplayer.dev.hu
Fri Mar 15 22:20:44 CET 2002
$subject sez it.
(gdb) run ~/Media/Movie/*avi
Starting program: /home/gabucino/mplayer/src/./mplayer ~/Media/Movie/*avi
[New Thread 1024 (LWP 4269)]
MPlayer CVS-020315-22:07-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
extended cpuid-level: 5
CPUflags: Type: 5 MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's untested!
/home/gabucino/.mplayer/config(1): option: vo
/home/gabucino/.mplayer/config(1): parameter: xmga
/home/gabucino/.mplayer/config(2): option: fs
/home/gabucino/.mplayer/config(2): parameter: igen
/home/gabucino/.mplayer/config(4): option: aop
/home/gabucino/.mplayer/config(4): parameter: list=extrastereo:mul=2.95
/home/gabucino/.mplayer/config(6): option: osdlevel
/home/gabucino/.mplayer/config(6): parameter: 1
/home/gabucino/.mplayer/config(7): option: framedrop
/home/gabucino/.mplayer/config(7): parameter: nem
/home/gabucino/.mplayer/config(8): option: vfm
/home/gabucino/.mplayer/config(8): parameter: 5
/home/gabucino/.mplayer/config(10): option: autoq
/home/gabucino/.mplayer/config(10): parameter: 100
/home/gabucino/.mplayer/config(13): option: cache
/home/gabucino/.mplayer/config(13): parameter: 1024
Reading /home/gabucino/.mplayer/codecs.conf: 29 audio & 79 video codecs
Font /home/gabucino/.mplayer/font/font.desc loaded successfully! (206 chars)
Linux RTC init: ioctl (rtc_pie_on): Permission denied
Using usleep() timing
Parsing input config file /home/gabucino/.mplayer/input.conf
Input config file /home/gabucino/.mplayer/input.conf parsed : 51 binds
Playing /home/gabucino/Media/Movie/NGE-intro.avi
Not an URL!
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
Cache fill: 0.00% (0 bytes) Detected AVI file format!
list_end=0x146
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
list_end=0xD4
list_end=0x146
list_end=0x7B3EC0
VIDEO: [divx] 576x432 24bpp 29.97 fps 548.4 kbps (66.9 kbyte/s)
[V] filefmt:3 fourcc:0x78766964 size:576x432 fps:29.97 ftime:=0.0334
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
extended cpuid-level: 5
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow! optimized decore!
MPEG 1.0, Layer III, 48000 Hz 160 kbit Joint-Stereo, BPF: 480
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=48000 chans=2 bps=2 sfmt=0x10 ratio: 20000->192000
Trying to force video codec driver family 5 ...
Detected video codec: [ffodivx] drv:5 prio:0 (FFmpeg OpenDivX)
Selecting Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx 3dnow
VDec: vo config request - 576 x 432, Planar YV12
Movie-Aspect is undefined - no prescaling applied.
open: No such device
Couldn't open /dev/mga_vid
FATAL: Cannot initialize video driver!
Error in mga_vid_config ioctl(): Bad file descriptor
Could not get luma values from the kernel module!
AO: [plugin] 48000Hz Stereo Signed 16-bit (Little-Endian)
[pl_extrastereo] Extra stereo plugin in use (multiplier=2.95).
ao2: 48000 Hz 2 chans Signed 16-bit (Little-Endian)
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 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536
Start playing...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 4269)]
0x808880c in mem2agpcpy (to=0x0, from=0x40995650, len=576)
at aclib_template.c:402
402 __asm__ __volatile__ (
(gdb) bt
#0 0x808880c in mem2agpcpy (to=0x0, from=0x40995650, len=576)
at aclib_template.c:402
#1 0x8094982 in draw_slice_g400 () at vo_xmga.c:100
#2 0x8094aee in draw_slice () at vo_xmga.c:100
#3 0x80a4aab in decode_video (video_out=0x8219bc0, sh_video=0x8299e90,
start=0x82d2108 "", in_size=2701, drop_frame=0) at dec_video.c:214
#4 0x8069acd in main (argc=11, argv=0xbffff7b4, envp=0xbffff7e4)
at mplayer.c:1575
#5 0x405a2906 in __libc_start_main () from /lib/libc.so.6
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x80887ec to 0x808882c:
0x80887ec <mem2agpcpy+240>: add %cl,(%edi)
0x80887ee <mem2agpcpy+242>: outsl %ds:(%esi),(%dx)
0x80887ef <mem2agpcpy+243>: push %es
0x80887f0 <mem2agpcpy+244>: movq 0x8(%esi),%mm1
0x80887f4 <mem2agpcpy+248>: movq 0x10(%esi),%mm2
0x80887f8 <mem2agpcpy+252>: movq 0x18(%esi),%mm3
0x80887fc <mem2agpcpy+256>: movq 0x20(%esi),%mm4
0x8088800 <mem2agpcpy+260>: movq 0x28(%esi),%mm5
0x8088804 <mem2agpcpy+264>: movq 0x30(%esi),%mm6
0x8088808 <mem2agpcpy+268>: movq 0x38(%esi),%mm7
0x808880c <mem2agpcpy+272>: movq %mm0,(%edi)
0x808880f <mem2agpcpy+275>: movq %mm1,0x8(%edi)
0x8088813 <mem2agpcpy+279>: movq %mm2,0x10(%edi)
0x8088817 <mem2agpcpy+283>: movq %mm3,0x18(%edi)
0x808881b <mem2agpcpy+287>: movq %mm4,0x20(%edi)
0x808881f <mem2agpcpy+291>: movq %mm5,0x28(%edi)
0x8088823 <mem2agpcpy+295>: movq %mm6,0x30(%edi)
0x8088827 <mem2agpcpy+299>: movq %mm7,0x38(%edi)
0x808882b <mem2agpcpy+303>: add $0x40,%esi
End of assembler dump.
--
Gabucino
"I think the developers placed this bug intentionally, so the GUI won't run
on specific systems. They are Debian-lovers, I see this from the docs." -- lama
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020315/3e102a76/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list