Path: csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Robert Pluim Newsgroups: gnu.emacs.bug 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 Lines: 42 Sender: "Debbugs-submit" Approved: bug-gnu-emacs@gnu.org Message-ID: References: <7bb2d5e3-1abf-08d6-d7c8-0f1bd139815e@Alexander.Shukaev.name> <3598262d-b65c-b1b4-310a-29149fd89ebf@Alexander.Shukaev.name> <04c384ac-bfbe-6073-829c-20712053bb1d@Alexander.Shukaev.name> <28ddec32-bee2-e6fd-d572-b09766f2be37@Alexander.Shukaev.name> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: usenet.stanford.edu 1599127683 7802 209.51.188.17 (3 Sep 2020 10:08:03 GMT) X-Complaints-To: action@cs.stanford.edu Cc: 43177@debbugs.gnu.org To: Alexander Shukaev Envelope-to: bug-gnu-emacs@gnu.org X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Sep 2020 10:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43177 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=I35EIY8Z9fQiRzhjYQIyDd3LI60q1udhstZhOtp0YqM=; b=Gwp71L5EqHGtjYdD1dxx4mCMst7/GBmIdSMTmPITwC9pQrDFsgtsMST6CWv/r5eiR/ X11pKd09JxKh/Ugsga5FOridFiAOQ0OH9CEUZzveCAe7kRmIh+N8YeZKqnTFkALMF9yy zNryoCVi6+Xlv7JMQz5keMYhy5Vy7E1xQRvlpNM0JDmRI7rQdgvsjjYdb13Gj622Abag NNJdRaULmAVxQ6vOMA1V96NNpgkP8f9zL1NPVod03CCCY8KvUG6wlRjwKch56EmKiB2C RL2dR0V73h8sbjr1lyQC5LiqQ9W25qRRAML6miOXBbqui/5NZKJ5Js2wx89+hXAzBSLk 8hbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=I35EIY8Z9fQiRzhjYQIyDd3LI60q1udhstZhOtp0YqM=; b=CWt2i85CGTKzaf/20dYFIdEh4Sasa/vuv3Boxr1NIdyGEbBfgk3VzypigPhQqIM/9a zCyMIZ8Z3Yjgi1cocJdb3VN1xNZDtUh2lMdBZW159Gu6znjtCbGKWYAW51V8Oe3Ex1Pr exvNU+7tTBwuDYMAxbRILSRpNH98n2Q/T12G9nXfGiSNGQ0+y//rYzyU4KYqhLyNV5+2 PjhUHXAFa7RQI2HjJeRDDDLfvXLZS6BV+3MQUZR04fs80aE+CwS8hlz7DNxwbVx4lndQ ekmLgZzLM0ZDMMX1h1ptdvNnMGLIoBfa5IbUPFBFOTpat+6Ci3mLxULcVMFEda5W4N3m brSQ== X-Gm-Message-State: AOAM533mx65vhcSzEzzNAMT6bAdNqyvHrGn+RewK9OSp/zy9J6gbsK4B ixIq4j7/69nPUsp93vXwnzkQWf9g5O0DSQ== X-Google-Smtp-Source: ABdhPJwNxeoqsMyVGtVX5k474idQwhlvFo1UK5s7kXJnDWXny20GJMsn3rAU2SeogRCZTlLCBGa3mA== X-Received: by 2002:a5d:4949:: with SMTP id r9mr1662659wrs.27.1599127614985; Thu, 03 Sep 2020 03:06:54 -0700 (PDT) In-Reply-To: <28ddec32-bee2-e6fd-d572-b09766f2be37@Alexander.Shukaev.name> (Alexander Shukaev's message of "Thu, 3 Sep 2020 11:53:05 +0200") X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.0 (-) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <7bb2d5e3-1abf-08d6-d7c8-0f1bd139815e@Alexander.Shukaev.name> <3598262d-b65c-b1b4-310a-29149fd89ebf@Alexander.Shukaev.name> <04c384ac-bfbe-6073-829c-20712053bb1d@Alexander.Shukaev.name> <28ddec32-bee2-e6fd-d572-b09766f2be37@Alexander.Shukaev.name> Xref: csiph.com gnu.emacs.bug:134818 >>>>> On Thu, 3 Sep 2020 11:53:05 +0200, Alexander Shukaev said: Alexander> On 03/09/2020 11:50, Alexander Shukaev wrote: >> On 03/09/2020 11:40, Alexander Shukaev wrote: >>> (gdb) f 7 >>> #7=C2=A0 0x0000555555a8d875 in xfont_supported_scripts >>> (display=3D0x555556594940, fontname=3D0x55556a79e428 "-misc-trirong >>> medium-medium-i-normal--0-0-0-0-p-0-iso10646-1", >>> props=3DXIL(0x7ffff27926e5), >>> =C2=A0=C2=A0=C2=A0=C2=A0 encoding=3D0x7ffff23ab8d0) at xfont.c:266 >>> 266=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 xfont =3D= XLoadQueryFont (display, fontname); >>> (gdb) pp fontname >>> # >>> (gdb) pp fontname >>> # >>> (gdb) p fontname >>> $3 =3D 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.=C2=A0 Maybe it's not really hanging but is merely >> ultra-slow somehow in looping over the fonts here.=C2=A0 Any ideas? Alexander> Hmm, right, waited for about a minute or so, and the file go= t opened Alexander> finally. Reopening it was instant as well as if something g= ot 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