NetBSD Problem Report #6953
Received: (qmail 23736 invoked from network); 6 Feb 1999 21:18:50 -0000
Message-Id: <199902062118.PAA01561@fluff.metonymy.com>
Date: Sat, 6 Feb 1999 15:18:25 -0600 (CST)
From: Dave Huang <khym@bga.com>
Reply-To: khym@bga.com
To: gnats-bugs@gnats.netbsd.org
Subject: top crashes on machines without swap
X-Send-Pr-Version: 3.95
>Number: 6953
>Category: pkg
>Synopsis: top crashes on machines without swap
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 06 13:20:04 +0000 1999
>Closed-Date: Sat Feb 06 21:41:37 +0000 1999
>Last-Modified: Sat Feb 06 21:43:18 +0000 1999
>Originator: Dave Huang
>Release: February 5, 1999
>Organization:
Name: Dave Huang | Mammal, mammal / their names are called /
INet: khym@bga.com | they raise a paw / the bat, the cat /
FurryMUCK: Dahan | dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 23 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Environment:
System: NetBSD fluff.metonymy.com 1.3I NetBSD 1.3I (FLUFF) #10: Fri Feb 5 03:13:04 CST 1999 khym@dahan.metonymy.com:/usr/src.local/sys/arch/i386/compile/FLUFF i386
>Description:
The top-3.5beta7 package crashes on machines that don't have
any swap space configured.
>How-To-Repeat:
>Fix:
--- patch-ab.orig Sat Feb 6 15:12:05 1999
+++ patch-ab Sat Feb 6 15:12:18 1999
@@ -382,7 +382,7 @@
+
+ memory_stats[4] = memory_stats[5] = 0;
+
-+ sep = NULL;
++ seporig = NULL;
+ do {
+ nswap = swapctl(SWAP_NSWAP, 0, 0);
+ if (nswap < 1)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: hubertf
State-Changed-When: Sat Feb 6 13:41:37 PST 1999
State-Changed-Why:
Hi,
I've applied your patch to set seporig to NULL, but left the sep=NULL in
- shouldn't hurt. Thanks for this!
- Hubert
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.