Package: xfce4-cpugraph-plugin Version: 0.4.0-2+b1 Severity: normal
I had the same problem on an 8-core Intel CPU. The patch that seems to solve this issue is slightly different (for i386 (686) arch.): --- xfce4-cpugraph-plugin-0.4.0/panel-plugin/cpu_os.c.orig 2007-11-22 06:18:52.000000000 +0100 +++ xfce4-cpugraph-plugin-0.4.0/panel-plugin/cpu_os.c 2012-08-13 18:39:41.000000000 +0200 @@ -84,8 +84,8 @@ cpuLoadData *cpuLoadMon_read(){ FILE *fStat = NULL; char cpuStr[PROCMAXLNLEN]; - unsigned long user, nice, system, idle; - unsigned long used, total; + unsigned long long int user, nice, system, idle; + unsigned long long int used, total; int cpuNr = 0; @@ -99,7 +99,7 @@ do { if(!fgets(cpuStr, PROCMAXLNLEN, fStat)) return(data); - sscanf(cpuStr, "%*s %ld %ld %ld %ld", &user, &nice, &system, &idle); + sscanf(cpuStr, "%*s %lld %lld %lld %lld", &user, &nice, &system, &idle); used = user + nice + system; total = used + idle; Regards, Zsolt PS: "multicore" means larger than 2 (or even greater)... since the plugin works fine on a dual core E2180 Intel CPU @home -- System Information: Debian Release: 6.0.5 APT prefers proposed-updates APT policy: (500, 'proposed-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-bpo.5-vserver-686-bigmem (SMP w/8 CPU cores) Locale: LANG=hu_HU, LC_CTYPE=hu_HU (charmap=ISO-8859-2) Shell: /bin/sh linked to /bin/bash Versions of packages xfce4-cpugraph-plugin depends on: ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit ii libc6 2.11.3-4 Embedded GNU C Library: Shared lib ii libcairo2 1.8.10-6 The Cairo 2D vector graphics libra ii libfontconfig1 2.8.0-2.1 generic font configuration library ii libfreetype6 2.4.2-2.1+squeeze4 FreeType 2 font engine, shared lib ii libglib2.0-0 2.24.2-1 The GLib library of C routines ii libgtk2.0-0 2.20.1-2 The GTK+ graphical user interface ii libpango1.0-0 1.28.3-1+squeeze2 Layout and rendering of internatio ii libxfce4util4 4.6.2-1 Utility functions library for Xfce ii libxfcegui4-4 4.6.4-1 Basic GUI C functions for Xfce4 ii xfce4-panel 4.6.4-1 The Xfce4 desktop environment pane xfce4-cpugraph-plugin recommends no packages. xfce4-cpugraph-plugin suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org