I've been having crashes where doing a C-x 5 0 in a frame created by
`gnuclient -nw' causes XEmacs to crash with
#4 0x080b659b in assert_failed (
file=0x82180e0 "/home/rpluim/xemacs-21.5/src/events.h", line=505,
expr=0x8218160 "RECORD_TYPEP (obj, lrecord_type_command_builder)")
at /home/rpluim/xemacs-21.5/src/emacs.c:3320
This is because we're deleting the tty frame, and then still trying to
use the console structure that we've cached. The following patch to
execute_command_event fixes it for me, but it doesn't feel
right. Comments?
Robert
Index: event-stream.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/event-stream.c,v
retrieving revision 1.58
diff -u -u -r1.58 event-stream.c
--- event-stream.c 2002/01/22 20:40:02 1.58
+++ event-stream.c 2002/02/05 09:54:40
@@ -3933,7 +3933,7 @@
so we don't either */
if (!is_scrollbar_event (event))
- reset_this_command_keys (make_console (con), 0);
+ reset_this_command_keys (Vselected_console, 0);
}
}
--
Show replies by date