www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/14/15:12:38

Date: Mon, 14 May 2001 15:09:03 -0400
From: "Eduardo Espinoza E." <eespinoz AT ing DOT puc DOT cl>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: djgpp AT delorie DOT com
Subject: Re: Emacs crashes with fast arrow keys
In-Reply-To: <8632-Sat12May2001155720+0300-eliz@is.elta.co.il>
Message-ID: <Pine.SGI.4.05.10105141501110.2797-100000@huequi.ing.puc.cl>
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 Sat, 12 May 2001, Eli Zaretskii wrote:

> It is important to understand what is the last thing Emacs did before
> it died.  So please edit the file src/msdos.c from the Emacs
> distribution and add "fflush (termscript);" for every place where you
> see something get written to the termscript stream, like this:
> 
>   if (termscript)
>     fprintf (termscript, "<SCREEN SAVED (dimensions=%dx%d)>\n",
> 	     screen_size_X, screen_size_Y);
> 
> Then run "emacs -q" after setting the EMACSTEST variable.  When Emacs
> dies, I hope the termscript file will at least tell what was it doing
> at that moment.
> 
> Thanks.
> 

     I made the changes. Attached are four log obtained:

****** LOG1: Empty File (emacs crashes without show anything).

****** LOG2: Crash while loading (with a key pressed)
<M_INIT><M_XY=0x0>
<SET_TERM><SCREEN SAVED (dimensions=80x25)>
<FACE 0: 0/7>
<SET_TERM><CLR:SCR><FACE 0: 0/7><M_ON><FACE 0: 0/7><FACE 0: 0/7>
<XY=0x24>(c:/users/eespinoz/djgpp/gnu/emacs/bin/emacs.exe -q)
<XY=0x0><FACE 0: 0/7>
<SET_TERM><CLR:SCR><FACE 0: 0/7><M_OFF>

****** LOG3: Crash while loading (same situation)
<M_INIT><M_XY=0x0>
<SET_TERM><SCREEN SAVED (dimensions=80x25)>
<FACE 0: 0/7>
<SET_TERM><CLR:SCR><FACE 0: 0/7><M_ON><FACE 0: 0/7><FACE 0: 0/7>
<XY=0x24>(c:/users/eespinoz/djgpp/gnu/emacs/bin/emacs.exe -q)
<XY=0x0><FACE 0: 0/7>
<SET_TERM><CLR:SCR><FACE 0: 0/7><M_OFF><M_ON><FACE 0: 0/7><FACE 0: 0/7>
<XY=0x24>For information about the GNU Project and its goals, type C-h C-p.
<XY=0x0><FACE 0: 0/7>
<SET_TERM><CLR:SCR><FACE 0: 0/7><M_OFF>

