From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#31316: Emacs hangs in `font_open_entity' Date: Sat, 05 May 2018 11:55:39 +0300 Message-ID: <83muxescqc.fsf@gnu.org> References: <838t94sot3.fsf@gnu.org> <20180430.192218.1552282367861674790.wl@gnu.org> <83wowoqy1a.fsf@gnu.org> <20180430.222013.1019708698891364018.wl@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1525510444 15956 195.159.176.226 (5 May 2018 08:54:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 May 2018 08:54:04 +0000 (UTC) Cc: 31316@debbugs.gnu.org To: Werner LEMBERG Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 05 10:54:00 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEsx5-00041q-OJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 May 2018 10:53:59 +0200 Original-Received: from localhost ([::1]:37883 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEszC-0006sO-Vo for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 May 2018 04:56:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEsz7-0006sJ-1G for bug-gnu-emacs@gnu.org; Sat, 05 May 2018 04:56:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEsz3-0001FM-VC for bug-gnu-emacs@gnu.org; Sat, 05 May 2018 04:56:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42320) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fEsz3-0001F9-Q8 for bug-gnu-emacs@gnu.org; Sat, 05 May 2018 04:56:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fEsz3-0007w0-Io for bug-gnu-emacs@gnu.org; Sat, 05 May 2018 04:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 May 2018 08:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31316 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31316-submit@debbugs.gnu.org id=B31316.152551055430488 (code B ref 31316); Sat, 05 May 2018 08:56:01 +0000 Original-Received: (at 31316) by debbugs.gnu.org; 5 May 2018 08:55:54 +0000 Original-Received: from localhost ([127.0.0.1]:50217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEsyw-0007vg-Eo for submit@debbugs.gnu.org; Sat, 05 May 2018 04:55:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEsyu-0007vS-Cl for 31316@debbugs.gnu.org; Sat, 05 May 2018 04:55:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEsyn-0000xm-V0 for 31316@debbugs.gnu.org; Sat, 05 May 2018 04:55:47 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEsyj-0000u7-Bt; Sat, 05 May 2018 04:55:41 -0400 Original-Received: from [176.228.60.248] (port=3026 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fEsyh-0007SI-MC; Sat, 05 May 2018 04:55:40 -0400 In-reply-to: <20180430.222013.1019708698891364018.wl@gnu.org> (message from Werner LEMBERG on Mon, 30 Apr 2018 22:20:13 +0200 (CEST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:146028 Archived-At: > Date: Mon, 30 Apr 2018 22:20:13 +0200 (CEST) > Cc: 31316@debbugs.gnu.org > From: Werner LEMBERG > > >> Sort of, thanks. After waiting a few seconds, Emacs now displays > >> three characters, but navigation is hard: it takes a few seconds to > >> move from character to character (I guess Emacs tries to reload the > >> missing glyph again and again). > > > > Well, maybe I went overboard with the 100 figure, and we should use > > a much smaller number, like 10 or 20? > > Maybe, yes. I don't know enough of Emacs code to have an opinion on > that. I eventually went with 15. Pushed to the master branch. > 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. Thanks.