[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Never-ending redisplay_windows -loop

From: Hannu Koivisto
Subject: Never-ending redisplay_windows -loop
Date: Tue, 04 Dec 2001 12:35:08 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1


For some very weird reason, selecting a certain news article with
Gnus makes Emacs enter a never-ending redisplay loop (screen
flashes all the time, Emacs eats all CPU, C-g doesn't work but
emergency exit worked at least once).  This happens both in X and
on tty (under screen, displaying to rxvt-xterm).  The article
window doesn't appear, i.e. there is only one window in the frame
while the flashing occurs.

I attached gdb to a problematic Emacs process, stepped for a while and
determined that Emacs never gets out of redisplay_windows.  Here's a

#0  redisplay_windows (window=1210585536) at xdisp.c:9177
#1  0x8066b64 in redisplay_windows (window=1215297432) at xdisp.c:9180
#2  0x8066323 in redisplay_internal (preserve_echo_area=0) at xdisp.c:8786
#3  0x8065360 in redisplay () at xdisp.c:8231
#4  0x80d1875 in read_char (commandflag=1, nmaps=2, maps=0xbfffefbc,
    prev_event=405181316, used_mouse_menu=0xbffff004) at keyboard.c:2272
#5  0x80d8225 in read_key_sequence (keybuf=0xbffff10c, bufsize=30,
    prompt=405181316, dont_downcase_last=0, can_return_switch_frame=1,
    fix_current_buffer=1) at keyboard.c:8180
#6  0x80d0444 in command_loop_1 () at keyboard.c:1440
#7  0x812115f in internal_condition_case (bfun=0x80d0150 <command_loop_1>,
    handlers=405277636, hfun=0x80cfd94 <cmd_error>) at eval.c:1267
#8  0x80d0028 in command_loop_2 () at keyboard.c:1245
#9  0x8120cef in internal_catch (tag=405239244,
    func=0x80d0004 <command_loop_2>, arg=405181316) at eval.c:1030
#10 0x80cffd7 in command_loop () at keyboard.c:1224
#11 0x80cfb51 in recursive_edit_1 () at keyboard.c:950
#12 0x80cfc80 in Frecursive_edit () at keyboard.c:1006
#13 0x80cebf9 in main (argc=2, argv=0xbffff6cc, envp=0xbffff6d8)
    at emacs.c:1547

If at this point I say "finish" to gdb, the flashing continues and
never stops.

If someone wants to try to reproduce the problem, I can privately
send the article, which can then be read using a doc group (I tried
that this also causes the problem).  If it cannot be reproduced,
perhaps you can provide some hints what to look for when debugging.

I'm using Emacs 21.1 on Debian GNU/Linux unstable x86, Oort Gnus
v0.04 from CVS a long time ago (sorry, I can't upgrade or downgrade
this just to see whether the version in Emacs might cause the
effect too).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]