This bug report will be sent to the XEmacs Development Team,
not to your local site managers!!
Please write in English, because the XEmacs maintainers do not have
translators to read other languages for them.
Please describe as succinctly as possible:
- What happened.
- What you thought should have happened.
- Precisely what you were doing at the time.
Please also include any C or lisp back-traces that you may have.
================================================================
Dear Bug Team!
I am working on an rpm package to get a version of xemacs ready for
our team. Through rpm I have compiled 21.4.6 and manually unpacked a
general set of packages I have found useful.
After selecting a download site, I do Tools->Package->List and Install
and I Get a core dump.
NOTE: I can do this as ROOT, but I need users to be able to add their
own packages. I do have
(custom-set-variables
'(pui-package-install-dest-dir "~/.xemacs/xemacs-packages"))
'...
In my ~/.xemacs/custom.el, but I may be missing some other little
piece if the puzzle.
Please let me know if there is an easy fix or if you need any more
information.
NOTE2: I don't think the initial colormap warnings have anything to
do with this problem...
Here is the text after the crash.
---X---X--- Start dump text ---X---X---
home> /usr/bin/xemacs &
[1] 9754
home>
Warning: The colormap passed to cvtStringToPixel doesn't match the one
reg istered to the device.
Warning: The colormap passed to cvtStringToPixel doesn't match the one
registered to the device.
Fatal error (11).
[..snip gdb instructions ..]
Lisp backtrace follows:
make-dialog-box-internal(question (:question "Update package index in /usr/lib
/xemacs-21.4.6/etc/package-index.LATEST.pgp? " :buttons (["Yes" ...]
["No" ...]
nil ["Cancel" ...])))
eval((make-dialog-box-internal (quote question) (quote (:question "Update pack
age index in /usr/lib/xemacs-21.4.6/etc/package-index.LATEST.pgp? " :buttons ...
))))
byte-code("..." [thunk frames id sym eval gensym lambda (did) when eq quote
(d
id) mapc (quote enable-frame) (enqueue-eval-event (quote internal-make-dialog-bo
x-exit) did) remove-hook (quote delete-dialog-box-hook) add-hook delete-dialog-b
ox-hook disable-frame --cl-block-nil-- (byte-code "ô û !šá !éašó
ašúàè\"
ò !)\\" [id event next-event eval-event-p event-function internal-make-d
ialog-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 (:ques
tion "Update package index in /usr/lib/xemacs-21.4.6/etc/package-index.LATEST.pg
p? " :buttons ...))))
# bind (cl-modal)
# (unwind-protect ...)
# bind (--letf-save--54649 --letf-bound--54650 cl-keys type)
make-dialog-box(question :question "Update package index in /usr/lib/xemacs-21
.4.6/etc/package-index.LATEST.pgp? " :modal t :buttons (["Yes"
(dialog-box-finis
h t)] ["No" (dialog-box-finish nil)] nil ["Cancel"
(dialog-box-cancel)]))
# (unwind-protect ...)
# bind (ssf54641 prompt)
yes-or-no-p-dialog-box("Update package index in /usr/lib/xemacs-21.4.6/etc/pac
kage-index.LATEST.pgp? ")
# bind (prompt)
y-or-n-p("Update package index in /usr/lib/xemacs-21.4.6/etc/package-index.LAT
EST.pgp? ")
# bind (location filename)
package-get-maybe-save-index("/anonymous@ftp.sunsite.utk.edu:/pub/xemacs/packa
ges/package-index.LATEST.pgp")
# (unwind-protect ...)
# (unwind-protect ...)
# bind (buf force-current db-file)
package-get-update-base(nil t)
# bind (force-current)
package-get-require-base(t)
#<compiled-function nil "...(137)" [pui-info-buffer pui-menu
buffer-read-only
sep-string start outbuf package-get-require-base t get-buffer-create "==========
=====================================================================\n" nil mes
sage "Creating package list ..." sit-for 0 buffer-disable-undo erase-buffer
kill
-all-local-variables use-local-map list-packages-mode "Packages"
"\nWarning: No
download sites specified. Package index may be out of date.\n If you in
tend to install packages, specify download sites first.\n\n" "
L
atest Installed\n Package name Vers. Vers. Description\n" "
Latest\n Package name Vers. Description\n" mapcar #<compiled-function ...
"...(204)" ... 10> sort copy-sequence #<compiled-function ...
"...(10)" ... 3> d
ocumentation set-buffer-modified-p pop-to-buffer delete-other-windows featurep m
enubar set-buffer-menubar add-submenu clear-message pui-display-keymap major-mod
e mode-name truncate-lines package-get-remote pui-list-verbose package-get-base
pui-selected-packages pui-deleted-packages current-menubar mode-popup-menu] 6 ("
/usr/lib/xemacs-21.4.6/lisp/package-ui.elc" . 13433) nil>()
call-interactively(pui-list-packages)
# (condition-case ... . error)
# (catch top-level ...)
[1]+ Segmentation fault (core dumped) /usr/bin/xemacs
home>
---X---X--- End dump text ---X---X---
---X---X--- Start of gdb where dump ---X---X---
#0 0xc01f4000 in kill () from /usr/lib/libc.2
#1 0xa306c in fatal_error_signal (sig=0) at emacs.c:539
#2 <signal handler called>
#3 0xc18614b0 in XtWidgetToApplicationContext () from /usr/lib/X11R6/libXt.3
#4 0xc23768e0 in XmProcessTraversal () from /usr/lib/libXm.4
#5 0x1e0758 in make_dialog (name=0x0, parent=0x6ff2b6b5, pop_up_p=48 '0',
shell_title=0x402eb000 "@.\260", icon_name=0x239e14
"dbox-question",
text_input_slot=0 '\000', radio_box=0 '\000', list=0 '\000',
left_buttons=2, right_buttons=1) at lwlib-Xm.c:1341
#6 0x1e0e2c in xm_create_dialog (instance=0x40428f80) at lwlib-Xm.c:1540
#7 0x1d7738 in instantiate_widget_instance (instance=0x40428f80)
at lwlib.c:941
#8 0x1d7884 in lw_make_widget (id=0, parent=0x402fa200, pop_up_p=1 '\001')
at lwlib.c:389
#9 0x1d8518 in lw_create_widget (type=0x40312928 "Q3BR1",
name=0x228628 "dialog", id=65548, val=0x40304240, parent=0x402fa200,
pop_up_p=1, pre_activate_cb=0,
selection_cb=0x400157ea <dbox_selection_callback>, post_activate_cb=0)
at lwlib.c:993
#10 0xcd8c4 in x_make_dialog_box_internal (f=0x403143c0, type=1078220928,
keys=1878244656) at dialog-x.c:269
#11 0xc6074 in Fmake_dialog_box_internal (type=1074183444, keys=1076904512)
at dialog.c:51
#12 0xacb8c in Feval (form=1078312884) at eval.c:3331
#13 0xad274 in Ffuncall (nargs=0, args=0x6fff3844) at eval.c:3528
#14 0x7b968 in execute_optimized_program (program=0x0, stack_depth=0,
constants_data=0x401fc190) at bytecode.c:746
#15 0x4020e010 in ?? ()
#16 0xa306c in fatal_error_signal (sig=1701978215) at emacs.c:539
#17 0x40014660 in Def_term ()
#18 0xa306c in fatal_error_signal (sig=2233816) at emacs.c:539
Cannot access memory at address 0x5dfff6c.
---X---X--- End of gdb dump ---X---X---
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: HP-UX hpesjfh B.11.00 U 9000/785 2000025340 unlimited-user license
./configure '--prefix=/usr'
XEmacs 21.4.6 "Common Lisp" configured for `hppa2.0w-hp-hpux11.00'.
Compilation / Installation:
Source code location: /usr/src/redhat/BUILD/xemacs-21.4.6
Installation prefix: /usr
Operating system description file: `s/hpux11.h'
Machine description file: `m/hp800.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow -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/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).
Compiling in support for XPM images.
Compiling in support for PNG images.
Sound:
Databases:
Compiling in support for Berkeley database.
Compiling in support for GNU DBM.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for ToolTalk.
Compiling in support for dynamic shared object modules.
Load-Path Lisp Shadows:
----------------------
nil
Installed XEmacs Packages:
-------------------------
((xemacs-devel:version 1.4 :type single-file)
(xemacs-base :version 1.58 :type regular)
(w3 :version 1.21 :type regular)
(vc-cc :version 1.18 :type regular)
(text-modes :version 1.37 :type single-file)
(speedbar :version 1.22 :type regular)
(ps-print :version 1.02 :type regular)
(prog-modes
:version
1
.49
:type
single-file)
(pcl-cvs :version 1.58 :type regular)
(os-utils :version 1.26 :type single-file)
(net-utils :version 1.23 :type single-file)
(mail-lib :version 1.43 :type regular)
(ispell :version 1.24 :type regular)
(gnus :version 1.58 :type regular)
(gnats :version 1.13 :type regular)
(fsf-compat :version 1.1 :type single-file)
(eterm :version 1.13 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(efs :version 1.27 :type regular)
(edit-utils :version 1.76 :type single-file)
(ediff :version 1.36 :type regular)
(dired :version 1.11 :type regular)
(debug :version 1.14 :type regular)
(cc-mode :version 1.27 :type regular)
(c-support :version 1.16 :type single-file)
(apel :version 1.2 :type regular))
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 xemacs-devel-autoloads
xemacs-base-autoloads w3-autoloads vc-cc-autoloads
text-modes-autoloads speedbar-autoloads ps-print-autoloads
prog-modes-autoloads pcl-cvs-autoloads os-utils-autoloads
net-utils-autoloads mail-lib-autoloads ispell-autoloads gnus-autoloads
gnats-autoloads fsf-compat-autoloads eterm-autoloads emerge-autoloads
elib-autoloads efs-autoloads edit-utils-autoloads ediff-autoloads
dired-autoloads debug-autoloads cc-mode-autoloads c-support-autoloads
apel-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 scrollbar
unix-processes multicast network-streams subprocesses modules
menu-accelerator-support menubar berkeley-db dbm md5 xemacs gutter png
gif xpm xbm lisp-float-type hpux dialog devices window-system base64)
Recent keystrokes:
-----------------
misc-user
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...