Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.sources.bugs Subject: Re: perl 3.0 dumps core Keywords: perl core sun Message-ID: <2427@auspex.auspex.com> Date: 9 Sep 89 02:20:19 GMT References: <550@caldwr.UUCP> Reply-To: guy@auspex.auspex.com (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 25 >Did I answer something incorrectly in the configure script? Probably not. The problem appears to be due to the use of "vfork" in "mypopen" in "util.c"; fixes to that and other problems (including previously-posted "diff"s) are in another posting following this. (As for why this is, we quote from the SunOS 4.0 : /* * this atrocity is necessary on sparc because registers modified * by the child get propagated back to the parent via the window * save/restore mechanism. */ Now, if there weren't programs out there that relied, either explicitly or implicitly, on the behavior of the BSD "vfork" implementation (e.g., C shell depending on the fact that it blocks the parent in order to let it set up the process groups correctly - Chris Torek recently mentioned what the right way to do that is in "comp.unix.wizards", I think - or programs depending on the memory-sharing semantics that the manual page went to great pains to tell you was NOT guaranteed to be there in the future), "vfork" in 4.0 could just have been the same as "fork" as we could have avoided all this pain. But nooooo....)