bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Emacs 21.1.1 segmentation fault (!)


From: Richard Stallman
Subject: Re: Emacs 21.1.1 segmentation fault (!)
Date: Mon, 17 Dec 2001 13:14:11 -0700 (MST)

Since this was a seg fault, can you see anything in the data referenced
in this code

  /* Increment positions in glyphs.  */
  for (area = 0; area < LAST_AREA; ++area)
    for (i = 0; i < row->used[area]; ++i)
      if (BUFFERP (row->glyphs[area][i].object)
          && row->glyphs[area][i].charpos > 0)
        row->glyphs[area][i].charpos += delta;

that could have caused the fault?  You examined some of the data, but
that data appears valid, which is unfortunate since that means it
doesn't show anything that could have caused the problem.
For instance,

    (gdb) p row->glyphs[area][i].object
    $4 = 944370460

This seems to indicate that row and row->glyphs[area]
are valid addresses.

Can you find the invalid address that caused the seg fault?
Studying the code at the assembler level might help.



reply via email to

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