Description of Problem:
emacs crashes with a core dump if the
xemacs lisp/auctex/tex-site.el file is loaded and used.
Version-Release number of selected component (if applicable):
GNU Emacs 20.7.1
Steps to Reproduce:
1. On Redhat 7.2, put the following in ~/.emacs:
(setq load-path (cons "/usr/lib/xemacs/xemacs-packages/lisp/auctex" load-path))
2. Put the following in f.tex:
3. Run 'emacs f.tex'.
# emacs f.tex
Fatal error (6).Abort (core dumped)
Expect emacs to come up and be able to edit f.tex.
I suggested to the user that they use xemacs (21.1.14) which appears
to work correctly on this input. However, it seems strange
that emacs would exit and dump core on it.
Dept. of Computer Science 520-621/2760
University of Arizona email@example.com
Tucson, Ariz. 85721
Well, you are providing it invalid compiled code... copying the lisp file and
byte-compiling it with GNU Emacs in a separate dir would be a better approach.
While it's not expected to work, it shouldn't coredump.
Newer versions of emacs (21.1 and newer) handle this by rejecting it:
File mode specification error: (error "File
`/usr/lib/xemacs/xemacs-packages/lisp/auctex/tex.elc' was not compiled in Emacs")
One version with the fix is emacs-21.1.95-1