<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>30514</bug_id>
          
          <creation_ts>2003-10-06 15:18 0000</creation_ts>
          <short_desc>procps-3.1.13 &apos;ps max&apos; prints duplicate lines per thread</short_desc>
          <delta_ts>2003-10-22 15:32:36 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Core system</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>john.ross.hunt@comcast.net</reporter>
          <assigned_to>lostlogic@gentoo.org</assigned_to>
          <cc>mholzer@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>john.ross.hunt@comcast.net</who>
            <bug_when>2003-10-06 15:18:26 0000</bug_when>
            <thetext>After updating from procps-3.1.11-r1 to procps-3.1.13 threads are displayed
twice given &apos;ps max&apos;.  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: &apos;ps max&apos;
3. observe output

Actual Results:  
sys-apps/procps-3.1.13 &apos;ps max&apos; 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 &apos;ps max&apos; 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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=pentium3 -O3 -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-march=pentium3 -O3 -pipe -fomit-frame-pointer -Wno-deprecated&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs sandbox ccache distcc&quot;
GENTOO_MIRRORS=&quot;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&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.namerica.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mholzer@gentoo.org</who>
            <bug_when>2003-10-22 15:32:36 0000</bug_when>
            <thetext>3.1.14 fixed this</thetext>
          </long_desc>
      
    </bug>

</bugzilla>