Subject: Re: bin/198: file(1) core dumps
To: None <cgd@postgres.berkeley.edu, rsk@ecs.soton.ac.uk>
From: Stephen J. Roznowski <sjr@zombie.ncsc.mil>
List: netbsd-bugs
Date: 04/07/1994 22:20:58
> From: Bob Kemp <rsk@ecs.soton.ac.uk>
> > As you may have guessed, i wasn't able to replicate this...
> > has anybody else tried it, and been 'successful'?
> > 
> > chris
> 
> Okay, here's more info but none of it very helpful :-(
> 
> I tried disabling external cache, cache shadow rom and
> turbo.  The bug is still there and perfectly repeatable.
> 
> If I type
> 	cd /etc
> 
> 	file /etc/*				Fine

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

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"

> 	/usr/bin/file *				Fine
> 	file *					core dump
> 	file *					Fine!
> 	rm file.core
> 	file *					core dump
> 	rm file.core
> 	file [a-d]*				Fine!
> 
> This isn't from a script but I've run more than a few times :-)

Hope this helps,
-SR

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