Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.emacs.bug > #134818

bug#43177: Bug: Emacs 27.1 hangs forever in `FcCharSetSubtractCount' from '/usr/lib/libfontconfig.so.1'

From Robert Pluim <rpluim@gmail.com>
Newsgroups gnu.emacs.bug
Subject bug#43177: Bug: Emacs 27.1 hangs forever in `FcCharSetSubtractCount' from '/usr/lib/libfontconfig.so.1'
Date 2020-09-03 12:06 +0200
Message-ID <mailman.2175.1599127683.2469.bug-gnu-emacs@gnu.org> (permalink)
References (4 earlier) <m2mu272ppt.fsf@gmail.com> <3598262d-b65c-b1b4-310a-29149fd89ebf@Alexander.Shukaev.name> <04c384ac-bfbe-6073-829c-20712053bb1d@Alexander.Shukaev.name> <28ddec32-bee2-e6fd-d572-b09766f2be37@Alexander.Shukaev.name> <m2wo1b18ea.fsf@gmail.com>

Show all headers | View raw


>>>>> 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


Back to gnu.emacs.bug | Previous | Next | Find similar


Thread

bug#43177: Bug: Emacs 27.1 hangs forever in `FcCharSetSubtractCount' from '/usr/lib/libfontconfig.so.1' Robert Pluim <rpluim@gmail.com> - 2020-09-03 12:06 +0200

csiph-web