================================================================
Dear Bug Team!  I am trying to edit a java program and xemacs cores every time.  It is trying to fontify the file and then it crashes.
 
 
 
================================================================
 
System Info to help track down your bug:
---------------------------------------
 
uname -a: SunOS dbshqs104 5.8 Generic_108528-18 sun4u sparc SUNW,Sun-Fire-880
 
./configure  '--with-gcc' '--with-ldap=no'
 

XEmacs 21.5-b11 "cabbage"  configured for `sparc-sun-solaris2.8'.
 

Compilation / Installation:
  Source code location:              /usr/local/bin/xemacs-21.5.11
  Installation prefix:               /usr/local
  Runtime library search path:       /usr/ccs/lib:/usr/dt/lib:/usr/openwin/lib
  Operating system description file: `s/sol2.h'
  Machine description file:          `m/sparc.h'
  Compiler:                          gcc -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef -Wstrict-prototypes -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3
  Relocating allocator for buffers:  yes
  GNU version of malloc:             yes
 
Window System:
  Compiling in support for the X window system:
    - X Windows headers location:                 /usr/dt/include /usr/openwin/include
    - X Windows libraries location:               /usr/dt/lib /usr/openwin/lib
    - Handling WM_COMMAND properly.
  Using Lucid menubars.
  Using Lucid scrollbars.
  Using Motif dialog boxes.
  Using Motif native widgets.
 
TTY:
 
Images:
  Compiling in support for GIF  images (builtin).
  WARNING: -----------------------------------------------------------
  WARNING: Compiling without XPM image support.
  WARNING: You should strongly consider installing XPM.
  WARNING: Otherwise toolbars and other graphics will look suboptimal.
  WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)
  WARNING: -----------------------------------------------------------
  WARNING: -----------------------------------------------------------
  WARNING: Compiling without PNG image support.
  WARNING: You should strongly consider installing the PNG libraries.
  WARNING: Otherwise certain images and glyphs may not display.
  WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)
  WARNING: -----------------------------------------------------------
 
Sound:
  Compiling in support for sound (native).
 
Databases:
  Compiling in support for DBM.
 
Internationalization:
 
Mail:
  Compiling in support for "dot-locking" mail spool file locking method.
 
Other Features:
  Inhibiting IPv6 canonicalization at startup.
  Compiling in support for ToolTalk.
  Compiling in support for dynamic shared object modules.
  Compiling in support for extra debugging code.
  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: ---------------------------------------------------------
 
 
 
Load-Path Lisp Shadows:
----------------------
(/usr/local/lib/xemacs-21.5-b11/xemacs-packages/lisp/build/build-report
/usr/local/lib/xemacs-21.5-b11/lisp/build-report)
 

Installed XEmacs Packages:
-------------------------
 
((zenirc:version 1.13 :type regular)
 (xslt-process :version 1.11 :type regular)
 (xslide :version 1.06 :type regular)
 (xemacs-devel:version 1.52 :type single-file)
 (xemacs-base:version 1.75 :type regular)
 (w3 :version 1.28 :type regular)
 (vm :version 7.14 :type regular)
 (viper:version 1.35 :type regular)
 (view-process :version 1.12 :type regular)
 (vhdl :version 1.16 :type regular)
 (vc-cc:version 1.21 :type regular)
 (vc :version 1.37 :type regular)
 (tramp :version 1.12 :type regular)
 (tpu :version 1.12 :type regular)
 (tooltalk :version 1.13 :type regular)
 (tm:version 1.35 :type regular)
 (time :version 1.12 :type regular)
 (textools :version 1.14 :type regular)
 (text-modes:version 1.6 :type single-file)
 (texinfo :version 1.23 :type regular)
 (supercite :version 1.19 :type regular)
 (strokes:version 1.08 :type regular)
 (speedbar :version 1.26 :type regular)
 (sounds-wav :version 1.1 :type regular)
 (sounds-au:version 1.1 :type regular)
 (sml-mode :version 0.09 :type regular)
 (slider :version 1.13 :type regular)
 (sieve:version 1.13 :type regular)
 (sh-script :version 1.17 :type regular)
 (sgml :version 1.08 :type regular)
 (semantic:version 1.17 :type regular)
 (scheme :version 1.13 :type regular)
 (sasl :version 1.12 :type regular)
 (ruby-modes:version 1.01 :type regular)
 (rmail :version 1.13 :type regular)
 (reftex :version 1.28 :type regular)
 (python-modes:version 1.02 :type single-file)
 (psgml-dtds:version 1.02 :type regular)
 (psgml :version 1.4 :type regular)
 (ps-print :version 1.08 :type regular)
 (prog-modes
 :version
   1
   .72
    :type
     single-file)
 (pgg:version 1.02 :type regular)
 (perl-modes :version 1.04 :type single-file)
 (pcomplete :version 1.02 :type regular)
 (pcl-cvs:version 1.64 :type regular)
 (pc :version 1.25:type single-file)
 (os-utils :version 1.3 :type single-file)
 (ocaml:version 0.04 :type regular)
 (net-utils :version 1.31 :type single-file)
 (mmm-mode :version 1.0 :type regular)
 (misc-games:version 1.16 :type single-file)
 (mine :version 1.14 :type regular)
 (mh-e :version 1.19 :type regular)
 (mew:version 1.17 :type regular)
 (mailcrypt :version 2.12:type regular)
 (mail-lib :version 1.57 :type regular)
 (liece:version 1.11 :type regular)
 (jde :version 1.45:type regular)
 (ispell :version 1.24 :type regular)
 (ilisp:version 1.31 :type regular)
 (igrep :version 1.1:type regular)
 (idlwave :version 1.28 :type regular)
 (ibuffer:version 1.08 :type regular)
 (hm--html-menus :version 1.2 :type regular)
 (haskell-mode :version 1.05 :type regular)
 (gnus:version 1.68 :type regular)
 (gnats :version 1.15:type regular)
 (general-docs :version 1.0 :type regular)
 (games:version 1.13 :type regular)
 (fsf-compat :version 1.12 :type single-file)
 (frame-icon :version 1.09 :type regular)
 (fortran-modes:version 1.02 :type single-file)
 (forms:version 1.14 :type regular)
 (footnote :version 1.15 :type regular)
 (eudc :version 1.37 :type regular)
 (eterm:version 1.13 :type regular)
 (ess :version 1.03:type regular)
 (eshell :version 1.05 :type regular)
 (emerge:version 1.09 :type regular)
 (elib :version 1.1:type single-file)
 (eieio :version 1.04 :type regular)
 (efs:version 1.29 :type regular)
 (edt :version 1.12 :type regular)
 (edit-utils :version 2.0 :type single-file)
 (ediff:version 1.46 :type regular)
 (edebug :version 1.17 :type regular)
 (ecrypto :version 0.12 :type regular)
 (ecb:version 1.06 :type regular)
 (docbookide :version 0.06 :type regular)
 (dired :version 1.13 :type regular)
 (dictionary:version 1.11 :type regular)
 (debug :version 1.16 :type regular)
 (crisp :version 1.12 :type regular)
 (cookie:version 1.14 :type regular)
 (clearcase :version 1.06 :type regular)
 (cc-mode :version 1.33 :type regular)
 (calendar:version 1.19 :type regular)
 (calc :version 1.23:type regular)
 (c-support :version 1.16 :type single-file)
 (build:version 1.1 :type regular)
 (bbdb :version 1.21:type regular)
 (auctex :version 1.35 :type regular)
 (apel :version 1.26 :type regular)
 (ada :version 1.13 :type regular))
 

Installed Modules:
-----------------
 

Features:
--------
 
(mail-abbrevs xemacsbug shadow sendmail rfc822 cus-face
zenirc-autoloads xslt-process-autoloads xslide-autoloads
xemacs-devel-autoloads xemacs-base-autoloads w3-autoloads vm-autoloads
viper-autoloads view-process-autoloads vhdl-autoloads vc-cc-autoloads
vc-autoloads tramp-autoloads tpu-autoloads tooltalk-autoloads
tm-autoloads time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads sounds-wav-autoloads sounds-au-autoloads
sml-mode-autoloads slider-autoloads sieve-autoloads
sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
sasl-autoloads ruby-modes-autoloads rmail-autoloads reftex-autoloads
python-modes-autoloads psgml-dtds-autoloads psgml-autoloads
ps-print-autoloads prog-modes-autoloads pgg-autoloads
perl-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
pc-autoloads os-utils-autoloads ocaml-autoloads net-utils-autoloads
mmm-mode-autoloads misc-games-autoloads mine-autoloads mh-e-autoloads
mew-autoloads mailcrypt-autoloads mail-lib-autoloads liece-autoloads
jde-autoloads ispell-autoloads ilisp-autoloads igrep-autoloads
idlwave-autoloads ibuffer-autoloads hm--html-menus-autoloads
haskell-mode-autoloads gnus-autoloads gnats-autoloads
general-docs-autoloads games-autoloads fsf-compat-autoloads
frame-icon-autoloads fortran-modes-autoloads forms-autoloads
footnote-autoloads eudc-autoloads eterm-autoloads ess-autoloads
eshell-autoloads emerge-autoloads elib-autoloads eieio-autoloads
efs-autoloads edt-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads ecrypto-autoloads ecb-autoloads docbookide-autoloads
dired-autoloads dictionary-autoloads debug-autoloads crisp-autoloads
cookie-autoloads clearcase-autoloads cc-mode-autoloads
calendar-autoloads calc-autoloads c-support-autoloads build-autoloads
bbdb-autoloads auctex-autoloads apel-autoloads ada-autoloads
modules-autoloads auto-autoloads loadhist rsz-minibuf auto-show
fontl-hooks x-iso8859-1 code-cmds gutter-items menubar-items x-menubar
mode-motion mouse behavior itimer auto-save lisp-mode easymenu
iso8859-1 page buff-menu lib-complete cus-file derived env text-props
frame obsolete cus-start custom widget cl-extra mini-cl cl cl-19
packages backquote very-early-lisp tooltalk unicode lucid-scrollbars
cut-buffer lucid-menubars motif-dialogs x c-balloon-help tty-frames
tty toolbar native-sound scrollbar unix-processes multicast
network-streams subprocesses modules menu-accelerator-support menubar
dbm md5 xemacs gutter gif xbm lisp-float-type file-coding usg-unix-v
dialog devices window-system base64)
 

Recent keystrokes:
-----------------
 
misc-user
 

Recent messages (most recent first):
-----------------------------------
 
Loading xemacsbug...done
Loading xemacsbug...
Loading cus-face...done
Loading cus-face...
 
 
 
 
 
 
 
Fatal error: assertion failed, file gui-x.c, line 284, RECORD_TYPEP (obj, lrecord_type_cons)
 
Fatal error (6).
 
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
 
Your version of XEmacs was distributed with a PROBLEMS file that may describe
your crash, and with luck a workaround.  Please check it first, but do report
the crash anyway.
 
Please report this bug by invoking M-x report-emacs-bug, or by selecting
`Send Bug Report' from the Help menu.  If that won't work, send ordinary
email to `crashes@xemacs.org'.  *MAKE SURE* to include this entire output
from this crash, especially including the Lisp backtrace, as well as the
XEmacs configuration from M-x describe-installation (or equivalently, the
file `Installation' in the top of the build tree).
 
