🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98747

Re: emacs aborts after asking for RMAIL-summary

#98747
From: Dan L. Pierson
Date: Thu, 04 Apr 1991 14:53
36 lines
2163 bytes
In article <1991Apr03.162307.7008@cs.ruu.nl> piet@cs.ruu.nl (Piet van Oostrum) writes:

   I just discovered a bug in emacs 18.55 that might well be the cause of the
   frequent emacs crashes with VM version 5. I don't know what the relation is
   to the referenced article, but the problem I discovered has to do with the
   same routine.

   These crashes have been reported several times, and when I made a trace, I
   doscovered that emacs executed the following statement in buffer.c:

Thanks, Piet.  I've been working along the same lines: The following
patch to buffer.c is certainly a big hammer, but it seems to work in
both 18.55 and epoch 3.2 (patchlevel 2+) with no obvious bad side
effects.  It's probably better to fix the real problems as in Jim
Blandy's 18.57 patch for save-restriction and your unshow-buffer
problem, but that looks like a lot more work for a fairly temporary
(V19 is coming this decade, right?) version.

#ifdef DONT_ABORT_ON_SET_BUFFER_ERROR
      /* If point is outside the new visible range, move it inside. */
      if (point < FirstCharacter)
	SetPoint (FirstCharacter);
      if (point > NumCharacters+1)
	SetPoint (NumCharacters+1);
#else
      if (point < FirstCharacter || point > NumCharacters + 1) {
	abort ();
      }
#endif
--

                                            dan

In real life: Dan Pierson, Encore Computer Corporation, Research
UUCP: {talcott,linus,necis,decvax}!encore!pierson
Internet: pierson@encore.com
Technical Details
Message-ID: <PIERSON.91Apr4095304@xenna.encore.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbage
References: <1991Apr03.162307.7008@cs.ruu.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,e7ddce83d77b5594,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-04-04 06:53:04 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbage
From: pierson@ENCORE.COM (Dan L. Pierson)
Newsgroups: gnu.emacs.bug
Subject: Re: emacs aborts after asking for RMAIL-summary
Message-ID: <PIERSON.91Apr4095304@xenna.encore.com>
Date: 4 Apr 91 14:53:04 GMT
References: <1991Apr03.162307.7008@cs.ruu.nl>
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: Encore Computer Corporation
Lines: 36
Approved: bug-gnu-emacs@prep.ai.mit.edu