[Top][All Lists]

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

Re: emacs-21.1.94 crash in gnus on Windows

From: Eli Zaretskii
Subject: Re: emacs-21.1.94 crash in gnus on Windows
Date: Sat, 20 Mar 2010 18:29:22 +0200

> From: Andreas Schwab <address@hidden>
> Cc: Andy Moreton <address@hidden>,  address@hidden
> Date: Sat, 20 Mar 2010 16:45:45 +0100
> I appears to happen when the last line in a buffer is made invisible
> with an elipsis spec (like the gnus-sum spec).

Last line in a buffer or last line on display?  Lines that are not
displayed should not be subject to any processing during redisplay.

> Apparently the code is accessing an uninitialized glyph row.

Do you mean that in the code below

              if (TEXT_PROP_MEANS_INVISIBLE (prop) == 2)
                  struct glyph_row *row = it.glyph_row;
                  struct glyph *glyph = row->glyphs[TEXT_AREA];
                  struct glyph *end = glyph + row->used[TEXT_AREA];
                  int x = row->x;

                  for (; glyph < end
                         && (!BUFFERP (glyph->object)
                             || glyph->charpos < charpos);
                    x += glyph->pixel_width;
                  top_x = x;

it.glyph_row points to uninitialized memory?  That would be very
strange, since start_display and move_it_to, called just above this,
already worked on that glyph row.  Did I miss something?

reply via email to

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