GNU bug report logs - #66589
30.0.50; core dump in redisplay

Previous Next

Package: emacs;

Reported by: Evgeny Zajcev <lg.zevlg <at> gmail.com>

Date: Tue, 17 Oct 2023 09:55:01 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Evgeny Zajcev <lg.zevlg <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 66589 <at> debbugs.gnu.org
Subject: bug#66589: 30.0.50; core dump in redisplay
Date: Tue, 17 Oct 2023 21:11:40 +0300
[Message part 1 (text/plain, inline)]
вт, 17 окт. 2023 г. в 21:00, Eli Zaretskii <eliz <at> gnu.org>:

> > From: Evgeny Zajcev <lg.zevlg <at> gmail.com>
> > Date: Tue, 17 Oct 2023 18:11:43 +0300
> > Cc: 66589 <at> debbugs.gnu.org
> >
> > (gdb) frame 18
> > #18 produce_glyphless_glyph (it=0x7ffef46c5660,
> > for_no_font=for_no_font <at> entry=false, acronym=acronym <at> entry=0x0) at
> > xdisp.c:32165
> > 32165             sprintf (buf, "%0*X", it->c < 0x10000 ? 4 : 6, it->c +
> > 0u);
> > (gdb) p/x it->c
> > $2 = 0xfffc71a2
> > (gdb) p/x it->char_to_display
> > $3 = 0xa
> > (gdb) p it->method
> > $4 = GET_FROM_BUFFER
> > (gdb) pgrowx it->glyph_row
> > Undefined command: "pgrowx".  Try "help".
> > (gdb) source src/.gdbinit
> > Warning: /home/lg/dev/emacs-30/../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
> > terminal]
> > DISPLAY = :0
> > TERM = screen-256color
> > Breakpoint 1 at 0x55ccdf18ac6a: file emacs.c, line 446.
> > Breakpoint 2 at 0x55ccdf27ad60: file xterm.c, line 26945.
> > (gdb) pgrowx it->glyph_row
> > Cannot access memory at address 0x2c
> > (gdb)
>
> OK, thanks.  One more request:
>
>   (gdb) frame 19
>   (gdb) p it->current
>   (gdb) p current_buffer->zv
>   (gdb) p current_buffer->text->beg[10000]@106
>

(gdb) frame 19
#19 0x000055ccdf1eb141 in gui_produce_glyphs (it=0x7ffef46c5660) at
lisp.h:1179
1179      return make_lisp_symbol (&lispsym[index]);
(gdb) p it->current
$6 = {
  pos = {
    charpos = 10098,
    bytepos = 14401
  },
  overlay_string_index = -1,
  string_pos = {
    charpos = -1,
    bytepos = -1
  },
  dpvec_index = -1
}
(gdb) p current_buffer->zv
No symbol "current_buffer" in current context.
(gdb) p current_thread->m_current_buffer
$7 = (struct buffer *) 0x55ccf0885fb0
(gdb) p current_thread->m_current_buffer->zv
$8 = 10106
(gdb) p current_thread->m_current_buffer->text->beg[10000]@106
$9 = "     \n    | ⮪ Yura› Позорище 🤦‍♂ у ФСБ только на Газель Хва",
<incomplete sequence \320>
(gdb)


-- 
lg
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 152 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.