unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Werner LEMBERG <wl@gnu.org>
To: eliz@gnu.org
Cc: 31316@debbugs.gnu.org
Subject: bug#31316: Emacs hangs in `font_open_entity'
Date: Tue, 08 May 2018 22:20:27 +0200 (CEST)	[thread overview]
Message-ID: <20180508.222027.1883638416377893055.wl@gnu.org> (raw)
In-Reply-To: <83muxescqc.fsf@gnu.org>

[-- Attachment #1: Type: Text/Plain, Size: 3034 bytes --]


>> The font is called `emmentaler-brace.otf' (part of lilypond,
>> containing system braces for musical scores).  However, I wonder
>> how this font can ever be considered as a fallback, since its SFNT
>> (3,1) Unicode cmap contains only PUA character codes in the range
>> 0xe100-0xe33f (and `fc-list -v' correctly lists that).  In other
>> words, this font definitely doesn't contain anything relevant to
>> the CJK character codes originally reported.
> 
> I asked for a backtrace from that loop:
> 
>> Please show a C-level backtrace from a breakpoint in that loop.
>> And if the breakpoint breaks more than once when you do nothing
>> after invoking Emacs as shown in your OP, please show the
>> backtraces from all the times that breakpoint breaks.
>>
>> Maybe looking at the backtrace will help us understand why Emacs
>> attempts to open that font.
> 
> Can you please produce that?  I'd like to close this bug report, but
> maybe the backtrace will show us that something else should be done
> here.

Attached. It contains all breaks between loading the test file in
GB18030 encoding and displaying something on screen.

This is still emacs bca6c434 (Apr 29).

Calling `pp entity' at each break shows the following fonts.

  #<font-entity xft 1ASC Droid\ Sans\ Fallback nil iso10646-1 normal normal normal 0 nil nil 0 ((:font-entity "/usr/share/fonts/truetype/DroidSansFallbackFull.ttf" . 0))>
  #<font-entity xft ADBO Source\ Code\ Pro nil iso10646-1 normal normal normal 0 nil 100 0 ((:font-entity "/usr/share/fonts/truetype/SourceCodePro-Regular.otf" . 0))>
  #<font-entity xft PfEd Emmentaler-Brace nil iso10646-1 normal normal normal 0 nil 100 0 ((:font-entity "/home/wl/.fonts/texlive/opentype/public/lilyglyphs/emmentaler-brace.otf" . 0))>
  #<font-entity xft ADBO Source\ Code\ Pro nil iso10646-1 normal normal normal 0 nil 100 0 ((:font-entity "/usr/share/fonts/truetype/SourceCodePro-Regular.otf" . 0))>
  #<font-entity xft PfEd Emmentaler-Brace nil iso10646-1 normal normal normal 0 nil 100 0 ((:font-entity "/home/wl/.fonts/texlive/opentype/public/lilyglyphs/emmentaler-brace.otf" . 0))>
  #<font-entity xft ADBO Source\ Code\ Pro nil iso10646-1 normal normal normal 0 nil 100 0 ((:font-entity "/usr/share/fonts/truetype/SourceCodePro-Regular.otf" . 0))>
  #<font-entity xft PfEd Emmentaler-Brace nil iso10646-1 normal normal normal 0 nil 100 0 ((:font-entity "/home/wl/.fonts/texlive/opentype/public/lilyglyphs/emmentaler-brace.otf" . 0))>
  #<font-entity xft PfEd Emmentaler-Brace nil iso10646-1 normal normal normal 0 nil 100 0 ((:font-entity "/home/wl/.fonts/texlive/opentype/public/lilyglyphs/emmentaler-brace.otf" . 0))>
  #<font-entity xft PfEd Emmentaler-Brace nil iso10646-1 normal normal normal 0 nil 100 0 ((:font-entity "/home/wl/.fonts/texlive/opentype/public/lilyglyphs/emmentaler-brace.otf" . 0))>
  #<font-entity xft PfEd Emmentaler-Brace nil iso10646-1 normal normal normal 0 nil 100 0 ((:font-entity "/home/wl/.fonts/texlive/opentype/public/lilyglyphs/emmentaler-brace.otf" . 0))>


    Werner

[-- Attachment #2: gdb.txt.xz --]
[-- Type: Application/Octet-Stream, Size: 25064 bytes --]

  reply	other threads:[~2018-05-08 20:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-30  8:13 bug#31316: Emacs hangs in `font_open_entity' Werner LEMBERG
2018-04-30  8:16 ` Werner LEMBERG
2018-04-30 15:21 ` Eli Zaretskii
2018-04-30 17:22   ` Werner LEMBERG
2018-04-30 19:44     ` Eli Zaretskii
2018-04-30 20:20       ` Werner LEMBERG
2018-05-01 15:06         ` Eli Zaretskii
2018-05-05  8:55         ` Eli Zaretskii
2018-05-08 20:20           ` Werner LEMBERG [this message]
2018-05-08 20:49             ` Werner LEMBERG
2019-11-17  8:23 ` Lars Ingebrigtsen
2019-11-17 15:55   ` Eli Zaretskii
2019-11-17 16:05     ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20180508.222027.1883638416377893055.wl@gnu.org \
    --to=wl@gnu.org \
    --cc=31316@debbugs.gnu.org \
    --cc=eliz@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).