On Wed, Aug 28, 2024 at 6:07 PM Eli Zaretskii wrote: > > From: Anand Tamariya > > Date: Wed, 28 Aug 2024 14:17:10 +0530 > > > > Today I hit this bug. So I thought I'll provide some additional inputs. > > > > Some old fonts don't support non-ascii characters. In the sample, these > characters are 180, 166 and 216. > > When such a font is applied as :family attribute to the text, Emacs > crashes. > > Can you give examples of such fonts, and show a GDB C-level backtrace > from the crash? > I always get the crash when I scroll to the next page after the page in the screenshot. I can't point out the specific font. So I have listed the possible fonts on the next screen. *Stacktrace:* Thread 1 "temacs" received signal SIGSEGV, Segmentation fault. 0x00005555557fceb1 in fontset_find_font (fontset=fontset@entry=0x6c, c=c@entry=180, face=face@entry=0x555559804320, charset_id=charset_id@entry=-1, fallback=fallback@entry=false) at fontset.c:556 556 struct frame *f = (FRAMEP (FONTSET_FRAME (fontset)) (gdb) bt #0 0x00005555557fceb1 in fontset_find_font (fontset=fontset@entry=0x6c, c=c@entry=180, face=face@entry=0x555559804320, charset_id=charset_id@entry=-1, fallback=fallback@entry=false) at fontset.c:556 #1 0x00005555557fd860 in fontset_font (fontset=fontset@entry=0x6c, c=c@entry=180, face=face@entry=0x555559804320, id=-1) at fontset.c:767 #2 0x00005555557fdc1c in face_for_char (f=0x555556624d90, face=face@entry=0x555559804320, c=c@entry=180, pos=, object=) at fontset.c:997 #3 0x000055555561386f in FACE_FOR_CHAR (object=, pos=, character=180, face=0x555559804320, f=) at /opt/Users/a_tam/work/emacs/src/dispextern.h:1896 #4 get_next_display_element (it=it@entry=0x7fffffff8590) at xdisp.c:7613 #5 0x000055555561c622 in display_line (it=it@entry=0x7fffffff8590, cursor_vpos=cursor_vpos@entry=0) at xdisp.c:23176 #6 0x0000555555627f6b in try_window (window=window@entry=0x555556625da5, pos=..., flags=0) at xdisp.c:19082 #7 0x0000555555642bdc in redisplay_window (window=, just_this_one_p=just_this_one_p@entry=false) at xdisp.c:18233 #8 0x0000555555645d7b in redisplay_window_0 (window=window@entry=0x555556625da5) at xdisp.c:16214 *Font list* Arundina Sans Arundina Sans Mono Arundina Serif avant garde gothic avantgarde Bitstream Charter bookman BPG Algeti GPL&GNU BPG Chveulebrivi GPL&GNU BPG Courier GPL&GNU BPG Courier S GPL&GNU BPG DedaEna Block GPL&GNU BPG DejaVu Sans 2011 GNU-GPL BPG Elite GPL&GNU BPG Excelsior Caps GPL&GNU BPG Excelsior Condencerd GPL&GNU BPG Excelsior GPL&GNU BPG Glaho GPL&GNU BPG Gorda GPL&GNU BPG Ingiri GPL&GNU BPG Mrgvlovani Caps GNU&GPL BPG Mrgvlovani GPL&GNU BPG Nateli Caps GPL&GNU BPG Nateli Condenced GPL&GNU BPG Nateli GPL&GNU BPG Nino Medium Cond GPL&GNU BPG Nino Medium GPL&GNU BPG Sans GPL&GNU BPG Sans Medium GPL&GNU BPG Sans Modern GPL&GNU BPG Sans Regular GPL&GNU BPG Serif GPL&GNU BPG Serif Modern GPL&GNU C059