Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!stolaf!cray!hrp From: hrp@cray.UUCP (Hal Peterson) Newsgroups: net.emacs Subject: One fix for two bugs in GNU Emacs 17.61 Message-ID: <321@cray.UUCP> Date: Wed, 14-May-86 13:05:55 EDT Article-I.D.: cray.321 Posted: Wed May 14 13:05:55 1986 Date-Received: Mon, 19-May-86 06:18:13 EDT Distribution: net Organization: Cray Research Inc., Mendota Heights, MN Lines: 48 [] In article <319@cray.UUCP>, I wrote: > We are running GNU Emacs version 17.61 on a VAX 785 running System V.2 > off the shelf. When the dumped Emacs does garbage collection, it dies > with a "Fatal error.Memory fault - core dumped" message. Later, in article <320@cray.UUCP>, I wrote: > Every time our dumped emacs starts up, it feeps and puts the message, > "Wrong type argument: listp, 454660" in the minibuffer. Last weekend, I finally took a deep breath and waded in with adb, and found that these are two symptoms of one problem: an incorrect declaration in terminfo.c. Here is the diff (terminfo.c is the fixed version and terminfo.c.dist is the original): =========================================================== *** terminfo.c Sat May 10 21:48:35 1986 --- terminfo.c.dist Sat May 10 21:43:31 1986 *************** *** 22,28 #include "config.h" ! char* UP, BC, PC; short ospeed; #ifdef NO_ARG_ARRAY --- 22,28 ----- #include "config.h" ! char UP, BC, PC; short ospeed; #ifdef NO_ARG_ARRAY =========================================================== Lint would have picked this up, but I suppose that all of the 24-bit pointer stuff would drown real error messages in a sea of spurious complaints. Sigh. -- Hal Peterson / Cray Research / 1440 Northland Dr. / Mendota Hts, MN 55120 UUCP: ihnp4!cray!hrp phone: (612) 681-3085