In XEmacs 21.2 (beta33) "Melpomene" [Lucid] (sparc-sun-solaris2.7) of Wed May
3 2000 on rhea
configured using `configure --prefix=/export/users/hamishm/xemacs
--site-prefixes=/export/users/hamishm/gnome:/export/users/hamishm --pdump
--with-athena=xaw --with-menubars=lucid --with-scrollbars=lucid --with-dialogs=athena
--with-widgets=athena --with-dragndrop=no --with-tooltalk=no'
cvs-upped on May 3, 15:50 EDT (Canada)
Every time I quit from gnus after having gone into a Summary buffer,
XEmacs crashes. I start gnus in a separate frame, and when I quit
from gnus, the frame is deleted.
<Aside>
In order to get a reasonable C backtrace (even when running in gdb),
I had to break in assertion_failed. *IDEA*: Perhaps the abort from
an assertion failed should *not* be caught by the fatal signal
handler. Put the lisp backtrace generation in the assertion_failed
routine, and unhook the SIGABRT signal handler, so that the
operating system can dump core without messing up the backtrace.
Perhaps I'll test this.
</Aside>
Just creating and deleting a frame doesn't do it. Perhaps it is
gutter-related, with the buffers in the gutter tabs being deleted just
before the frame is deleted. It certainly doesn't crash I disable
gutter tabs.
Lisp backtrace:
(gdb) call Fbacktrace(Qexternal_debugging_output , Qt)
delete-frame(#<x-frame "gnus" 0x4091>)
(if (cdr (frame-list)) (delete-frame toolbar-news-frame))
)
(progn (if (cdr ...) (delete-frame toolbar-news-frame)) (setq toolbar-news-frame nil))
)
(if (frame-live-p toolbar-news-frame) (progn (if ... ...) (setq toolbar-news-frame
nil)))
)
(when (frame-live-p toolbar-news-frame) (if (cdr ...) (delete-frame toolbar-news-frame))
(setq toolbar-news-frame nil))
)
(lambda nil (when (frame-live-p toolbar-news-frame) (if ... ...) (setq
toolbar-news-frame nil)))()
run-hooks((lambda nil (when (frame-live-p toolbar-news-frame) (if ... ...) (setq
toolbar-news-frame nil))))
apply(run-hooks (lambda nil (when (frame-live-p toolbar-news-frame) (if ... ...) (setq
toolbar-news-frame nil))))
# (unwind-protect ...)
# bind (buf funcs)
gnus-run-hooks(gnus-exit-gnus-hook)
#<compiled-function nil "...(34)" [noninteractive gnus-interactive-exit
gnus-expert-user gnus-y-or-n-p "Are you sure you want to quit reading news? "
gnus-run-hooks gnus-exit-gnus-hook gnus-offer-save-summaries gnus-save-newsrc-file
gnus-close-backends gnus-clear-system gnus-after-exiting-gnus-hook] 2
("/export/users/hamishm/.xemacs/xemacs-packages/lisp/gnus/gnus-group.elc" .
96396) nil>()
call-interactively(gnus-group-exit)
# (condition-case ... . error)
# (catch top-level ...)
C backtrace:
(gdb) where full
#0 assert_failed (file=0x233330 "glyphs.c", line=579,
expr=0x2333d0 "DOMAIN_LIVE_P (instance)") at emacs.c:2748
No locals.
#1 0x1185e4 in check_image_instance_structure (instance=18027392)
at glyphs.c:579
No locals.
#2 0x122f94 in unmap_subwindow (subwindow=18027392) at glyphs.c:4467
No locals.
#3 0x122834 in free_frame_subwindow_instance_cache (f=0x1131380)
at glyphs.c:4236
rest = 15215688
#4 0x110378 in delete_frame_internal (f=0xa47200, force=0,
called_from_delete_device=0, from_io_error=0) at frame.c:1558
maybe_contype_meth_meth = (struct console_methods *) 0x1131380
frame = 10777088
device = 4454400
console = 3824896
gcpro1 = {next = 0xffbed078, var = 0xffbecf34, nvars = 1}
#5 0x110930 in Fdelete_frame (frame=10777088, force=-22600872) at frame.c:1711
f = (struct frame *) 0x230400
#6 0xa0cdc in Feval (form=5678176) at eval.c:3018
PF_fn = (void (*)()) 0x34d800 <Qrename_file>
gcpro1 = {next = 0xffbed308, var = 0xffbed058, nvars = 1}
args = {10777088, -22600872, 462392, 3442688, -4271776, 0, -4271896,
462460}
p = (Lisp_Object *) 0xffbed060
max_args = 2
fun = -22584024
val = -22600872
original_fun = -22655664
original_args = 5678188
nargs = 1
backtrace = {next = 0xffbed280, function = 0xffbed038,
args = 0xffbed058, nargs = 1, pdlcount = 4, evalargs = 1 '\001',
debug_on_exit = 0 '\000'}
#7 0x9c090 in Fif (args=5678176) at eval.c:688
condition = 5678176
then_form = 5678176
else_forms = -22600872
#8 0xa0b7c in Feval (form=5678116) at eval.c:2990
max_args = -1
fun = -22581144
val = 5678116
original_fun = -22636512
original_args = 5678164
nargs = 2
backtrace = {next = 0xffbed438, function = 0xffbed1e0,
args = 0xffbed1dc, nargs = -1, pdlcount = 4, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
#9 0x9c31c in Fprogn (args=11738544) at eval.c:772
obj = 11738544
tailform = 11738544
form = 5678116
val = 3415040
gcpro1 = {next = 0xffbed7a0, var = 0xffbed36c, nvars = 1}
#10 0xa0b7c in Feval (form=11738556) at eval.c:2990
max_args = -1
fun = -22582704
val = 11738556
original_fun = -22648392
original_args = 11738544
nargs = 2
backtrace = {next = 0xffbed5e0, function = 0xffbed398,
args = 0xffbed394, nargs = -1, pdlcount = 4, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
#11 0x9c090 in Fif (args=11738556) at eval.c:688
condition = 11738556
then_form = 11738556
else_forms = -22600872
#12 0xa0b7c in Feval (form=11738592) at eval.c:2990
max_args = -1
fun = -22581144
val = 11738592
original_fun = -22636512
original_args = 11738580
nargs = 2
backtrace = {next = 0xffbed718, function = 0xffbed540,
args = 0xffbed53c, nargs = -1, pdlcount = 4, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
#13 0xa1088 in Feval (form=5678068) at eval.c:3098
funcar = 2592768
fun = -22117376
val = 5678068
original_fun = -22633056
original_args = 5678104
nargs = 3
backtrace = {next = 0xffbed8c0, function = 0xffbed678,
args = 0xffbed674, nargs = -1, pdlcount = 4, evalargs = 1 '\001',
debug_on_exit = 0 '\000'}
#14 0x9c31c in Fprogn (args=8476644) at eval.c:772
obj = 8476644
tailform = 8476644
form = 5678068
val = 3415040
gcpro1 = {next = 0xffbed958, var = 0xffbed804, nvars = 1}
#15 0xa1fa8 in funcall_lambda (fun=8462664, nargs=0, args=0xffbedcc8)
at eval.c:3540
symbol = -4268868
arglist = -22600872
body = 8476644
tail = -22600872
speccount = 4
i = 0
#16 0xa16e0 in Ffuncall (nargs=0, args=0xffbedcc4) at eval.c:3261
funcar = 0
fun = 8462664
val = 0
backtrace = {next = 0xffbedb00, function = 0xffbedcc4,
args = 0xffbedcc8, nargs = 0, pdlcount = 4, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
fun_nargs = 0
fun_args = (Lisp_Object *) 0xffbedcc8
#17 0xa22d0 in run_hook_with_args_in_buffer (buf=0xfea72358, nargs=1,
args=0xffbedcc4, cond=RUN_HOOKS_TO_COMPLETION) at eval.c:3704
gcpro1 = {next = 0xffbedcc8, var = 0xffbed954, nvars = 1}
gcpro2 = {next = 0xffbed978, var = 0xffbed950, nvars = 1}
gcpro3 = {next = 0xffbed968, var = 0xffbed94c, nvars = 1}
globals = -22600872
sym = -22686336
val = 8462712
ret = -22600872
#18 0xa4d7c in run_hook_with_args (nargs=1, args=0xffbedcc4,
cond=RUN_HOOKS_TO_COMPLETION) at eval.c:3717
No locals.
#19 0xa5fcc in Frun_hooks (nargs=1, args=0xffbedcc4) at eval.c:3571
i = 1
#20 0xa1648 in Ffuncall (nargs=1, args=0xffbedcc0) at eval.c:3239
max_args = -4268860
spacious_args = {0, 0, 0, 5292964, -22603176, 5292964, -22600872,
4789248}
fun = -22575456
val = 1
backtrace = {next = 0xffbedc30, function = 0xffbedcc0,
args = 0xffbedcc4, nargs = 1, pdlcount = 4, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
fun_nargs = 1
fun_args = (Lisp_Object *) 0xffbedcc4
#21 0xa1c08 in Fapply (nargs=2, args=0xffbedcc0) at eval.c:3431
fun = -22612488
spread_arg = 11738520
numargs = 1
funcall_nargs = 0
#22 0xa1648 in Ffuncall (nargs=2, args=0xffbedcbc) at eval.c:3239
max_args = -4268864
spacious_args = {1, 0, 11738052, -22600872, -4267704, -4268576, 0,
-4269152}
fun = -22572216
val = 2
backtrace = {next = 0xffbeddf8, function = 0xffbedcbc,
args = 0xffbedcc0, nargs = 2, pdlcount = 4, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
fun_nargs = 2
fun_args = (Lisp_Object *) 0xffbedcc0
#23 0x70e84 in execute_optimized_program (program=0x8ab6f8 "*\207",
stack_depth=2, constants_data=0x814e90) at bytecode.c:747
n = 2
opcode = 2
program_ptr = (Opbyte *) 0x8ab6f8 "*\207"
stack_ptr = (Lisp_Object *) 0xffbedcbc
speccount = 2
gcpro1 = {next = 0xffbede90, var = 0xffbedcbc, nvars = 3}
stack_beg = (Lisp_Object *) 0xffbedcb8
stack_end = (Lisp_Object *) 0xffbedcc4
#24 0x709e4 in funcall_compiled_function (fun=8451004, nargs=1,
args=0xffbede88) at bytecode.c:519
value = -22601688
symbol = 7974884
tail = 7085104
speccount = 1
i = 0
optional = 0
#25 0xa1698 in Ffuncall (nargs=1, args=0xffbede84) at eval.c:3253
fun = 8451004
val = 1
backtrace = {next = 0xffbedfc0, function = 0xffbede84,
args = 0xffbede88, nargs = 1, pdlcount = 1, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
fun_nargs = 1
fun_args = (Lisp_Object *) 0xffbede88
#26 0x70e84 in execute_optimized_program (
program=0x12b2921 "\210� \210� \210� \210� \210��!\207", stack_depth=1,
constants_data=0x964810) at bytecode.c:747
n = 1
opcode = 1
program_ptr = (
Opbyte *) 0x12b2921 "\210� \210� \210� \210� \210��!\207"
stack_ptr = (Lisp_Object *) 0xffbede84
speccount = 1
gcpro1 = {next = 0xffbee1d8, var = 0xffbede84, nvars = 2}
stack_beg = (Lisp_Object *) 0xffbede80
stack_end = (Lisp_Object *) 0xffbede88
#27 0x709e4 in funcall_compiled_function (fun=9911200, nargs=0,
args=0xffbee0b8) at bytecode.c:519
value = -4267844
symbol = 3408896
tail = -22600872
speccount = 1
i = 0
optional = 0
#28 0xa1698 in Ffuncall (nargs=0, args=0xffbee0b4) at eval.c:3253
fun = 9911200
val = 0
backtrace = {next = 0xffbee290, function = 0xffbee0b4,
args = 0xffbee0b8, nargs = 0, pdlcount = 1, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
fun_nargs = 0
fun_args = (Lisp_Object *) 0xffbee0b8
#29 0xa4e2c in apply1 (fn=9911200, arg=-22600872) at eval.c:3836
gcpro1 = {next = 0x0, var = 0x0, nvars = 0}
args = {0, 0}
#30 0x756fc in Fcall_interactively (function=9123212, record_flag=-22600872,
keys=-22600872) at callint.c:394
gcpro1 = {next = 0xffbee318, var = 0xffbee25c, nvars = 1}
gcpro2 = {next = 0xffbee1e8, var = 0xffbee150, nvars = 1}
gcpro3 = {next = 0xffbee1f8, var = 0xffbee14c, nvars = 1}
i = 283
input = -22600872
speccount = 1
prefix = -22600872
fun = 9911200
specs = -22600872
prompt_data = 0x0
prompt_index = -22600872
argcount = 2592768
set_zmacs_region_stays = 0
mouse_event_count = 0
#31 0x9ff20 in Fcommand_execute (cmd=9123212, record=-22600872, keys=-22600872)
at eval.c:2656
prefixarg = -22600872
final = 3408896
backtrace = {next = 0x0, function = 0x36e620, args = 0xffbee2fc,
nargs = 1, pdlcount = 1, evalargs = 0 '\000', debug_on_exit = 0 '\000'}
#32 0xdcc64 in execute_command_event (command_builder=0x408a80, event=5387404)
at event-stream.c:3836
old_kbd_macro = 0
gcpro1 = {next = 0xffbee428, var = 0xffbee380, nvars = 1}
#33 0xdd518 in Fdispatch_event (event=5387404) at event-stream.c:4155
leaf = 9123212
console = 3824896
channel = 9123212
#34 0x7c380 in Fcommand_loop_1 () at cmdloop.c:575
event = 5387404
old_loop = -22600872
gcpro1 = {next = 0xffbee530, var = 0xffbee424, nvars = 1}
gcpro2 = {next = 0xffbee438, var = 0xffbee420, nvars = 1}
was_locked = 0
#35 0x7c624 in command_loop_1 (dummy=-22600872) at cmdloop.c:490
No locals.
#36 0x9da18 in condition_case_1 (handlers=2592768,
bfun=0x7c5d8 <command_loop_1>, barg=-22600872, hfun=0x7c684 <cmd_error>,
harg=-22600872) at eval.c:1644
obj = 509400
speccount = 0
c = {tag = 9034848, val = -22600872, next = 0xffbee688, gcpro = 0x0,
jmp = {0, -4266808, 645540, 1056, 256, 0 <repeats 11 times>, -4489216,
229376, 0}, backlist = 0x0, lisp_eval_depth = 0, pdlcount = 0}
gcpro1 = {next = 0x0, var = 0xffbee60c, nvars = 1}
#37 0x7c794 in command_loop_2 (dummy=-22600872) at cmdloop.c:252
No locals.
#38 0xa55ec in internal_catch (tag=-22768896, func=0x7c748 <command_loop_2>,
arg=-22600872, threw=0x0) at eval.c:1310
c = {tag = -22768896, val = -22600872, next = 0x0, gcpro = 0x0, jmp = {
0, -4266456, 677304, 3685888, 3418112, 0, -4265424, 2013265920, -4266200,
529868, 0, 3680256, -22600872, 3680256, 0, 3412992, -4489216, 229376, 0},
backlist = 0x0, lisp_eval_depth = 0, pdlcount = 0}
#39 0x7badc in initial_command_loop (load_me=-22600872) at cmdloop.c:301
No locals.
#40 0x998b4 in sort_args (argc=2181120, argv=0xffbee8fc) at emacs.c:1873
stack_bottom_variable = 7 '\a'
skip_args = 52
load_me = -22600872
inhibit_window_system = 0