[This is very exciting to me to see things this close, go go Olivier.]
$ ./temacs
Fatal error: assertion failed, file /usr/local/devel/xemacs-21.2/src/lread.c, line 487,
!purify_flag
Fatal error (6).
...
Lisp backtrace follows:
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
load-internal("fast-lock" nil nil nil binary)
# bind (path handler filename nosuffix nomessage noerror file)
load("fast-lock" nil nil nil)
# (unwind-protect ...)
turn-on-fast-lock()
run-hooks(turn-on-fast-lock)
# bind (on-p maximum-size arg)
font-lock-mode(1)
turn-on-font-lock()
run-hooks(turn-on-font-lock)
lisp-interaction-mode()
# (unwind-protect ...)
# bind (command-line-args-left)
command-line()
# (unwind-protect ...)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
zsh: 13346 IOT instruction (core dumped) ./temacs
$ gdb ./temacs core
GNU gdb 4.18
...
This GDB was configured as "sparc-sun-solaris2.6"...
...
(gdb) where
#0 0x6f607418 in _libc_kill () from /usr/lib/libc.so.1
#1 0xb6108 in fatal_error_signal (sig=6)
at /usr/local/devel/xemacs-21.2/src/emacs.c:276
#2 <signal handler called>
#3 0x6f607418 in _libc_kill () from /usr/lib/libc.so.1
#4 0x6f5ba52c in abort () from /usr/lib/libc.so.1
#5 0xb6068 in fatal_error_signal (sig=3023096)
at /usr/local/devel/xemacs-21.2/src/emacs.c:2796
This crash doesn't happen when I run --vanilla, so I presume it has
something to do with either fast-lock or more likely, lazy loaded byte
code.
uname -a: SunOS miho 5.6 Generic_105181-05 sun4u sparc
../xemacs-21.2/configure '--with-mule' '--debug=yes'
'--error-checking=all' '--extra-verbose=no'
'--site-prefixes=/usr/local' '--compiler=gcc'
'--mail-locking=file' '--srcdir=../xemacs-21.2' '--cflags=-g -O3'
'--site-includes=/usr/lib/locale/ja/wnn/demo/include'
'--site-libraries=/usr/lib/locale/ja/wnn/lib' '--with-scrollbars=athena3d'
'--with-dialogs=athena3d' '--with-xim=none'
'--with-widgets=athena3d' '--pdump'
XEmacs 21.2-b19 "Shinjuku" configured for `sparc-sun-solaris2.6'.
Where should the build process find the source code? /usr/local/devel/xemacs-21.2
What installation prefix should install use? /usr/local
What operating system and machine description files should XEmacs use?
`s/sol2.h' and `m/sparc.h'
What compiler should XEmacs be built with? gcc -g -O3
Should XEmacs use the GNU version of malloc? yes
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/dt/include
/usr/local/X11R6/include
Where do we find X Windows libraries? /usr/dt/lib
/usr/local/X11R6/lib
Additional header files:
/usr/lib/locale/ja/wnn/demo/include
Additional libraries: /usr/lib/locale/ja/wnn/lib
Additional prefixes: /usr/local
Runtime library search path:
/usr/lib/locale/ja/wnn/lib:/usr/local/lib:/usr/dt/lib:/usr/local/X11R6/lib:/usr/local/qt/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for TIFF image handling.
Compiling in support for X-Face message headers.
Compiling in support for Berkeley DB.
Compiling in support for GNU DBM.
Compiling in support for ncurses.
Compiling in Mule (multi-lingual) support.
Compiling in support for Canna on Mule.
Compiling in support for the WNN input method on Mule.
Using WNN version 6.
Compiling in support for CDE.
Compiling in support for ToolTalk.
Compiling in EXPERIMENTAL support for Drag'n'Drop ( CDE ).
Compiling in support for proper WM_COMMAND handling.
Using Lucid menubars.
Using Athena-3d scrollbars.
Using Athena-3d native widgets.
Using Athena-3d dialog boxes.
Compiling in DSO module support.
movemail will use "dot-locking" for locking mail spool files.
Using the new portable dumper (wishful thinking).
Compiling in extra code for debugging.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------