[Bug: 21.5-b27] Frame weirdness leading to crash

stephen at xemacs.org stephen
Tue Oct 31 05:21:08 EST 2006


================================================================
Dear Bug Team!

While using VM, I've been seeing XEmacs exit because it believes that
the last frame on the last console was deleted.  This is visibly not
true.:-)  Haven't been able to track it down, but today I observed a
new symptom, an apparent infloop while exiting.  Here's the backtrace
I got:

Program received signal SIGTSTP, Stopped (user).
0x00002b03e8128db7 in kill () from /lib/libc.so.6
(gdb) cont
Continuing.

Program received signal SIGINT, Interrupt.
0x00002b03e8163adc in free () from /lib/libc.so.6
(gdb) cont
Continuing.

Program received signal SIGINT, Interrupt.
0x00002b03e81ae51f in poll () from /lib/libc.so.6
(gdb) cont
Continuing.

Program received signal SIGINT, Interrupt.
0x00002b03e81ae51f in poll () from /lib/libc.so.6
(gdb) bt
#0  0x00002b03e81ae51f in poll () from /lib/libc.so.6
#1  0x00002b03e7118494 in _XtWaitForSomething () from /usr/lib/libXt.so.6
#2  0x00002b03e7119718 in XtAppProcessEvent () from /usr/lib/libXt.so.6
#3  0x00000000006375fc in emacs_Xt_next_event (emacs_event=0xd495dae0)
    at /playpen/src/XEmacs/git-staging/src/event-Xt.c:2806
#4  0x00000000004c4b10 in event_stream_next_event (event=0xd495dae0)
    at /playpen/src/XEmacs/git-staging/src/event-stream.c:2001
#5  0x00000000004c4d4b in next_event_internal (target_event={...}, 
    allow_queued=1) at /playpen/src/XEmacs/git-staging/src/event-stream.c:2065
#6  0x00000000004c53fb in Fnext_event (event={...}, prompt={...})
    at /playpen/src/XEmacs/git-staging/src/event-stream.c:2289
#7  0x000000000047929a in Fcommand_loop_1 ()
    at /playpen/src/XEmacs/git-staging/src/cmdloop.c:599
#8  0x0000000000479083 in command_loop_1 (unused_dummy={...})
    at /playpen/src/XEmacs/git-staging/src/cmdloop.c:505
#9  0x00000000004abdc3 in condition_case_1 (handlers={...}, 
    bfun=0x47904e <command_loop_1>, barg={...}, hfun=0x478c7f <cmd_error>, 
    harg={...}) at /playpen/src/XEmacs/git-staging/src/eval.c:1924
#10 0x0000000000478d9f in command_loop_3 ()
    at /playpen/src/XEmacs/git-staging/src/cmdloop.c:262
#11 0x0000000000478dc3 in command_loop_2 (unused_dummy={...})
    at /playpen/src/XEmacs/git-staging/src/cmdloop.c:275
#12 0x00000000004ab82b in internal_catch (tag={...}, 
    func=0x478db2 <command_loop_2>, arg={...}, threw=0x0, thrown_tag=0x0, 
    backtrace_before_throw=0x0)
    at /playpen/src/XEmacs/git-staging/src/eval.c:1530
#13 0x0000000000478ecd in initial_command_loop (load_me={...})
    at /playpen/src/XEmacs/git-staging/src/cmdloop.c:313
#14 0x00000000004a53dd in xemacs_21_5_b27_x86_64_unknown_linux (argc=1, 
    argv=0x7fffc45358f8, unused_envp=0x0, restart=0)
    at /playpen/src/XEmacs/git-staging/src/emacs.c:2667
#15 0x00000000004a5eb1 in main (argc=1, argv=0x7fffc45358f8, 
    unused_envp=0x7fffc4535908)
    at /playpen/src/XEmacs/git-staging/src/emacs.c:3111

After this I got the same backtrace three times at intervals of 5
seconds.

================================================================

System Info to help track down your bug:
---------------------------------------

uname -a: Linux tleeps19 2.6.18-rc3 #1 SMP Fri Aug 4 14:40:13 JST 2006 x86_64 Dual Core AMD Opteron(tm) Processor 265 AuthenticAMD GNU/Linux

../configure '--with-mule' '--with-widgets=athena' '--with-dialogs=athena' '--with-athena=3d' '--with-bignum=gmp' '--with-debug' '--with-error-checking=all' '--with-xft=emacs,tabs,gauges,menubars' '--with-union-type'