*Please* try *hard* to obtain a C stack backtrace; without it, we are unlikely
to be able to analyze the problem.  Locate the core file produced as a result
of this crash (often called `core' or `core.<process-id>', and located in
the directory in which you started XEmacs or your home directory), and type
 
  gdb /usr/local/bin/xemacs core
 
then type `where' at the debugger prompt.  No GDB on your system?  You may
have DBX, or XDB, or SDB.  (Ask your system administrator if you need help.)
If no core file was produced, enable them (often with `ulimit -c unlimited')
in case of future recurrance of the crash.
 
Lisp backtrace follows:
 
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  byte-code("..." [limit 0 looking-at "\\s *\\(\\(,\\)\\|;\\|$\\)" scan-sexps 1 2] 3)
  # (condition-case ... . ((error t)))
  # (unwind-protect ...)
  # bind (match-data limit)
  font-lock-match-java-declarations(481)
  # (unwind-protect ...)
  # bind (match-data matcher lowdarks highlights pre-match-value keywords limit highlights matcher keyword nkeywords iter old-progress progress bufname keywords case-fold-search loudly loudvar end start)
  font-lock-fontify-keywords-region(1 2398 nil)
  # (unwind-protect ...)
  # bind (modified buffer-undo-list inhibit-read-only old-syntax-table buffer-file-name buffer-file-truename loudly end beg)
  font-lock-default-fontify-region(1 2398 nil)
  # bind (loudly end beg)
  font-lock-fontify-region(1 2398)
  # (unwind-protect ...)
  byte-code("..." [font-lock-fontify-region] 3)
  # (condition-case ... . ((t (byte-code "Á" [aborted t] 2))))
  # bind (was-on font-lock-verbose font-lock-message-threshold aborted)
  # (unwind-protect ...)
  font-lock-default-fontify-buffer()
  # bind (font-lock-verbose)
  font-lock-fontify-buffer()
  # bind (on-p maximum-size arg)
  font-lock-mode(1)
  turn-on-font-lock()
  # bind (explicit-defaults)
  font-lock-set-defaults(t)
  # bind (major-mode)
  jde-setup-syntax-coloring()
  run-hooks(jde-setup-syntax-coloring)
  # bind (hooks-name mode)
  derived-mode-run-hooks(jde-mode)
  byte-code("..." [jde-xemacsp jde-project-context-switching-enabled-p jde-current-project default-directory mode-name major-mode jde-check-versions java-mode special put jde-mode t "JDE" derived-mode-set-keymap derived-mode-set-syntax-table derived-mode-set-abbrev-table make-local-variable jde-project-name jde-run-applet-document jde-find-project-file "" jde-debugger-running-p jde-load-project-file make-local-hook post-command-hook add-hook jde-detect-java-buffer-activation nil jde-insert-menu-in-xemacs-menubar modify-syntax-entry ?_ "w" jde-init-abbrev-table abbrev-mode 1 custom-initialize-reset jde-key-bindings setnu-mode mode-line-format tags-table-format-hooks (jde-etags-recognize-tags-table recognize-empty-tags-table) bsh-running-p bsh-internal jde-wiz-set-bsh-project semantic-init-hooks jde-parse-semantic-default-setup "JDEbug" jde-bug-minor-mode jde-jdb-minor-mode derived-mode-run-hooks ...] 5)
  # (condition-case ... . ((error (byte-code "ÁÂ!\"" [err message "%s" error-message-string] 4))))
  jde-mode()
  # bind (alist mode name keep-going)
  # (unwind-protect ...)
  # bind (just-from-file-name)
  set-auto-mode()
  #<compiled-function nil "...(5)" [set-auto-mode t] 1>()
  # (unwind-protect ...)
  call-with-condition-handler(#<compiled-function (__call_trapping_errors_arg__) "...(17)" [__call_trapping_errors_arg__ errstr error-message-string lwarn file-mode-spec warning "Error in %s: %s\n\nBacktrace follows:\n\n%s" "File mode specification" backtrace-in-condition-handler-eliminating-handler] 8> #<compiled-function nil "...(5)" [set-auto-mode t] 1>)
  # (condition-case ... . ((error)))
  # bind (find-file)
  normal-mode(t)
  # bind (nomodes after-find-file-from-revert-buffer noauto warn error)
  after-find-file(nil t)
  byte-code("..." [buffer-file-number number truename buffer-file-truename buf buffer-file-name set-buffer-major-mode erase-buffer nil (byte-code «Â     Ã\"ª
Ä   Ã\"Â" [rawfile filename insert-file-contents-literally t insert-file-contents] 3) ((file-error (byte-code "Ã\n!«Ä\n!¬ÅÆÇ\nD\«
                                                                                                                                ȪÉÊ!¬ÈÃ" [rawfile error filename file-exists-p file-readable-p signal file-error "File is not readable" t run-hook-with-args-until-success find-file-not-found-hooks] 4))) abbreviate-file-name file-name-directory make-local-variable backup-inhibited t after-find-file find-file-use-truenames default-directory backup-enable-predicate rawfile error nowarn] 3)
  # (condition-case ... . ((t (byte-code "!à   @       A\"" [buf data kill-buffer signal] 3))))
  # (unwind-protect ...)
  # bind (error number truename buf rawfile nowarn filename)
  find-file-noselect("/local/oracle/product/9.0.2/jdk/bin/Jdbctest.java")
  # bind (codesys filename)
  find-file("/local/oracle/product/9.0.2/jdk/bin/Jdbctest.java" nil)
  # bind (command-debug-status)
  call-interactively(find-file)
  (dispatch-event "[internal]")
  # (condition-case ... . error)
  # (catch top-level ...)
 

 
 
Thanks,
Sam Gold