****** LOG3: Crash when pressing ENTER to load file msdos.c
<M_INIT><M_XY=0x0>
<SET_TERM><SCREEN SAVED (dimensions=80x25)>
<FACE 0: 0/7>
<SET_TERM><CLR:SCR><FACE 0: 0/7><M_ON><FACE 0: 0/7><FACE 0: 0/7>
<XY=0x24>(c:/users/eespinoz/djgpp/gnu/emacs/bin/emacs.exe -q)
<XY=0x0><FACE 0: 0/7>
<SET_TERM><CLR:SCR><FACE 0: 0/7><M_OFF><M_ON><FACE 0: 0/7><FACE 0: 0/7>
<XY=0x24>For information about the GNU Project and its goals, type C-h C-p.
<XY=0x0><FACE 0: 0/7>
<SET_TERM><CLR:SCR><FACE 0: 0/7><M_OFF><M_ON><FACE 0: 0/7>
<SET_TERM><CLR:SCR><FACE 0: 0/7><M_OFF><M_ON><FACE 0: 0/7><FACE 0: 0/7>
<XY=0x24>For information about the GNU Project and its goals, type C-h C-p.<FACE 0: 7/0>
<XY=0x0><FACE 0: 7/0><CLR:EOL>
<XY=0x0>Buffers Files Tools Edit Search Mule Help                                       <FACE 0: 0/7>
<XY=0x1>Welcome to GNU Emacs<FACE 0: 0/7><FACE 0: 0/7>
<XY=0x3>Get help           C-h  (Hold down CTRL and press h)<FACE 0: 0/7>
<XY=0x4>Undo changes       C-x u       Exit Emacs               C-x C-c<FACE 0: 0/7>
<XY=0x5>Get a tutorial     C-h t       Use Info to read docs    C-h i<FACE 0: 0/7>
<XY=0x6>Activate menubar   F10  or  ESC `  or   M-`<FACE 0: 0/7>
<XY=0x7>Mode-specific menu   C-mouse-3 (third button, with CTRL)<FACE 0: 0/7>
<XY=0x8>(`C-' means use the CTRL key.  `M-' means use the Meta (or Alt) key.<FACE 0: 0/7>
<XY=0x9>If you have no Meta key, you may instead type ESC followed by the character.)<FACE 0: 0/7><FACE 0: 0/7>
<XY=0x11>GNU Emacs 20.5 (i386-pc-msdosdjgpp)<FACE 0: 0/7>
<XY=0x12> of Mon May 14 2001 on JAVA<FACE 0: 0/7>
<XY=0x13>Copyright (C) 1999 Free Software Foundation, Inc.<FACE 0: 0/7><FACE 0: 0/7>
<XY=0x15>GNU Emacs comes with ABSOLUTELY NO WARRANTY; type C-h C-w for full details.<FACE 0: 0/7>
<XY=0x16>Emacs is Free Software--Free as in Freedom--so you can redistribute copies<M_OFF><FACE 0: 0/7>
<XY=0x17>of Emacs and modify it; type C-h C-c to see the conditions.<M_ON><FACE 0: 0/7>
<XY=0x18>Type C-h C-d for information on getting the latest version.<FACE 0: 0/7><FACE 0: 0/7><FACE 0: 0/7><FACE 0: 0/7><FACE 0: 0/7>
<XY=0x23><FACE 1: 7/0>--DD\---F1  *scratch*         (Lisp Interaction)--L1--All-----------------------
<XY=0x1>
<CURSOR:0x1><FACE 0: 0/7><FACE 0: 0/7>
<XY=0x24><FACE 0: 0/7><CLR:EOL><FACE 0: 7/0><FACE 0: 0/7>
<XY=0x1>This buffer is
<XY=15x1>for notes you don't want to save, and for Lisp evaluation.<FACE 0: 0/7>
<XY=0x2>If you want to create a file, visit that file with C-x C-f,<FACE 0: 0/7>
<XY=0x3>then 
<XY=6x3>nter
<XY=11x3>the
<XY=15x3>text in
<XY=23x3>that file's
<XY=35x3>own buffer.
<XY=46x3><FACE 0: 0/7><CLR:EOL><FACE 0: 0/7>
<XY=0x4><FACE 0: 0/7><CLR:EOL><FACE 0: 0/7>
<XY=0x5><FACE 0: 0/7><CLR:EOL><FACE 0: 0/7>
<XY=0x6><FACE 0: 0/7><CLR:EOL><FACE 0: 0/7>
<XY=0x7><FACE 0: 0/7><CLR:EOL><FACE 0: 0/7>
<XY=0x8><FACE 0: 0/7><CLR:EOL><FACE 0: 0/7>
<XY=0x9><FACE 0: 0/7><CLR:EOL><FACE 0: 0/7><FACE 0: 0/7>
<XY=0x11><FACE 0: 0/7><CLR:EOL><FACE 0: 0/7>
<XY=0x12><FACE 0: 0/7><CLR:EOL><FACE 0: 0/7>
<XY=0x13><FACE 0: 0/7><CLR:EOL><FACE 0: 0/7><FACE 0: 0/7>
<XY=0x15><FACE 0: 0/7><CLR:EOL><FACE 0: 0/7>
<XY=0x16><FACE 0: 0/7><CLR:EOL><M_OFF><FACE 0: 0/7>
<XY=0x17><FACE 0: 0/7><CLR:EOL><M_ON><FACE 0: 0/7>
<XY=0x18><FACE 0: 0/7><CLR:EOL><FACE 0: 0/7><FACE 0: 0/7><FACE 0: 0/7><FACE 0: 0/7><FACE 0: 0/7>
<XY=51x23><FACE 1: 7/0>5
<XY=0x5>
<CURSOR:0x5><FACE 0: 0/7><FACE 0: 0/7>
<XY=0x24>Find file: c:/users/eespinoz/<FACE 0: 7/0>
<XY=37x0>Minibuf
<XY=45x0>Help<FACE 0: 0/7>
<XY=29x24>
<CURSOR:29x24><FACE 0: 0/7>m
<CURSOR:30x24><FACE 0: 0/7><FACE 0: 0/7>
<XY=30x24><FACE 0: 0/7><FACE 0: 0/7>
<XY=30x24>sdos.c
<XY=36x24>
<CURSOR:36x24><FACE 0: 0/7>
<XY=0x24>


                       _______                          ()()())
        ____          (_______)            /\         ()( ( ) ())
       (__  )_                     ________||___     ( ( ) (( ) ()
          (___)           __      / \      ||   \    ( )( ) ) () )
                 ____    (__)    / _ \           \    () ( ) () )        
                (____)          / |_| \           \     ()(()()        ()   
                               /|  _  |\___________\      | |        (()(()
      ___  ~~-_                 | | | | |__| |__| |       | |         (())
     (___)   _||____       _____|_|_|_|___________|______/___\_________||__
  ___________\_____/______/      Eduardo Andres Espinoza Espinoza
    ~  ~  ~   ~    ~     /      eespinoz AT puc DOT cl, eespinoz AT ing DOT puc DOT cl
 


- Raw text -


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