Re: ps segfault

James C. Tsiao (jtsiao@madoka.jpl.nasa.gov)
Tue, 3 Dec 1996 12:15:27 -0800 (PST)


Jon Lewis <jlewis@inorganic5.fdt.net> wrote:

> > > > we just noticed this "ps axf" causes a segmentation fault on 2.0.23 using
> > > > the procps-1.01 ...
> > >
> > > Doesn't do that here. Same versions used.
> >
> > It segfaults when the number of processes is greater than 64. (63?)
> > It's a bug in ps.
>
> I just tested it on a 2.0.25 system with 143 processes and a 2.0.23 system
> with 88 processes. Still no problems.

Could you guys check your lib versions? Someone mentioned on linuxnet
that it breaks for him, but if he LD_PRELOAD libgnumalloc.so, it works
correctly. Sounds like a possible programming bug in ps. I haven't
tried any of this myself because my linux box is back at home, so take
this as third hand info. :-)

James.

-- 
jtsiao@madoka.jpl.nasa.gov         | We can't be so fixated on our desire
http://topquark.roadkill.com/thoth | to preserve the rights of ordinary
                                   | Americans...
#include <disclaimer.h>            | - President Clinton (USA TODAY, 3/11/93)