Mail Archives: djgpp/2001/06/04/02:50:47
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 -