MPlayer crashes: MPlayer interrupted by signal 11 in module: flip_page
Hi, I'm currently trying to geht MPlayer working but I have some troubles. At first, on this system MPlayer 20010828 worked. Today I grabbed the current cvs and the player always exits with a signal 11 in module: flip_page Here comes the detailed Bugreport as requested: ---------------------------snip-------------------------- Distro: SuSE 7.3 uname -a: Linux piano 2.4.18 #1 Mon Mar 11 18:07:00 CET 2002 i686 unknown libc: /lib/libc.so.6, rpm -q glibc: glibc-2.2.4-21 XFree86 Version 4.1.0 / X Window System (protocol Version 11, revision 0, vendor release 6510) Release Date: 2 June 2001 gcc version 2.95.3 20010315 (SuSE) GNU ld version 2.11.90.0.29 (with BFD 2.11.90.0.29) GNU assembler 2.11.90.0.29 CPU: processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 1 model name : AMD-K7(tm) Processor stepping : 2 cpu MHz : 704.949 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 sep mtrr pge mca cmov pat mmx syscall mmxext 3dnowext 3dnow bogomips : 1405.74 Video: Matrox G400, 32MB RAM (AGP) lspci prints: 00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller (rev 25) 00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] AGP Bridge (rev 01) 00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ISA (rev 01) 00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-756 [Viper] IDE (rev 07) 00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ACPI (rev 03) 00:08.0 Multimedia video controller: Brooktree Corporation Bt878 (rev 02) 00:08.1 Multimedia controller: Brooktree Corporation Bt878 (rev 02) 00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 10) 00:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08) 00:0b.1 Input device controller: Creative Labs SB Live! (rev 08) 01:05.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 03) X built-in video driver, I don't use the X-Matrox drivers from Matrox, I use the mga_drv.o from the X-distribution instead as the Matrox-Module (mga_drv.o,mga_hal_drv.o) cannot display very low refresh rates. SoundCard: SB-Live! with driver included in the Linux-kernel. Compiling works without any problems. The mplayer -v output: ---------------------------------------snip1---------------------------------- MPlayer CVS-020322-00:00-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!) CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0 CPU vendor name: AuthenticAMD max cpuid level: 1 CPU: Advanced Micro Devices Athlon K7 (Type: 6, Stepping: 2) extended cpuid-level: 6 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/dusty/.mplayer/codecs.conf: 16 audio & 36 video codecsget_path('font/font.desc') -> '/home/dusty/.mplayer/font/font.desc' '-v' '/home/dusty/temp/jokes/rhood.mpg' Linux RTC init error: Permission denied Using usleep() timing font: can't open file: /home/dusty/.mplayer/font/font.desc font: can't open file: /usr/local/share/mplayer/font/font.desc get_path('input.conf') -> '/home/dusty/.mplayer/input.conf' Can't open input config file /home/dusty/.mplayer/input.conf : No such file or directory Falling back on default (hardcoded) config Playing /home/dusty/temp/jokes/rhood.mpg File size is 10741764 bytes Not an URL! Checking for YUV4MPEG2 ASF_check: not ASF guid! Checking for NuppelVideo Checking for MOV Checking for VIVO Checking for REAL header block 1 size: 0 system stream synced at 0xB (11)! ==> Found video stream: 0 Detected MPEG-PS file format! ==> Found audio stream: 0 Searching for sequence header... OK! VIDEO: MPEG1 320x240 (aspect 1) 30.00 fps 1238.0 kbps (154.8 kbyte/s) [V] filefmt:2 fourcc:0x10000001 size:320x240 fps:30.00 ftime:=0.0333 get_path('sub/') -> '/home/dusty/.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 AUDIO: srate=44100 chans=2 bps=2 sfmt=0x10 ratio: 8000->176400 CPU vendor name: AuthenticAMD max cpuid level: 1 CPU: Advanced Micro Devices Athlon K7 (Type: 6, Stepping: 2) extended cpuid-level: 6 mp3lib: made decode tables with MMX optimization init layer2&3 finished, tables done mp3lib: using 3DNow!Ex optimized decore! ^MMPEG 1.0, Layer II, 44100 Hz 64 kbit Single-Channel, BPF: 208 Channels: 1, copyright: No, original: Yes, CRC: No, emphasis: 0 ========================================================================== VDec: vo config request - 320 x 240, Planar YV12 Opening Video Decoder: [libmpeg2] MPEG 1/2 Video decoder mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse libmpeg2: Using MMXEXT for IDCT transform libmpeg2: Using MMXEXT for motion compensation Movie-Aspect is undefined - no prescaling applied. VO: [xmga] 320x240 => 320x240 Planar YV12 VO: Description: X11 (Matrox G200/G4x0/G550 overlay in window using /dev/mga_vid) VO: Author: Zoltan Ponekker <pontscho@makacs.poliod.hu> video_out->init(320x240->320x240,flags=0,'MPlayer',0x32315659) open: Permission denied FATAL: Cannot initialize video driver! Requested video codec family [ffmpeg12] (vfm=5) not available (enable it at compile time!) VDec: vo config request - 320 x 240, BGR 24-bit Couldn't open /dev/mga_vid VDecoder init failed :( Opening Video Decoder: [null] Null video decoder Movie-Aspect is undefined - no prescaling applied. VO: [xmga] 320x240 => 320x240 Planar YV12 VO: Description: X11 (Matrox G200/G4x0/G550 overlay in window using /dev/mga_vid) VO: Author: Zoltan Ponekker <pontscho@makacs.poliod.hu> video_out->init(320x240->320x240,flags=0,'MPlayer',0x32315659) open: Permission denied FATAL: Cannot initialize video driver! Detected video codec: [null] drv:0 prio:0 (NULL codec (no decoding)) Couldn't open /dev/mga_vid ========================================================================== Error in mga_vid_config ioctl(): Bad file descriptor Could not get luma values from the kernel module! 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 MPlayer interrupted by signal 11 in module: flip_page - 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 *** ----------------------------snip1----------------------------------- The problem is not specific to a special file, this happens at mpeg-Files and Divx-Files... There is no coredump. Ok, here comes the output of the gdb: ------------------------- snip2 ----------------------------------- dusty@piano:~/test/MPlayer/main> gdb ./mplayer GNU gdb 20010316 Copyright 2001 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 "i386-suse-linux"... (gdb) run -v ~/temp/jokes/rhood.mpg Starting program: /home/dusty/test/MPlayer/main/./mplayer -v ~/temp/jokes/rhood.mpg [New Thread 1024 (LWP 10744)] MPlayer CVS-020322-00:00-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!) CPU vendor name: AuthenticAMD max cpuid level: 1 CPU: Advanced Micro Devices Athlon K7 (Type: 6, Stepping: 2) extended cpuid-level: 6 CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 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 Reading /home/dusty/.mplayer/codecs.conf: 16 audio & 36 video codecs CommandLine: '-v' '/home/dusty/temp/jokes/rhood.mpg' get_path('font/font.desc') -> '/home/dusty/.mplayer/font/font.desc' font: can't open file: /home/dusty/.mplayer/font/font.desc font: can't open file: /usr/local/share/mplayer/font/font.desc Linux RTC init error: Permission denied Using usleep() timing get_path('input.conf') -> '/home/dusty/.mplayer/input.conf' Can't open input config file /home/dusty/.mplayer/input.conf : No such file or directory Falling back on default (hardcoded) config Playing /home/dusty/temp/jokes/rhood.mpg Not an URL! File size is 10741764 bytes Checking for YUV4MPEG2 ASF_check: not ASF guid! Checking for NuppelVideo Checking for MOV Checking for VIVO header block 1 size: 0 Checking for REAL system stream synced at 0xB (11)! ==> Found video stream: 0 Detected MPEG-PS file format! ==> Found audio stream: 0 Searching for sequence header... OK! VIDEO: MPEG1 320x240 (aspect 1) 30.00 fps 1238.0 kbps (154.8 kbyte/s) [V] filefmt:2 fourcc:0x10000001 size:320x240 fps:30.00 ftime:=0.0333 get_path('sub/') -> '/home/dusty/.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 CPU vendor name: AuthenticAMD max cpuid level: 1 CPU: Advanced Micro Devices Athlon K7 (Type: 6, Stepping: 2) extended cpuid-level: 6 mp3lib: made decode tables with MMX optimization init layer2&3 finished, tables done mp3lib: using 3DNow!Ex optimized decore! MPEG 1.0, Layer II, 44100 Hz 64 kbit Single-Channel, BPF: 208 Channels: 1, copyright: No, original: Yes, CRC: No, emphasis: 0 AUDIO: srate=44100 chans=2 bps=2 sfmt=0x10 ratio: 8000->176400 ========================================================================== Opening Video Decoder: [libmpeg2] MPEG 1/2 Video decoder mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse libmpeg2: Using MMXEXT for IDCT transform libmpeg2: Using MMXEXT for motion compensation VDec: vo config request - 320 x 240, Planar YV12 Movie-Aspect is undefined - no prescaling applied. VO: [xmga] 320x240 => 320x240 Planar YV12 VO: Description: X11 (Matrox G200/G4x0/G550 overlay in window using /dev/mga_vid) VO: Author: Zoltan Ponekker <pontscho@makacs.poliod.hu> video_out->init(320x240->320x240,flags=0,'MPlayer',0x32315659) open: Permission denied Couldn't open /dev/mga_vid FATAL: Cannot initialize video driver! VDecoder init failed :( Requested video codec family [ffmpeg12] (vfm=5) not available (enable it at compile time!) Opening Video Decoder: [null] Null video decoder VDec: vo config request - 320 x 240, BGR 24-bit Movie-Aspect is undefined - no prescaling applied. VO: [xmga] 320x240 => 320x240 Planar YV12 VO: Description: X11 (Matrox G200/G4x0/G550 overlay in window using /dev/mga_vid) VO: Author: Zoltan Ponekker <pontscho@makacs.poliod.hu> video_out->init(320x240->320x240,flags=0,'MPlayer',0x32315659) open: Permission denied Couldn't open /dev/mga_vid FATAL: Cannot initialize video driver! Detected video codec: [null] drv:0 prio:0 (NULL codec (no decoding)) ========================================================================== Error in mga_vid_config ioctl(): Bad file descriptor Could not get luma values from the kernel module! 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... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 10744)] 0x40176068 in XPending () from /usr/X11R6/lib/libX11.so.6 (gdb) bt #0 0x40176068 in XPending () from /usr/X11R6/lib/libX11.so.6 #1 0x08080e2d in vo_x11_check_events (mydisplay=0x0) at x11_common.c:525 #2 0x0808a514 in check_events () at vo_xmga.c:165 #3 0x0805fc6e in main (argc=3, argv=0xbffff3e4, envp=0xbffff3f4) at mplayer.c:1642 #4 0x403c07ee in __libc_start_main () from /lib/libc.so.6 (gdb) disass $eip-32 $eip+32 Dump of assembler code from 0x40176048 to 0x40176088: 0x40176048 <XEventsQueued+104>: pop %esi 0x40176049 <XEventsQueued+105>: pop %edi 0x4017604a <XEventsQueued+106>: mov %ebp,%esp 0x4017604c <XEventsQueued+108>: pop %ebp 0x4017604d <XEventsQueued+109>: ret 0x4017604e <XEventsQueued+110>: mov %esi,%esi 0x40176050 <XPending>: push %ebp 0x40176051 <XPending+1>: mov %esp,%ebp 0x40176053 <XPending+3>: sub $0xc,%esp 0x40176056 <XPending+6>: push %edi 0x40176057 <XPending+7>: push %esi 0x40176058 <XPending+8>: push %ebx 0x40176059 <XPending+9>: call 0x4017605e <XPending+14> 0x4017605e <XPending+14>: pop %ebx 0x4017605f <XPending+15>: add $0xb9a1e,%ebx 0x40176065 <XPending+21>: mov 0x8(%ebp),%esi 0x40176068 <XPending+24>: mov 0x4d0(%esi),%eax 0x4017606e <XPending+30>: test %eax,%eax 0x40176070 <XPending+32>: je 0x4017607d <XPending+45> 0x40176072 <XPending+34>: add $0xfffffff4,%esp 0x40176075 <XPending+37>: push %esi 0x40176076 <XPending+38>: mov (%eax),%eax 0x40176078 <XPending+40>: call *%eax 0x4017607a <XPending+42>: add $0x10,%esp 0x4017607d <XPending+45>: mov 0x58(%esi),%eax 0x40176080 <XPending+48>: test %eax,%eax 0x40176082 <XPending+50>: je 0x40176088 <XPending+56> 0x40176084 <XPending+52>: mov %eax,%edi 0x40176086 <XPending+54>: jmp 0x40176098 <XPending+72> End of assembler dump. (gdb) ------------------------- snip2 ----------------------------------- ------------------------- snip ------------------------------------ I hope, I did not forget something in the Bugreport - if yes, please tell me what you need. Anyway - thank's for programming and distributing MPlayer, it's _really_ neat to at last have a linux player that can play nearly all video formats... Best Regards, Hermann -- x1@aon.at GPG key ID: 299893C7 (on keyservers) FP: 0124 2584 8809 EF2A DBF9 4902 64B4 D16B 2998 93C7
participants (2)
-
Arpi -
Hermann Himmelbauer