This has happened a couple of times to me on 21.2.39 on Solaris 2.7,
built using gcc 2.7.2.2.
I don't know what causes it, but it just hangs. Very little CPU
usage. For what it's worth, here's a backtrace from the offending
program.
Ray
0 0xfeb1437c in _poll () from /usr/lib/libc.so.1
#1 0xfeace3e4 in select () from /usr/lib/libc.so.1
#2 0xfeddd298 in _XWaitForReadable () from /usr/openwin/lib/libX11.so.4
#3 0xfeda3514 in _XRead () from /usr/openwin/lib/libX11.so.4
#4 0xfeda57dc in _XReply () from /usr/openwin/lib/libX11.so.4
#5 0xfedab74c in XAllocColor () from /usr/openwin/lib/libX11.so.4
#6 0x230d80 in allocate_nearest_color (display=0x68d000, colormap=52, visual=0x69c700, color_def=0xffbedb68) at objects-x.c:65
#7 0x2378e8 in x_generate_shadow_pixels (f=0x68d000, top_shadow=0xffbedc24, bottom_shadow=0xffbedc20, background=13026763, core_background=13026763) at redisplay-x.c:1632
#8 0x234c6c in x_bevel_area (w=0xd15000, findex=1, x=4, y=284, width=576, height=17, shadow_thickness=2, edges=15, style=EDGE_BEVEL_OUT) at redisplay-x.c:551
#9 0x1d9134 in bevel_modeline (w=0xd15000, dl=0x11) at redisplay-output.c:2372
#10 0x234a60 in x_output_display_block (w=0xd15000, dl=0x1586000, block=142, start=1, end=82, start_pixpos=4, cursor_start=0, cursor_width=0, cursor_height=0) at redisplay-x.c:509
#11 0x1d5220 in redisplay_output_display_block (w=0xd15000, dl=0x1586000, block=0, start=0, end=82, start_pixpos=4, cursor_start=0, cursor_width=0, cursor_height=0) at redisplay-output.c:1153
#12 0x1d2fd8 in compare_display_blocks (w=0xd15000, cdl=0x1595000, ddl=0x1586000, c_block=82, d_block=0, start_pixpos=4, cursor_start=0, cursor_width=0, cursor_height=0) at redisplay-output.c:520
#13 0x1d39ec in output_display_line (w=0xd15000, cdla=0xaa76a0, ddla=0xaa7420, line=0, force_start=4, force_end=580) at redisplay-output.c:643
#14 0x1d8ad4 in redisplay_output_window (w=0xd15000) at redisplay-output.c:2289
#15 0x1c7bf8 in redisplay_window (window=13717504, skip_selected=91) at redisplay.c:6169
#16 0x1c7e90 in redisplay_windows (window=13717504, skip_selected=1) at redisplay.c:6225
#17 0x1c70cc in redisplay_window (window=13312000, skip_selected=1) at redisplay.c:5855
#18 0x1c82cc in redisplay_frame (f=0x3d4a00, preemption_check=13312000) at redisplay.c:6225
#19 0x1c8554 in redisplay_device (d=0x69cb00, automatic=4016640) at redisplay.c:6467
#20 0x1c8a84 in redisplay_without_hooks () at redisplay.c:6556
#21 0x1c8d08 in redisplay () at redisplay.c:6613
#22 0x112758 in Fnext_event (event=12983320, prompt=3356676) at event-stream.c:2176
#23 0x8d9b8 in Fcommand_loop_1 () at cmdloop.c:574
#24 0x8d764 in command_loop_1 (dummy=6929664) at cmdloop.c:494
#25 0xb1ae8 in condition_case_1 (handlers=3356772, bfun=0x8d718 <command_loop_1>, barg=3356676, hfun=0x8dbac <cmd_error>, harg=3356676) at eval.c:1651
#26 0x8dcbc in command_loop_2 (dummy=3356676) at cmdloop.c:256
#27 0xb1658 in internal_catch (tag=3441100, func=0x8dc70 <command_loop_2>, arg=3356676, threw=0x0) at eval.c:1317
#28 0x8d060 in initial_command_loop (load_me=580720) at cmdloop.c:305
#29 0xad024 in xemacs_21_2_b39_sparc_sun_solaris2_7 (argc=1, argv=0xffbeead4, envp=0xffbeeadc, restart=0) at emacs.c:2253
#30 0xad848 in main (argc=1, argv=0xffbeead4, envp=0xffbeeadc) at emacs.c:2682