In XEmacs 21.5 (beta1) "anise" [Lucid] (hppa2.0w-hp-hpux11.00) of Tue
Jun 26 2001 on cosw38m
configured using `configure --cflags=-O2 --dynamic=yes
--prefix=/opt/net/xemacs --with-menubars=lucid'
Selecting the menu item called "File/Revert Buffer ..." generates a
core dump on HPUX 11.
On SunOS 5.6, there are no problems with that command.
The following is the dump on the terminal:
---
Fatal error (11).
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 /opt/net/xemacs/bin/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:
make-dialog-box-internal(question (:question "Revert buffer from file
/opt/net/trash/xemacs-21.5.1/PROBLEMS? " :buttons (["Yes" ...]
["No"
...] nil ["Cancel" ...])))
eval((make-dialog-box-internal (quote question) (quote (:question
"Revert buffer from file /opt/net/trash/xemacs-21.5.1/PROBLEMS? "
:buttons ...))))
byte-code("..." [thunk frames id sym eval gensym lambda (did) when eq
quote (did) mapc (quote enable-frame) (enqueue-eval-event (quote
internal-make-dialog-box-exit) did) remove-hook (quote
delete-dialog-box-hook) add-hook delete-dialog-box-hook disable-frame
--cl-block-nil-- (byte-code " à !«oÄ !Åa«Æ ! a«ÇÈÉ\"ªÊ !)ª\\" [id
event next-event eval-event-p event-function
internal-make-dialog-box-exit event-object throw --cl-block-nil-- ...
dispatch-event] 3)] 11)
# (catch internal-dialog-box-finish ...)
# bind (frames thunk)
dialog-box-modal-loop((make-dialog-box-internal (quote question)
(quote (:question "Revert buffer from file
/opt/net/trash/xemacs-21.5.1/PROBLEMS? " :buttons ...))))
# bind (cl-modal)
# (unwind-protect ...)
# bind (--letf-save--6891 --letf-bound--6892 cl-keys type)
make-dialog-box(question :question "Revert buffer from file
/opt/net/trash/xemacs-21.5.1/PROBLEMS? " :modal t :buttons (["Yes"
(dialog-box-finish t)] ["No" (dialog-box-finish nil)] nil ["Cancel"
(dialog-box-cancel)]))
# (unwind-protect ...)
# bind (ssf6888 prompt)
yes-or-no-p-dialog-box("Revert buffer from file
/opt/net/trash/xemacs-21.5.1/PROBLEMS? ")
# bind (prompt)
yes-or-no-p("Revert buffer from file
/opt/net/trash/xemacs-21.5.1/PROBLEMS? ")
# bind (file-name auto-save-p opoint preserve-modes noconfirm
ignore-auto)
#<compiled-function (&optional ignore-auto noconfirm preserve-modes)
"...(246)" [found buffer-auto-save-file-name --dolist-temp--6928 rx
auto-save-p file-name recent-auto-save-p file-readable-p y-or-n-p
"Buffer has been auto-saved recently. Revert from auto-save file? "
error "Buffer does not seem to be associated with any file"
buffer-modified-p nil string-match t yes-or-no-p format "Revert buffer
from file %s? " run-hooks before-revert-hook verify-visited-file-modtime
default-value after-revert-hook local-variable-p file-exists-p "File %s
no longer exists!" unlock-buffer insert-file-contents after-find-file
set-default revert-buffer-internal-hook make-local-variable
kill-local-variable buffer-undo-list revert-buffer-function ignore-auto
noconfirm opoint buffer-file-name local-hook local-hook-p global-hook
revert-buffer-insert-file-contents-function revert-without-query
buffer-backed-up buffer-read-only preserve-modes] 7 924845 (list (not
current-prefix-arg))>(t)
call-interactively(revert-buffer)
# (condition-case ... . error)
# (catch top-level ...)
---
The following is the stacktrace from gdb:
---
This GDB was configured as "hppa1.1-hp-hpux11.00"...
Core was generated by `xemacs-21.5-b1'.
Program terminated with signal 11, Segmentation fault.
warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the
program.
Reading symbols from /usr/lib/libXm.4...done.
Reading symbols from /usr/lib/libXp.2...done.
Reading symbols from /usr/dt/lib/libtt.3...done.
Reading symbols from /usr/lib/libnsl.1...done.
Reading symbols from /usr/lib/libxti.2...done.
Reading symbols from /usr/lib/X11R6/libXt.3...done.
Reading symbols from /usr/lib/X11R6/libXext.3...done.
Reading symbols from /usr/lib/X11R6/libX11.3...done.
Reading symbols from /usr/lib/X11R6/libSM.2...done.
Reading symbols from /usr/lib/X11R6/libICE.2...done.
Reading symbols from /usr/lib/libm.2...done.
Reading symbols from /usr/lib/libc.2...done.
Reading symbols from /usr/lib/libdld.2...done.
Reading symbols from /opt/graphics/OpenGL/lib/libogltls.sl...done.
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/lib/libnss_dns.1...done.
#0 0xc01f4020 in kill () from /usr/lib/libc.2
(gdb) where
#0 0xc01f4020 in kill () from /usr/lib/libc.2
#1 0xa6e6c in fatal_error_signal ()
#2 <signal handler called>
#3 0xc14e14c0 in XtWidgetToApplicationContext () from
/usr/lib/X11R6/libXt.3
#4 0xc1776ad8 in XmProcessTraversal () from /usr/lib/libXm.4
#5 0x231660 in make_dialog ()
#6 0x231d3c in xm_create_dialog ()
#7 0x2293e0 in instantiate_widget_instance ()
#8 0x2285e4 in allocate_widget_instance ()
#9 0x22955c in lw_make_widget ()
#10 0x22960c in lw_create_widget ()
#11 0xd96d0 in x_make_dialog_box_internal ()
#12 0xce3a0 in Fmake_dialog_box_internal ()
#13 0xb2178 in Feval ()
#14 0xb2914 in Ffuncall ()
#15 0x7b5f4 in execute_optimized_program ()
#16 0x40016e38 in lcrecord_stats ()
#17 0xa6e6c in fatal_error_signal ()
---
The following is the output from "describe-installation".
---
uname -a: HP-UX cosw38m B.11.00 A 9000/785 2002535808 two-user license
./configure '--cflags=-O2' '--dynamic=yes'
'--prefix=/opt/net/xemacs'
'--with-menubars=lucid'
XEmacs 21.5-b1 "anise" configured for `hppa2.0w-hp-hpux11.00'.
Compilation / Installation:
Source code location: /opt/net/trash/xemacs-21.5.1
Installation prefix: /opt/net/xemacs
Operating system description file: `s/hpux11.h'
Machine description file: `m/hp800.h'
Compiler: gcc -O2
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/contrib/X11R6/include
- X Windows libraries location: /usr/dt/lib
/usr/lib/X11R6 /usr/contrib/X11R6/lib
- Xau (X authority) not available.
- 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:
Databases:
Compiling in support for DBM.
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.
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: ---------------------------------------------------------
---
Br, Klaus Pedersen