delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/28/20:45:28

From: samir AT mindspring DOT com (Samir Barjoud)
Newsgroups: comp.os.msdos.djgpp
Subject: Bug in Emacs 19.34 (compilation-mode) (?)
Date: Sun, 28 Jun 1998 18:39:16 -0400
Organization: MindSpring Enterprises
Lines: 53
Message-ID: <MPG.1000902451b0cbc8989690@news.miami.mindspring.com>
NNTP-Posting-Host: user-38ldeph.dialup.mindspring.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

	I believe I have encountered a bug in Emacs 19.34.
Under certain circumstances, after executing "next-error"
(C-x C-~) in a compilation-mode buffer, emacs crashes.
Under DOS, it immediately crashes with a general protection
fault. Under Windows, it continues running - but totally 
erratic. I have had no problems with emacs, or compiling
with it till now. 
	At the end of this posting, before the sig, are two
compilation buffers that I saved. The buffers have no (compiler)
error - Emacs reports it as so...but the instant it does it crashes.
One always produces the crash (compilationX). The other never 
does (compilation). The difference is only one extra include 
directive in the compiler invocation. To reproduce the crash: 
Load the file into Emacs (compilation or compilationX), set
the buffer mode to 'compilation-mode', execute "next-error."

***** begin file compilation *****
cd ~/game/editor/
imake -k ed_sng.o

gcc -c -O2 -fomit-frame-pointer -ffast-math -Wall -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Werror -ansi -pedantic -
Ic:/xdev/system/generic_inc/ -Ic:/xdev/modules/objectpile/ -
Ic:/xdev/modules/polygon2d/ ed_sng.c -o obj/ed_sng.o

C:\xdev\game\editor>


Compilation finished at Sun Jun 28 16:40:49

**********************************

***** begin file compilationX *****
cd ~/game/editor/
imake -k ed_sng.o

gcc -c -O2 -fomit-frame-pointer -ffast-math -Wall -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Werror -ansi -pedantic -
Ic:/xdev/system/generic_inc/ -Ic:/xdev/modules/objectpile/ -
Ic:/xdev/modules/polygon2d/ -Ic:/xdev/modules/mathlib/ ed_sng.c -o 
obj/ed_sng.o

C:\xdev\game\editor>


Compilation finished at Sun Jun 28 16:40:49
************************************

 
-- 
Samir Barjoud
samir AT mindspring DOT com

- Raw text -


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