XEmacs 21.5-b27 "fiddleheads" (+CVS-20060716) configured for `x86_64-unknown-linux'.

Compilation Environment and Installation Defaults:
  Source code location:              /playpen/src/XEmacs/git-staging
  Installation prefix:               /usr/local
  Operating system description file: `s/linux.h'
  Not using any machine description file
  Compiler version:                  x86_64-pc-linux-gnu-gcc (GCC) 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)
    - GCC specs file:                /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/specs
    - Compiler command:              gcc   -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wunused-parameter -g  
  libc version:                      2.4
  Relocating allocator for buffers:  no
  GNU version of malloc:             yes
    - Using Doug Lea's new malloc from the GNU C Library.

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 fontconfig to manage fonts.
    - Compiling in support for Xft antialiased fonts (EXPERIMENTAL).
  Compiling in support for the Athena widget set:
    - Athena headers location:                    X11/Xaw3d
    - Athena library to link:                     Xaw3d
  Using Lucid menubars.
    - Using Xft to render antialiased fonts in menubars.
      WARNING: This feature will be replaced with a face.
  Using Lucid scrollbars.
  Using Athena dialog boxes.
  Using Athena native widgets.
    - Using Xft to render antialiased fonts in tab controls.
      WARNING: This feature will be replaced with a face.
    - Using Xft to render antialiased fonts in progress bars.
      WARNING: This feature will be replaced with a face.
      WARNING: This feature not yet implemented; setting ignored.

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).
  Compiling in support for ALSA (Advanced Linux Sound Architecture).

Databases:
  Compiling in support for Berkeley database.

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.

Mail:
  Compiling in support for "file" mail spool file locking method.

