Subject: pkg/4584: top broken on alpha
To: None <gnats-bugs@gnats.netbsd.org>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: netbsd-bugs
Date: 11/26/1997 22:54:39
>Number: 4584
>Category: pkg
>Synopsis: top broken on alpha
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 26 14:05:02 1997
>Last-Modified:
>Originator: Hubert Feyrer
>Organization:
Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>
>Release: 1.3_ALPHA
>Environment:
System: NetBSD miyu 1.3A NetBSD 1.3A (MIYU) #1: Thu Nov 13 23:35:12 MET 1997 feyrer@miyu:/data/cvs/src/sys/arch/i386/compile/MIYU i386
>Description:
top breaks on 1.3_ALPHA machines, as reported on current-users:
> theta# ./top
> Floating exception (core dumped)
> theta# gdb top top.core
> ...
> Core was generated by `top'.
> Program terminated with signal 8, Floating point exception.
> #0 0x120008860 in format_next_process () at machine.c:513
> 513 sprintf(fmt,
>How-To-Repeat:
cd /usr/pkgsrc/*/top ; make install ; top
>Fix:
None know, but here's an answer I received after my posting to
current-users:
Date: Wed, 19 Nov 1997 12:03:30 -0800 (PST)
From: the Riz <riz@beast.boogers.sf.ca.us>
To: Hubert Feyrer <feyrer@smaug.fh-regensburg.de>
Cc: current-users@NetBSD.ORG
Subject: Re: pkgsrc/sysutils/top breaks on alpha
...
I looked into this a few weeks ago, before my time ran short. What I found
was that the kernel value 'hz' on the Alpha returns zero, producing a
divide by zero error when formatting the output string. That's where I
left it, cuz I know little about the kernel.
+j
--
Jeff Rizzo http://boogers.sf.ca.us/~riz
>Audit-Trail:
>Unformatted: