GNU bug report logs - #65198
29.1; Emacs29.1 crash in function face_for_font

Previous Next

Package: emacs;

Reported by: 张云峰 <zhangyunfeng0101 <at> gmail.com>

Date: Thu, 10 Aug 2023 09:58:02 UTC

Severity: normal

Found in version 29.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 65198 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 张云峰 <zhangyunfeng0101 <at> gmail.com>
Cc: 65198 <at> debbugs.gnu.org
Subject: Re: bug#65198: 29.1; Emacs29.1 crash in function face_for_font
Date: Fri, 11 Aug 2023 09:12:38 +0300
> From: 张云峰 <zhangyunfeng0101 <at> gmail.com>
> Date: Fri, 11 Aug 2023 08:50:04 +0800
> Cc: 65198 <at> debbugs.gnu.org
> 
> more clear GDB info:
> 
> Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
> 0x0000555555618c06 in produce_glyphless_glyph (it=0x7fffffff67d0,
> for_no_font=for_no_font <at> entry=false, acronym=acronym <at> entry=0x0) at
> xdisp.c:31791
> 31791 font = face->font ? face->font : FRAME_FONT (it->f);

Actually, this is progress: we are now crashing a bit later, while
trying to display an empty box instead of a character that has no font
and no suitable face.  To resolve this, please help me by providing
the results of the following GDB commands after Emacs crashes and GDB
kicks in:

 (gdb) p it->face_id
 (gdb) p it->c
 (gdb) p FRAME_FONT(it->f)
 (gdb) p (it->f)->output_data.x->font

Thanks.




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

Previous Next


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