Summary: | x11-wm/fluxbox-1.1.1-r1: CPU burn with nxserver-freeedition-3.3.x | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kazankov Alexander <johnrdoe63> |
Component: | Current packages | Assignee: | Desktop WM Team (OBSOLETE) <desktop-wm+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | john.newman.0, mail, peter |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://sourceforge.net/tracker/?func=detail&aid=2813828&group_id=35398&atid=413960 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Rollback against nx-freeze |
Description
Kazankov Alexander
2009-06-29 08:28:43 UTC
Please provide the "emerge --info" from all affected machines and the output of emerge -qpv nxserver-freeedition nxclient fluxbox emerge --info Portage 2.1.6.11 (uxs/amd64/0.0/uts, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5j1 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r5j1-x86_64-Intel-R-_Xeon-R-_CPU_E5345_@_2.33GHz-with-glibc2.2.5 Timestamp of tree: Thu, 21 May 2009 01:45:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.4-r2 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=nocona" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/opt/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles/" LANG="ru_RU.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags" LINGUAS="ru en" MAKEOPTS="-j2" PKGDIR="/opt/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/usr/portage/local/layman/crg/profiles/exclude" 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="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/crg" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X amd64 berkdb bzip2 cli cracklib crypt cups dbus dri foomaticdb gif glib gnome gtk iconv imlib isdnlog jpeg ldap logrotate midi mmx mudflap multilib nautilus ncurses nls nptl nptlonly nsplugin openmp pam parport pcre perl png ppds pppd python readline reflection samba scanner server session snmp spell spl sqlite sse sse2 ssl svg symlink tcpd threads tiff truetype unicode userlocales vim-syntax vnc webdav wxwindows xinetd xorg xpm 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS emerge -qpv nxserver-freeedition nxclient fluxbox [ebuild UD] x11-wm/fluxbox-1.0.0-r2 [1.1.1] USE="gnome imlib nls slit toolbar truetype vim-syntax -kde% -xinerama" [ebuild R ] net-misc/nxclient-3.3.0.6 [ebuild N ] net-misc/nxnode-3.3.0.12 USE="vnc -rdesktop" [ebuild N ] net-misc/nxserver-freeedition-3.3.0.14 (In reply to comment #2) > emerge -qpv nxserver-freeedition nxclient fluxbox > [ebuild UD] x11-wm/fluxbox-1.0.0-r2 [1.1.1] USE="gnome imlib nls slit > toolbar truetype vim-syntax -kde% -xinerama" The bug report summary says x11-wm/fluxbox-1.1.1-r1, but this output says differently. Please confirm that this problem actually affects version 1.1.1-r1 of fluxbox, thank you. I can confirm that the problem is present in x11-wm/fluxbox-1.1.1-r1. Downgrading to fluxbox-1.0.0-r2 solves the problem. Yes, this work with fluxbox <=1.0.0-r2. I can confirm this does occur with 1.1.1-r1 but works fine in 1.0.0-r2 When using -r1 and nxclient, I can get into fluxbox, I see the tool bar, but the left & right arrows on both sides of the tool bar are not drawn. The keyboard and mouse do not generate any events (I can only move the cursor and press ctrl+alt+f to exit nxclient.) The server's cpu is burning up, so is hanging somewhere.. with 1.1.1-r1 i was getting error messages, (i don't have the exact message anymore but it was something like): xlib event extension missing on display :1099 and my log in 1.0.0-r2 is silent and fluxbox is still the best The error message I am seeing is: Xlib: extension "Generic Event Extension" missing on display ":1000.0". firefox was also saying this message over nx client and also complaining about/var/lib/dbus/machine-id missing. So I've emerged dbus and added to default run level. Firefox still says extension missing, but is working now from twm.. But fluxbox still burns the cpu, so that may be irrelivant. In my ~/.fluxbox/log, I only have ------------------------------------------ Log File: /home/john/.fluxbox/log Fluxbox version: 1.1.1-gentoo-r1 Compiled: Oct 25 2009 14:36:37 Compiler: GCC Compiler version: 4.3.4 Defaults: menu: /usr/share/fluxbox/menu style: /usr/share/fluxbox/styles/Emerge keys: /usr/share/fluxbox/keys init: /usr/share/fluxbox/init nls: /usr/share/fluxbox/nls Compiled options (- => disabled): -DEBUG EWMH GNOME IMLIB2 NLS REMEMBER RENDER SHAPE SLIT TOOLBAR XFT XINERAMA XMB XPM ------------------------------------------ Ok, so there is a debug flag that I do not have set, but there is no debug USE flag. ? Google is saying there might have been one for versions in the past. So how can I build fluxbox with debug to get some logging, I tried adding it to the ebuild but am of course getting checksum errors. =) OK I have manually hacked the ebuild to add the debug flag .. and ran ebuild manifest to fix the checksum. SO, if any commiters are listening, the fluxbox package needs to have the debug use flag added (back?). And _I_ see all this noise in my logs (would like someone else to try and confirm this is the cause): Fluxbox: X Error: BadDrawable (invalid Pixmap or Window parameter)(9) opcodes 55/0 resource 0x0 Fluxbox: X Error: BadGC (invalid GC parameter)(13) opcodes 56/0 resource 0x200309 Fluxbox: X Error: BadDrawable (invalid Pixmap or Window parameter)(9) opcodes 72/0 resource 0x0 Fluxbox: X Error: BadGC (invalid GC parameter)(13) opcodes 60/0 resource 0x200309 Fluxbox: X Error: BadDrawable (invalid Pixmap or Window parameter)(9) opcodes 55/0 resource 0x0 Fluxbox: X Error: BadGC (invalid GC parameter)(13) opcodes 56/0 resource 0x20030a Fluxbox: X Error: BadDrawable (invalid Pixmap or Window parameter)(9) opcodes 72/0 resource 0x0 Fluxbox: X Error: BadGC (invalid GC parameter)(13) opcodes 60/0 resource 0x20030a Fluxbox: X Error: BadDrawable (invalid Pixmap or Window parameter)(9) opcodes 55/0 resource 0x0 Fluxbox: X Error: BadGC (invalid GC parameter)(13) opcodes 56/0 resource 0x20030b Fluxbox: X Error: BadDrawable (invalid Pixmap or Window parameter)(9) opcodes 72/0 resource 0x0 Fluxbox: X Error: BadGC (invalid GC parameter)(13) opcodes 60/0 resource 0x20030b This goes on for quite a while, if you need the whole log I can get it. Created attachment 249389 [details] Rollback against nx-freeze This is a known bug in fluxbox, Alex Bramley posted some days ago patch on bugs.debian.org: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546707#30 I tested the patch against the 9999-ebuild and it works fine. The patch should also work against the other affected versions. The patch is also attached as 0001-Attempt-to-revert-4a7a1437.patch to this bug report. This is reportedly fixed in fluxbox-1.3.0 which is now in the tree; please upgrade, retest and report back here :) |