Here is another shot at the syntax highlighting crash problem. Once
again, I launched XEmacs as "xemacs emacs.c" (in the XEmacs source
tree), selected Options -> Syntax Highlighting -> In This Buffer, and
then selected it again immediately. Then boom.
The C backtrace still has the "??" bits; as you can see I ran
./configure with "--debug" and "--error-checking=all". When I strip
the
binary, it gets smaller by a factor of about 3.5, so the binary was
definitely not stripped when the crash happened. Something else weird
must be happening, but I have no clue.
===
Fatal error: assertion failed, file gui-x.c, line 274, RECORD_TYPEP (obj,
lrecord_type_cons)
Fatal error (6).
===
Lisp backtrace:
===
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (inhibit-quit)
# (condition-case ... . error)
# (catch top-level ...)
===
C backtrace:
===
warning: core file may not match specified executable file.
#0 0x7001a6fc in kill ()
(gdb) where
#0 0x7001a6fc in kill ()
#1 0x00051b84 in fatal_error_signal (sig=6) at emacs.c:3440
#2 <signal handler called>
#3 0x7001a6fc in kill ()
#4 0x7006f984 in abort ()
#5 0x00052ecc in print_subr (obj=16046084, printcharfun=16046084, escapeflag=1) at
emacs.c:4283
#6 0x00051b84 in fatal_error_signal (sig=15139776) at emacs.c:3440
#7 0x001de868 in popup_selection_callback (widget=0xe9b7c0, ignored_id=0,
client_data=0xf4d804) at lisp.h:1615
#8 0x001fe6e0 in pick_hook (w=0xe9b7c0, client_data=0xe9b650, call_data=0xe98550) at
lwlib-Xlw.c:110
#9 0x00941b14 in ?? ()
#10 0x001fdd0c in Select (w=0xe9d354, ev=0xe9d350, params=0x1, num_params=0x0) at
xlwmenu.c:3391
#11 0x0096d3d4 in ?? ()
#12 0x0096d8f0 in ?? ()
#13 0x0096ddc8 in ?? ()
#14 0x0094c870 in ?? ()
#15 0x0094d1dc in ?? ()
#16 0x0094d3dc in ?? ()
#17 0x00957060 in ?? ()
#18 0x001c349c in emacs_Xt_next_event (emacs_event=0xe98550) at event-Xt.c:2806
#19 0x0006ad84 in event_stream_next_event (event=0xf1039c) at event-stream.c:609
#20 0x0006eae4 in next_event_internal (target_event=15795100, allow_queued=1) at
event-stream.c:2191
#21 0x0006f1ac in Fnext_event (event=15795100, prompt=12263384) at event-stream.c:2405
#22 0x000271c0 in Fcommand_loop_1 () at cmdloop.c:581
#23 0x00026f2c in command_loop_1 (dummy=0) at cmdloop.c:501
#24 0x00056410 in condition_case_1 (handlers=37, bfun=0x26ec8 <command_loop_1>,
barg=12263384, hfun=0x2695c <cmd_error>, harg=12263384) at eval.c:1889
#25 0x00026afc in command_loop_3 () at cmdloop.c:264
#26 0x00026b28 in command_loop_2 (dummy=0) at cmdloop.c:275
#27 0x00055d58 in internal_catch (tag=0, func=0x26b0c <command_loop_2>,
arg=12263384, threw=0x0, thrown_tag=0x0) at eval.c:1510
#28 0x00026c7c in initial_command_loop (load_me=0) at cmdloop.c:313
#29 0x00050940 in sort_args (argc=-1073746408, argv=0x303a44) at emacs.c:2354
#30 0x00051b84 in fatal_error_signal (sig=-1073742656) at emacs.c:3440
#31 0x00002710 in _start ()
#32 0x00002540 in start ()
===
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Darwin majik 5.5 Darwin Kernel Version 5.5: Thu May 30 14:51:26 PDT 2002;
root:xnu/xnu-201.42.3.obj~1/RELEASE_PPC Power Macintosh powerpc
./configure '--debug' '--error-checking=all'
XEmacs 21.5-b10 "burdock" (+CVS-20030127) configured for
`powerpc-apple-darwin5.5'.
Compilation / Installation:
Source code location: /Users/chris/Desktop/xemacs
Installation prefix: /usr/local
Operating system description file: `s/darwin.h'
Machine description file: `m/powerpc.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: no
GNU version of malloc: no
- The GNU allocators don't work with this system configuration.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
TTY:
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
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:
Databases:
Compiling in support for Berkeley database.
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.
Using the new portable dumper.
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:
----------------------
nil
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.11 :type regular)
(xslide :version 1.03 :type regular)
(xemacs-devel :version 1.48 :type single-file)
(xemacs-base :version 1.71 :type regular)
(w3 :version 1.26 :type regular)
(vm :version 7.07 :type regular)
(viper :version 1.35 :type regular)
(view-process :version 1.12 :type regular)
(vhdl :version 1.15 :type regular)
(vc-cc :version 1.21 :type regular)
(vc :version 1.33 :type regular)
(tramp :version 1.1 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(tm :version 1.34 :type regular)
(time :version 1.12 :type regular)
(textools :version 1.13 :type regular)
(text-modes :version 1.55 :type single-file)
(texinfo :version 1.21 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.24 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(sml-mode :version 0.05 :type regular)
(slider :version 1.13 :type regular)
(sieve :version 1.1 :type regular)
(sh-script :version 1.16 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.14 :type regular)
(scheme :version 1.12 :type regular)
(sasl :version 1.12 :type regular)
(ruby-modes :version 1.0 :type single-file)
(rmail :version 1.13 :type regular)
(reftex :version 1.28 :type regular)
(python-modes :version 1.01 :type single-file)
(psgml-dtds :version 1.02 :type regular)
(psgml :version 1.35 :type regular)
(ps-print :version 1.08 :type regular)
(prog-modes
:version
1
.67
:type
single-file)
(pgg :version 1.01 :type regular)
(perl-modes :version 1.02 :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.29 :type single-file)
(ocaml :version 0.03 :type regular)
(net-utils :version 1.28 :type single-file)
(mmm-mode :version 1.0 :type regular)
(misc-games :version 1.15 :type single-file)
(mine :version 1.14 :type regular)
(mh-e :version 1.16 :type regular)
(mew :version 1.17 :type regular)
(mailcrypt :version 2.12 :type regular)
(mail-lib :version 1.54 :type regular)
(liece :version 1.1 :type regular)
(jde :version 1.38 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.28 :type regular)
(igrep :version 1.1 :type regular)
(idlwave :version 1.27 :type regular)
(ibuffer :version 1.08 :type regular)
(hm--html-menus :version 1.18 :type regular)
(haskell-mode :version 1.03 :type regular)
(gnus :version 1.64 :type regular)
(gnats :version 1.15 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.11 :type single-file)
(frame-icon :version 1.09 :type regular)
(fortran-modes :version 1.01 :type single-file)
(forms :version 1.14 :type regular)
(footnote :version 1.15 :type regular)
(eudc :version 1.36 :type regular)
(eterm :version 1.13 :type regular)
(ess :version 1.02 :type regular)
(eshell :version 1.03 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.03 :type regular)
(efs :version 1.29 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 1.95 :type single-file)
(ediff :version 1.44 :type regular)
(edebug :version 1.14 :type regular)
(ecrypto :version 0.12 :type regular)
(docbookide :version 0.05 :type regular)
(dired :version 1.12 :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.04 :type regular)
(cc-mode :version 1.31 :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.07 :type regular)
(bbdb :version 1.21 :type regular)
(auctex :version 1.32 :type regular)
(apel :version 1.25 :type regular)
(ada :version 1.11 :type regular))
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 efs-cu 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 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
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 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 unicode lucid-scrollbars
cut-buffer lucid-menubars x c-balloon-help tty-frames tty toolbar
scrollbar unix-processes multicast network-streams subprocesses
menu-accelerator-support menubar berkeley-db dbm md5 xemacs gutter gif
xpm xbm lisp-float-type file-coding darwin devices window-system
base64)
Recent keystrokes:
-----------------
button1 button1up C-x 1 C-y button2 button2up M-< RET
up L i s p SPC b a c k t r a c e : RET C-x C-s button1
button1up M-< RET RET up up button2 button2up button1
button1up M-x r e p o r t TAB x e m TAB b u BS BS
RET
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Wrote /Users/chris/xemacs-death2
Selection conversion error: no selection, CLIPBOARD
(New file)
Loading efs-cu...done
Loading efs-cu...
Warning: XEmacs: Mod1 is being used for both Mode_switch and Alt.
Warning:
Two distinct modifier keys (such as Meta and Hyper) cannot generate
the same modifier bit, because Emacs won't be able to tell which
modifier was actually held down when some other key is pressed. It
won't be able to tell Meta-x and Hyper-x apart, for example. Change
one of these keys to use some other modifier bit. If you intend for
these keys to have the same behavior, then change them to have the
same keysym as well as the same modifier bit.
Warning:
The meanings of the modifier bits Mod1 through Mod5 are determined
by the keysyms used to control those bits. Mod1 does NOT always
mean Meta, although some non-ICCCM-compliant programs assume that.
Loading cus-face...done
Loading cus-face...
--
Chris music is what numbers feel like San Francisco, CA