Summary: | x11-base/xorg-server-1.7.6: memory leak and eventual crash requiring SIGKILL to terminate | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bryan Ward <bward1> |
Component: | Current packages | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
Status: | RESOLVED WONTFIX | ||
Severity: | critical | CC: | bailey, gentoo, jprobichaud, pchrist |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
nvidia-bug-report.sh
output of emerge -pve xorg-server x11-drivers/xf86-video-intel Nvidia from ssh during hang Nvidia bug before crash cave resolve from my xorg |
Description
Bryan Ward
2010-04-05 05:25:20 UTC
Please attach(upload a text file) your "emerge -e -pv xorg-server nvidia-drivers" output, and if you can, some more information eg. your Xorg.0.log when the memory leak crashes your system and also your "free -m -t" output. I drop severity to normal, for the time being. Forget the last phrase. Please attach the output of nvidia-bug-report.sh Thanks Created attachment 226683 [details]
nvidia-bug-report.sh
After the crash I had to tinker with things to get X restart, and I can't recall all of what I did, so without knowing all of what is included, here, this might not be entirely too relevant.
bcw006@newton test % free -m -t total used free shared buffers cached Mem: 6393 6248 145 0 66 4859 -/+ buffers/cache: 1321 5071 Swap: 3827 39 3788 Total: 10221 6287 3934 From top: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 6055 root 20 0 405m 318m 25m S 2 5.0 8:23.95 X 5% of 6GB seems a bit high doesn't it? Just an update, I have not restarted my X server since posting this bug and the memory utilization has risen over the past day or two from 5% to 11%. It is also not as responsive as it was previously. I will not restart to see if I can reproduce the actual crash and report it in more detail. I've also noticed what looks like a memory leak with xorg 1.7.6. I'm in a "simpler" position than Bryan as it's a simple laptop with an integrated intel card (965GM) X is now taking >500MB of memory and it's rising steadily at about 6.5M/h. here is the output of emerge --info and I'll attach the "emerge -pve xorg-server x11-drivers/xf86-video-intel" Thanks! Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6-take-1 x86_64) ================================================================= System uname: Linux-2.6.31-gentoo-r6-take-1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-gentoo-1.12.13 Timestamp of tree: Mon, 05 Apr 2010 15:15:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [disabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.5.4-r3, 2.6.4-r1 dev-python/pycrypto: 2.1.0_beta1 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6-r1, 1.5, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -msse -msse2 -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native -msse -msse2 -msse3" DISTDIR="/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en en_US fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/vmware /usr/portage/local/layman/openoffice-geki /usr/portage/local/layman/kde /usr/local/portage/LocalOverlay /usr/local/portage/nekoverlay /usr/local/portage/dberkholz /usr/local/portage/quarks_gentoo_overlay" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 amr amrnb amrwb apache2 apm audio bash-completion berkdb bluetooth branding bzip2 cairo cdaudio cdr chm cisco cli clucene consolekit contrast cracklib crypt cups cxx daap dbus dell disk-partition djvu dri dts dvd dvdr ebook emboss encode evo exchange exif fam festival ffmpeg flac flite fontconfig foomaticdb fortran freetts ftp fuse gcj gdbm gif gimp glitz gnome google-gadgets gpm gstreamer gtk hal hbci hdri htmlhandbook hybrid-auth iconv icq id3tag imagemagick inotify ipod ipv6 irda irmc ithreads jabber jack java java5 java6 jce jpeg kde kde4 kdehiddenvisibility kdexdeltas kipi laptop lcms ldap lensfun libnotify lm_sensors log4j lzo mad madwifi mbrola mikmod mmx mng modules mono mp3 mp3tunes mp4 mpeg mplayer msn mtp mudflap multilib ncurses nfs nls nptl nptlonly nsplugin ntfs obex odbc ofx ogg ole openexr opengl openmp pam pango pch pcmcia pcre pdf perl phonon plasma pmu png portaudio ppds pppd python qt qt3support qt4 quotes rar raw rdesktop readline reflection remote resolvconf samba sametime scanner sdl semantic-desktop servletapi session smb smp snv soundtouch soup spell spl sse sse2 ssh ssl startup-notification subversion svg svnserve sysfs tcpd theora threads tiff truetype unicode usb vamp vboxwebsrv vdpau vim-syntax vorbis wavepack wicd wmf x264 xattr xcb xcomposite xinerama xml xorg xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US fr" NETBEANS_MODULES="apisupport harness ide java nb profiler websvccommon groovy gsf j2ee java websvccommon ergonomics" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Created attachment 227167 [details]
output of emerge -pve xorg-server x11-drivers/xf86-video-intel
on an x86_64 I've seen the same thing. It doesn't have that much memory as the above system. Also it can run for a day with almost nothing actualy doing something on screen and working with it will crash in a few hours. the effects noted: blinking screens, (effectively the machine stops working), or a screen where all characters get replaces with 3 horizontal lines and the system is still slightly responsive. I havn't seen it yet on x86. other influences: - x11-drivers/nvidia-drivers-190.42-r3 - sys-kernel/gentoo-sources-2.6.31-r10 Updating nvidia-drivers to 190.53-r1 only made it worse as that crashes during the logon screen. Also as I need the system for normal work I already downgraded it again to xorg-server-1.6.5 I wonder if this could be related to the problems Ubuntu is having. http://slashdot.org/story/10/04/21/2021247/Ubuntu-LTS-Experiences-Xorg-Memory-Leak https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/565981 it seems that ubuntu guys has patched it to work. cant test/reproduce as the laptop with the problems died (Nvidia chip overheated and gave up). New laptop has an ATI card. Although memory stil is large is doesn't seem too excessive. I'm getting the same bug, with both 1.7.6 and 1.8.2. I'm in very similar position as the OP, two cards, three monitors. I get this 2x daily, only when the screens are in use. I'll attach my cave resolve, and an nvidia-bug-report.log taken from a ssh session. I'll also take another when I restart X. I'm going to try and take out the composite and "AddARGBGLXVisuals" to see if that helps. Created attachment 241293 [details]
Nvidia from ssh during hang
Created attachment 241295 [details]
Nvidia bug before crash
Created attachment 241297 [details]
cave resolve from my xorg
Not in the tree anymore, could be closed. (In reply to comment #17) > Not in the tree anymore, could be closed. Done. |