================================================================
Dear Bug Team!
Xemacs crashed intermittently during dired "f" command to open a file
and/or clicking the middle mouse the open a file. Sometimes the
crashes occur frequently within minutes of starting Xemacs, other
times it will run for sevral days before crashing. I have found no
reliable way of getting it to crash with a simple series of keytrokes
or mouse clicks and can't relate the crashes to my editing behavior.
I have also seen crashes when doing a tags-search.
The crashes are independent of my init.el file having been run but I
have nevertheless appended of the file to this bug report.
Paul R. Guilbault
paul_guilbault(a)ieee.org
c_pguilb(a)qualcomm.com
================================================================
Error message:
---------------------------------------
app-sparc-rtp-017 ~/ >> Fatal error: assertion failed, file xlwtabs.c, line 1988,
*reply_width > 0 && *reply_height > 0
Fatal error (6).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
If you have access to the PROBLEMS file that came with your
version of XEmacs, please check to see if your crash is described
there, as there may be a workaround available.
Otherwise, please report this bug by running the send-pr
script included with XEmacs, or selecting `Send Bug Report'
from the help menu.
As a last resort send ordinary email to `crashes(a)xemacs.org'.
*MAKE SURE* to include the information in the command
M-x describe-installation.
If at all possible, *please* try to obtain a C stack backtrace;
it will help us immensely in determining what went wrong.
To do this, locate the core file that was produced as a result
of this crash (it's usually called `core' and is located in the
directory in which you started the editor, or maybe in your home
directory), and type
gdb /usr2/jeffreyb/src/xemacs-21.4.0/src/xemacs core
then type `where' when the debugger prompt comes up.
(If you don't have GDB on your system, you might have DBX,
or XDB, or SDB. A similar procedure should work for all of
these. Ask your system administrator if you need more help.)
Lisp backtrace follows:
# bind (inhibit-quit)
# (condition-case ... . error)
# (catch top-level ...)
[1] Abort /usr2/jeffreyb/src/xemacs-21.4.0/src/xemacs -g
182x49+65+0 (core dumped)
app-sparc-rtp-017 ~/ >>
C stark backtrace:
---------------------------------------
app-sparc-rtp-017 ~/ >> gdb /usr2/jeffreyb/src/xemacs-21.4.0/src/xemacs core
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.6"...
Core was generated by `/usr2/jeffreyb/src/xemacs-21.4.0/src/xemacs -g 182x49+65+0'.
Program terminated with signal 6, Abort.
Reading symbols from /usr/lib/libXm.so.4...done.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /usr/openwin/lib/libtt.so.2...done.
Reading symbols from /usr/lib/libXmu.so.4...done.
Reading symbols from /usr/lib/libXt.so.4...done.
Reading symbols from /usr/lib/libXext.so.0...done.
Reading symbols from /usr/lib/libX11.so.4...done.
Reading symbols from /usr/lib/libSM.so.6...done.
Reading symbols from /usr/lib/libICE.so.6...done.
Reading symbols from /usr/lib/libcurses.so.1...done.
Reading symbols from /usr/lib/libldap.so.4...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libelf.so.1...done.
Reading symbols from /usr/lib/libgen.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libresolv.so.2...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1...done.
Reading symbols from /usr/lib//liblayout.so...done.
#0 0x7f41fba0 in _libc_kill () from /usr/lib/libc.so.1
(gdb) where
#0 0x7f41fba0 in _libc_kill () from /usr/lib/libc.so.1
#1 0x76490 in fatal_error_signal (sig=6) at emacs.c:535
#2 <signal handler called>
#3 0x7f41fba0 in _libc_kill () from /usr/lib/libc.so.1
#4 0x7f3b594c in abort () from /usr/lib/libc.so.1
#5 0x78ca4 in assert_failed (file=0x1b67e0 "xlwtabs.c", line=1988,
expr=0x1b68b0 "*reply_width > 0 && *reply_height > 0") at
emacs.c:3305
#6 0x192f24 in PreferredSize2 (tw=0x1, cw=114, ch=65503, reply_width=0xffbec9ce,
reply_height=0xffbec9cc)
at xlwtabs.c:1988
#7 0x190e44 in TabsGeometryManager (w=0x5f8400, req=0xffbecbd0, reply=0xffbecba4) at
xlwtabs.c:854
#8 0x7fa014b4 in GeometryHandlerWrapper () from /usr/lib/libXm.so.4
#9 0x7f7ff3f8 in _XtMakeGeometryRequest () from /usr/lib/libXt.so.4
#10 0x7f7fc9f4 in XtSetValues () from /usr/lib/libXt.so.4
#11 0x185810 in xm_update_label (instance=0x1da400, widget=0x5f8400, val=0x4b8440) at
lwlib-Xm.c:289
#12 0x1858e4 in xm_update_one_widget (instance=0x4c9180, widget=0x5f8400, val=0x4b8440,
deep_p=0 '\000')
at lwlib-Xm.c:803
#13 0x18cc38 in xlw_update_tab_control (instance=0x4c9180, widget=0x10, val=0x1b5c00) at
lwlib-Xlw.c:444
#14 0x18cd8c in xlw_update_one_widget (instance=0x4c9180, widget=0x4a8e00, val=0x4a54c0,
deep_p=1 '\001')
at lwlib-Xlw.c:564
#15 0x183728 in lw_modify_all_widgets (id=4871360, val=0x4a8e00, deep_p=1 '\001')
at lwlib.c:726
#16 0x167990 in x_redisplay_widget (p=0x49be00) at glyphs-x.c:2288
#17 0xe9170 in redisplay_widget (widget=4832768) at glyphs-widget.c:427
#18 0xe3a18 in redisplay_subwindow (subwindow=4832768) at glyphs.c:4535
#19 0x132a48 in redisplay_output_subwindow (w=0x484c00, image_instance=4832768,
db=0xffbed9f0, dga=0xffbed9e0,
findex=14, cursor_start=0, cursor_width=0, cursor_height=0) at
redisplay-output.c:1240
#20 0x16c46c in x_output_display_block (w=0x484c00, dl=0x48f400, block=5117952, start=0,
end=1, start_pixpos=4,
cursor_start=0, cursor_width=0, cursor_height=0) at redisplay-x.c:472
#21 0x132e0c in redisplay_output_display_block (w=0x484c00, dl=0x48f400, block=0, start=0,
end=1, start_pixpos=4,
cursor_start=0, cursor_width=0, cursor_height=0) at redisplay-output.c:1153
#22 0x12fe44 in output_display_line (w=0x484c00, cdla=0x4db040, ddla=0x4dbf00, line=0,
force_start=-4269284,
force_end=0) at redisplay-output.c:800
#23 0xf62b0 in output_gutter (f=0x477600, pos=TOP_GUTTER, force=0) at gutter.c:444
---Type <return> to continue, or q <return> to quit---
#24 0xf6708 in update_frame_gutters (f=0x477600) at gutter.c:634
#25 0x127ee4 in redisplay_frame (f=0x477600, preemption_check=0) at redisplay.c:6390
#26 0x128168 in redisplay_device (d=0x445b00, automatic=4683264) at redisplay.c:6473
#27 0x12856c in redisplay_without_hooks () at redisplay.c:6562
#28 0x12e288 in redisplay () at redisplay.c:6619
#29 0xa956c in Fnext_event (event=4881548, prompt=2144260) at event-stream.c:2177
#30 0x5d97c in Fcommand_loop_1 () at cmdloop.c:574
#31 0x5dbf4 in command_loop_1 (dummy=2144260) at cmdloop.c:494
#32 0x7b1bc in condition_case_1 (handlers=2144356, bfun=0x5dbd8 <command_loop_1>,
barg=2144260,
hfun=0x5dc54 <cmd_error>, harg=2144260) at eval.c:1651
#33 0x5dd64 in command_loop_2 (dummy=2144260) at cmdloop.c:256
#34 0x82fdc in internal_catch (tag=2224300, func=0x5dd18 <command_loop_2>,
arg=2144260, threw=0x0) at eval.c:1317
#35 0x5d538 in initial_command_loop (load_me=2144260) at cmdloop.c:305
#36 0x77e14 in sort_args (argc=1935360, argv=0xffbee504) at emacs.c:2344
(gdb) quit
app-sparc-rtp-017 ~/ >>
My init.el file:
---------------------------------------
;;;
;;; %W%
;;;
;;; -*- Mode: Emacs-Lisp -*-
;;; *******************************
;;; .emacs - Xemacs Initialize File
;;; Paul R. Guilbault
;;; *******************************
;;; *****************************************************
;;; How to create a key definition from a keyboard macro:
;;; *****************************************************
;;; 1.) Create the keyboard macro.
;;; 2.) Give the macro a name (ex" find_ff) using "name-last-kbd-macro".
;;; 3.) Insert macro definition as Lisp into a buffer using
"insert-kbd-macro":
;;; ex: (fset 'find_ff "\C-s\C-q\C-l\C-u0\C-l")
;;; 4.) Assign the macro body to a key in the .emacs file:
;;; ex: (global-set-key '[(control f8)] "\C-s\C-q\C-l\C-u0\C-l")
;;; *****************************************************
;;; Setup.
;;; *****************************************************
(require 'crypt)
(setq load-path (cons (expand-file-name
"/usr2/jeffreyb/src/xemacs-21.4.0/xemacs-packages/lisp/vera-mode-2.14/")
load-path))
(setq html-document-previewer "mosaic")
(setq auto-mode-alist
(append
'(("\\.v$" . verilog-mode))
'(("\\.vh$" . verilog-mode))
'(("\\.sv$" . verilog-mode))
'(("\\.gv$" . verilog-mode))
'(("\\.c$" . c-mode))
'(("\\.h$" . c-mode))
'(("\\.cc$" . cc-mode))
'(("\\.vpp$" . verilog-mode))
'(("\\.pl$" . perl-mode)) ; Override prolog-mode ?
'(("\\.rpt$" . coverage-aid-mode))
auto-mode-alist))
(setq auto-mode-alist (cons '("\\.vr[hi]?\\'" . vera-mode)
auto-mode-alist))
(autoload 'coverage-aid-mode "coverage-aid-mode" "Convience mode for
editing coverage filles from vcov." t)
(autoload 'perl-mode "perl" "Perl major mode"
t)
(autoload 'vera-mode "vera-mode" "Vera Mode" t)
(autoload 'verilog-mode "verilog" "Verilog language
sensitive mode" t)
(add-hook 'font-lock-mode-hook 'font-lock-use-default-colors)
(add-hook 'c-mode-hook 'turn-on-font-lock)
(add-hook 'emacs-lisp-mode-hook 'turn-on-font-lock)
(add-hook 'ksh-mode-hook 'turn-on-font-lock)
(add-hook 'verilog-mode-hook 'turn-on-font-lock)
;;; *****************************************************
;;; Loads.
;;; *****************************************************
;load "C:\\Program Files\\XEmacs\\XEmacs-21.4.10\\lisp\\msw-faces.elc")
(load "msw-faces.elc")
(load "scroll-in-place.elc")
(global-set-key "\C-v" 'scroll-up-in-place)
(global-set-key "\M-v" 'scroll-down-in-place)
;;; *****************************************************
;;; Options Menu Settings
;;; *****************************************************
(cond
((and (string-match "XEmacs" emacs-version)
(boundp 'emacs-major-version)
(or (and
(= emacs-major-version 19)
(>= emacs-minor-version 14))
(= emacs-major-version 20))
(fboundp 'load-options-file))
(load-options-file "~/.xemacs-options")))
;;; *****************************************************
;;; Variables.
;;; *****************************************************
(set-variable 'delete-key-deletes-forward t)
(set-variable 'turn-on-pending-delete t)
;;; *****************************************************
;;; Functions.
;;; *****************************************************
(defun scroll-to-top-in-place (n) (interactive "p") (scroll-down n))
(defun scroll-to-bot-in-place (n) (interactive "p") (scroll-up n))
(defun load-my-files (n) (interactive "p")
; (find-file-noselect "c:\\My Documents\\Consulting\\Sun\\Paul\'s
Homepage\\public_html")
; (find-file-noselect "c:\\My Documents\\Consulting\\Sun\\Paul\'s
Homepage\\public_html\\index.html")
; (find-file-noselect "c:\\Transfer")
)
;;; *****************************************************
;;; Key mappings.
;;; *****************************************************
(global-set-key "\C-xw" 'what-line)
(global-set-key "\C-xt" "\C-u0\C-l")
(global-set-key '[f1] 'font-lock-fontify-buffer)
(global-set-key '[(control f1)] 'load-my-files)
(global-set-key '[f2] 'toggle-read-only)
(global-set-key '[(control f2)] 'revert-buffer)
(global-set-key '[f3] 'scroll-to-top-in-place)
(global-set-key '[f4] 'scroll-to-bot-in-place)
(global-set-key '[(control f3)] 'enlarge-window)
(global-set-key '[(control f4)] 'shrink-window)
(global-set-key '[(meta f3)] 'enlarge-window-horizontally)
(global-set-key '[(meta f4)] 'shrink-window-horizontally)
(global-set-key '[f5] 'query-replace)
(global-set-key '[f6] 'start-kbd-macro)
(global-set-key '[f7] 'end-kbd-macro)
(global-set-key '[f8] 'call-last-kbd-macro)
(global-set-key '[(control f7)] "\C-x\C-t\C-p\C-p") ; Move current line up.
(global-set-key '[(control f8)] "\C-n\C-x\C-t\C-p") ; Move current line
down.
(global-set-key '[(meta f7)] "\C-r\C-q\C-l\C-u0\C-l"); Find previous FF,
move to top of buffer.
(global-set-key '[(meta f8)] "\C-s\C-q\C-l\C-u0\C-l"); Find next FF,
move to top of buffer.
(global-set-key '[(control f9)] 'sort-lines)
;(global-set-key '[f9] [(meta x) s h e l l return])
(global-set-key '[f9] [?\M-x ?s ?h ?e ?l ?l return])
;(global-set-key '[f10] "setenv DISPLAY chaktow:0.0")
(global-set-key '[f12] 'help-for-help)
System Info to help track down your bug:
---------------------------------------
uname -a: SunOS mfu-rtp-01 5.8 Generic_108528-20 sun4u sparc SUNW,Sun-Fire-V210
./configure
XEmacs 21.4.0 "Solid Vapor" configured for `sparc-sun-solaris2.8'.
Compilation / Installation:
Source code location: /usr2/jeffreyb/src/xemacs-21.4.0
Installation prefix: /usr/local
Runtime library search path:
/usr/ccs/lib:/usr/dt/lib:/usr/openwin/lib:/pkg/gnu/gcc-2.95.2/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wshadow -Wsign-compare -Wpointer-arith
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/dt/include /usr/openwin/include
- X Windows libraries location: /usr/dt/lib /usr/openwin/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
TTY:
Images:
Compiling in support for GIF images (builtin).
WARNING: -----------------------------------------------------------
WARNING: Compiling without XPM image support.
WARNING: You should strongly consider installing XPM.
WARNING: Otherwise toolbars and other graphics will look suboptimal.
WARNING: (a copy may be found in
ftp://ftp.xemacs.org/pub/xemacs/aux)
WARNING: -----------------------------------------------------------
WARNING: -----------------------------------------------------------
WARNING: Compiling without PNG image support.
WARNING: You should strongly consider installing the PNG libraries.
WARNING: Otherwise certain images and glyphs may not display.
WARNING: (a copy may be found in
ftp://ftp.xemacs.org/pub/xemacs/aux)
WARNING: -----------------------------------------------------------
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for DBM.
Compiling in support for LDAP.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Compiling in support for ToolTalk.
Compiling in support for dynamic shared object modules.
Load-Path Lisp Shadows:
----------------------
nil
Installed XEmacs Packages:
-------------------------
(xemacs-devel ver: 1.63 upstream: No-Upstream-Ver)
(xemacs-base ver: 1.86 upstream: No-Upstream-Ver)
(vhdl ver: 1.19 upstream: 3.32.20)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(prog-modes ver: 1.96 upstream: No-Upstream-Ver)
(perl-modes ver: 1.05 upstream: No-Upstream-Ver)
(os-utils ver: 1.35 upstream: No-Upstream-Ver)
(net-utils ver: 1.42 upstream: N/A)
(mail-lib ver: 1.65 upstream: No-Upstream-Ver)
(fsf-compat ver: 1.14 upstream: No-Upstream-Ver)
(efs ver: 1.32 upstream: 1.22)
(edit-utils ver: 2.12 upstream: No-Upstream-Ver)
(ediff ver: 1.5 upstream: 2.75)
(dired ver: 1.15 upstream: 7.11)
(debug ver: 1.17 upstream: No-Upstream-Ver)
(c-support ver: 1.2 upstream: No-Upstream-Ver)
Installed Modules:
-----------------
Features:
--------
(ehelp electric mail-abbrevs xemacsbug shadow sendmail rfc822
dired-faces dired-xemacs dired efs-cu info view-less view cus-face
pending-del paren blink-paren scroll-in-place crypt crypt++
xemacs-devel-autoloads xemacs-base-autoloads vhdl-autoloads
time-autoloads textools-autoloads prog-modes-autoloads
perl-modes-autoloads os-utils-autoloads net-utils-autoloads
mail-lib-autoloads fsf-compat-autoloads efs-autoloads
edit-utils-autoloads ediff-autoloads dired-autoloads debug-autoloads
c-support-autoloads lisp-autoloads loadhist auto-show fontl-hooks
x-iso8859-1 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 tooltalk lucid-scrollbars cut-buffer lucid-menubars
motif-dialogs x c-balloon-help tty-frames tty toolbar native-sound
scrollbar unix-processes multicast network-streams subprocesses
modules menu-accelerator-support menubar dbm md5 xemacs gutter gif xbm
lisp-float-type usg-unix-v dialog devices window-system base64)
Recent keystrokes:
-----------------
o r e SPC . RET g C-x C-f c r a s h _ t e s t BS BS
BS BS BS . t x t RET button2 button2up button1 button1up
BS BS BS BS C-x C-s misc-user c r a s h BS BS BS BS
BS d i r e d SPC c r a s h RET C-x 1 C-x 1 down down
down down down down down down down down down down down
down down down down down C-end RET button1 button1up
C-x k RET down down down down down C-x k RET misc-
user
Recent messages (most recent first):
-----------------------------------
Buffer is read-only: #<buffer "*Bug Help*">
Buffer is read-only: #<buffer "*Bug Help*">
Type M-x mail-send-and-exit to send the bug report, C-x k to cancel.
space = page forward; b = page back; h = help; q = quit.
Loading ehelp...done
Loading ehelp...
Loading xemacsbug...done
Loading xemacsbug...
Wrote /usr2/c_pguilb/xemacs_crash/crash.txt
(New file)
Reading directory /usr2/c_pguilb/xemacs_crash/...done
Reading directory /usr2/c_pguilb/xemacs_crash/...
0: Event not found.
Quit
Quit
Quit
Quit
Quit
. not defined.
. not defined.