Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30514 - procps-3.1.13 'ps max' prints duplicate lines per thread
Summary: procps-3.1.13 'ps max' prints duplicate lines per thread
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-06 15:18 UTC by John Ross Hunt
Modified: 2003-10-22 15:32 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 John Ross Hunt 2003-10-06 15:18:26 UTC
After updating from procps-3.1.11-r1 to procps-3.1.13 threads are displayed
twice given 'ps max'.  With procps-3.1.11-r1 installed, only one line per thread
is displayed.

Reproducible: Always
Steps to Reproduce:
1. update to sys-apps/procps-3.1.13
2. type: 'ps max'
3. observe output

Actual Results:  
sys-apps/procps-3.1.13 'ps max' output:

  PID TTY      STAT   TIME COMMAND
    1 ?        S      0:03 init
    1 ?        S      0:03 init
    2 ?        SW     0:00 [keventd]
    2 ?        SW     0:00 [keventd]
    0 ?        SWN    0:00 [ksoftirqd_CPU0]
    0 ?        SWN    0:00 [ksoftirqd_CPU0]
    0 ?        SW     0:00 [kswapd]
    0 ?        SW     0:00 [kswapd]
    0 ?        SW     0:00 [kscand]
    0 ?        SW     0:00 [kscand]
    0 ?        SW     0:00 [bdflush]
    0 ?        SW     0:00 [bdflush]
    0 ?        SW     0:00 [kupdated]
    0 ?        SW     0:00 [kupdated]
   12 ?        SW     0:00 [kjournald]
   12 ?        SW     0:00 [kjournald]
  155 ?        S      0:00 /sbin/devfsd /dev
  155 ?        S      0:00 /sbin/devfsd /dev
  392 ?        SW     0:00 [khubd]
  392 ?        SW     0:00 [khubd]
 1070 ?        S      0:00 metalog [MASTER]
 1070 ?        S      0:00 metalog [MASTER]
 1072 ?        S      0:00 metalog [KERNEL]
 1072 ?        S      0:00 metalog [KERNEL]
 1101 ?        S      0:00 [atd]
 1101 ?        S      0:00 [atd]
 1131 ?        S      0:01 /usr/sbin/cupsd
 1131 ?        S      0:01 /usr/sbin/cupsd

etc.

Expected Results:  
sys-apps/procps-3.1.11-r1 'ps max' output:

  PID TTY      STAT   TIME COMMAND
    1 ?        S      0:07 init
    2 ?        SW     0:00 [keventd]
    3 ?        SWN    0:00 [ksoftirqd_CPU0]
    4 ?        SW     0:02 [kswapd]
    5 ?        SW     0:00 [bdflush]
    6 ?        SW     0:00 [kupdated]
   17 ?        SW     0:02 [kjournald]
  160 ?        S      0:00 /sbin/devfsd /dev
  378 ?        SW     0:00 [scsi_eh_1]
  475 ?        SW     0:00 [khubd]
 1109 ?        S      0:00 metalog [MASTER]
 1110 ?        S      0:00 metalog [KERNEL]
 1140 ?        S      0:00 /usr/sbin/atd
 1817 ?        S      0:00 /usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf
 1818 ?        S      0:00 /usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf
 1820 ?        S      0:00 /usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf
 1849 ?        S      0:00 /usr/sbin/cupsd

etc.

Portage 2.0.49-r7 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 Pentium III (Katmai)
distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -Wno-deprecated"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache distcc"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://gentoo.mirrors.pair.com http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 foomaticdb libg++ mad quicktime gdbm berkdb arts tetex svga ggi ruby
gtk qt kde motif ldap -3dnow aalib alsa apm avi bonobo bots cdr crypt cups curl
dedicated dga doc dvb dvd encode esd evo faad gb gd gif gnome gnomedb gphoto2
gpm gtk2 gtkhtml guile i8x0 imlib -ipv6 jack java joystick jpeg kerberos krb4
ladcca lcms libgda libwww maildir mbox mikmod mmx mng mozilla mpeg nas ncurses
nls oci8 odbc offensive ofx oggvorbis openal opengl oss pam pda pdflib perl
plotutils png ppds python readline samba scanner sdl slang slp snmp sox spell
sqlite sse ssl tcltk tcpd tiff truetype type1 usb v4l vim-with-x wmf wxwindows X
xml xml2 xmms xv xvid zlib"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-10-22 15:32:36 UTC
3.1.14 fixed this