GNU bug report logs - #11417
24.0.96; infinite looping in xdisp.c

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Sun, 6 May 2012 04:28:02 UTC

Severity: normal

Found in version 24.0.96

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 11417 <at> debbugs.gnu.org (full text, mbox):

From: Leo <sdl.web <at> gmail.com>
To: Chong Yidong <cyd <at> gnu.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 11417 <at> debbugs.gnu.org
Subject: Re: bug#11417: 24.0.96; infinite looping in xdisp.c
Date: Thu, 10 May 2012 17:15:40 +0800
[Message part 1 (text/plain, inline)]
On 2012-05-08 11:37 +0800, Chong Yidong wrote:
> I also am puzzled by where the display string "!" causing the problem
> comes from.  The only appearance of a "!" in Flymake is applied to the
> mode-line, not as a display string within the buffer text.  Neither
> Flymake nor Python mode seem to use overlay display strings.
>
> Do you have any idea what "!" is used for in your buffer?

Just realised this was triggered by me patching flymake to support
fringe indicator.

> Could you check the value of it->object, it->n_overlay_strings, and
> it->overlay_strings[0]?

On 2012-05-09 01:26 +0800, Eli Zaretskii wrote:
> I think Leo's time and energy will be better spent looking for a
> reproducible test case.  Then debugging will be much more efficient.

OK, I have prepared a test case. It requires python and the package
pyflakes¹ which is used by flymake. Normally one can install pyflakes by
using:

    pip install pyflakes
OR
    easy_install pyflakes

in a terminal.

Decompress the attached tar ball and go into the directory 11417/ in a
terminal and launch emacs like this:

 emacs -nw -q -L . -l bug.el setup.py

You should see a buffer with contents partially displayed. Move around
in that buffer by typing C-v, M-v, C-n or C-p until it freezes (it
usually takes me no more than 3 key strokes).

Footnotes: 
¹  http://pypi.python.org/pypi/pyflakes/0.5.0
[11417.tgz (application/x-gtar, attachment)]

This bug report was last modified 13 years and 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.