🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99812

(none)

#99812
From: Dave Brown
Date: Thu, 10 May 1990 02:09
40 lines
1740 bytes
Apparently emacs malloc breaks on the SparcStation 1+ running SunOS 4.1.
After a normal compile run emacs:

ocelot# emacs-18.55.4*
Fatal error (6).Abort (core dumped)
ocelot# dbx *4
Reading symbolic information...
Read 29242 symbols
program terminated by signal ABRT (abort)
(dbx) run
Running: emacs-18.55.4
signal ABRT (abort) in kill at 0x5faa0
kill+8: bgeu    kill+0x18
(dbx) list
  515       abort ();
  516   #endif /* not rcheck */
  517
  518     /* Fill in the info, and if range checking, set up the magic numbers *
/
  519     p -> mh_alloc = ISALLOC;
  520   #ifdef rcheck
  521     p -> mh_nbytes = n;
  522     p -> mh_magic4 = MAGIC4;
  523     {
  524       /* Get the location n after the beginning of the user's space.  */
(dbx) where
kill() at 0x5faa0
abort() at 0x6366c
malloc(n = 7), line 515 in "malloc.c"
yp_unbind() at 0x68230
yp_get_default_domain() at 0x68270
setpwent() at 0x61da8
getpwuid() at 0x61be4
init_editfns(), line 69 in "editfns.c"
main(argc = 1, argv = 0xf7fffb8c, envp = 0xf7fffb94), line 361 in "emacs.c"
(dbx)

The apparent solution is to add:
#define SYSTEM_MALLOC
to config.h, thus bypassing the broken malloc.
Technical Details
Message-ID: <9005100209.AA02829@ocelot.noname>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ocelot.llnl.gov!brown

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,1dd9513810bbd82,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-05-10 00:12:54 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ocelot.llnl.gov!brown
From: brown@ocelot.llnl.gov (Dave Brown)
Newsgroups: gnu.emacs.bug
Subject: (none)
Message-ID: <9005100209.AA02829@ocelot.noname>
Date: 10 May 90 02:09:09 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 40
Posted: Thu May 10 03:09:09 1990