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

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

bug#11813: bug#11850: crash (null font) running emacs built from git


From: Eli Zaretskii
Subject: bug#11813: bug#11850: crash (null font) running emacs built from git
Date: Thu, 05 Jul 2012 16:17:55 +0300

> Date: Thu, 5 Jul 2012 10:34:52 +0300
> From: Left Right <olegsivokon@gmail.com>
> 
> (gdb) frame 3
> #3  0x000000000048eb18 in fill_glyphless_glyph_string
> (s=0x7fffffffba40, face_id=13, start=8, end=68, overlaps=0) at
> xdisp.c:22578
> 22578     eassert (s->font);
> (gdb) info args
> s = 0x7fffffffba40
> face_id = 13
> start = 8
> end = 68
> overlaps = 0
> (gdb) p *s
> $1 = {x = 82, y = 631, ybase = 649, width = 0, background_width = 0,
> height = 25, left_overhang = 0, right_overhang = 0, f = 0x146adb0, w =
> 0x146bdc0, display = 0x161a6b0,
>   window = 54526078, row = 0x16748e0, area = TEXT_AREA, char2b = 0x0,
> nchars = 0, hl = DRAW_NORMAL_TEXT, face = 0x1615dd0, font = 0x0, cmp =
> 0x0, cmp_id = 0, cmp_from = 0, cmp_to = 0,
>   extends_to_end_of_line_p = 0, background_filled_p = 0, two_byte_p =
> 0, font_not_found_p = 0, stippled_p = 0, for_overlaps = 0, padding_p =
> 0, gc = 0x0, first_glyph = 0xf20780, img = 0x0,
>   slice = {x = 0, y = 0, width = 0, height = 0}, clip_head = 0x0,
> clip_tail = 0x0, clip = {{x = 0, y = 0, width = 0, height = 0}, {x =
> 0, y = 0, width = 0, height = 0}}, num_clips = 0,
>   underline_position = 0, underline_thickness = 0, next = 0x0, prev =
> 0x7fffffffbbe0}
> (gdb) p *s->face
> $2 = {id = 13, gc = 0x16a5450, stipple = 0, foreground = 0, background
> = 12566463, underline_color = 0, overline_color = 0,
> strike_through_color = 0, box_color = 0, font = 0x0,
>   fontset = -1, pixmap_w = 0, pixmap_h = 0, box_line_width = -1, box =
> FACE_RAISED_BOX, use_box_color_for_shadows_p = 0, underline_type =
> FACE_UNDER_LINE, underline_p = 0, overline_p = 0,
>   strike_through_p = 0, foreground_defaulted_p = 0,
> background_defaulted_p = 0, underline_defaulted_p = 0,
> overline_color_defaulted_p = 0, strike_through_color_defaulted_p = 0,
>   box_color_defaulted_p = 1, tty_bold_p = 0, tty_italic_p = 0,
> tty_underline_p = 0, tty_reverse_p = 0, colors_copied_bitwise_p = 0,
> overstrike = 0, lface = {15121298, 15558049, 15558017,
>     15149714, 308, 15150002, 15149714, 15120722, 15120722, 11462737,
> 11852625, 15120722, 15120722, 15120722, 11921654, 21327581, 15120722,
> 15558273}, hash = 14922703, next = 0x0,
>   prev = 0x0, ascii_face = 0x1615dd0, extra = 0x0}
> (gdb)

In this frame (#3 in this case), what do the following GDB commands
print?

 (gdb) p s->f->output_data.x->font
 (gdb) p *(s->f->output_data.x->font)





reply via email to

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