Subject: bug#30788: 27.0.50; Getting 'char-displayable-p: Invalid hash table rehash size: 1.0' when starting emacs -Q

From: Ulrich Mueller <[email-masked]>
Date: Wed, 14 Mar 2018 07:48:51 +0100

>>>>> On Wed, 14 Mar 2018, Eli Zaretskii wrote:

> OK, thanks.  Can you tell when this code is called from Emacs?
> I don't see any direct calls to FcConfigEnsure in the sources.

(gdb) bt
#0  FcConfigEnsure ()
    at /var/tmp/portage/media-libs/fontconfig-2.13.0/work/fontconfig-2.13.0/src/fccfg.c:40
#1  0x00007fffeeb2a849 in FcConfigInit ()
    at /var/tmp/portage/media-libs/fontconfig-2.13.0/work/fontconfig-2.13.0/src/fccfg.c:71
#2  0x00007fffeeb37c95 in IA__FcInit ()
    at /var/tmp/portage/media-libs/fontconfig-2.13.0/work/fontconfig-2.13.0/src/fcinit.c:192
#3  0x00007ffff44854b3 in XftInit (config=config@entry=0x0)
    at /var/tmp/portage/x11-libs/libXft-2.3.2/work/libXft-2.3.2/src/xftinit.c:33
#4  0x00000000004ea92b in xg_initialize () at gtkutil.c:5272
#5  0x00000000004d0a13 in x_term_init (
    display_name=display_name@entry=0x2c61b24, 
    xrm_option=xrm_option@entry=0x0, resource_name=0x2c676a8 "emacs-27-vcs")
    at xterm.c:12429
#6  0x00000000004d3797 in Fx_open_connection (display=0x2c61b24, 
    xrm_string=<optimized out>, must_succeed=0xc180) at xfns.c:5654
[...]