From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23368: 25.0.92; xftfont.c has got a bug Date: Sat, 07 May 2016 11:23:48 +0300 Message-ID: <83zis2e0ob.fsf@gnu.org> References: <877ffmrzsv.wl-nomiya@galaxy.dti.ne.jp> <83zisi2k4b.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1462609525 1480 80.91.229.3 (7 May 2016 08:25:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 May 2016 08:25:25 +0000 (UTC) Cc: 23368@debbugs.gnu.org To: Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 07 10:25:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ayxY1-0002Jb-Cx for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 May 2016 10:25:13 +0200 Original-Received: from localhost ([::1]:33560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayxY0-00086D-OA for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 May 2016 04:25:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayxXv-0007vD-TK for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 04:25:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayxXq-0007p5-HW for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 04:25:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayxXq-0007p1-Di for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 04:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ayxXq-0004Oj-9V for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 04:25:02 -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, 07 May 2016 08:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23368 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23368-submit@debbugs.gnu.org id=B23368.146260944316812 (code B ref 23368); Sat, 07 May 2016 08:25:02 +0000 Original-Received: (at 23368) by debbugs.gnu.org; 7 May 2016 08:24:03 +0000 Original-Received: from localhost ([127.0.0.1]:42259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayxWt-0004N6-EP for submit@debbugs.gnu.org; Sat, 07 May 2016 04:24:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayxWs-0004Mb-4j for 23368@debbugs.gnu.org; Sat, 07 May 2016 04:24:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayxWl-0007Mm-OB for 23368@debbugs.gnu.org; Sat, 07 May 2016 04:23:57 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayxWh-0007Kk-UP; Sat, 07 May 2016 04:23:51 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3807 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ayxWg-0008A7-W8; Sat, 07 May 2016 04:23:51 -0400 In-reply-to: <83zisi2k4b.fsf@gnu.org> (message from Eli Zaretskii on Mon, 25 Apr 2016 11:00:36 +0300) 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:117949 Archived-At: Ping! > Date: Mon, 25 Apr 2016 11:00:36 +0300 > From: Eli Zaretskii > Cc: 23368@debbugs.gnu.org > > > Date: Mon, 25 Apr 2016 15:02:40 +0900 > > From: Masaru Nomiya > > > > Hello, > > > > With Emacs 25.0.92, Emacs 25.0.93, and Emacs 25.1.50, Emacs start to > > use 100% CPU. > > That is, afetr I start Wanderlust(MUA) on Emacs, and try to open some > > folders in it, Emacs starts to use 100% CPU, and unresposible. > > > > I investigated the latest Emacs with git bisect. > > As a result, I found that xftfont.c has got a bug as follows. > > CC'ing Handa-san. This seems to be a duplicate of bug#23360. Can you > tell which font(s) are used by Wanderlust when this happens? > > > -------------------------------------------------------------------- > > masaru@linux-uw5l:/tmp/tes/emacs> git checkout emacs-25 > > Branch emacs-25 set up to track remote branch emacs-25 from origin. > > Switched to a new branch 'emacs-25' > > > > masaru@linux-uw5l:/tmp/tes/emacs> git bisect start > > > > masaru@linux-uw5l:/tmp/tes/emacs> git bisect bad > > > > masaru@linux-uw5l:/tmp/tes/emacs> git bisect good emacs-25.0.91 > > Bisecting: 182 revisions left to test after this (roughly 8 steps) > > [04f5525fbb961f6006280be340ca0f03df9e80a7] Make '.' associative, for easier sexp navigation > > > > masaru@linux-uw5l:/tmp/tes/emacs> ./autogen.sh > > > > masaru@linux-uw5l:/tmp/tes/emacs> ./configure > > > > masaru@linux-uw5l:/tmp/tes/emacs> make bootstrap -j10 > > > > test -- NG > > > > masaru@linux-uw5l:/tmp/tes/emacs> make clean > > > > masaru@linux-uw5l:/tmp/tes/emacs> git bisect bad > > Bisecting: 90 revisions left to test after this (roughly 7 steps) > > [06a872b71d6580e0699600844bb9526602437990] Fix redisplay on a TTY after 'make-frame' > > [...] > > masaru@linux-uw5l:/tmp/tes/emacs> make bootstrap -j10 > > > > test -- OK > > > > masaru@linux-uw5l:/tmp/tes/emacs> make clean > > > > masaru@linux-uw5l:/tmp/tes/emacs> git bisect good > > Bisecting: 0 revisions left to test after this (roughly 1 step) > > [ec10ef95cf2a5309ec7cb74f1383860a13daa546] * lisp/apropos.el (apropos-variable): Doc fix. (Bug#22813). > > > > masaru@linux-uw5l:/tmp/tes/emacs> make bootstrap -j10 > > > > test -- NG > > > > masaru@linux-uw5l:/tmp/tes/emacs> make clean > > > > masaru@linux-uw5l:/tmp/tes/emacs> git bisect bad > > Bisecting: 0 revisions left to test after this (roughly 0 steps) > > [d2dd614716e34edb5891e58c029741cd6b32217d] Remove unneeded workaround in xftfont.c > > > > --------------------------------------------------------------------- > > > > ※ test = Start Emacs & Wanderlust, then try to open the folder in > > Wanderlust. OK means "can open without any problem", NG means "Emacs > > eat 100% CPU). > > Thanks, I hope Handa-san will be able to suggest a solution. Failing > that, the only way out of this mess I can see is introduce a variable > that will control whether we employ that workaround in xftfont.c, and > let users whose fonts need this customize that variable. > > > >