After using gnuclient to connect with no windows to my running
gtk-xemacs, hitting a couple of C-G caused a wedge, eating CPU.
gdb says:
(gdb) where
#0 0x4061fad4 in __libc_read () from /lib/libc.so.6
#1 0x406691ec in __DTOR_END__ () from /lib/libc.so.6
#2 0x405ce951 in _IO_new_file_underflow (fp=0x406678c0) at fileops.c:385
#3 0x405d08a1 in _IO_default_uflow (fp=0x406678c0) at genops.c:371
#4 0x405cfd0c in __uflow (fp=0x406678c0) at genops.c:328
#5 0x405cd066 in _IO_getc (fp=0x406678c0) at getc.c:39
#6 0x81454e4 in interrupt_signal (sig=2)
at /usr/local/src/gtk-xemacs/src/signal.c:427
#7 <signal handler called>
#8 0x807db7c in compact_string_chars ()
at /usr/local/src/gtk-xemacs/src/alloc.c:4062
#9 0x807e89b in garbage_collect_1 ()
at /usr/local/src/gtk-xemacs/src/alloc.c:4260
#10 0x80a533f in funcall_recording_as (recorded_as=137118144, nargs=2,
args=0xbffff7e4) at /usr/local/src/gtk-xemacs/src/eval.c:3114
#11 0x80a8b72 in call1 (fn=137118144, arg0=137025980)
at /usr/local/src/gtk-xemacs/src/eval.c:3238
#12 0x80dfb8c in execute_internal_event (event=149995376)
at /usr/local/src/gtk-xemacs/src/event-stream.c:2953
#13 0x80e157d in Fdispatch_event (event=149995376)
at /usr/local/src/gtk-xemacs/src/event-stream.c:4690
#14 0x808d192 in Fcommand_loop_1 ()
at /usr/local/src/gtk-xemacs/src/cmdloop.c:579
---Type <return> to continue, or q <return> to quit---
#15 0x808d395 in command_loop_1 (dummy=137025980)
at /usr/local/src/gtk-xemacs/src/cmdloop.c:494
#16 0x80a9692 in condition_case_1 (handlers=137026092,
bfun=0x808d37c <command_loop_1>, barg=137025980,
hfun=0x808d408 <cmd_error>, harg=137025980)
at /usr/local/src/gtk-xemacs/src/eval.c:1653
#17 0x808d4e1 in command_loop_2 (dummy=137025980)
at /usr/local/src/gtk-xemacs/src/cmdloop.c:256
#18 0x80a9560 in internal_catch (tag=137100268,
func=0x808d4bc <command_loop_2>, arg=137025980, threw=0x0)
at /usr/local/src/gtk-xemacs/src/eval.c:1328
#19 0x808ce9e in initial_command_loop (load_me=137025980)
at /usr/local/src/gtk-xemacs/src/cmdloop.c:305
#20 0x80a0a8d in xemacs_21_1_11_i686_pc_linux ()
at /usr/local/src/gtk-xemacs/src/emacs.c:1797
#21 0x80a2264 in main (argc=1, argv=0xbffffc04, envp=0xbffffc0c)
at /usr/local/src/gtk-xemacs/src/emacs.c:2214
#22 0x405919cb in __libc_start_main (main=0x80a215c <main>, argc=1,
argv=0xbffffc04, init=0x8078444 <_init>, fini=0x81621b8 <_fini>,
rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffffbfc)
at ../sysdeps/generic/libc-start.c:92
(gdb)
It almost looks from this that it should just be waiting for input,
but it's eating 97% CPU.
Show replies by date