Sun4os4 /bin/sh dumps core. (was: perl 3.0 dumps core)

Felix Lee flee at shire.cs.psu.edu
Fri Sep 8 12:50:02 AEST 1989


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 at shire.cs.psu.edu	*!psuvax1!flee



More information about the Comp.sources.bugs mailing list