Other Features:
  Inhibiting IPv6 canonicalization at startup.
  Compiling in support for dynamic shared object modules.
  Compiling in support for more number types using the GNU MP library.
  Using the union type for Lisp_Objects.
  WARNING: ---------------------------------------------------------
  WARNING: This tends to trigger compiler bugs, especially when
  WARNING: combined with MULE and ERROR_CHECKING.  Crashes have
  WARNING: been seen with various versions of GCC (up to about 2.95),
  WARNING: and recently with Visual C++ as well (mid-2003).
  WARNING: More recent versions may be safer, or not.
  WARNING: ---------------------------------------------------------
  Using the new GC mark algorithms (KKCC).
  WARNING: ---------------------------------------------------------
  WARNING: The new algorithms are experimental. They are enabled by
  WARNING: default for this release. Use `--disable-kkcc' to
  WARNING: turn it off.
  WARNING: ---------------------------------------------------------
  Using the new portable dumper.
  Dumping into executable.
  Compiling in support for extra debugging code.
  Compiling in support for runtime error checking.
  WARNING: ---------------------------------------------------------
  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/mule-packages/lisp/mule-base/ethio-util
/playpen/src/XEmacs/git-staging/+build/lisp/mule/ethio-util
/usr/local/lib/xemacs/mule-packages/lisp/mule-base/china-util
/playpen/src/XEmacs/git-staging/+build/lisp/mule/china-util
/usr/local/lib/xemacs/mule-packages/lisp/mule-base/japan-util
/playpen/src/XEmacs/git-staging/+build/lisp/mule/japan-util
/usr/local/lib/xemacs/mule-packages/lisp/mule-base/korea-util
/playpen/src/XEmacs/git-staging/+build/lisp/mule/korea-util
/usr/local/lib/xemacs/mule-packages/lisp/mule-base/cyril-util
/playpen/src/XEmacs/git-staging/+build/lisp/mule/cyril-util
/usr/local/lib/xemacs/mule-packages/lisp/mule-base/viet-util
/playpen/src/XEmacs/git-staging/+build/lisp/mule/viet-util
/usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode
/playpen/src/XEmacs/git-staging/+build/lisp/easy-mmode
/usr/local/lib/xemacs/xemacs-packages/lisp/build/build-report
/playpen/src/XEmacs/git-staging/+build/lisp/build-report
/usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt
/playpen/src/XEmacs/git-staging/+build/lisp/regexp-opt)


Installed XEmacs Packages:
-------------------------
(xemacs-base ver: 2.08 upstream: No-Upstream-Ver)



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


Features:
--------

(xemacsbug shadow gnus-ems gnus-xmas wid-edit vm-reply vm-virtual
vm-undo vm-page vm-mime vm-save tapestry vm-motion vm-toolbar vm-sort
vm-summary vm-thread vm-message vm-menu vm-folder vm-misc vm-mouse
vm-window vm-autoload vm-vars highlight-headers vm-version vm
vm-startup cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align
cc-engine cc-vars cc-defs info add-log timezone dired-faces
dired-xemacs dired desktop dotxemacs-init gnuserv jka-compr tramp-smb
tramp efs-cu regexp-opt advice byte-optimize bytecomp byte-compile
advice-preload shell comint passwd ffap ring password format-spec
timer-funcs trampver tex-site font-lock filladapt edmacro message
messagexmas cus-face mml mml-sec mml-smime smime dig mm-decode
mm-bodies mm-encode mailcap lpr mail-parse rfc2045 rfc2231 rfc2047 qp
ietf-drums mail-abbrevs sendmail rfc822 nnheader nnheaderxm gnus-util
netrc time-date mm-util mail-prsvr mail-utils mailheader canlock sha1
executable hex-util mwheel zenirc-autoloads xwem-autoloads
xslt-process-autoloads xslide-autoloads xlib-autoloads xetla-autoloads
xemacs-devel-autoloads xemacs-base-autoloads x-symbol-autoloads
w3-autoloads vm-autoloads viper-autoloads view-process-autoloads
vhdl-autoloads vc-autoloads tramp-autoloads tpu-autoloads tm-autoloads
time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads slider-autoloads sieve-autoloads
sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
ruby-modes-autoloads rmail-autoloads riece-autoloads reftex-autoloads
re-builder-autoloads python-modes-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 misc-games-autoloads mine-autoloads mh-e-autoloads
mew-autoloads mailcrypt-autoloads mail-lib-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 fortran-modes-autoloads forms-autoloads
footnote-autoloads eudc-autoloads eterm-autoloads eshell-autoloads
escreen-autoloads erc-autoloads emerge-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 cookie-autoloads
clearcase-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads c-support-autoloads build-autoloads bbdb-autoloads
auctex-autoloads apel-autoloads ada-autoloads skk-autoloads
mule-base-autoloads lookup-autoloads leim-autoloads egg-its-autoloads
edict-autoloads mule-autoloads auto-autoloads rsz-minibuf auto-show
fontl-hooks canna-leim tibetan lao devanagari indian slovenian czech
romanian ccl code-cmds gutter-items menubar-items x-menubar
mode-motion mouse behavior itimer auto-save lisp-mode easymenu
easy-mmode iso8859-1 page buff-menu lib-complete loadhist cus-file
derived newcomment env text-props fontconfig frame obsolete cus-start
custom widget cl-extra cl cl-19 packages backquote unicode font-mgr
lucid-scrollbars cut-buffer xft-fonts lucid-menubars athena-dialogs x
c-balloon-help tty-frames tty toolbar native-sound alsa-sound
scrollbar unix-processes multicast network-streams subprocesses
bigfloat ratio bignum number-types modules menu-accelerator-support
menubar berkeley-db md5 xemacs xim mule gutter tiff png gif jpeg xpm
xbm lisp-float-type file-coding linux dialog devices window-system
base64)


Recent keystrokes:
-----------------

C-x k RET C-x C-e ESC x v m RET V F button1 button1up 
C-x b TAB misc-user misc-user misc-user misc-user misc-user 
misc-user C-g up up SPC m x e m a c s - b e t a C-x 
k RET y e s RET C-x 5 0 ESC x r e s p o BS BS BS p 
o r t - x e m TAB RET


Recent messages (most recent first):
-----------------------------------

Warning: 

Defaulting to the GNU Emacs-derived `sendmail.el' mail client. This facility,
while part of base XEmacs, is heinously underfeatured, and not going to get
better in the medium term. We include it so that bug reports work without
packages; we suggest that you choose and/or install one of the other mail
clients from packages if you're doing something other than M-x
report-xemacs-bug , or even if you are reporting bugs regularly.

To choose a package from those installed, click on "Options" ->
"Internet" -> "Compose Mail With ..." and decide on one from the
list. Gnus and VM are full-featured and have active user communities.

To disable this warning and stick with the old behavior, you can explicitly
initialize `mail-user-agent' to 'sendmail-user-agent . 
Loading xemacsbug...done
Loading xemacsbug...
Fontifying mail to ?... done.
Loading gnus-ems...done
Fontifying mail to ?... (regexps)...............
Fontifying mail to ?... (regexps).............
Fontifying mail to ?... (regexps)...........
Fontifying mail to ?... (regexps).........
Fontifying mail to ?... (regexps).........
Fontifying mail to ?... (regexps).....
Fontifying mail to ?...
Loading gnus-xmas...done
Loading gnus-xmas...
Loading gnus-ems...
Loading vm-reply...done
Loading vm-reply...
Quit
Making completion list...
No messages.




More information about the XEmacs-Beta mailing list