[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs crash CVS 2003-10-17
From: |
Werner LEMBERG |
Subject: |
Re: Emacs crash CVS 2003-10-17 |
Date: |
Mon, 10 Nov 2003 14:54:06 +0100 (CET) |
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x08077c43 in fill_glyph_string (s=0xbfffe424, face_id=26,
> > start=6, end=79, overlaps_p=0) at xdisp.c:16730
> > 16730 = FONT_INFO_FROM_ID (f, face->font_info_id);
>
> I'd like to know the result of these:
> (gdb) p *face
> (gdb) p *glyph
(gdb) p *face
Cannot access memory at address 0x0
(gdb) p *glyph
$5 = {
charpos = 7,
object = -2006738280,
pixel_width = 24,
voffset = 0,
type = 0,
multibyte_p = 1,
left_box_line_p = 0,
right_box_line_p = 0,
overlaps_vertically_p = 0,
padding_p = 0,
glyph_not_available_p = 0,
face_id = 26,
font_type = 0,
u = {
ch = 157926,
cmp_id = 157926,
img_id = 157926,
stretch = {
height = 26854,
ascent = 2
},
val = 157926
}
}
> But, as it crashes in the inline function
> get_glyph_face_and_encoding, those values won't be available in the
> current gdb session.
>
> Can you reproduce it constantly?
No.
> If not, could you
> re-compile xdisp.c with CFLAGS='-g -fno-inline', rebuild
> emacs, and use it for a while? The actual procedure will
> be:
> % cd .../emacs/src
> % rm xdisp.o
> % make CFLAGS='-g -fno-inline'
OK, I'll rebuild emacs from a recent CVS snapshot with `-O0'.
Werner