I put the cursor on a man page in dired and pushed `l' to run my
`dired-man-locally' function. It said "loading man", and the
minibuffer kind of flickered, l ike it was printing the message over
and over for a while or something. Then it crashed.
With or without `-vanilla', if I go straight to the directory where
the man pages are and use `dired-man-locally', it will crash. But if
I view a man page first, with `M-x man', or just `M-x load-library
man', then go there and use `l', it works fine. It does the same
thing no matter which of the two `man.el' versions I try it with.
(One is the default, the other is a slightly modified copy of the GNU
Emacs `man.el'.)
This is the same copy and build of XEmacs for which I posted the
popup menu crash earlier today.
(defun dired-man-locally ()
(interactive)
(if (= 1 (function-max-args #'manual-entry))
(manual-entry (concat (dired-get-filename) " -l"))
(manual-entry (dired-get-filename) "-l")))
(add-hook 'dired-setup-keys-hook
#'(lambda ()
(define-key dired-mode-map [(?l)] #'dired-man-locally)))
Lisp backtrace follows:
# bind (print-message-label)
display-error((invalid-function zsh: segmentation fault (core dumped) xemacs
bittersweet% gdb xemacs core
GNU gdb 19990928
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 "i686-pc-linux-gnu"...
Core was generated by `xemacs'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/X11R6/lib/libXaw3d.so.6...done.
Reading symbols from /usr/lib/libtiff.so.3...done.
Reading symbols from /usr/lib/libpng.so.2...done.
Reading symbols from /usr/lib/libjpeg.so.62...done.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /usr/lib/libcompface.so.1...done.
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Reading symbols from /lib/libdl.so.2...done.
---Type <return> to continue, or q <return> to quit---
Reading symbols from /lib/libdb.so.3...done.
Reading symbols from /usr/lib/libgpm.so.1...done.
Reading symbols from /lib/libncurses.so.5...done.
Reading symbols from /usr/lib/libesd.so.0...done.
Reading symbols from /usr/lib/libaudiofile.so.0...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /usr/lib/libpq.so.2.0...done.
Reading symbols from /usr/lib/libopenldap.so.1...done.
Reading symbols from /usr/lib/liblber-openldap.so.1...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libcrypt.so.1...done.
Reading symbols from /lib/libnss_files.so.2...done.
Reading symbols from /lib/libnss_dns.so.2...done.
Reading symbols from /lib/libresolv.so.2...done.
Reading symbols from /lib/libnss_compat.so.2...done.
Reading symbols from /lib/libnsl.so.1...done.
#0 0x818151a in print_internal (obj=140173220, printcharfun=137464164,
escapeflag=1)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/print.c:1320
1320 if (LHEADER_IMPLEMENTATION (lheader)->printer)
(gdb) where full
#0 0x818151a in print_internal (obj=140173220, printcharfun=137464164,
escapeflag=1)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/print.c:1320
gcpro1 = {next = 0xbfffed4c, var = 0xbfffed1c, nvars = 1}
gcpro2 = {next = 0xbfffecc4, var = 0xbfffed20, nvars = 1}
#1 0x8180d98 in print_cons (obj=141821760, printcharfun=137464164,
escapeflag=1)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/print.c:1056
len = 1
max = 2147483647
tortoise = 141821760
gcpro1 = {next = 0xbfffee58, var = 0xbfffed6c, nvars = 1}
gcpro2 = {next = 0xbfffed58, var = 0xbfffed70, nvars = 1}
#2 0x8181531 in print_internal (obj=141822468, printcharfun=137464164,
escapeflag=1)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/print.c:1321
gcpro1 = {next = 0xbfffeeec, var = 0xbfffeebc, nvars = 1}
gcpro2 = {next = 0xbfffee64, var = 0xbfffeec0, nvars = 1}
#3 0x81829ac in Fprin1 (object=141822468, stream=137464164)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/print.c:616
frame = 137320188
gcpro1 = {next = 0xbfffef6c, var = 0xbfffef0c, nvars = 1}
gcpro2 = {next = 0xbfffeef8, var = 0xbfffef10, nvars = 1}
---Type <return> to continue, or q <return> to quit---
#4 0x80c51d7 in Fbacktrace (stream=137464164, detailed=137320212)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/eval.c:4901
i = 0
tem = 137463948
backlist = (struct backtrace *) 0xbffff334
catches = (struct catchtag *) 0xbffff654
speccount = 4
old_nl = 0
old_pr = 0
old_level = 137320188
oiq = 137320212
gcpro1 = {next = 0xbffff1f0, var = 0xbfffef8c, nvars = 1}
gcpro2 = {next = 0xbfffef78, var = 0xbfffef5c, nvars = 1}
#5 0x80bcc68 in fatal_error_signal (sig=11)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/emacs.c:276
No locals.
#6 0x4034b868 in sigaction () from /lib/libc.so.6
No symbol table info available.
#7 0x8180400 in print_error_message (error_object=141822468, stream=137925480)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/print.c:766
first = 0
speccount = 4
frame = 141082360
---Type <return> to continue, or q <return> to quit---
gcpro1 = {next = 0xbffff3b0, var = 0xbffff2a8, nvars = 1}
type = 16394
method = 137320188
tail = -1065877504
#8 0x818293c in Fdisplay_error (error_object=141822468, stream=137320212)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/print.c:821
No locals.
#9 0x80c1fda in Ffuncall (nargs=3, args=0xbffff368)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/eval.c:3218
PF_fn = (void (*)()) 0
max_args = -1073746656
spacious_args = {137320188, 137394212, 137320188, 136027662,
137534764, 136702484, 137320188, 137473036}
fun = 136898024
val = -1073745044
backtrace = {next = 0xbffff484, function = 0xbffff368,
args = 0xbffff36c, nargs = 2, pdlcount = 4, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
fun_nargs = 2
fun_args = (Lisp_Object *) 0xbffff36c
#10 0x80957d7 in execute_optimized_program (
program=0x888f008 "ÀÁ\n¢\e\034\035Á\026\006À\026\aÀ\026\bÁ\026\t\016\n«\004Ë
\210Ì \210\n\026\rÎÁ!\210ÏÁ\013Ða«\037Ñ\nA@!«\025Ò\nA@GU¬\rÓ\nA@ÒH!«\004Ôª\035Õ---Type
<return> to continue, or q <return> to quit---
ª\032\013Öa«\004Öª\022\013×s«\004ت\n\013Ùa«\004Úª\002Û\"\210Ü\nÀ\"\210Ý
«\013ÎÞ\016\037\"\210àá!\210+À\207LN\021\f", stack_depth=2,
constants_data=0x83aac30)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/bytecode.c:747
n = 2
opcode = 2
program_ptr = (
Opbyte *) 0x888f070 "\210Ý «\013ÎÞ\016\037\"\210àá!\210+À\207LN\021\f"
stack_ptr = (Lisp_Object *) 0xbffff368
speccount = 1
gcpro1 = {next = 0xbffff4d0, var = 0xbffff368, nvars = 5}
stack_beg = (Lisp_Object *) 0xbffff364
stack_end = (Lisp_Object *) 0xbffff378
#11 0x8095429 in funcall_compiled_function (fun=138244128, nargs=1,
args=0xbffff4cc)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/bytecode.c:519
value = -1073744836
symbol = 138275260
tail = 137320188
speccount = 0
i = 1
optional = 0
#12 0x80c216f in Ffuncall (nargs=2, args=0xbffff4c8)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/eval.c:3253
---Type <return> to continue, or q <return> to quit---
fun = 138244128
val = -1073744692
backtrace = {next = 0x0, function = 0xbffff4c8, args = 0xbffff4cc,
nargs = 1, pdlcount = 0, evalargs = 0 '\000', debug_on_exit = 0 '\000'}
fun_nargs = 1
fun_args = (Lisp_Object *) 0xbffff4cc
#13 0x80c6b12 in call1 (fn=0, arg0=-1073746656)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/eval.c:3867
ret_ungc_val = 140173220
gcpro1 = {next = 0x0, var = 0xbffff4c8, nvars = 2}
args = {137394212, 141822468}
#14 0x80a2db2 in cmd_error (data=141822468, dummy=137320188)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/cmdloop.c:191
No locals.
#15 0x80c75af in condition_case_1 (handlers=137320284,
bfun=0x80a2cc4 <command_loop_1>, barg=137320188,
hfun=0x80a2d6c <cmd_error>, harg=137320188)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/eval.c:1627
speccount = 0
c = {tag = 141910300, val = 141822468, next = 0xbffff654, gcpro = 0x0,
jmp = {{__jmpbuf = {137320188, 0, -1073743820, -1073744388, -1073744636,
135034263}, __mask_was_saved = 0, __saved_mask = {__val = {251255472,
3221222928, 134643152, 1077094540, 1077047936, 3221222932, 1,
---Type <return> to continue, or q <return> to quit---
3221222844, 134767066, 137486676, 0, 1073806887, 1077049648, 771, 0,
3221159936, 1244532, 33277, 1, 1000, 1077385933, 3221222932,
1073781893, 1073806887, 1077049648, 7, 32256, 3221222924,
1077388737, 3221223020, 1073781726, 137320188}}}}, backlist = 0x0,
lisp_eval_depth = 0, pdlcount = 0}
gcpro1 = {next = 0x0, var = 0xbffff614, nvars = 1}
#16 0x80a2e5f in command_loop_2 (dummy=137320188)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/cmdloop.c:252
No locals.
#17 0x80c74dc in internal_catch (tag=140173220,
func=0x80a2e20 <command_loop_2>, arg=137320188, threw=0x0)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/eval.c:1310
c = {tag = 137394260, val = 137320188, next = 0x0, gcpro = 0x0, jmp = {
{__jmpbuf = {137320188, 0, -1073743820, -1073744116, -1073744332,
135034039}, __mask_was_saved = 0, __saved_mask = {__val = {3221223275,
3288332115, 3221223252, 3288332115, 0, 0, 0, 0, 0, 139765244, 12,
3221223132, 134217728, 3221222996, 20, 3221223148, 134767066,
139765228, 15, 139881376, 3221223132, 3221223204, 1073781893,
1073806887, 1077049648, 7, 139881376, 3221223196, 134784685,
139881416, 1073781726, 3221223252}}}}, backlist = 0x0,
lisp_eval_depth = 0, pdlcount = 0}
#18 0x80a23aa in initial_command_loop (load_me=0)
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/cmdloop.c:301
---Type <return> to continue, or q <return> to quit---
No locals.
#19 0x80baf02 in xemacs_21_2_b33_i686_bittersweet_linux ()
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/emacs.c:1873
stack_bottom_variable = 0 '\000'
skip_args = 0
load_me = 137320188
inhibit_window_system = 0
#20 0x80bcea2 in main ()
at /usr/local/src/PKG/woody/main/xemacs/xemacs/src/emacs.c:2292
vol_argc = 1
vol_argv = (char **) 0xbffff834
vol_envp = (char **) 0xbffff83c
restarted = 0
#21 0x40345a42 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb) quit
Script done on Wed May 24 00:12:12 2000