Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!gem.mps.ohio-state.edu!ginosko!brutus.cs.uiuc.edu!psuvax1!psuvax1!flee From: flee@shire.cs.psu.edu (Felix Lee) Newsgroups: comp.sources.bugs Subject: Re: Sun4os4 /bin/sh dumps core. (was: perl 3.0 dumps core) Message-ID: Date: 8 Sep 89 02:50:02 GMT References: <550@caldwr.UUCP> Sender: news@psuvax1.cs.psu.edu Organization: Penn State University Computer Science Lines: 16 Actually, a problem with SunOS 4.0 in general--I suspect dynamic libraries. The following may or may not cause a coredump: (in csh) % set x=x % while (1) ? sh -c 'a='$x'`pwd` echo -n .' # note the quoting! ? set x=x$x ? end After a couple hundred dots, you may or may not get a series of sh: Memory fault - core dumped (The loop will eventually stop with csh complaining "Word too long".) Number of dots before coredump seems to depend on the user, but is consistent otherwise. -- Felix Lee flee@shire.cs.psu.edu *!psuvax1!flee