unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Alexander Shukaev <emacs@Alexander.Shukaev.name>
Cc: 43177@debbugs.gnu.org
Subject: bug#43177: Bug: Emacs 27.1 hangs forever in `FcCharSetSubtractCount' from '/usr/lib/libfontconfig.so.1'
Date: Thu, 03 Sep 2020 12:06:53 +0200	[thread overview]
Message-ID: <m2wo1b18ea.fsf@gmail.com> (raw)
In-Reply-To: <28ddec32-bee2-e6fd-d572-b09766f2be37@Alexander.Shukaev.name> (Alexander Shukaev's message of "Thu, 3 Sep 2020 11:53:05 +0200")

>>>>> On Thu, 3 Sep 2020 11:53:05 +0200, Alexander Shukaev <emacs@Alexander.Shukaev.name> said:

    Alexander> On 03/09/2020 11:50, Alexander Shukaev wrote:
    >> On 03/09/2020 11:40, Alexander Shukaev wrote:
    >>> (gdb) f 7
    >>> #7  0x0000555555a8d875 in xfont_supported_scripts
    >>> (display=0x555556594940, fontname=0x55556a79e428 "-misc-trirong
    >>> medium-medium-i-normal--0-0-0-0-p-0-iso10646-1",
    >>> props=XIL(0x7ffff27926e5),
    >>>      encoding=0x7ffff23ab8d0) at xfont.c:266
    >>> 266          xfont = XLoadQueryFont (display, fontname);
    >>> (gdb) pp fontname
    >>> #<INVALID_LISP_OBJECT 0x55556a79e428>
    >>> (gdb) pp fontname
    >>> #<INVALID_LISP_OBJECT 0x55556a79e428>
    >>> (gdb) p fontname
    >>> $3 = 0x55556a79e428 "-misc-trirong
    >>> medium-medium-i-normal--0-0-0-0-p-0-iso10646-1"
    >>> (gdb)
    >> It appears to always be different `fontname' here as I try multiple
    >> times to reproduce.  Maybe it's not really hanging but is merely
    >> ultra-slow somehow in looping over the fonts here.  Any ideas?

    Alexander> Hmm, right, waited for about a minute or so, and the file got opened
    Alexander> finally.  Reopening it was instant as well as if something got
    Alexander> cached/loaded already.  So any ideas how to speed things up here?  I
    Alexander> don't think I've encountered that with 26.3...

You can check easily enough by building emacs-27 --without-cairo, that
should get you back to emacs-26's font handling.

The issue is: why is Emacs falling back to the 'x' backend?

Robert





  reply	other threads:[~2020-09-03 10:06 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-03  7:18 bug#43177: Bug: Emacs 27.1 hangs forever in `FcCharSetSubtractCount' from '/usr/lib/libfontconfig.so.1' Alexander Shukaev
2020-09-03  7:28 ` Robert Pluim
2020-09-03  7:42   ` Pip Cet
2020-09-03  8:50     ` Alexander Shukaev
2020-09-03  8:51   ` Alexander Shukaev
2020-09-03  9:02     ` Alexander Shukaev
2020-09-03  9:07       ` Robert Pluim
2020-09-03  9:40         ` Alexander Shukaev
2020-09-03  9:50           ` Alexander Shukaev
2020-09-03  9:53             ` Alexander Shukaev
2020-09-03 10:06               ` Robert Pluim [this message]
2020-09-03 10:24                 ` Alexander Shukaev
2020-09-03 12:13                   ` Robert Pluim
2020-09-03 12:28                     ` Alexander Shukaev
2020-09-03 12:43                       ` Robert Pluim
2020-09-03 12:52                         ` Andreas Schwab
2020-09-03 13:19                           ` Robert Pluim
2020-09-03 13:28                             ` Andreas Schwab
2020-09-03 14:21                               ` Robert Pluim
2020-09-03 14:48                                 ` Andreas Schwab
2020-09-03 15:10                                   ` Robert Pluim
2020-09-03 16:39                                     ` Alexander Shukaev
2020-09-03 19:47                                       ` Alexander Shukaev
2020-09-04  6:54                                         ` Eli Zaretskii
2020-09-03 17:37                                     ` Eli Zaretskii
2020-09-03 17:51                                       ` Andreas Schwab
2020-09-03 18:24                                         ` Eli Zaretskii
2020-09-04  7:45                                           ` Robert Pluim
2020-09-04 12:22                                             ` Eli Zaretskii
2020-09-04 13:05                                               ` Robert Pluim
2020-09-04 13:30                                                 ` Eli Zaretskii
2020-09-04 14:04                                                   ` Robert Pluim
2020-09-04 17:26                                                     ` Eli Zaretskii
2020-09-07 14:18                                                       ` Robert Pluim
2020-09-07 14:41                                                         ` Pip Cet
2020-09-07 14:48                                                           ` Robert Pluim
2020-09-07 14:49                                                         ` Eli Zaretskii
2020-09-07 15:06                                                           ` Robert Pluim
2020-09-15 15:40                                                             ` Robert Pluim
2020-09-03  9:58           ` Robert Pluim
2020-09-03 13:19             ` Eli Zaretskii
2020-09-03 14:03               ` Robert Pluim
     [not found] ` <handler.43177.B.159911754532334.ack@debbugs.gnu.org>
2020-09-03  7:30   ` bug#43177: Acknowledgement (Bug: Emacs 27.1 hangs forever in `FcCharSetSubtractCount' from '/usr/lib/libfontconfig.so.1') Alexander Shukaev
2020-09-03  8:43   ` Alexander Shukaev

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=m2wo1b18ea.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=43177@debbugs.gnu.org \
    --cc=emacs@Alexander.Shukaev.name \
    /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).