This happend with xemacs that worked for 5 hours -- gnus and a number major
modes. When I started gdb, xemacs hung -- ignored not only keyboard, but also
kill -15. I attached with gdb and got backtrace:
------------------------------------------------------------------------------
(gdb) where
#0 0x404aa70e in __select ()
#1 0x40307bec in __DTOR_END__ ()
#2 0x402660e7 in _XRead ()
#3 0x40266ad2 in _XReply ()
#4 0x40251e1b in XAllocColor ()
#5 0x819662c in allocate_nearest_color (display=0x83ec578, colormap=32,
visual=0x83ed868, color_def=0xbfffee64) at objects-x.c:65
#6 0x8196a28 in x_parse_nearest_color (d=0x832fea0, color=0xbfffee64,
name=153005396, errb=ERROR_ME_NOT) at objects-x.c:248
#7 0x8197dc5 in x_initialize_color_instance (c=0x920aa28, name=153005396,
device=137559712, errb=ERROR_ME_NOT) at objects-x.c:266
#8 0x8145fc3 in Fmake_color_instance (name=153005396, device=137559712,
noerror=1079801408) at objects.c:164
#9 0x8192503 in extract_xpm_color_names (xpmattrs=0xbfffeffc,
device=137559712, domain=149990336, color_symbol_alist=151324264)
at glyphs-x.c:1248
#10 0x8192902 in x_xpm_instantiate (image_instance=153544232,
instantiator=149132904, pointer_fg=1079803040, pointer_bg=1079803040,
dest_mask=111, domain=149990336) at glyphs-x.c:1394
#11 0x8115b8e in instantiate_image_instantiator (governing_domain=137559712,
domain=149990336, instantiator=149132904, pointer_fg=1079803040,
pointer_bg=1079803040, dest_mask=111, glyph=155487392) at glyphs.c:798
#12 0x8118e69 in image_instantiate (specifier=149132704, matchspec=1079581184,
domain=149990336, instantiator=149132904, depth=3) at glyphs.c:3251
#13 0x80b29f4 in call_with_suspended_errors_1 (opaque_arg=138642008)
at eval.c:2112
#14 0x80b2d6c in call_with_suspended_errors (
fun=0x81189f8 <image_instantiate>, retval=1079581184, class=1079799296,
errb=ERROR_ME_NOT, nargs=5) at eval.c:1317
#15 0x8172d31 in specifier_instance_from_inst_list (specifier=149132704,
matchspec=1079581184, domain=149990336, inst_list=151324240,
errb=ERROR_ME_NOT, no_quit=1, depth=3) at specifier.c:2506
#16 0x8172fdf in specifier_instance (specifier=149132704,
matchspec=1079581184, domain=149990336, errb=ERROR_ME_NOT, no_quit=1,
no_fallback=0, depth=1) at specifier.c:2621
#17 0x8119628 in glyph_width (glyph_or_image=155487392, domain=149990336)
at glyphs.c:3845
#18 0x80cbb1a in x_output_toolbar (f=0x8df7690, pos=TOP_TOOLBAR)
at toolbar-x.c:303
#19 0x80cc906 in x_output_frame_toolbars (f=0x8df7690) at toolbar-x.c:559
#20 0x80c6636 in update_frame_toolbars (f=0x8df7690) at toolbar.c:753
#21 0x8156a94 in redisplay_frame (f=0x8df7690, preemption_check=0)
at redisplay.c:6322
#22 0x8156cac in redisplay_device (d=0x832fea0, automatic=1)
at redisplay.c:6467
#23 0x8156ed8 in redisplay_without_hooks () at redisplay.c:6556
#24 0x815b9e0 in redisplay () at redisplay.c:6613
#25 0x80eb17c in Fnext_event (event=142792904, prompt=1079803040)
at event-stream.c:2177
#26 0x80998eb in Fcommand_loop_1 () at cmdloop.c:574
#27 0x8099b0e in command_loop_1 (dummy=1079803040) at cmdloop.c:494
#28 0x80b83cb in condition_case_1 (handlers=1079802680,
bfun=0x8099af8 <command_loop_1>, barg=1079803040,
hfun=0x8099440 <cmd_error>, harg=1079803040) at eval.c:1651
#29 0x8099bec in command_loop_2 (dummy=1079803040) at cmdloop.c:256
#30 0x80b82af in internal_catch (tag=1079610968,
func=0x8099bb4 <command_loop_2>, arg=1079803040, threw=0x0) at eval.c:1317
#31 0x809967c in initial_command_loop (load_me=1079803040) at cmdloop.c:305
#32 0x80af4d2 in xemacs_21_2_b42_i686_pc_linux () at emacs.c:2253
#33 0x80b1019 in main (argc=3, argv=0xbffff9ec, envp=0xbffff9fc)
at emacs.c:2620
#34 0x404159ab in __libc_start_main (main=0x80b0fa8 <main>, argc=3,
argv=0xbffff9ec, init=0x80811f8 <_init>, fini=0x81c258c <_fini>,
rtld_fini=0x4000ad00 <_dl_fini>, stack_end=0xbffff9e4)
at ../sysdeps/generic/libc-start.c:92
------------------------------------------------------------------------------
uname -a: Linux hookah.kazbek.ispras.ru 2.4.0 #2 Втр Янв 16 20:12:19 MSK 2001 i686 unknown
./configure '--with-mule' '--error-checking=none' '--debug=no' '--with-mule' '--with-pop' '--pdump'
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
------------------------------------------------------------------------------
Nick.