================================================================
Dear Bug Team!
Clicking on the "Gnus" menu gave me a crash in xemacs. I started gnus
using gnus-other-frame (I just updated to the new packages that got
released sometime back), it asked me if it should go into offline mode
because there is no nntp server to which I answered in the positive.
Then I checked my mail and quit gnus. I restarted gnus (using
gnus-other-frame again) after sometime, then expanded the frame in
which gnus started and clicked on 'Gnus' menu item. This caused the
following crash. I was able to reproduce this once more, but not more
than that. It looks to me like the presence of certain other buffers
results in this crash more often; such as a fontified C buffer. But I
cant confirm this yet.
Backtrace:
(gdb) run
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.
0x285f9b64 in kill () from /usr/lib/libc.so.4
(gdb) bt
#0 0x285f9b64 in kill () from /usr/lib/libc.so.4
#1 0x2863b10a in abort () from /usr/lib/libc.so.4
#2 0x80c691b in really_abort () at emacs.c:4393
#3 0x80c6673 in assert_failed (file=0x8278076 "eval.c", line=1467,
expr=0x82782e0 "Attempt to call Lisp code from within redisplay without being
properly wrapped") at emacs.c:3729
#4 0x80cb10d in Feval (form=678000836) at eval.c:1467
#5 0x8159149 in gui_item_included_p (gui_item=139862016, conflist=678002276) at
gui.c:401
#6 0x822ae82 in button_item_to_widget_value (gui_object_instance=677933516,
gui_item=139862016, wv=0x8537280, allow_text_field_p=1, no_keys_p=0, menu_entry_p=1,
accel_p=1) at gui-x.c:427
#7 0x822bd1a in menu_item_descriptor_to_widget_value_1 (desc=678524128, menu_type=0,
deep_p=1, filter_p=0, depth=2) at menubar-x.c:137
#8 0x822c29e in menu_item_descriptor_to_widget_value_1 (desc=678259148, menu_type=0,
deep_p=1, filter_p=0, depth=1) at menubar-x.c:305
#9 0x822c29e in menu_item_descriptor_to_widget_value_1 (desc=150001108, menu_type=0,
deep_p=1, filter_p=0, depth=0) at menubar-x.c:305
#10 0x822c7ce in set_frame_menubar (f=0x89d9800, deep_p=1, first_time_p=0) at
menubar-x.c:350
#11 0x822c5de in pre_activate_callback (widget=0x8e79400, id=65546, client_data=0x0) at
menubar-x.c:497
#12 0x824d2ea in pre_hook (w=0x8e79400, client_data=0x8a107c0, call_data=0x0) at
lwlib-Xlw.c:82
#13 0x28435db9 in XtCallCallbackList () from /usr/X11R6/lib/libXt.so.6
#14 0x8249585 in Start (w=0x8e79400, ev=0xbfbff310, params=0x0, num_params=0x284720b4) at
xlwmenu.c:3323
#15 0x28462a82 in HandleActions () from /usr/X11R6/lib/libXt.so.6
#16 0x28462f03 in HandleSimpleState () from /usr/X11R6/lib/libXt.so.6
#17 0x28463441 in _XtTranslateEvent () from /usr/X11R6/lib/libXt.so.6
#18 0x28440d6d in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#19 0x28441701 in _XtDefaultDispatcher () from /usr/X11R6/lib/libXt.so.6
#20 0x2844194e in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#21 0x2844c4c5 in XtAppProcessEvent () from /usr/X11R6/lib/libXt.so.6
#22 0x820fbc4 in emacs_Xt_drain_queue () at event-Xt.c:2927
#23 0x820fc96 in check_if_pending_expose_event (dev=0x8539000) at event-Xt.c:2948
#24 0x8221a71 in x_window_output_end (w=0x8ea2000) at redisplay-x.c:306
#25 0x81bc1a7 in redisplay_output_window (w=0x8ea2000) at redisplay-output.c:2488
#26 0x81aaee7 in redisplay_window (window=149561344, skip_selected=0) at redisplay.c:6641
#27 0x81ab894 in redisplay_frame (f=0x89d9800, preemption_check=1) at redisplay.c:7047
#28 0x81aba98 in redisplay_device (d=0x8539000, automatic=1) at redisplay.c:7128
#29 0x81abe4d in redisplay_without_hooks () at redisplay.c:7203
#30 0x81b5ff7 in redisplay_no_pre_idle_hook () at redisplay.c:7274
#31 0x81b600c in redisplay () at redisplay.c:7256
#32 0x80dde51 in Fnext_event (event=138807648, prompt=678002276) at event-stream.c:2365
#33 0x80a2f10 in Fcommand_loop_1 () at cmdloop.c:568
#34 0x80a31de in command_loop_1 (dummy=678002276) at cmdloop.c:488
#35 0x80c8e57 in condition_case_1 (handlers=678000188, bfun=0x80a31a0
<command_loop_1>, barg=678002276, hfun=0x80a3250 <cmd_error>, harg=678002276)
at eval.c:1917
#36 0x80a3347 in command_loop_2 (dummy=678002276) at cmdloop.c:251
#37 0x80d1c90 in internal_catch (tag=677787332, func=0x80a3304 <command_loop_2>,
arg=678002276, threw=0x0, thrown_tag=0x0) at eval.c:1527
#38 0x80a2bc0 in initial_command_loop (load_me=678002276) at cmdloop.c:300
#39 0x80c4817 in xemacs_21_5_b13_i386_unknown_freebsd4_7 (argc=1, argv=0xbfbff9bc,
envp=0xbfbff9c4, restart=0) at emacs.c:2403
#40 0x80c6a0c in main (argc=1, argv=0xbfbff9bc, envp=0xbfbff9c4) 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.
0x285f9b64 in kill () from /usr/lib/libc.so.4
(gdb)
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: FreeBSD the-saint 4.7-STABLE FreeBSD 4.7-STABLE #0: Wed May 7 22:47:54 EDT 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-b13 "cauliflower" (+CVS-20030510) 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).
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
/usr/home/kaarthik/xemacs/xemacs-21.5/lisp/newcomment
/usr/local/lib/xemacs/xemacs-packages/lisp/build/build-report
/usr/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.55 :type single-file)
(xemacs-base :version 1.77 :type regular)
(x-symbol :version 1.04 :type regular)
(w3 :version 1.28 :type regular)
(vm :version 7.14 :type regular)
(viper :version 1.36 :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.36 :type regular)
(time :version 1.13 :type regular)
(textools :version 1.14 :type regular)
(text-modes :version 1.6 :type single-file)
(texinfo :version 1.24 :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
.73
:type
single-file)
(pgg :version 1.03 :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.32 :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.23 :type regular)
(mew :version 1.17 :type regular)
(mailcrypt :version 2.12 :type regular)
(mail-lib :version 1.59 :type regular)
(liece :version 1.12 :type regular)
(jde :version 1.45 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.32 :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.71 :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.38 :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.47 :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.23 :type regular)
(auctex :version 1.35 :type regular)
(apel :version 1.26 :type regular)
(ada :version 1.13 :type regular))
Installed Modules:
-----------------
Features:
--------
(xemacsbug shadow gnus-topic pop3 byte-optimize bytecomp byte-compile
nndraft nnmh bbdb-gnus bbdb-snarf mail-extr nnagent nnml gnus-agent
gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu
mml2015 pgg pgg-parse pgg-def mm-view gnus-sum gnus-group gnus-undo
nntp nnoo nnmail mail-source format-spec gnus-cache gnus-start
gnus-spec gnus-int gnus-range message mml mml-sec mml-smime smime dig
mm-decode mm-bodies mm-encode mailcap lpr mail-parse rfc2045 rfc2231
rfc2047 qp ietf-drums mailheader canlock balloon-help blink-cursor
lazy-lock blink-paren hide-copyleft cc-mode cc-align cc-cmds cc-engine
cc-styles cc-langs cc-vars cc-menus imenu cc-defs eldoc 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 gnus-ems gnus-xmas messagexmas nnheader
nnheaderxm gnus-util netrc time-date parse-time mail-utils mm-util
mail-prsvr wid-edit footnote term ehelp electric bufcomp light
folding-isearch folding overlay power-macros edmacro 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 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:
-----------------
f3 y q y f3 y q y M-x r e p o r t - e m a c s 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 xemacsbug...done
Loading xemacsbug...
(No changes need to be saved)
Are you sure you want to quit reading news? (y or n) Yes
Are you sure you want to quit reading news? (y or n)
Opening nntp server on news...failed
Denied server
Opening nntp server on news...
Reading active file via nnmh...done
0 lines deleted
Reading active file via nnmh...
nnmh: Reading incoming mail (no new mail)...done
Wrote /home/kaarthik/.xemacs/gnus/mail-crash-box
Retrieving message list...0 unread
Retrieving message list...