[Top][All Lists]

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

Re: Crash with --enable-checking and some glyphs

From: Lars Ingebrigtsen
Subject: Re: Crash with --enable-checking and some glyphs
Date: Fri, 26 Nov 2021 15:30:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> What does the following show?
>  (gdb) fr 3
>  (gdb) source /path/to/emacs/src/.gdbinit
>  (gdb) p it->what
>  (gdb) p/x it->c
>  (gdb) pgrowx it->glyph_row
> The last command should display the entire glyph row you have there,
> which maybe will tell us something useful.  The two commands before it
> could also be useful.

Let's see...

(gdb) fr 3
#3  0x000055555563223c in gui_produce_glyphs (it=0x7fffffff85e0)
    at xdisp.c:31557
31557     eassert (it->ascent >= 0 && it->descent >= 0);
(gdb) source src/.gdbinit 
Warning: /home/larsi/src/emacs/test/../lwlib: No such file or directory.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from 
TERM = xterm-256color
Breakpoint 1 at 0x555555734b7e: file emacs.c, line 406.
Breakpoint 2 at 0x5555556f579e: file xterm.c, line 11627.
(gdb) p it->what
(gdb) p/x it->c
$2 = 0xace0
(gdb) pgrowx it->glyph_row
TEXT: 2 glyphs
  0    0: CHAR[^] pos=1 blev=0,btyp=L w=22 a+d=35+9 MB
  1   22: CHAR[0xace0] pos=2 blev=0,btyp=L w=24 a+d=25+-1 face=21 MB

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

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