all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Anand Tamariya <atamariya@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: bug#54188: Crash when eval-ing font test elisp code
Date: Wed, 28 Aug 2024 20:34:17 +0530	[thread overview]
Message-ID: <CADm7Y4n=sc=EPL5HAMqDDwbcLNpK=Pka4-De_G9ee+ZEthp5Pw@mail.gmail.com> (raw)
In-Reply-To: <86v7zkhlhl.fsf@gnu.org>


[-- Attachment #1.1: Type: text/plain, Size: 3153 bytes --]

On Wed, Aug 28, 2024 at 6:07 PM Eli Zaretskii <eliz@gnu.org> wrote:

> > From: Anand Tamariya <atamariya@gmail.com>
> > 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=<optimized out>, object=<optimized out>) at fontset.c:997
#3  0x000055555561386f in FACE_FOR_CHAR
    (object=<optimized out>, pos=<optimized out>, character=180,
face=0x555559804320, f=<optimized out>) 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=<optimized out>, 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

[-- Attachment #1.2: Type: text/html, Size: 3970 bytes --]

[-- Attachment #2: crash1.png --]
[-- Type: image/png, Size: 710591 bytes --]

  reply	other threads:[~2024-08-28 15:04 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-28  8:47 bug#54188: Crash when eval-ing font test elisp code Anand Tamariya
2024-08-28 12:37 ` Eli Zaretskii
2024-08-28 15:04   ` Anand Tamariya [this message]
2024-08-28 15:29     ` Pip Cet
2024-08-28 15:54       ` Eli Zaretskii
2024-08-28 18:07     ` Eli Zaretskii
2024-08-29  4:54       ` Anand Tamariya
2024-08-29  5:11         ` Yuri Khan
2024-08-29  6:02         ` Eli Zaretskii
     [not found] <50f9bd97-02a4-4b0d-0eae-54e804293219.ref@yahoo.com>
2022-02-27 20:33 ` Vordoo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-28  3:30   ` Eli Zaretskii
2022-02-28  7:09     ` Vordoo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-28 12:19       ` Eli Zaretskii
2022-02-28 21:44         ` Vordoo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-01 12:55           ` Eli Zaretskii
2022-03-01 15:23             ` Vordoo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-01 17:38               ` Eli Zaretskii
2022-03-01 18:50                 ` Vordoo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-01 19:37                   ` Eli Zaretskii
2022-03-01 20:08                     ` Vordoo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-01 20:33                       ` Eli Zaretskii
2022-03-01 21:51                         ` Vordoo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-03  9:46                           ` Eli Zaretskii
2022-03-03 12:46                             ` Vordoo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-03 14:05                               ` Eli Zaretskii
2022-03-03 14:16                                 ` Lars Ingebrigtsen
2022-03-03 14:25                                   ` Eli Zaretskii
2022-03-03 14:51                                     ` Lars Ingebrigtsen
2022-03-03 15:04                                       ` Vordoo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-03 15:22                                         ` Vordoo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-03 14:39                                   ` Vordoo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-03 14:49                                     ` jeff
2022-02-28  9:41   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADm7Y4n=sc=EPL5HAMqDDwbcLNpK=Pka4-De_G9ee+ZEthp5Pw@mail.gmail.com' \
    --to=atamariya@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.