Xref: utzoo comp.emacs:9669 gnu.emacs.help:489 Path: utzoo!utgpu!watserv1!watmath!uunet!mcsun!ukc!pyrltd!root44!hrc63!mrcu!paj From: paj@mrcu (Paul Johnson) Newsgroups: comp.emacs,gnu.emacs.help Subject: Re: Installing gnuemacs on SPARCstation. Message-ID: <734@puck.mrcu> Date: 3 Dec 90 09:23:28 GMT References: <1990Nov27.143255.5679@evax.arl.utexas.edu <1990Nov28.141525.13826@evax.arl.utexas.edu> <33676@netnews.upenn.edu> Reply-To: paj@uk.co.gec-mrc (Paul Johnson) Organization: GEC-Marconi Research Centre, Great Baddow, UK Lines: 65 Summary: Expires: Sender: Followup-To: > >>I, too am having problems with this. Emacs 18.55 builds without >>errors on an SS/330, but dumps core when I try to run it. An identical >>machine running OS4.0.3 causes no problems. Has anybody succeeded in >>running 18.55 under 4.1? > >me three. >I am trying to install 18.55 under os 4.1 >I get a Fatal Error (6) and a core dump >Whats up? > >-- >-george @sol1.lrsm.upenn.edu OK guys, first you want to get on to gnu.emacs.help where they have a FAQ which mentions this. If you don't get the GNU stuff then go lobby your newsadmin and point out the existance of gnu.emacs.sources. From the gnu.emacs.help FAQ file: 44. Why does Emacs crash under SunOS 4.1? Under SunOS 4.1, Emacs dies with this message: Fatal error (6).Abort There is a bug in the "localtime" routine supplied with SunOS 4.1. A private function called by tzsetwall zeroes the byte just past an eight byte region it mallocs. This corrupts GNU malloc's memory pool. Put "#define SYSTEM_MALLOC" in src/config.h. Or, for the purists: Put "#define SUNOS_LOCALTIME_BUG" in src/config.h and apply the following patch to src/malloc.c. (Patch by Eirik Fuller .) >*** malloc.c~ Fri Apr 7 22:12:10 1989 >--- malloc.c Tue May 8 07:07:22 1990 >*************** >*** 476,482 **** >--- 476,487 ---- > multiple of 8, then figure out which nestf[] area to use. > Both the beginning of the header and the beginning of the > block should be on an eight byte boundary. */ >+ #ifdef SUNOS_LOCALTIME_BUG >+ /* SunOS 4.1 localtime scribbles on the ninth byte. */ >+ nbytes = (n + ((sizeof *p + 15) & ~15) + EXTRA + 15) & ~15; >+ #else > nbytes = (n + ((sizeof *p + 7) & ~7) + EXTRA + 7) & ~7; >+ #endif > { > register unsigned int shiftr = (nbytes - 1) >> 2; > Good luck. Paul. -- Paul Johnson UUCP: !mcvax!ukc!gec-mrc!paj --------------------------------!-------------------------|------------------- GEC-Marconi Research is not | Telex: 995016 GECRES G | Tel: +44 245 73331 responsible for my opinions. | Inet: paj@uk.co.gec-mrc | Fax: +44 245 75244 Brought to you by Super Global Mega Corp .com