In XEmacs 21.1 (patch 10) "Capitol Reef" [Lucid] (sparc-sun-solaris2.7) of Tue May 23 2000 on toespaz configured using `configure --prefix=/n/list/solaris --with-xpm --with-xface --site-includes=/n/list/solaris/include --site-libraries=/n/list/solaris/lib --with-png=yes' Please describe exactly what actions triggered the bug and the precise symptoms of the bug: (I deleted the recent keystrokes and messages because they're irrelevant.) I use XEmacs and gnus-5.8.6 to read mail and news. I maintain a frame specifically for message compositions, which is fairly unusual, I guess. I use message mode's setup and sent hooks to raise and lower this composition frame, like so: (add-hook 'message-setup-hook (lambda () (raise-frame (window-frame (get-buffer-window "*gnusedit*" t))))) (add-hook 'message-sent-hook (lambda () (lower-frame (window-frame (get-buffer-window "*gnusedit*" t))))) The problem is that this sometimes causes XEmacs to hang or get a segmentation violation. It doesn't always happen; maybe 25% of the time (which is still enough to be annoying, believe me! :) I don't think there's anything special about the times it does happen. This has been happening ever since I started doing this, which was sometime in the 21.1.x cycle. I ran it under gdb, and here is the backtrace: (gdb) run Starting program: /n/list/solaris/bin/xemacs [3]+ Segmentation Fault (core dumped) nohup xemacs -geometry 168x62+0+0 Warning: Cannot convert string "MetaCtrlInsert" to type VirtualBinding Warning: Cannot convert string "MetaCtrlInsert" to type VirtualBinding Program received signal SIGSEGV, Segmentation fault. x_output_string (w=0x16d7400, dl=0x16b0050, buf=0x859274, xpos=64, xoffset=0, clip_start=64, width=6, findex=13, cursor=1, cursor_start=64, cursor_width=6, cursor_height=13) at redisplay-x.c:240 240 redisplay-x.c: No such file or directory. (gdb) where #0 x_output_string (w=0x16d7400, dl=0x16b0050, buf=0x859274, xpos=64, xoffset=0, clip_start=64, width=6, findex=13, cursor=1, cursor_start=64, cursor_width=6, cursor_height=13) at redisplay-x.c:240 #1 0x11c4f0 in x_output_display_block (w=0x16d7400, dl=0x16b0050, block=23814464, start=10, end=11, start_pixpos=64, cursor_start=64, cursor_width=6, cursor_height=13) at redisplay-x.c:404 #2 0xe61d0 in output_display_line (w=0x16d7400, cdla=0x0, ddla=0x1352420, line=58, force_start=0, force_end=70) at redisplay-output.c:689 #3 0xe6bf0 in redraw_cursor_in_window (w=0x16d7400, run_end_begin_meths=1) at redisplay-output.c:963 #4 0xe77b4 in redisplay_redraw_cursor (f=0x216d7400, run_end_begin_meths=1) at redisplay-output.c:988 #5 0xe4e38 in text_cursor_visible_p_changed (specifier=539596224, w=0x16d7400, oldval=-1607880700) at redisplay.c:8071 #6 0xfb0ec in recompute_cached_specifier_everywhere_mapfun (w=0x16d7400, closure=0x202995c0) at specifier.c:2754 #7 0x12eb84 in map_windows_1 (window=560821248, mapfun=0xfb02c , closure=0x202995c0) at window.c:4436 #8 0x12a784 in map_windows (f=0x213b1a00, mapfun=0xfb02c , closure=0x202995c0) at window.c:4434 #9 0xf96f4 in recompute_cached_specifier_everywhere (specifier=539596224) at specifier.c:2837 #10 0xf7758 in Fadd_spec_list_to_specifier (specifier=539596224, spec_list=-1607880700, how_to_add=2) at specifier.c:1918 #11 0x4dac8 in funcall_recording_as (recorded_as=1, nargs=3, args=0xffbee8b8) at eval.c:3197 #12 0x51cfc in Ffuncall (nargs=4, args=0xffbee8b8) at eval.c:3238 #13 0x27ca0 in Fbyte_code (bytestr=1612597656, vector=-2145498596, maxdepth=115) at bytecode.c:416 #14 0x4ecec in funcall_lambda (fun=538856096, nargs=3, arg_vector=0xffbeeb9c) at eval.c:3597 #15 0x4dd00 in funcall_recording_as (recorded_as=1, nargs=3, args=0xffbeeb98) at eval.c:3214 #16 0x51cfc in Ffuncall (nargs=4, args=0xffbeeb98) at eval.c:3238 #17 0x27ca0 in Fbyte_code (bytestr=1617448476, vector=-2143362112, maxdepth=15) at bytecode.c:416 #18 0x4ecec in funcall_lambda (fun=544003004, nargs=0, arg_vector=0xffbeeed8) at eval.c:3597 #19 0x4dd00 in funcall_recording_as (recorded_as=1, nargs=0, args=0xffbeeed4) at eval.c:3214 #20 0x4ef80 in run_hook_with_args_in_buffer (buf=0xa029b004, nargs=1, args=0xffbeeed4, cond=RUN_HOOKS_TO_COMPLETION) at eval.c:3238 #21 0x51224 in run_hook_with_args (nargs=1, args=0xffbeeed4, cond=RUN_HOOKS_TO_COMPLETION) at eval.c:3771 #22 0x52b04 in catch_them_squirmers_run_hook (hook_symbol=-4264236) at eval.c:3625 #23 0x4a88c in condition_case_1 (handlers=-1607880604, bfun=0x52ae4 , barg=-1607794060, hfun=0x529f0 , harg=1092336068) at eval.c:1653 #24 0x4f8f0 in safe_run_hook_trapping_errors ( warning_string=0x1870a0 "Error in `post-command-hook' (setting hook to nil)", hook_symbol=-1607794060, allow_quit=1) at eval.c:4376 #25 0x79c5c in post_command_hook () at event-stream.c:4430 #26 0x77a98 in execute_command_event (command_builder=0x43ad40, event=553935200) at event-stream.c:4349 #27 0x7814c in Fdispatch_event (event=553935200) at event-stream.c:4637 #28 0x2f6fc in Fcommand_loop_1 () at cmdloop.c:579 #29 0x2f930 in command_loop_1 (dummy=-1607880700) at cmdloop.c:494 #30 0x4a88c in condition_case_1 (handlers=-1607880604, bfun=0x2f90c , barg=-1607880700, hfun=0x2f994 , harg=-1607880700) at eval.c:1653 #31 0x2faa8 in command_loop_2 (dummy=-1607880700) at cmdloop.c:256 ---Type to continue, or q to quit--- #32 0x51a18 in internal_catch (tag=-1607803052, func=0x2fa5c , arg=-1607880700, threw=0x0) at eval.c:1328 #33 0x2f1b8 in initial_command_loop (load_me=-1607880700) at cmdloop.c:305 #34 0x478f8 in sort_args (argc=1575936, argv=0xffbef70c) at emacs.c:1720 (gdb) quit