> Here is exactly what I did.
> 1. tar -xzf xemacs-21.0.60.tar.gz
> 2. tar -xzf xemacs-21.0.60-elc.tar.gz
> 3. ./configure
> 4. cd src
> 5. ./xemacs -vanilla
> then the first time the mouse hits the toolbar, it cores and I get the
> following lisp backtrace.
> Fatal error: assertion failed, file window.h, line 245, RECORD_TYPEP (_obj, lrec
ord_window) || MARKED_RECORD_P (_obj)
That looks awfully familiar. What version of gcc are you using? If
you do `./configure --cflags="-O3 -fno-caller-saves"', does that cure
the crash?
Configuring with `./configure --cflags="-O3 -fno-caller-saves"' fixed
the problem. So I guess it's a compiler problem.
I'm using gcc 2.7.2.1 (which is the default compiler on FreeBSD 2.2.6).
But I think newer versions of FreeBSD are also using this version of gcc.
So, I'm afraid this might be a common situation.
At the very least, there should be some mention about this in the
MACHINES file. It would be even better if configure could detect
this problem and add the necessary flag.
--
Richard Coleman
coleman(a)math.gatech.edu