Date: Fri, 3 Jan 1997 15:28:46 -0800 Message-Id: <199701032328.PAA01032@lara.eng.sun.com> From: paul DOT loewenstein AT Eng DOT Sun DOT COM (Paul Loewenstein) To: eliz AT is DOT elta DOT co DOT il CC: djgpp AT delorie DOT com In-reply-to: Eli Zaretskii's message of Sun, 29 Dec 1996 13:03:04 +0200 (IST) Subject: Problem with emacs 19.34 YOU AREN'T GOING TO LIKE THIS! You said I should post this, so I do so despite its length. > Date: Sun, 29 Dec 1996 13:03:04 +0200 (IST) > From: Eli Zaretskii > X-Sender: eliz AT is > cc: djgpp AT delorie DOT com > > > On Fri, 27 Dec 1996, Paul Loewenstein wrote: > > > Can you please tell what did you try doing in Emacs when it crashed? > > > > I wasn't doing anything; it crashes on startup. > > Hmm... strange. As a matter of fact, the traceback you posted doesn't > make sense either. Are you using CWSDPMI or any other DPMI host (like > Windows)? I am using cwsdpmi. > > In any case, please try these commands: > > set EMACSTEST=c:/gc/gnu/emacs/emacs.ses > redir -o emacs.log -eo emacs -q > > then post the contents of the files emacs.ses and emacs.log. When I either set EMACSTEST=c:/gc/gnu/emacs/emacs.ses or redir -o emacs.log -eo emacs -q or both emacs appears to work! It no longer crashes! even set EMACSTEST=null causes emacs to work. For what it is worth here is emacs.ses: Loading case-table... done For information about the GNU Project and its goals, type C-h C-p. For information about the GNU Project and its goals, type C-h C-p. Buffers Files Tools Edit Search Help GNU Emacs 19.34 (i386-unknown-msdos) of Sun Nov 3 1996 on pc Copyright (C) 1996 Free Software Foundation, Inc. Type C-x C-c to exit Emacs. Type C-h for help; C-x u to undo changes. Type C-h t for a tutorial on using Emacs. Type C-h i to enter Info, which you can use to read GNU documentation. (`C-' means use the CTRL key. `M-' means use the Meta (or Alt) key. If you have no Meta key, you may instead type ESC followed by the character.) Type F10 or M-` to use the menu bar. C-mouse-3 (third mouse button, with Control) gets a mode-specific menu. GNU Emacs comes with ABSOLUTELY NO WARRANTY; type C-h C-w for full details. You may give out copies of Emacs; type C-h C-c to see the conditions. Type C-h C-d for information on getting the latest version. -----Emacs: *scratch* (T:Lisp Interaction)--L17--All-------------------- - Al - (No files need saving) and emacs.log is empty. > > > > I have tried everything I can think of, including running at home with > > > the config.sys and autoexec.bat from work, so DOS drivers and TSRs do > > > not appear to be the problem. I haven't yet tried putting the > > > original 33MHz processor back pain > > Another thing that I would think about is the CMOS settings. Please > review items such as memory wait states and CPU cache settings. > Sometimes when you replace the CPU, these need to be tuned. > I would be VERY surprised if it were memory wait states or cache settings. I run a lot of very compute-intensive tasks without any unreliability or parity errors, in hot weather and cold. This includes speech recognition and ghostscript, including jpeg decoding. I even run emacs 19.30 (presumably compiled with djgpp v1.x). Emacs 19.34 fails in a very consistent way, whether my speech recognition TSR is installed or not. Since this runs in extended memory, emacs failure appears to be independent of physical memory address. If it is a hardware problem I would expect it to be a rarely exercised specific logical bug (design or manufacturing). When emacs 19.34 crashes, it appears to do so immediately after the screen background goes white. It appears to manage to restore the original screen before printing the crash report, although things flash by quickly. When I increase the minstack as you suggested earlier by: stubedit emacs.exe minstack=512k I get an almost identical crash: Exiting due to signal SIGSEGV General Protection Fault at eip=000761a6 eax=32334f47 ebx=00119000 ecx=00112000 edx=00000002 esi=00119b00 edi=00000008 ebp=0021f21c esp=0021f1e8 program=C:\GC\GNU\EMACS\BIN\EMACS.EXE cs: sel=00a7 base=10000000 limit=0025ffff ds: sel=00af base=10000000 limit=0025ffff es: sel=00af base=10000000 limit=0025ffff fs: sel=008f base=0001c010 limit=0000ffff gs: sel=00cf base=00000000 limit=ffffffff ss: sel=00af base=10000000 limit=0025ffff Call frame traceback EIPs: 0x000761a6 0x0007642e 0x0007646a 0x000491cb 0x0007646a 0x000432d4 0x00048360 0x0003f495 0x0003f558 0x0003f898 0x0003f927 instead of Exiting due to signal SIGSEGV General Protection Fault at eip=000761a6 eax=32334f47 ebx=00119000 ecx=00112000 edx=00000002 esi=00119b00 edi=00000008 ebp=001df21c esp=001df1e8 program=C:\GC\GNU\EMACS\BIN\EMACS.EXE cs: sel=00a7 base=10000000 limit=0021ffff ds: sel=00af base=10000000 limit=0021ffff es: sel=00af base=10000000 limit=0021ffff fs: sel=008f base=0001c020 limit=0000ffff gs: sel=00cf base=00000000 limit=ffffffff ss: sel=00af base=10000000 limit=0021ffff Call frame traceback EIPs: 0x000761a6 0x0007642e 0x0007646a 0x000491cb 0x0007646a 0x000432d4 0x00048360 0x0003f495 0x0003f558 0x0003f898 0x0003f927 For the moment I shall try running it with EMACSTEST=null Paul.