Dear Bug Team!
This is a problem I've encountered with several versions of XEmacs.
I run XEmacs with one frame on my real (:0.0) display, and another
frame on a VNC display (:1). I'll work with one for a while, then
switch to the VNC frame (when working remotely) repeatedly.
I run compilations, igrep-find's and cscope searches, and eventually
after switching frames the first one of these that I run crashes XEmacs.
Here are C and Lisp backtraces obtained after the crash:
#0 0x40411561 in kill () from /lib/libc.so.6
#1 0x080a6e98 in fatal_error_signal ()
#2 0x40411498 in __libc_sigaction () from /lib/libc.so.6
#3 0x40412828 in abort () from /lib/libc.so.6
#4 0x080a9171 in assert_failed ()
#5 0x081894be in Fother_window ()
#6 0x081896c5 in Fget_buffer_window ()
#7 0x080ae9e8 in Ffuncall ()
#8 0x0808c076 in funcall_compiled_function ()
#9 0x0808bcb8 in funcall_compiled_function ()
#10 0x080ae906 in Ffuncall ()
#11 0x0808c076 in funcall_compiled_function ()
#12 0x0808bcb8 in funcall_compiled_function ()
#13 0x080ae906 in Ffuncall ()
#14 0x0808c076 in funcall_compiled_function ()
#15 0x0808e430 in Fbyte_code ()
#16 0x080ae4a2 in Feval ()
#17 0x080ab629 in internal_catch ()
#18 0x0808cb75 in execute_rare_opcode ()
#19 0x0808bf13 in funcall_compiled_function ()
#20 0x0808bcb8 in funcall_compiled_function ()
#21 0x080ae906 in Ffuncall ()
#22 0x0808c076 in funcall_compiled_function ()
#23 0x0808bcb8 in funcall_compiled_function ()
#24 0x080ae906 in Ffuncall ()
#25 0x0808c076 in funcall_compiled_function ()
#26 0x0808bcb8 in funcall_compiled_function ()
#27 0x080ae906 in Ffuncall ()
#28 0x080aeed8 in Fapply ()
#29 0x080ae950 in Ffuncall ()
#30 0x0808c076 in funcall_compiled_function ()
#31 0x0808bcb8 in funcall_compiled_function ()
#32 0x080ae906 in Ffuncall ()
#33 0x080aeed8 in Fapply ()
#34 0x080af607 in apply1 ()
#35 0x0808f8e5 in Fcall_interactively ()
#36 0x080ad95b in Fcommand_execute ()
#37 0x080ae9e8 in Ffuncall ()
#38 0x0808c076 in funcall_compiled_function ()
#39 0x0808bcb8 in funcall_compiled_function ()
#40 0x080ae906 in Ffuncall ()
#41 0x0808ee4d in Fcall_interactively ()
#42 0x080ad95b in Fcommand_execute ()
#43 0x080de070 in extract_vector_nth_mouse_event ()
#44 0x080de434 in Fdispatch_event ()
#45 0x08093eba in Fcommand_loop_1 ()
#46 0x080ab9d1 in condition_case_1 ()
#47 0x080939ac in Freally_early_error_handler ()
#48 0x080939db in Freally_early_error_handler ()
#49 0x080ab629 in internal_catch ()
#50 0x08093b26 in initial_command_loop ()
#51 0x080a7889 in xemacs_21_4_14_i386_debian_linux ()
#52 0x080a89ab in main ()
#53 0x403fdda6 in __libc_start_main () from /lib/libc.so.6
Lisp backtrace follows:
get-buffer-window(#<buffer "*igrep*</kix/mostrows/k42/kitchsrc>">
visible)
# bind (name limit on-frame not-this-window-p buffer)
get-frame-for-buffer-noselect(#<buffer
"*igrep*</kix/mostrows/k42/kitchsrc>"> nil nil)
# bind (shrink-to-fit on-frame not-this-window-p buffer)
get-frame-for-buffer(#<buffer
"*igrep*</kix/mostrows/k42/kitchsrc>"> nil nil nil)
# bind (window old-frame target-frame explicit-frame)
byte-code("..." [explicit-frame tem car target-frame buffer window nil
last-nonminibuf-frame selected-frame get-buffer bufferp wrong-type-argument throw done
buffer-dedicated-frame frame-live-p window-buffer selected-window display-buffer-1
buffer-name assoc switch-to-buffer string-match 0 get-buffer-window frame-selected-window
set-window-buffer frame-property minibuffer only window-dedicated-p frame-root-window
unsplittable get-largest-window visible t window-frame window-height window-width
window-leftmost-p window-rightmost-p split-window get-lru-window window-parent
window-previous-child window-next-child window-pixel-edges window-pixel-height
enlarge-window 2 shrink-window-if-larger-than-buffer ((byte-code "!
!" ... 2)) select-window record-buffer override-frame other not-this-wiow-p
special-display-function upper old-frame shrink-to-fit dedi split-height-threshold
window-min-height split-width-threshold pre-display-buffer-function
display-buffer-function same-window-buffer-names pop-up-frames
special-display-buffer-names pop-up-frame-function window-min-width same-window-regexps
special-display-regexps pop-up-windows ssw20073] 8)
# (catch done ...)
# bind (shrink-to-fit override-frame not-this-window-p buffer)
display-buffer(#<buffer "*igrep*</kix/mostrows/k42/kitchsrc>">)
# bind (regexp-alist parser thisdir buffer-save outwin outbuf name-function regexp-alist
parser name-of-mode error-message command)
compile-internal("find ../.. -type d \\( -name RCS -o -name CVS -o -name SCCS \\)
-prune -o -type f \\! -name \\*\\~ \\! -name \\*\\,v \\! -name s.\\* -name \\*M\\* -print0
| xargs -0 -e grep -n -e THIS_DIR /dev/null" "No more grep matches"
"igrep" nil (("^\\([a-zA-Z]?:?[^:( \n]+\\)[:(
]+\\([0-9]+\\)[:) ]" 1 2)))
# bind (command use-zgrep options files expression program)
igrep("grep" "THIS_DIR" ("../../*M*") nil)
apply(igrep ("grep" "THIS_DIR" ("../../*M*") nil))
# bind (igrep-find igrep-args)
#<compiled-function (&rest igrep-args) "...(8)" [igrep-args igrep-find
t apply igrep] 3 ("/usr/share/xemacs21/xemacs-packages/lisp/igrep/igrep.elc" .
-12158) (byte-code "w )" [igrep-find t igrep-read-args] 1)>("grep"
"THIS_DIR" ("../..") nil)
call-interactively(igrep-find)
command-execute(igrep-find 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 ...)
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux eeyore 2.4.23-pre5 #1 Mon Sep 22 17:03:40 EDT 2003 i686 GNU/Linux
./configure '--with-sound=none,native' '--cflags=-O2 -Wall'
'--with-x11' '--extra-verbose' '--with-site-lisp'
'--with-database=berkdb' '--statedir=/var/lib'
'--infodir=/usr/share/info/xemacs-21.4.14' '--prefix=/usr'
'--error-checking=none' '--debug=no' '--dynamic'
'--with-pop' '--use-regex-malloc=no' '--with-gpm=no'
'--with-file-coding' '--pdump' '--with_menubars=lucid'
'--with_scrollbars=lucid' '--with_dialogs=athena'
'--docdir=/usr/lib/xemacs-21.4.14/i386-debian-linux/nomule/'
'--package-path=~/.xemacs:~/.xemacs/packages:~/.xemacs/xemacs-packages::/usr/share/xemacs21/xemacs-packages:/usr/share/xemacs21/site-packages'
'i386-debian-linux'
XEmacs 21.4.14 "Reasonable Discussion" configured for `i386-debian-linux'.
Compilation / Installation:
Source code location:
/home/dres/project/debian/current/xemacs21/xemacs-21.4.14
Installation prefix: /usr
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -O2 -Wall
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.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw
- Athena library to link: Xaw
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:
Compiling in support for Berkeley database.
Compiling in support for LDAP.
Compiling in support for PostgreSQL.
- Using PostgreSQL header file: postgresql/libpq-fe.h
- Using PostgreSQL V7 bindings.
Internationalization:
Compiling in support for file coding.
Mail:
Compiling in support for POP mail retrieval.
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
WARNING: -----------------------------------------------------------
Using alloca to allocate the failure stack.
It may be impossible to detect stack exhaustion, and you will crash.
Do NOT use this build of XEmacs for ordinary work.
WARNING: -----------------------------------------------------------
Using the new portable dumper.
Load-Path Lisp Shadows:
----------------------
(/usr/share/xemacs21/site-lisp/dictionaries-common/ispell
/usr/share/xemacs21/site-lisp/dictionaries-common/ispell
/usr/share/xemacs21/site-lisp/dictionaries-common/debian-ispell
/usr/share/xemacs21/site-lisp/dictionaries-common/debian-ispell
/usr/share/xemacs21/site-lisp/debian-startup
/usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs/site-lisp/noweb-mode
/usr/share/xemacs21/xemacs-packages/lisp/ess/noweb-mode
/usr/share/xemacs21/site-lisp/dictionaries-common/ispell
/usr/share/xemacs21/xemacs-packages/lisp/ispell/ispell
/usr/share/emacs/site-lisp/autoconf/autoconf-mode
/usr/share/xemacs21/xemacs-packages/lisp/prog-modes/autoconf-mode
/etc/emacs/site-start
/usr/share/xemacs21/site-packages/lisp/site-start
/usr/share/xemacs21/xemacs-packages/lisp/build/build-report
/usr/lib/xemacs-21.4.14/lisp/build-report)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.11 :type regular)
(xslide :version 1.08 :type regular)
(xemacs-devel :version 1.58 :type single-file)
(xemacs-base :version 1.78 :type regular)
(x-symbol :version 1.05 :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.17 :type regular)
(vc-cc :version 1.21 :type regular)
(vc :version 1.37 :type regular)
(tramp :version 1.16 :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.63 :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.13 :type regular)
(ruby-modes :version 1.01 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.3 :type regular)
(python-modes :version 1.02 :type single-file)
(psgml-dtds :version 1.02 :type regular)
(psgml :version 1.41 :type regular)
(ps-print :version 1.08 :type regular)
(prog-modes
:version
1
.83
: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.32 :type single-file)
(oo-browser :version 1.03 :type regular)
(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.6 :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.3 :type regular)
(ibuffer :version 1.08 :type regular)
(hyperbole :version 1.12 :type regular)
(hm--html-menus :version 1.21 :type regular)
(haskell-mode :version 1.05 :type regular)
(gnus :version 1.71 :type regular)
(gnats :version 1.15 :type regular)
(general-docs :version 1.0 :type regular)
(games :version 1.14 :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.04 :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.07 :type single-file)
(ediff :version 1.47 :type regular)
(edebug :version 1.18 :type regular)
(ecrypto :version 0.13 :type regular)
(ecb :version 1.1 :type regular)
(docbookide :version 0.06 :type regular)
(dired :version 1.13 :type regular)
(dictionary :version 1.12 :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.39 :type regular)
(calendar :version 1.21 :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)
(Sun :version 1.13 :type regular))
Installed Modules:
-----------------
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 hyper-apropos view-less
view func-menu font-lock gnuserv vc-hooks mwheel tex-site time advice
advice-preload uniquify ispell xcscope ring cus-face 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 oo-browser-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
hyperbole-autoloads hm--html-menus-autoloads haskell-mode-autoloads
gnus-autoloads gnats-autoloads general-docs-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 Sun-autoloads lisp-autoloads loadhist
auto-show fontl-hooks x-iso8859-1 code-cmds gutter-items menubar-items
x-menubar mode-motion mouse itimer auto-save lisp-mode easymenu
iso8859-1 page buff-menu lib-complete help-nomule cus-file derived
frame text-props obsolete cus-start custom widget cl-extra mini-cl cl
cl-19 packages backquote very-early-lisp postgresqlv7 postgresql
file-coding 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 berkeley-db md5 xemacs gutter tiff
png gif jpeg xface xpm xbm lisp-float-type linux dialog devices
window-system base64)
Recent keystrokes:
-----------------
a b u g RET down down down down down down down down
down down down down down down down down down down down
down down down down down down down down down down down
down down down down down down down down down down down
down down down down up up up up up up up up up up up
up up up up up up up up up up up up up up up up up
up up up M-x s u b m TAB C-] M-x r e p o TAB r TAB
x e TAB RET
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Making completion list...
Quit
Loading hyper-apropos...done
Loading hyper-apropos...
Loading view-less...done
Loading view-less...
Quit
Making completion list...
Making completion list...
Loading gnuserv...done
Loading gnuserv...
Loading mwheel...done
Loading mwheel...
Loading time...done
Loading time...
Loading advice...done
Loading advice...
Loading 50nowebm...done