================================================================
Dear Bug Team!
I opened a file in XEmacs, then clicked "Options->Syntax
Highlighting->Automatic" and then "Options->Syntax Highlighting->In
This Buffer" and attempted to click "Options" again when XEmacs died.
This is one way to kill it. The other is quite similar: I also managed
to hit "Options->Syntax Highlighting->Lazy Lock" and *boom* XEmacs
went down. Following is the Lisp and C backtrace. Thanks.
Kaarthik
---
Starting program: /usr/home/kaarthik/xemacs/xemacs-21.5/src/xemacs
Fatal error: assertion failed, file eval.c, line 1467, Attempt to call Lisp code from within redisplay without being properly wrapped
Program received signal SIGABRT, Aborted.
0x28628b64 in kill () from /usr/lib/libc.so.4
(gdb) bt
#0 0x28628b64 in kill () from /usr/lib/libc.so.4
#1 0x2866a10a in abort () from /usr/lib/libc.so.4
#2 0x80c69ff in really_abort () at emacs.c:4393
#3 0x80c6757 in assert_failed (file=0x8278c56 "eval.c", line=1467,
expr=0x8278ec0 "Attempt to call Lisp code from within redisplay without being properly wrapped") at emacs.c:3729
#4 0x80cb1f1 in Feval (form=678193468) at eval.c:1467
#5 0x8159add in gui_item_included_p (gui_item=145616256, conflist=678194908)
at gui.c:401
#6 0x822ba6e in button_item_to_widget_value (gui_object_instance=678116524,
gui_item=145616256, wv=0x8ae36c0, allow_text_field_p=1, no_keys_p=0,
menu_entry_p=1, accel_p=1) at gui-x.c:427
#7 0x822c906 in menu_item_descriptor_to_widget_value_1 (desc=678709064,
menu_type=0, deep_p=1, filter_p=0, depth=2) at menubar-x.c:137
#8 0x822ce8a in menu_item_descriptor_to_widget_value_1 (desc=678434812,
menu_type=0, deep_p=1, filter_p=0, depth=1) at menubar-x.c:305
#9 0x822ce8a in menu_item_descriptor_to_widget_value_1 (desc=145489316,
menu_type=0, deep_p=1, filter_p=0, depth=0) at menubar-x.c:305
#10 0x822d3ba in set_frame_menubar (f=0x840d800, deep_p=1, first_time_p=0)
at menubar-x.c:350
#11 0x822d1ca in pre_activate_callback (widget=0x8553a00, id=65537,
client_data=0x0) at menubar-x.c:497
#12 0x824ded6 in pre_hook (w=0x8553a00, client_data=0x85634e0, call_data=0x0)
at lwlib-Xlw.c:82
#13 0x28436db9 in XtCallCallbackList () from /usr/X11R6/lib/libXt.so.6
#14 0x824a171 in Start (w=0x8553a00, ev=0xbfbff2e0, params=0x0,
num_params=0x284730b4) at xlwmenu.c:3323
#15 0x28463a82 in HandleActions () from /usr/X11R6/lib/libXt.so.6
#16 0x28463f03 in HandleSimpleState () from /usr/X11R6/lib/libXt.so.6
#17 0x28464441 in _XtTranslateEvent () from /usr/X11R6/lib/libXt.so.6
#18 0x28441d6d in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#19 0x28442701 in _XtDefaultDispatcher () from /usr/X11R6/lib/libXt.so.6
#20 0x2844294e in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#21 0x2844d4c5 in XtAppProcessEvent () from /usr/X11R6/lib/libXt.so.6
#22 0x82107b0 in emacs_Xt_drain_queue () at event-Xt.c:2927
#23 0x8210882 in check_if_pending_expose_event (dev=0x853c000)
at event-Xt.c:2948
#24 0x822265d in x_window_output_end (w=0x8515400) at redisplay-x.c:306
#25 0x81bcb3b in redisplay_output_window (w=0x8515400)
at redisplay-output.c:2488
#26 0x81ab87b in redisplay_window (window=139547648, skip_selected=0)
at redisplay.c:6641
#27 0x81ac228 in redisplay_frame (f=0x840d800, preemption_check=1)
at redisplay.c:7047
#28 0x81ac42c in redisplay_device (d=0x853c000, automatic=1)
at redisplay.c:7128
#29 0x81ac7e1 in redisplay_without_hooks () at redisplay.c:7203
#30 0x81b698b in redisplay_no_pre_idle_hook () at redisplay.c:7274
#31 0x81b69a0 in redisplay () at redisplay.c:7256
#32 0x80ddf35 in Fnext_event (event=141145692, prompt=678194908)
at event-stream.c:2365
#33 0x80a2ff4 in Fcommand_loop_1 () at cmdloop.c:568
#34 0x80a32c2 in command_loop_1 (dummy=678194908) at cmdloop.c:488
#35 0x80c8f3b in condition_case_1 (handlers=678192820,
bfun=0x80a3284 <command_loop_1>, barg=678194908,
hfun=0x80a3334 <cmd_error>, harg=678194908) at eval.c:1917
#36 0x80a342b in command_loop_2 (dummy=678194908) at cmdloop.c:251
#37 0x80d1d74 in internal_catch (tag=677979868,
func=0x80a33e8 <command_loop_2>, arg=678194908, threw=0x0, thrown_tag=0x0)
at eval.c:1527
#38 0x80a2ca4 in initial_command_loop (load_me=678194908) at cmdloop.c:300
#39 0x80c48fb in xemacs_21_5_b12_i386_unknown_freebsd4_7 (argc=1,
argv=0xbfbff98c, envp=0xbfbff994, restart=0) at emacs.c:2403
#40 0x80c6af0 in main (argc=1, argv=0xbfbff98c, envp=0xbfbff994)
at emacs.c:2833
(gdb) c
Continuing.
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(a)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/home/kaarthik/xemacs/xemacs-21.5/src/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 ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (inhibit-quit)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
("(in redisplay)" "[internal]")
# (unwind-protect ...)
# bind (inhibit-quit)
(next-event "[internal]")
# (condition-case ... . error)
# (catch top-level ...)
Program received signal SIGABRT, Aborted.
0x28628b64 in kill () from /usr/lib/libc.so.4
(gdb) c
Continuing.
Program terminated with signal SIGABRT, Aborted.
The program no longer exists.
(gdb)
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: FreeBSD the-saint 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Feb 22 16:47:02 EST 2003 kaarthik@the-saint:/usr/src/sys/compile/THE-SAINT i386
./configure '--site-includes=/usr/local/include' '--site-libraries=/usr/local/lib' '--with-database=no' '--with-dialogs=athena' '--with-widgets=athena' '--with-athena=3d' '--pdump' '--with-pop' '--with-xface'
XEmacs 21.5-b12 "carrot" (+CVS-20030425) configured for `i386-unknown-freebsd4.7'.
Compilation / Installation:
Source code location: /usr/home/kaarthik/xemacs/xemacs-21.5
Installation prefix: /usr/local
Additional header files: /usr/local/include
Additional libraries: /usr/local/lib
Runtime library search path: /usr/local/lib:/usr/X11R6/lib
Operating system description file: `s/freebsd.h'
Machine description file: `m/intel386.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/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.
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.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Compiling in support for ESD (Enlightened Sound Daemon).
Databases:
Internationalization:
Mail:
Compiling in support for POP mail retrieval.
Compiling in support for "flock" 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.
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:
----------------------
(/home/kaarthik/.xemacs/elisp/ps-print/lisp/ps-print
/usr/local/lib/xemacs/xemacs-packages/lisp/ps-print/ps-print
/home/kaarthik/.xemacs/elisp/ps-print/lisp/ps-mule
/usr/local/lib/xemacs/xemacs-packages/lisp/ps-print/ps-mule
/home/kaarthik/.xemacs/elisp/ps-print/lisp/ps-bdf
/usr/local/lib/xemacs/xemacs-packages/lisp/ps-print/ps-bdf
/home/kaarthik/.xemacs/elisp/cparse/sformat
/usr/local/lib/xemacs/xemacs-packages/lisp/semantic/sformat
/home/kaarthik/.xemacs/elisp/newcomment
/home/kaarthik/xemacs/xemacs-21.5/lisp/newcomment
/usr/local/lib/xemacs/xemacs-packages/lisp/build/build-report
/home/kaarthik/xemacs/xemacs-21.5/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)
(x-symbol :version 1.03 :type regular)
(w3 :version 1.28 :type regular)
(vm :version 7.07 :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.1 :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.18 :type regular)
(haskell-mode :version 1.05 :type regular)
(gnus :version 1.68 :type regular)
(gnats :version 1.15 :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.04 :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-extr xemacsbug shadow blink-paren balloon-help blink-cursor
eldoc hide-copyleft cc-mode cc-align cc-cmds cc-engine cc-styles
cc-langs cc-vars cc-menus imenu cc-defs efs-cu desktop compile
browse-kill-ring infobook info twiddle find-func eval-expr ffap
facemenu vc-hooks ishl flyspell ispell filladapt pending-del crypt
crypt++ gnus-win gnus-ems wid-edit gnus-xmas message messagexmas mml
mm-decode mm-encode mailcap mm-bodies uudecode mail-parse rfc2045
rfc2231 rfc2047 qp ietf-drums mailheader gnus-util time-date
parse-time nnheader nnheaderxm mail-utils mm-util mail-prsvr gnus
footnote term ehelp electric bufcomp light folding-isearch folding
overlay power-macros edmacro type-break advice advice-preload uniquify
savehist time redo recent-files paren mic-paren timer icomplete
func-menu detached-minibuf backup-dir gdb debug-toolbar shell comint
ring cal-desk-calendar lunar solar cal-dst cal-persia cal-julian
diary-lib calendar xcscope ctypes font-lock xemacs-font-lock-fix
cus-face bbdb-w3 browse-url bbdb-com mail-abbrevs sendmail rfc822 bbdb
timezone tex-toolbar tex-site mwheel gnuserv zenirc-autoloads
xslt-process-autoloads xslide-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 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 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 newcomment env text-props frame obsolete cus-start custom
widget cl-extra mini-cl cl cl-19 packages backquote unicode
lucid-scrollbars cut-buffer lucid-menubars athena-dialogs x
c-balloon-help tty-frames tty toolbar esd-sound native-sound scrollbar
unix-processes multicast network-streams subprocesses modules
menu-accelerator-support menubar md5 xemacs gutter tiff png gif jpeg
xface xpm xbm lisp-float-type file-coding berkeley-unix dialog devices
window-system base64)
Recent keystrokes:
-----------------
M-x r e p o r t - e m TAB RET
Recent messages (most recent first):
-----------------------------------
Starting new Ispell process...
Parsing /home/kaarthik/.mailrc... done
Parsing /home/kaarthik/.mail_aliases... done
Parsing /home/kaarthik/.mail_aliases...
Parsing /home/kaarthik/.mailrc...
Loading mail-extr...done
Loading mail-extr...
Loading xemacsbug...done
Loading xemacsbug...
Paren mode is blink-paren
Loading paren...done
Loading paren...
Loading balloon-help...done
Loading balloon-help...
Loading blink-cursor...done
Loading blink-cursor...
Desktop loaded.
Loading eldoc...done
Loading eldoc...
Gnuserv process exited; restart with `M-x gnuserv-start'