Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Dec 2002 13:45:06 -0800
From:      Mike Hogsett <hogsett@csl.sri.com>
To:        Kent Stewart <kstewart@owt.com>
Cc:        Mike Hogsett <hogsett@csl.sri.com>, Roman Neuhauser <neuhauser@bellavista.cz>, freebsd-questions@FreeBSD.ORG
Subject:   Re: /usr/bin/top seg faulting 
Message-ID:  <200212032145.gB3Lj6UR001303@beast.csl.sri.com>
In-Reply-To: Message from Kent Stewart <kstewart@owt.com>  of "Tue, 03 Dec 2002 13:21:57 PST." <200212031321.57348.kstewart@owt.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

> I think you have corrupted src. I am running basically the same source -
> util.c from diff and not having any problems. I would clean out
> /usr/src/contrib/top, recvsup, and rebuild everything.

You said "rebuild everything". Did you mean world/kernel or just top.  I
cleaned out top and rebuilt it but it made no difference.

 - Mike 

flagg# pwd
/usr/src/usr.bin/top
flagg# rm *
flagg# rm /usr/src/contrib/top/*
flagg# cvsup /etc/standard-supfile 
Connected to cvsup14.freebsd.org
Updating collection src-all/cvs
 Checkout src/contrib/top/ADVERTISEMENT
 Checkout src/contrib/top/Changes
 Checkout src/contrib/top/Configure
 Checkout src/contrib/top/DISCLAIMER
 Checkout src/contrib/top/FAQ
 Checkout src/contrib/top/INSTALL
 Checkout src/contrib/top/Make.desc.X
 Checkout src/contrib/top/Makefile.X
 Checkout src/contrib/top/Porting
 Checkout src/contrib/top/README
 Checkout src/contrib/top/boolean.h
 Checkout src/contrib/top/commands.c
 Checkout src/contrib/top/display.c
 Checkout src/contrib/top/display.h
 Checkout src/contrib/top/getans
 Checkout src/contrib/top/getopt.c
 Checkout src/contrib/top/install
 Checkout src/contrib/top/layout.h
 Checkout src/contrib/top/loadavg.h
 Checkout src/contrib/top/m-template
 Checkout src/contrib/top/machine.h
 Checkout src/contrib/top/metatop
 Checkout src/contrib/top/os.h
 Checkout src/contrib/top/patchlevel.h
 Checkout src/contrib/top/prime.c
 Checkout src/contrib/top/screen.c
 Checkout src/contrib/top/screen.h
 Checkout src/contrib/top/sigconv.awk
 Checkout src/contrib/top/top.X
 Checkout src/contrib/top/top.c
 Checkout src/contrib/top/top.h
 Checkout src/contrib/top/top.local.H
 Checkout src/contrib/top/username.c
 Checkout src/contrib/top/utils.c
 Checkout src/contrib/top/utils.h
 Checkout src/contrib/top/version.c
 Checkout src/usr.bin/top/Makefile
 Checkout src/usr.bin/top/machine.c
 Checkout src/usr.bin/top/sigdesc.h
 Checkout src/usr.bin/top/top.local.1
Finished successfully
flagg# pwd
/usr/src/usr.bin/top
flagg# make clean && make && make install
rm -f top.local.h top.x top.1 top commands.o display.o machine.o screen.o top.o username.o utils.o version.o top.1.gz top.1.cat.gz
cc -O -pipe  -DHAVE_GETOPT -DHAVE_STRERROR -I/usr/src/usr.bin/top -I/usr/src/usr.bin/top/../../contrib/top -I. -DORDER    -c /usr/src/usr.bin/top/../../contrib/top/commands.c
Making top.local.h from /usr/src/usr.bin/top/../../contrib/top/top.local.H
cc -O -pipe  -DHAVE_GETOPT -DHAVE_STRERROR -I/usr/src/usr.bin/top -I/usr/src/usr.bin/top/../../contrib/top -I. -DORDER    -c /usr/src/usr.bin/top/../../contrib/top/display.c
cc -O -pipe  -DHAVE_GETOPT -DHAVE_STRERROR -I/usr/src/usr.bin/top -I/usr/src/usr.bin/top/../../contrib/top -I. -DORDER    -c /usr/src/usr.bin/top/machine.c
cc -O -pipe  -DHAVE_GETOPT -DHAVE_STRERROR -I/usr/src/usr.bin/top -I/usr/src/usr.bin/top/../../contrib/top -I. -DORDER    -c /usr/src/usr.bin/top/../../contrib/top/screen.c
cc -O -pipe  -DHAVE_GETOPT -DHAVE_STRERROR -I/usr/src/usr.bin/top -I/usr/src/usr.bin/top/../../contrib/top -I. -DORDER    -c /usr/src/usr.bin/top/../../contrib/top/top.c
cc -O -pipe  -DHAVE_GETOPT -DHAVE_STRERROR -I/usr/src/usr.bin/top -I/usr/src/usr.bin/top/../../contrib/top -I. -DORDER    -c /usr/src/usr.bin/top/../../contrib/top/username.c
cc -O -pipe  -DHAVE_GETOPT -DHAVE_STRERROR -I/usr/src/usr.bin/top -I/usr/src/usr.bin/top/../../contrib/top -I. -DORDER    -c /usr/src/usr.bin/top/../../contrib/top/utils.c
cc -O -pipe  -DHAVE_GETOPT -DHAVE_STRERROR -I/usr/src/usr.bin/top -I/usr/src/usr.bin/top/../../contrib/top -I. -DORDER    -c /usr/src/usr.bin/top/../../contrib/top/version.c
cc -O -pipe  -DHAVE_GETOPT -DHAVE_STRERROR -I/usr/src/usr.bin/top -I/usr/src/usr.bin/top/../../contrib/top -I. -DORDER     -o top commands.o display.o machine.o screen.o top.o username.o utils.o version.o -ltermcap -lm -lkvm
Making top.x from /usr/src/usr.bin/top/../../contrib/top/top.X
cat top.x /usr/src/usr.bin/top/top.local.1 > top.1
gzip -cn top.1 > top.1.gz
install -s -o root -g kmem -m 2555   top /usr/bin
install -o root -g wheel -m 444 top.1.gz  /usr/share/man/man1
flagg# top
Segmentation fault
flagg# 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212032145.gB3Lj6UR001303>