>Gag, I wish we could figure this out and fix it. This has got to be
>in the top 3 bugs under UNIX. Its possible that this is exacerbated
>by old and buggy Motif libraries. Please check PROBLEMS for
>information on what patches are needed for Solaris.
Did I understand it right that XEmacs running in other Unices also
show this problem? I was thinking that maybe this is a bug in Sun's
X-server.
I don't know much about X or XAllocColor() and stuff. But how can
XAllocColor() wait due to programmer error? I went through man for
XAllocColor() and it doesn't say anything about do's and dont's while
calling it.
cheers
Binu
>andy
>
>> -----Original Message-----
>> From: xemacs-beta-admin(a)xemacs.org
>> [mailto:xemacs-beta-admin@xemacs.org]On Behalf Of Binu Jose Philip
>> Sent: Wednesday, October 10, 2001 11:52 PM
>> To: xemacs-beta(a)xemacs.org
>> Subject: Xemacs hangs while repainting frame
>>
>>
>>
>> In XEmacs 21.4 (patch 2) "Developer-Friendly Unix APIs" [Lucid]
>> (sparc-sun-solaris2.8, Mule) of Tue Jun 19 2001 on tycoon
>> configured using `configure --without-gcc
>> --prefix=/net/tycoon/space/Xemacs
>> --site-includes=/usr/local/include:/opt/gnome-1.4/include
>> --site-libraries=/usr/local/lib:/opt/gnome-1.4/lib --with-jpeg
>> --with-xpm --with-png --with-ncurses --with-workshop
>> --with-tooltalk --with-mule --external-widget
>> --package-path=/net/tycoon/space/xemacs-packages'
>>
>> Please describe exactly what actions triggered the bug
>> and the precise symptoms of the bug:
>>
>> Once in a while, when I switch desktops, Xemacs hangs while repainting
>> the frame. Usually I have emacs frames (may be more than one) in all
>> my desktops - 10 of them. I can't reproduce this at will, but this
>> occurs almost every day and is not dependant on how long it has been
>> running. I can't relate it with the X/system load also. I am running
>> Windowmaker on top of openwindows. I tried using Xemacs 21.5 beta and
>> there also ran into the same trouble.
>>
>> This was the stack at the time of hang.
>>
>> 1904: /home/binu/bin/Xemacs
>> feb994bc poll (ffbeea50, 1, ffffffff)
>> feb4c770 select (7, 0, febbb1d4, febbb1d4, ffbeeb00, ffbeea50) + 2cc
>> fee9bdb8 _XWaitForReadable (6, 1, ffbeeb00, 40, 21af8, feb9b94c) + e4
>> fee9bbd0 _XRead (ffffffff, ffbeeca8, 20, 20, 20, ffbeeca8) + e8
>> fee9cc28 _XReply (69b800, a858, 0, 40960, 4a858, 0) + 154
>> feeb0144 XAllocColor (69b800, 2400001, ffbeed98, 8, 8, ffbeed10) + 9c
>> 00268c90 allocate_nearest_color (69b800, 2400001, 674e00,
>> ffbeed98, 216a9541, 272f74) + 268
>> 0026e21c x_generate_shadow_pixels (c6c5cb, 674e00, 0, 2400001,
>> 1, 69b800) + 178
>> 0026bf1c x_bevel_area (3e8200, 1000c, 3dd600, 0, 2, 0) + cc
>> 00207058 bevel_modeline (abfc00, 69a200, 4, 3, 2, ef2000) + 158
>> 0026be38 x_output_display_block (0, 0, 0, 0, 5, 244) + 8b8
>> 00202528 compare_display_blocks (1, abfc00, 53, 0, 1, e08800) + 294
>> 0020298c output_display_line (abfc00, 24b, cc6000, f2a140, 0, 0) + 280
>> 00206d08 redisplay_output_window (abfc00, ffffffff, ffffffff,
>> 39, 69a200, 39) + 290
>> 001f9224 redisplay_window (abfc00, 2d95, 1, cc6000, cc6000,
>> 3dd600) + 1078
>> 001f96a0 redisplay_frame (3dd600, 69a200, 313bd0, 30c400, 0,
>> e6a628) + 244
>> 001f9a90 redisplay_device (69a200, 313bd0, 3dd600, 0, 0, 378fc0) + 26c
>> 001fa0b0 redisplay_without_hooks (6a41b4, 313bd0, 69a200, 1, 0,
>> 6a416c) + 338
>> 00118368 Fnext_event (313bd0, 3120c8, 311c00, 340804, 313c00, 1) + 3f8
>> 000797dc Fcommand_loop_1 (0, 30c400, 313800, 312000, ffbef4cc,
>> a63190) + 18c
>> 000a8418 condition_case_1 (305c00, 313c00, 312000, 78ecc,
>> 340804, 0) + 110
>> 00079108 command_loop_2 (313bd0, 790c0, 0, 0, 0, 0) + 48
>> 000a75f4 internal_catch (3541b4, 790c0, 340804, 0, 0, 0) + b0
>> 000792e4 initial_command_loop (311b48, 313bd0, 311c00, 5bcedc,
>> 3ce634, 5bce6c) + 1bc
>> 0009d53c xemacs_21_4_2_sparc_sun_solaris2_8 (1, 335000, 340804,
>> ffbef7f0, ffbef904, 2ca400) + 1378
>> 0009df8c main (1, ffbef904, ffbef90c, 2f7400, 0, 0) + b8
>> 0004a2d4 _start (0, 0, 0, 0, 0, 0) + dc