I finally got around to rebuilding with error-checking and debugging
enabled about 3 days ago. This is the first failure I've seen since
then. I kept the core, if there is more that should be dug up from it.
Program received signal SIGSEGV, Segmentation fault.
x_to_emacs_keysym (event=0xbffff588, simple_p=0) at frame.h:248
248 assert (EQ (FRAME_TYPE (f), sym));
(gdb) bt
#0 x_to_emacs_keysym (event=0xbffff588, simple_p=0) at frame.h:248
#1 0x81c6c06 in x_event_to_emacs_event (x_event=0xbffff588,
emacs_event=0x8dae60c) at event-Xt.c:997
#2 0x81c8cf3 in emacs_Xt_event_handler (wid=0x855cfb0, closure=0x0,
event=0xbffff588, continue_to_dispatch=0xbffff4c3 "\0010(=\b,")
at event-Xt.c:2440
#3 0x400f1c9f in XtDispatchEventToWidget ()
#4 0x400f26fd in _XtDefaultDispatcher ()
#5 0x400f2975 in XtDispatchEvent ()
#6 0x400fd3d5 in XtAppProcessEvent ()
#7 0x81c943b in emacs_Xt_event_pending_p (user_p=1) at event-Xt.c:2596
#8 0x8101b79 in detect_input_pending () at event-stream.c:945
#9 0x8103fb9 in Fnext_event (event=146330280, prompt=137762196)
at event-stream.c:2237
#10 0x80a01b6 in Fcommand_loop_1 () at cmdloop.c:569
#11 0x809ff59 in command_loop_1 (dummy=137762196) at cmdloop.c:493
#12 0x80be041 in condition_case_1 (handlers=137762308,
bfun=0x809ff0c <command_loop_1>, barg=137762196,
hfun=0x809f3f8 <cmd_error>, harg=137762196) at eval.c:1640
#13 0x80a03e0 in command_loop_2 (dummy=137762196) at cmdloop.c:255
#14 0x80bdc34 in internal_catch (tag=137837240,
func=0x80a03ac <command_loop_2>, arg=137762196, threw=0x0) at eval.c:1315
#15 0x809f837 in initial_command_loop (load_me=137762196) at cmdloop.c:304
#16 0x80b9af1 in xemacs_21_2_b8_i686_pc_linux (argc=5, argv=0xbffffa14,
envp=0xbffffa2c, restart=0) at emacs.c:1718
#17 0x80ba265 in main (argc=5, argv=0xbffffa14, envp=0xbffffa2c)
at emacs.c:2147
(gdb) list
243 INLINE struct frame *
244 error_check_frame_type (struct frame * f, Lisp_Object sym);
245 INLINE struct frame *
246 error_check_frame_type (struct frame * f, Lisp_Object sym)
247 {
248 assert (EQ (FRAME_TYPE (f), sym));
249 return f;
250 }
251 # define FRAME_TYPE_DATA(f, type) \
252 ((struct type##_frame *) (error_check_frame_type (f, Q##type))->frame_data)
(gdb) p sym
No symbol "sym" in current context.
(gdb) p f
$1 = (struct frame *) 0x0
(gdb) up
#1 0x81c6c06 in x_event_to_emacs_event (x_event=0xbffff588,
emacs_event=0x8dae60c) at event-Xt.c:997
997 keysym = x_to_emacs_keysym (&x_event->xkey, 0);
(gdb) list
992 Lisp_Object keysym;
993 XKeyEvent *ev = &x_event->xkey;
994 /* This used to compute the frame from the given X window and
995 store it here, but we really don't care about the frame. */
996 emacs_event->channel = DEVICE_CONSOLE (d);
997 keysym = x_to_emacs_keysym (&x_event->xkey, 0);
998
999 /* If the emacs keysym is nil, then that means that the X
1000 keysym was either a Modifier or NoSymbol, which
1001 probably means that we're in the midst of reading a
(gdb) p x_event->xkey
$2 = {type = 2, serial = 1373574, send_event = 0, display = 0x83d2830,
window = 62915405, root = 38, subwindow = 0, time = 2616176244, x = 177,
y = 14, x_root = 186, y_root = 293, state = 0, keycode = 46, same_screen = 1}
uname -a: Linux
beaver.jprc.com 2.1.131 #5 SMP Thu Dec 17 16:46:02 EST 1998 i686 unknown
./configure '--with-pop' '--with-mule' '--with-png'
XEmacs 21.2-b8 "Artemis" configured for `i686-pc-linux'.
Where should the build process find the source code?
/home/karl/src/x/xemacs-21/xemacs-21.2.8
What installation prefix should install use? /usr/local
What operating system and machine description files should XEmacs use?
`s/linux.h' and `m/intel386.h'
What compiler should XEmacs be built with? gcc -g -O3 -Wall -Wno-switch
Should XEmacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/X11R6/include
Where do we find X Windows libraries? /usr/X11R6/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for TIFF image handling.
Compiling in native sound support.
Compiling in support for Berkeley DB.
Compiling in support for GNU DBM.
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Compiling in Mule (multi-lingual) support.
Compiling in XIM (X11R5+ I18N input method) support.
Using raw Xlib to provide XIM support.
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Using POP for mail access.
Using Lisp_Objects with minimal tagbits.
Compiling in extra code for debugging.
Compiling in code for checking XEmacs memory usage.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------