Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373315 - After updating x11-libs/vte (0.26.2 -> 0.28.1-r200) the X server cpu-usage increases significantly
Summary: After updating x11-libs/vte (0.26.2 -> 0.28.1-r200) the X server cpu-usage in...
Status: RESOLVED DUPLICATE of bug 372989
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-28 10:38 UTC by ahudson.news
Modified: 2011-06-29 17:11 UTC (History)
1 user (show)

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 ahudson.news 2011-06-28 10:38:08 UTC
Hello,

after pulling in the latest x86-stable updates and rebooting, by X server suddenly started using an unusual high amount of CPU and scaling up with additional opened terminal windows. It turns out perpetrator is x11-libs/vte-0.28.1-r200; after downgrading back to 0.26.2 the issue is gone.



Reproducible: Always

Steps to Reproduce:
1. update to vte-0.28.1-r200 (latest stable x86); reboot (or restart X/terminals)
2. open terminal; observe increased cpu-usage of the X server process and raising with every additional terminal
3. downgrade to vte-0.26.2 (previous stable); reboot (or restart..)
4. open terminals; observer idle X server process
Actual Results:  
high cpu-usage (approximately 15% with a single terminal window, 48% with three terminal windows, on an Core i5-M520 2.4GHz)

Expected Results:  
more or less idle

environment: VirtualBox-4.0.8, Gentoo default/linux/x86/10.0, kernel 2.6.37-gentoo-r4, xorg-server-1.9.5 (plain, on vt:7), Xfce-4.8, gtk+-2.24.4, the VirtualBox client packages are the only installed "~x86" builds

specific software triggering the issue: x11-libs/vte-0.28.0-r200 used by x11-terms/terminal-0.4.6; terminal was not updated or recompiled when issue occured



Portage 2.1.9.42 (default/linux/x86/10.0, gcc-4.4.5, libc-0-r0, 2.6.37-gentoo-r4 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.37-gentoo-r4-i686-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Tue, 28 Jun 2011 07:00:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/pkgconfig:  0.25-r2
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.68
sys-devel/automake:  1.9.6-r3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=512 -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=512 -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://de-mirror.org/distro/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa anthy bash-completion berkdb bzip2 bzlib cjk cli cracklib crypt curl cxx dbus dhcp dri fam gdbm gnutls gtk iconv icq idn ipv6 jabber jpeg jpeg2k lzo mbox mime modules mozilla msn mudflap ncurses nls nptl nptlonly offensive openmp pam pcre pdf perl pic png posix pppd python readline slang ssl svg sysfs tcpd truetype unicode vim-syntax vnc x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard virtualbox evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="dummy virtualbox" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

=================================================================
                        Package Settings
=================================================================

x11-libs/vte-0.26.2 was built with the following:
USE="-debug -doc -glade (-introspection) -python"


x11-terms/terminal-0.4.6 was built with the following:
USE="dbus -debug"


dev-libs/glib-2.28.6 was built with the following:
USE="fam static-libs -debug -doc (-introspection) (-selinux) -test -xattr"


x11-libs/gtk+-2.24.4 was built with the following:
USE="vim-syntax (-aqua) -cups -debug -doc -examples -introspection -test -xinerama"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="-march=native -O2 -pipe"


x11-libs/libX11-1.4.3 was built with the following:
USE="ipv6 -doc -static-libs -test"


xfce-base/exo-0.6.0 was built with the following:
USE="-debug -python"


sys-apps/dbus-1.4.12 was built with the following:
USE="X -debug -doc (-selinux) -static-libs -test"
CFLAGS="-march=native --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=512 -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -mfpmath=sse -pipe -rdynamic"
CXXFLAGS="-march=native --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=512 -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -mfpmath=sse -pipe -rdynamic"
Comment 1 Serkan Kaba (RETIRED) gentoo-dev 2011-06-29 12:00:50 UTC
*** Bug 373459 has been marked as a duplicate of this bug. ***
Comment 2 Pacho Ramos gentoo-dev 2011-06-29 17:11:40 UTC

*** This bug has been marked as a duplicate of bug 372989 ***