Dear Bug Team!
When I enable font-lock mode on even a very simple file, Xemacs
crashes.
test.xml contains:
<tag>content</tag>
I start xemacs:
xemacs -vanilla test.xml
I see the contents of the file (un-font-colored).
I do M-x font-lock-mode and <poof>.
However, if I set progress-feedback-use-echo-area to t, then
fontifying works OK.
Thanks,
David Sklar
Here is the xemacs Lisp backtrace:
dispatch-non-command-events()
# (condition-case ... . ((nil)))
progress-feedback-dispatch-non-command-events()
# bind (ext gutter-string val zmacs-region-stays inhibit-read-only
frame value message)
raw-append-progress-feedback("Fontifying test.xml... (syntactically)"
5 #<x-frame "emacs" 0x1518>)
# bind (tmsg top frame value message label)
append-progress-feedback(font-lock "Fontifying test.xml...
(syntactically)" 5 nil)
# bind (frame value message label)
display-progress-feedback(font-lock "Fontifying test.xml...
(syntactically)" 5)
# bind (str)
# (unwind-protect ...)
# bind (args value fmt label)
progress-feedback-with-label(font-lock "Fontifying %s...
(syntactically)" 5 "test.xml")
# bind (loudly end start)
font-lock-fontify-syntactically-region(1 20 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 20 nil)
# bind (loudly end beg)
font-lock-fontify-region(1 20)
# (unwind-protect ...)
byte-code("..." [font-lock-fontify-region] 3)
# (condition-case ... . ((t (byte-code "\uffff\uffff ... 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(nil)
# bind (command-debug-status)
call-interactively(font-lock-mode)
command-execute(font-lock-mode t)
# bind (_execute_command_keys_ _execute_command_name_ prefix-arg)
execute-extended-command(nil)
# bind (command-debug-status)
call-interactively(execute-extended-command)
# (condition-case ... . error)
# (catch top-level ...)
Here is the gdb backtrace of the generated core file:
#0 0x004857e2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x004c9ee6 in kill () from /lib/tls/libc.so.6
#2 0x080ad075 in fatal_error_signal ()
#3 <signal handler called>
#4 0x0061e6b9 in XFillRectangle () from /usr/X11R6/lib/libX11.so.6
#5 0x081b93a4 in XawGaugeGetValue ()
#6 0x081b9655 in XawGaugeGetValue ()
#7 0x05218de2 in _XtEventInitialize () from /usr/X11R6/lib/libXt.so.6
#8 0x05219277 in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#9 0x052199cc in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
#10 0x05219cda in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#11 0x05224dd8 in XtAppProcessEvent () from /usr/X11R6/lib/libXt.so.6
#12 0x081937c6 in emacs_Xt_event_handler ()
#13 0x080f1d81 in allocate_command_builder ()
#14 0x080f418b in Fdispatch_non_command_events ()
#15 0x080b3c93 in Feval ()
#16 0x080b1c0d in condition_case_1 ()
#17 0x080b329d in condition_case_3 ()
#18 0x0808f8c1 in execute_rare_opcode ()
#19 0x0808fcf2 in execute_rare_opcode ()
#20 0x080922b5 in funcall_compiled_function ()
#21 0x080b466a in Ffuncall ()
#22 0x0809042b in execute_rare_opcode ()
#23 0x080922b5 in funcall_compiled_function ()
#24 0x080b466a in Ffuncall ()
#25 0x0809042b in execute_rare_opcode ()
#26 0x080922b5 in funcall_compiled_function ()
#27 0x080b466a in Ffuncall ()
#28 0x0809042b in execute_rare_opcode ()
#29 0x080922b5 in funcall_compiled_function ()
#30 0x080b466a in Ffuncall ()
#31 0x0809042b in execute_rare_opcode ()
#32 0x080922b5 in funcall_compiled_function ()
#33 0x080b466a in Ffuncall ()
#34 0x0809042b in execute_rare_opcode ()
#35 0x080922b5 in funcall_compiled_function ()
#36 0x080b466a in Ffuncall ()
#37 0x0809042b in execute_rare_opcode ()
#38 0x080922b5 in funcall_compiled_function ()
#39 0x080b466a in Ffuncall ()
#40 0x0809042b in execute_rare_opcode ()
#41 0x080922b5 in funcall_compiled_function ()
#42 0x080b466a in Ffuncall ()
#43 0x0809042b in execute_rare_opcode ()
#44 0x08092513 in Fbyte_code ()
#45 0x080b3e0b in Feval ()
#46 0x080b1c0d in condition_case_1 ()
#47 0x080b329d in condition_case_3 ()
#48 0x0808f8c1 in execute_rare_opcode ()
#49 0x0808fcf2 in execute_rare_opcode ()
#50 0x080922b5 in funcall_compiled_function ()
#51 0x080b466a in Ffuncall ()
#52 0x0809042b in execute_rare_opcode ()
#53 0x080922b5 in funcall_compiled_function ()
#54 0x080b466a in Ffuncall ()
#55 0x0809042b in execute_rare_opcode ()
#56 0x080922b5 in funcall_compiled_function ()
#57 0x080b466a in Ffuncall ()
#58 0x08093958 in Fcall_interactively ()
#59 0x080b5b7d in Fcommand_execute ()
#60 0x080b47d7 in Ffuncall ()
#61 0x0809042b in execute_rare_opcode ()
#62 0x080922b5 in funcall_compiled_function ()
#63 0x080b466a in Ffuncall ()
#64 0x08093958 in Fcall_interactively ()
#65 0x080b5b7d in Fcommand_execute ()
#66 0x080f50f9 in extract_vector_nth_mouse_event ()
#67 0x080f5484 in Fdispatch_event ()
#68 0x080999d8 in Fcommand_loop_1 ()
#69 0x080b1c0d in condition_case_1 ()
#70 0x08099539 in Freally_early_error_handler ()
#71 0x080afc83 in internal_catch ()
#72 0x08099694 in initial_command_loop ()
#73 0x080aeba0 in xemacs_21_4_17_i386_redhat_linux ()
#74 0x080af828 in main ()
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux
tweety.build.redhat.com 2.6.9-1.906_ELsmp #1 SMP Sun Dec
12 22:58:08 EST 2004 i686 i686 i386 GNU/Linux
./configure 'i386-redhat-linux-gnu' '--prefix=/usr'
'--datadir=/usr/share' '--docdir=/usr/lib/xemacs-21.4.17/doc/'
'--infodir=/usr/share/info' '--libdir=/usr/lib'
'--mandir=/usr/share/man/man1' '--with-gpm=yes'
'--with-sound=native'
'--with-pop' '--mail-locking=lockf' '--with-clash-detection'
'--debug=yes' '--with-mule=yes' '--with-canna=yes'
'--with-wnn=yes'
'--with-xim=xlib' '--with-database=no' '--with-postgresql=no'
'--with-ldap=no' '--with-hesiod=no' '--with-athena=3d'
'--with-widgets=athena' '--with-menubars=lucid'
'--with-scrollbars=lucid' '--with-dialogs=athena' '--with-msw=no'
'--with-xfs=no' '--pdump'
XEmacs 21.4.17 "Jumbo Shrimp" configured for `i386-redhat-linux'.
Compilation / Installation:
Source code location:
/usr/src/build/520282-i386/BUILD/xemacs-21.4.17
Installation prefix: /usr
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -O2 -g -pipe -m32 -march=i386
-mtune=pentium4
Compiler version: gcc (GCC) 3.4.2 20041017 (Red Hat
3.4.2-6.fc3)
Compiler specs file:
/usr/lib/gcc/i386-redhat-linux/3.4.2/specs
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
libc: glibc-2.3.4-2.fc3
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.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw3d
- Athena library to link: Xaw3d
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Compiling in support for sound (native).
Databases:
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using raw Xlib to provide XIM support.
Compiling in support for Canna on Mule.
Compiling in support for the WNN input method on Mule.
Mail:
Compiling in support for POP mail retrieval.
Compiling in support for "lockf" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new portable dumper.
Compiling in support for extra debugging code.
Load-Path Lisp Shadows:
----------------------
(/usr/share/xemacs/xemacs-packages/lisp/apel/timezone
/usr/share/xemacs/xemacs-packages/lisp/xemacs-base/timezone
/usr/share/xemacs/xemacs-packages/lisp/apel/alist
/usr/share/xemacs-21.4.17/lisp/alist
/usr/share/xemacs/xemacs-packages/lisp/build/build-report
/usr/share/xemacs-21.4.17/lisp/build-report)
Installed XEmacs Packages:
-------------------------
(zenirc ver: 1.15 upstream: 2.112)
(xwem ver: 1.14 upstream: 0.2)
(xslt-process ver: 1.11 upstream: regular)
(xslide ver: 1.09 upstream: 0.2.2)
(xlib ver: 1.12 upstream: 0.2)
(xemacs-devel ver: 1.64 upstream: No-Upstream-Ver)
(xemacs-base ver: 1.87 upstream: No-Upstream-Ver)
(x-symbol ver: 1.1 upstream: 4.5.1)
(w3 ver: 1.3 upstream: 4.0pre47)
(vm ver: 7.18 upstream: 7.17)
(viper ver: 1.37 upstream: 3.09)
(view-process ver: 1.13 upstream: 2.4)
(vhdl ver: 1.19 upstream: 3.32.20)
(vc-cc ver: 1.22 upstream: No-Upstream-Ver)
(vc ver: 1.38 upstream: No-Upstream-Ver)
(tramp ver: 1.17 upstream: 2.0.35)
(tpu ver: 1.14 upstream: 4.2X)
(tooltalk ver: 1.15 upstream: No-Upstream-Ver)
(tm ver: 1.37 upstream: No-Upstream-Ver)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(text-modes ver: 1.78 upstream: No-Upstream-Ver)
(texinfo ver: 1.25 upstream: No-Upstream-Ver)
(supercite ver: 1.2 upstream: 3.55x3)
(strokes ver: 1.1 upstream: No-Upstream-Ver)
(speedbar ver: 1.27 upstream: 0.14beta4)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sounds-au ver: 1.12 upstream: No-Upstream-Ver)
(sml-mode ver: 0.11 upstream: 3.9.5)
(slider ver: 1.15 upstream: 0.3x1)
(sieve ver: 1.16 upstream: No-Upstream-Ver)
(sh-script ver: 1.18 upstream: 2.0e)
(sgml ver: 1.11 upstream: No-Upstream-Ver)
(semantic ver: 1.18 upstream: 1.4.2)
(scheme ver: 1.14 upstream: No-Upstream-Ver)
(sasl ver: 1.14 upstream: 1.14.4)
(ruby-modes ver: 1.02 upstream: 1.6.8)
(rmail ver: 1.14 upstream: No-Upstream-Ver)
(riece ver: 1.15 upstream: 0.2.2)
(reftex ver: 1.34 upstream: 4.21)
(python-modes ver: 1.06 upstream: No-Upstream-Ver)
(psgml-dtds ver: 1.03 upstream: No-Upstream-Ver)
(psgml ver: 1.43 upstream: 1.3.1)
(ps-print ver: 1.11 upstream: 6.5.6)
(prog-modes ver: 2.01 upstream: No-Upstream-Ver)
(pgg ver: 1.04 upstream: 0.1)
(perl-modes ver: 1.06 upstream: No-Upstream-Ver)
(pcomplete ver: 1.03 upstream: 1.1.6)
(pcl-cvs ver: 1.65 upstream: R-2_9_9)
(pc ver: 1.26 upstream: No-Upstream-Ver)
(os-utils ver: 1.35 upstream: No-Upstream-Ver)
(oo-browser ver: 1.04 upstream: 4.08)
(ocaml ver: 0.05 upstream: 3.06)
(net-utils ver: 1.44 upstream: N/A)
(mmm-mode ver: 1.02 upstream: 0.4.7)
(misc-games ver: 1.18 upstream: No-Upstream-Ver)
(mine ver: 1.16 upstream: 1.9)
(mh-e ver: 1.28 upstream: 7.4.2)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.67 upstream: No-Upstream-Ver)
(liece ver: 1.13 upstream: 1.4.9)
(jde ver: 1.46 upstream: regular)
(ispell ver: 1.29 upstream: 3.6)
(ilisp ver: 1.33 upstream: 5.12.0)
(igrep ver: 1.13 upstream: 2.111)
(idlwave ver: 1.31 upstream: 5.1)
(ibuffer ver: 1.09 upstream: No-Upstream-Ver)
(hyperbole ver: 1.16 upstream: 4.18)
(hm--html-menus ver: 1.23 upstream: 5.9)
(haskell-mode ver: 1.07 upstream: 1.45)
(gnus ver: 1.8 upstream: 5.10.6)
(gnats ver: 1.16 upstream: 3.101)
(games ver: 1.15 upstream: 1.04)
(fsf-compat ver: 1.14 upstream: No-Upstream-Ver)
(frame-icon ver: 1.11 upstream: No-Upstream-Ver)
(fortran-modes ver: 1.04 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eudc ver: 1.39 upstream: 1.32)
(eterm ver: 1.15 upstream: No-Upstream-Ver)
(ess ver: 1.1 upstream: 5.2.2)
(eshell ver: 1.07 upstream: 2.4.1)
(escreen ver: 1.01 upstream: 1.16)
(erc ver: 0.12 upstream: Version 4.0 Revision: 1.675)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(elib ver: 1.11 upstream: 1.0)
(eieio ver: 1.05 upstream: 0.17)
(efs ver: 1.32 upstream: 1.22)
(edt ver: 1.13 upstream: No-Upstream-Ver)
(edit-utils ver: 2.14 upstream: No-Upstream-Ver)
(ediff ver: 1.5 upstream: 2.75)
(edebug ver: 1.21 upstream: No-Upstream-Ver)
(ecrypto ver: 0.17 upstream: 2.0)
(ecb ver: 1.18 upstream: 2.24)
(docbookide ver: 0.07000000000000001 upstream: 0.1)
(dired ver: 1.15 upstream: 7.11)
(dictionary ver: 1.12 upstream: regular)
(debug ver: 1.17 upstream: No-Upstream-Ver)
(crisp ver: 1.14 upstream: 1.34)
(cookie ver: 1.15 upstream: No-Upstream-Ver)
(clearcase ver: 1.08 upstream: No-Upstream-Ver)
(cc-mode ver: 1.43 upstream: 5.30.9)
(calendar ver: 1.23 upstream: No-Upstream-Ver)
(calc ver: 1.25 upstream: 2.02fX3)
(c-support ver: 1.2 upstream: No-Upstream-Ver)
(build ver: 1.14 upstream: 2.02)
(bbdb ver: 1.24 upstream: 2.34)
(auctex ver: 1.38 upstream: 11.14)
(ada ver: 1.14 upstream: 2.27)
(mule-ucs ver: 1.06 upstream: 0.84)
(mule-base ver: 1.46 upstream: No-Upstream-Ver)
(lookup ver: 1.14 upstream: 1.0)
(locale ver: 1.21 upstream: No-Upstream-Ver)
(leim ver: 1.22 upstream: No-Upstream-Ver)
(latin-unity ver: 1.1 upstream: 1.10)
(egg-its ver: 1.27 upstream: No-Upstream-Ver)
(edict ver: 1.16 upstream: 0.9.9)
Installed Modules:
-----------------
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 font disp-table
jka-compr font-lock cus-face paren blink-paren tramp-smb tramp
regexp-opt executable advice advice-preload shell comint ring
format-spec timer trampver edmacro mwheel zenirc-autoloads
xwem-autoloads xslt-process-autoloads xslide-autoloads xlib-autoloads
xemacs-devel-autoloads xemacs-base-autoloads x-symbol-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 riece-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 oo-browser-autoloads ocaml-autoloads
net-utils-autoloads mmm-mode-autoloads misc-games-autoloads
mine-autoloads mh-e-autoloads mailcrypt-autoloads mail-lib-autoloads
liece-autoloads jde-autoloads ispell-autoloads ilisp-autoloads
igrep-autoloads idlwave-autoloads ibuffer-autoloads
hyperbole-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 escreen-autoloads erc-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 mule-ucs-autoloads
mule-base-autoloads lookup-autoloads locale-autoloads leim-autoloads
latin-unity-autoloads egg-its-autoloads edict-autoloads lisp-autoloads
loadhist auto-show fontl-hooks x-iso8859-1 canna-leim slovenian czech
romanian ccl mule-help code-cmds gutter-items menubar-items x-menubar
mode-motion mouse itimer auto-save lisp-mode easymenu iso8859-1 page
buff-menu lib-complete cus-file derived frame text-props obsolete
cus-start custom widget cl-extra mini-cl cl cl-19 packages backquote
very-early-lisp CANNA file-coding wnn mule lucid-scrollbars cut-buffer
lucid-menubars athena-dialogs x c-balloon-help tty-frames tty toolbar
native-sound scrollbar unix-processes multicast network-streams
subprocesses modules menu-accelerator-support menubar md5 xemacs xim
gutter tiff png gif jpeg xpm xbm lisp-float-type linux dialog devices
window-system base64)
Recent keystrokes:
-----------------
ESC x r e p o TAB r TAB x TAB RET
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Making completion list...
Loading font...done
Loading font...
Loading cus-face...done
Loading cus-face...
Paren mode is sexp
Loading regexp-opt...done
Loading regexp-opt...
Loading executable...done
Loading executable...
Loading edmacro...done
Loading edmacro...
Loading leim-list...done
Loading leim-list...