Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192454 - media-video/mplayer-1.0_rc1_p20070824 crashes xorg-server-1.3.0.0
Summary: media-video/mplayer-1.0_rc1_p20070824 crashes xorg-server-1.3.0.0
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-13 19:51 UTC by Eric Brown
Modified: 2007-09-26 09:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Brown 2007-09-13 19:51:34 UTC
When I try to play mp4 files with mplayer, X restarts.  This is probably related to a system update I did yesterday in which the following packages were updated (mplayer worked with the same mp4 file before the update):

1189648062:  >>> emerge (1 of 23) app-text/docbook-sgml-dtd-4.2-r2 to /
1189648071:  >>> emerge (2 of 23) net-wireless/ndiswrapper-1.48_rc2 to /
1189648111:  >>> emerge (3 of 23) x11-proto/inputproto-1.4.2 to /
1189648125:  >>> emerge (4 of 23) net-libs/libpcap-0.9.7 to /
1189648173:  >>> emerge (5 of 23) x11-proto/compositeproto-0.4 to /
1189648185:  >>> emerge (6 of 23) net-misc/openssh-4.7_p1-r1 to /
1189648342:  >>> emerge (7 of 23) x11-libs/libXfont-1.3.0 to /
1189648459:  >>> emerge (8 of 23) app-doc/xorg-sgml-doctools-1.2 to /
1189648469:  >>> emerge (9 of 23) x11-libs/libX11-1.1.2-r1 to /
1189648795:  >>> emerge (10 of 23) app-doc/xorg-docs-1.4-r1 to /
1189649278:  >>> emerge (11 of 23) net-analyzer/tcpdump-3.9.7-r1 to /
1189649337:  >>> emerge (12 of 23) x11-apps/iceauth-1.0.2 to /
1189649349:  >>> emerge (13 of 23) x11-libs/libXi-1.1.2 to /
1189649382:  >>> emerge (14 of 23) x11-libs/libXcomposite-0.4.0 to /
1189649403:  >>> emerge (15 of 23) x11-libs/libXtst-1.0.2 to /
1189649425:  >>> emerge (16 of 23) x11-apps/setxkbmap-1.0.4 to /
1189649437:  >>> emerge (17 of 23) x11-apps/xhost-1.0.2 to /
1189649450:  >>> emerge (18 of 23) x11-apps/xrandr-1.2.2 to /
1189649463:  >>> emerge (19 of 23) x11-apps/xinit-1.0.4 to /
1189649486:  >>> emerge (20 of 23) media-libs/flac-1.1.4 to /
1189649584:  >>> emerge (21 of 23) x11-base/xorg-server-1.3.0.0 to /
1189650347:  >>> emerge (22 of 23) x11-drivers/xf86-video-i810-2.1.0 to /
1189650415:  >>> emerge (23 of 23) x11-drivers/xf86-input-mouse-1.2.2 to /

Here's the error output in the logs:

Sep 13 15:22:07 HOSTNAME grsec: denied resource overstep by requesting 135168 for RLIMIT_MEMLOCK against limit 32768 for /usr/bin/mplayer[mplayer:5101] uid/euid:1000/1000 gid/egid:100/100, parent /bin/zsh[zsh:5084] uid/euid:1000/1000 gid/egid:100/100
Sep 13 15:22:08 HOSTNAME gdm(pam_unix)[4942]: session closed for user USERNAME

I ran revdep-rebuild and didn't find any problems with mplayer or X11 deps.

Reproducible: Always




Here's output from emerge --info

Portage 2.1.2.12 (hardened/x86/2.6, gcc-3.4.6, glibc-2.5-r4, 2.6.20-hardened-r6 i686)
=================================================================
System uname: 2.6.20-hardened-r6 i686 Genuine Intel(R) CPU T2080 @ 1.73GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 13 Sep 2007 01:30:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe -fforce-addr -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=i686 -O2 -pipe -fforce-addr -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa ao apm berkdb bluetooth bzip2 cairo calendar caps cdda cddb cdr cjk clamav cracklib crypt cups curl dbm dbx doc dri dvd dvdr dvdread encode fastcgi ffmpeg firefox flac gnutls gphoto2 gtk hardened iconv ieee1394 imagemagick imap imlib javascript jpeg libcaca matroska midi mime mmap mmx mp3 mpeg msn ncurses nls nptl nptlonly nsplugin odbc offensive ogg openal opengl pam pango pcre pdf perl pic png posix python readline samba sasl sdl skey sockets sox speex spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype unicode urandom usb v4l vcd vorbis wifi win32codecs x264 x86 xcomposite xorg xscreensaver xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810 i915"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Eric Brown 2007-09-13 20:02:07 UTC
I did some testing.  Here's a list from mpayer -vo help:

Available video output drivers:
        xv      X11/Xv
        x11     X11 ( XImage/Shm )
        xover   General X11 driver for overlay capable video output drivers
        gl      X11 (OpenGL)
        gl2     X11 (OpenGL) - multiple textures version
        dga     DGA ( Direct Graphic Access V2.0 )
        sdl     SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
        aa      AAlib
        caca    libcaca
        null    Null video output
        mpegpes Mpeg-PES file
        yuv4mpeg        yuv4mpeg output for mjpegtools
        png     PNG file
        jpeg    JPEG file

I tried most of the actual playback plugins, and found that the following ones caused X to crash:

xv, gl2, dga

I haven't checked, but I think xv would have been the default output module.  The update might have broken xv.
Comment 2 Eric Brown 2007-09-13 20:05:24 UTC
launching gxine causes X server to die as well.  Here's are the use flags for both of these packages:

[ebuild   R   ] media-video/gxine-0.5.11  USE="nls -lirc -nsplugin* -xinerama" 0 kB 
[ebuild   R   ] media-video/mplayer-1.0_rc1_p20070824  USE="X a52 aac aalib alsa cddb doc dvd encode gtk iconv jpeg libcaca mmx mp3 openal opengl png samba sdl speex sse sse2 truetype unicode v4l vorbis win32codecs x264 xv xvid -3dnow -3dnowext (-altivec) -amrnb -amrwb -arts -bidi -bindist -bl -cdio -cdparanoia -cpudetection -custom-cflags -dga -directfb -dts -dv -dvb -enca -esd -fbcon -ftp -ggi -gif -ipv6 -ivtv -jack -joystick -lirc -live -livecd -lzo -mad -md5sum -mmxext -mp2 -musepack -nas -oss -pnm -pvr -quicktime -radio -rar -real -rtc -srt -ssse3 -svga -teletext -tga -theora -tivo -v4l2 -vidix -xanim -xinerama -xvmc -zoran" VIDEO_CARDS="i810 -mga (-nvidia) -s3virge -tdfx -vesa" 0 kB 
Comment 3 Eric Brown 2007-09-13 20:24:56 UTC
Did startx to see X error output, saw something like this:

Fatal server error:
Bad channel value 31
Comment 4 Eric Brown 2007-09-13 21:14:48 UTC
Googled the bad channel error, seemed to be related to the i810 driver (which had been updated from version 1.7.4 to 2.1.0).  Masked >x11-drivers/xf86-driver-i810-1.7.4, re-emerged xf86-driver-i810, problem went away.

vo's that work now: xv, gl2, dga just gives some error, doesn't crash X.

This looks like it's really an upstream issue with xf86-video-i810-2.X.  What do we do about that?
Comment 5 Alan Hourihane 2007-09-26 09:08:38 UTC
log a bug on bugs.freedesktop.org for the intel driver and the maintainers will be able to fix.