mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.5.40 (BK of today) vmstat SIGSEGV after reading /proc/stat
@ 2002-10-05 17:12 Patrick Mau
  2002-10-05 17:59 ` Robert Love
  0 siblings, 1 reply; 4+ messages in thread
From: Patrick Mau @ 2002-10-05 17:12 UTC (permalink / raw)
  To: Linux Kernel

Hallo List,

The BK tree of today changed the data returned in /proc/stat.
A 'vmstat -n 10' immediatly segfaults after reading ...

open("/proc/stat", O_RDONLY)            = 6
read(6, "cpu  404408 506514 8240 154301 1"..., 4095) = 714
close(6)                                = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

I'll try to prove a diff between 2.4.18 and BK current later
this evening ...

cheers,
Patrick

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: 2.5.40 (BK of today) vmstat SIGSEGV after reading /proc/stat
@ 2002-10-05 18:41 Dieter Nützel
  2002-10-05 19:53 ` Robert Love
  0 siblings, 1 reply; 4+ messages in thread
From: Dieter Nützel @ 2002-10-05 18:41 UTC (permalink / raw)
  To: Linux Kernel List; +Cc: Robert Love, Patrick Mau

Am Samstag, 5. Oktober 2002 17:59 schrieb Robert Love:
> On Sat, 2002-10-05 at 13:12, Patrick Mau wrote:
>
> > The BK tree of today changed the data returned in /proc/stat.
> > A 'vmstat -n 10' immediatly segfaults after reading ...
> >
> > open("/proc/stat", O_RDONLY)            = 6
> > read(6, "cpu  404408 506514 8240 154301 1"..., 4095) = 714
> > close(6)                                = 0
> > --- SIGSEGV (Segmentation fault) ---
> > +++ killed by SIGSEGV +++
>
> The format changed, on purpose.  You need vmstat from a newer version of
> procps.  The newest version (2.0.9) and CVS dumps as-of yesterday are
> available at:
>
>        http://tech9.net/rml/procps
>
> as both tarballs and RPM packages.

2.5.40/2.5.40-mcp1 gave me same.
"top" showed only one CPU.

Solution:

Get 2.5.40-ac3. Alan "fixed" that.

-- 
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
@home: Dieter.Nuetzel at hamburg.de (replace at with @)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-05 19:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-05 17:12 2.5.40 (BK of today) vmstat SIGSEGV after reading /proc/stat Patrick Mau
2002-10-05 17:59 ` Robert Love
2002-10-05 18:41 Dieter Nützel
2002-10-05 19:53 ` Robert Love

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®