www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/04/02:50:47

Date: Mon, 4 Jun 2001 09:52:02 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Nisse Engstrom <sigsegv AT swipnet DOT se>
cc: djgpp AT delorie DOT com
Subject: Re: Emacs crashes with fast arrow keys
In-Reply-To: <L1xS6.9955$vR1.29645@nntpserver.swip.net>
Message-ID: <Pine.SUN.3.91.1010604095110.14670A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 3 Jun 2001, Nisse Engstrom wrote:

> Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
> > 
> > On Mon, 14 May 2001, Eduardo Espinoza E. wrote:
> > 
> > >      I made the changes. Attached are four log obtained:
> > 
> > Thanks.  Unfortunately, the results are inconclusive.  So either the
> > last part of the log somehow doesn't get into the file, or the crash
> > is in the parts of code which don't log their activities.
> > 
> > > ****** LOG1: Empty File (emacs crashes without show anything).
> > 
> > Can you reproduce this type of crash more or less consistently?  If
> > so, could you describe what are the conditions under which this
> > happens?  Also, can this be reproduced while running Emacs under GDB?
> > 
> > Thanks a lot for working on this.
> 
> Has this problem been resolved?

No.  I don't have a good access to an NT machine, so it is hard for me
to find time to debug this.

> I have unintentionally found
> a reproducible way to reboot my W98 box by pressing 'C-w'.
> (I'm using Emacs 19.34, so this may be old news).
> 
>   Run Emacs and type 'a<ENTER>'
>   Press '<HOME> C-w C-y C-y C-y C-y C-y' to copy the region
>   five times.
>   Repeat previous step seven more times.
>   The file now consists of 390625 lines.
>   The next 'C-w' reboots my computer. Every time.

I think this is a known (and solved) problem: when you press C-w on
Windows, Emacs tries to put the text into the Windows clipboard.
However, doing that from a DJGPP program requires a large buffer in
conventional memory to pass the text.  390625 lines with 1 character
on each one amount to 1171875 characters (each line has a CR and LF,
in addition to the `a' character), which is much larger than the
amount of conventional memory could ever be.  Emacs should have seen
that the text is too large, but a bug prevented that.

This should be solved in the later versions (there's a port of v20.5
on the usual DJGPP sites).  To work around it in your version, set the
variable x-select-enable-clipboard to nil.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019