Subject: Re: bin/198: file(1) core dumps
To: Stephen J. Roznowski <sjr@zombie.ncsc.mil>
From: Chris G. Demetriou <cgd@postgres.Berkeley.EDU>
List: netbsd-bugs
Date: 04/07/1994 19:25:40
> Just another data point. I'm running on an Amiga and see a similiar
> problem. When I try to do a:
> 
> 	cd /etc
> 	file inetd.conf

that doesn't work for me, either.

> I get a "Segmentation fault". A ktrace shows:
> 
> 	...
> 	      daytime         stream  tcp     nowait  root    internal
> 	      time            stream  tcp     nowait  root    internal
> 	      echo            dgram   udp"
> 	1753 file     RET   read 1024/0x400
> 	1753 file     PSIG  SIGSEGV SIG_DFL
> 	1753 file     NAMI  "file.core"

unfortunately, ktrace is almost completely useless for debugging this
sort of problem.  Now i know that the last syscall it did was a read.
"ooooh."


sorry to be so sarcastic, but i can't replicate this problem, and, thus
far, the several people who've reported it seem unwilling or unable
to correctly run gdb on a newly-compiled binary, and it *should* be
a *very* easy problem to debug, if it can be repeated!


chris

------------------------------------------------------------------------------