From: Eli Zaretskii <eliz@gnu.org>
To: Vordoo <vordoo@yahoo.com>
Cc: 54188@debbugs.gnu.org
Subject: bug#54188: Crash when eval-ing font test elisp code
Date: Tue, 01 Mar 2022 21:37:37 +0200 [thread overview]
Message-ID: <83wnhdjwfy.fsf@gnu.org> (raw)
In-Reply-To: <ded9e360-f40a-e9ee-8552-fdc4a224e62a@yahoo.com> (message from Vordoo on Tue, 1 Mar 2022 20:50:48 +0200)
> Date: Tue, 1 Mar 2022 20:50:48 +0200
> Cc: 54188@debbugs.gnu.org
> From: Vordoo <vordoo@yahoo.com>
>
> (gdb) fr 2
> #2 0x0000555555946ade in face_for_char (f=0x555556390770, face=0x555556528510, c=84, pos=744,
> object=XIL(0))
> at /home/wsx/dev/emacs/emacs29/emacs/src/fontset.c:925
> 925 eassert (fontset_id_valid_p (face->fontset));
> (gdb) p face->fontset
> $1 = -1
> (gdb) fr 4
> #4 0x00005555555ead78 in get_next_display_element (it=0x7fffffff8800)
> at /home/wsx/dev/emacs/emacs29/emacs/src/xdisp.c:8012
> 8012 it->face_id = FACE_FOR_CHAR (it->f, face, c, pos, it->string);
> (gdb) p it->face_id
> $2 = 34
> (gdb) p it->f->face_cache->used
> $3 = 35
> (gdb)
Hmm...
Does evaluating the following (with M-:) crash on your system?
(let ((str "The quick brown fox jumps over the lazy dog ´`''\"\"1lI|¦!Ø0Oo{[()]}.,:; "))
(insert (propertize str
'font-lock-face '(:family "charter")) "\n")
(insert (propertize str
'font-lock-face '(:family "charter" :slant italic))))
It doesn't crash here, and so I wonder what happens on your system
that causes the face's fontset ID to become -1. If you can figure
that out, maybe it will help; or maybe someone else will be able to
reproduce and investigate.
(I tried to do this with Caladings CLM font, but all the fonts I find
of that family are AFM or PFA/PFB fonts, and I cannot use them.)
next prev parent reply other threads:[~2022-03-01 19:37 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <50f9bd97-02a4-4b0d-0eae-54e804293219.ref@yahoo.com>
2022-02-27 20:33 ` bug#54188: Crash when eval-ing font test elisp code 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 [this message]
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
2024-08-28 8:47 Anand Tamariya
2024-08-28 12:37 ` Eli Zaretskii
2024-08-28 15:04 ` Anand Tamariya
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
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=83wnhdjwfy.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=54188@debbugs.gnu.org \
--cc=vordoo@yahoo.com \
/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.