GNU bug report logs - #23368
25.0.92; xftfont.c has got a bug

Previous Next

Package: emacs;

Reported by: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>

Date: Mon, 25 Apr 2016 07:19:02 UTC

Severity: normal

Merged with 23360, 23363

Found in version 25.0.92

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23368 in the body.
You can then email your comments to 23368 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#23368; Package emacs. (Mon, 25 Apr 2016 07:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 25 Apr 2016 07:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.92; xftfont.c has got a bug
Date: Mon, 25 Apr 2016 15:02:40 +0900
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.


--------------------------------------------------------------------
masaru <at> 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 <at> linux-uw5l:/tmp/tes/emacs> git bisect start

masaru <at> linux-uw5l:/tmp/tes/emacs> git bisect bad

masaru <at> 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 <at> linux-uw5l:/tmp/tes/emacs> ./autogen.sh

masaru <at> linux-uw5l:/tmp/tes/emacs> ./configure

masaru <at> linux-uw5l:/tmp/tes/emacs> make bootstrap -j10

test --  NG

masaru <at> linux-uw5l:/tmp/tes/emacs> make clean

masaru <at> 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 <at> linux-uw5l:/tmp/tes/emacs> make bootstrap -j10

test  --  OK

masaru <at> linux-uw5l:/tmp/tes/emacs> make clean

masaru <at> 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 <at> linux-uw5l:/tmp/tes/emacs> make bootstrap -j10

test  --  NG

masaru <at> linux-uw5l:/tmp/tes/emacs> make clean

masaru <at> 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).

---
 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23368; Package emacs. (Mon, 25 Apr 2016 07:32:02 GMT) Full text and rfc822 format available.

Message #8 received at 23368 <at> debbugs.gnu.org (full text, mbox):

From: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>
To: 23368 <at> debbugs.gnu.org
Cc: eliz <at> gnu.org
Subject: Re: bug#23368: 25.0.92; xftfont.c has got a bug
Date: Mon, 25 Apr 2016 16:31:11 +0900
Hello,

Sorry, I've fogotten to write a workaround.
My workaround is replacement of xftfont.c in Emacs 25.0.92, Emacs
25.0.93, and Emacs 25.1.50 with Emacs 25.0.91's.
Then Emacs (25.0.92, 25.0.93, and 25.1.50) works fine for me.

In the Message; 

  Subject    : bug#23368: 25.0.92; xftfont.c has got a bug
  Message-ID : <877ffmrzsv.wl-nomiya <at> galaxy.dti.ne.jp>
  Date & Time: Mon, 25 Apr 2016 15:02:40 +0900

Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp> has written:

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


> --------------------------------------------------------------------
masaru <at> 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 <at> linux-uw5l:/tmp/tes/emacs> git bisect start

masaru <at> linux-uw5l:/tmp/tes/emacs> git bisect bad

masaru <at> 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 <at> linux-uw5l:/tmp/tes/emacs> ./autogen.sh

masaru <at> linux-uw5l:/tmp/tes/emacs> ./configure

masaru <at> linux-uw5l:/tmp/tes/emacs> make bootstrap -j10

> test --  NG

masaru <at> linux-uw5l:/tmp/tes/emacs> make clean

masaru <at> 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 <at> linux-uw5l:/tmp/tes/emacs> make bootstrap -j10

> test  --  OK

masaru <at> linux-uw5l:/tmp/tes/emacs> make clean

masaru <at> 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 <at> linux-uw5l:/tmp/tes/emacs> make bootstrap -j10

> test  --  NG

masaru <at> linux-uw5l:/tmp/tes/emacs> make clean

masaru <at> 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).

> ---
>  Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp







Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23368; Package emacs. (Mon, 25 Apr 2016 08:02:01 GMT) Full text and rfc822 format available.

Message #11 received at 23368 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>, Kenichi Handa <handa <at> gnu.org>
Cc: 23368 <at> debbugs.gnu.org
Subject: Re: bug#23368: 25.0.92; xftfont.c has got a bug
Date: Mon, 25 Apr 2016 11:00:36 +0300
> Date: Mon, 25 Apr 2016 15:02:40 +0900
> From: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>
> 
> 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 <at> 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 <at> linux-uw5l:/tmp/tes/emacs> git bisect start
> 
> masaru <at> linux-uw5l:/tmp/tes/emacs> git bisect bad
> 
> masaru <at> 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 <at> linux-uw5l:/tmp/tes/emacs> ./autogen.sh
> 
> masaru <at> linux-uw5l:/tmp/tes/emacs> ./configure
> 
> masaru <at> linux-uw5l:/tmp/tes/emacs> make bootstrap -j10
> 
> test --  NG
> 
> masaru <at> linux-uw5l:/tmp/tes/emacs> make clean
> 
> masaru <at> 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 <at> linux-uw5l:/tmp/tes/emacs> make bootstrap -j10
> 
> test  --  OK
> 
> masaru <at> linux-uw5l:/tmp/tes/emacs> make clean
> 
> masaru <at> 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 <at> linux-uw5l:/tmp/tes/emacs> make bootstrap -j10
> 
> test  --  NG
> 
> masaru <at> linux-uw5l:/tmp/tes/emacs> make clean
> 
> masaru <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23368; Package emacs. (Mon, 25 Apr 2016 08:03:02 GMT) Full text and rfc822 format available.

Message #14 received at 23368 <at> debbugs.gnu.org (full text, mbox):

From: fxiny <wtimew <at> libero.it>
To: 23368 <at> debbugs.gnu.org
Subject: bug#23368: 25.0.92; xftfont.c has got a bug
Date: Mon, 25 Apr 2016 10:02:08 +0200 (CEST)
[Message part 1 (text/plain, inline)]
hi 
that sounds familiar to me

are you using .emacs.desktop ?
cause i use it and i have two situations at times
yes i do use gnus wlust and mu4e

1) problems with monaco fonts overlapping as for bug 23360
temporarily solved by using xftfont.c from pretest 0.91
or a 2016-02-14 git clone i keep around

2) at times same 100 irresponsive cpu and swap loud grinding ;)
in a word : box completely freezes 
i can only kill it from remote if i am already logged
otherwise i can only hard reset
yes : terrible bug

you are giving me some clues

that is something i am chasing from some time

to get my box alive i have to delete .emacs.desktop
so i wonder if you can do the same
and if we can blame  xftfont.c or something else

in my case the freezes start if i
ctrl right mouse popping the menu up
options -> set default fonts 
to skip the the monaco fonts that as i said was overlapping


[Message part 2 (text/html, inline)]

Merged 23360 23363 23368. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 25 Apr 2016 15:53:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23368; Package emacs. (Mon, 25 Apr 2016 23:53:02 GMT) Full text and rfc822 format available.

Message #19 received at 23368 <at> debbugs.gnu.org (full text, mbox):

From: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>
To: 23368 <at> debbugs.gnu.org
Subject: Re: bug#23368: 25.0.92; xftfont.c has got a bug
Date: Tue, 26 Apr 2016 08:52:15 +0900
Hello,

In the Message; 

  Subject    : bug#23368: 25.0.92; xftfont.c has got a bug
  Message-ID : <781740024.9864121461571328929.JavaMail.httpd <at> webmail-45.iol.local>
  Date & Time: Mon, 25 Apr 2016 10:02:08 +0200 (CEST)

fxiny <wtimew <at> libero.it> has written:

> hi
> that sounds familiar to me

> are you using .emacs.desktop ?

No, I don't.

> cause i use it and i have two situations at times
> yes i do use gnus wlust and mu4e

> 1) problems with monaco fonts overlapping as for bug 23360
> temporarily solved by using xftfont.c from pretest 0.91
> or a 2016-02-14 git clone i keep around

I didn't investigate which font(s?) causeed the problem.

> 2) at times same 100 irresponsive cpu and swap loud grinding ;)
> in a word : box completely freezes
> i can only kill it from remote if i am already logged
> otherwise i can only hard reset
> yes : terrible bug

Do you?

> you are giving me some clues

> that is something i am chasing from some time

> to get my box alive i have to delete .emacs.desktop
> so i wonder if you can do the same
> and if we can blame  xftfont.c or something else

> in my case the freezes start if i
> ctrl right mouse popping the menu up
> options -> set default fonts
> to skip the the monaco fonts that as i said was overlapping

I see.

Thanks,

---
 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23368; Package emacs. (Sat, 07 May 2016 08:25:02 GMT) Full text and rfc822 format available.

Message #22 received at 23368 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Kenichi Handa <handa <at> gnu.org>
Cc: 23368 <at> debbugs.gnu.org, nomiya <at> galaxy.dti.ne.jp
Subject: Re: bug#23368: 25.0.92; xftfont.c has got a bug
Date: Sat, 07 May 2016 11:23:48 +0300
Ping!

> Date: Mon, 25 Apr 2016 11:00:36 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 23368 <at> debbugs.gnu.org
> 
> > Date: Mon, 25 Apr 2016 15:02:40 +0900
> > From: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>
> > 
> > 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 <at> 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 <at> linux-uw5l:/tmp/tes/emacs> git bisect start
> > 
> > masaru <at> linux-uw5l:/tmp/tes/emacs> git bisect bad
> > 
> > masaru <at> 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 <at> linux-uw5l:/tmp/tes/emacs> ./autogen.sh
> > 
> > masaru <at> linux-uw5l:/tmp/tes/emacs> ./configure
> > 
> > masaru <at> linux-uw5l:/tmp/tes/emacs> make bootstrap -j10
> > 
> > test --  NG
> > 
> > masaru <at> linux-uw5l:/tmp/tes/emacs> make clean
> > 
> > masaru <at> 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 <at> linux-uw5l:/tmp/tes/emacs> make bootstrap -j10
> > 
> > test  --  OK
> > 
> > masaru <at> linux-uw5l:/tmp/tes/emacs> make clean
> > 
> > masaru <at> 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 <at> linux-uw5l:/tmp/tes/emacs> make bootstrap -j10
> > 
> > test  --  NG
> > 
> > masaru <at> linux-uw5l:/tmp/tes/emacs> make clean
> > 
> > masaru <at> 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.
> 
> 
> 
> 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23368; Package emacs. (Mon, 09 May 2016 14:46:01 GMT) Full text and rfc822 format available.

Message #25 received at 23368 <at> debbugs.gnu.org (full text, mbox):

From: handa <handa <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 23368 <at> debbugs.gnu.org, nomiya <at> galaxy.dti.ne.jp
Subject: Re: bug#23368: 25.0.92; xftfont.c has got a bug
Date: Mon, 09 May 2016 23:45:11 +0900
In article <83zis2e0ob.fsf <at> gnu.org>, Eli Zaretskii <eliz <at> gnu.org> writes:

> Ping!

Oops, sorry for the late response.

> > > Date: Mon, 25 Apr 2016 15:02:40 +0900
> > > From: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>
> > > 
> > > 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?

I re-read the latest xftfont_open of xftfont.c, but couldn't find a
problem.  And, as I'm not using Wanderlust, I couldn't reproduce the
problem.

Could someone please find a way to reproduce the problem on GNU/Linux
system by Emacs started with -Q.

---
K. Handa
handa <at> gnu.org




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23368; Package emacs. (Mon, 16 May 2016 07:54:02 GMT) Full text and rfc822 format available.

Message #28 received at 23368 <at> debbugs.gnu.org (full text, mbox):

From: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>
To: handa <at> gnu.org
Cc: 23368 <at> debbugs.gnu.org, eliz <at> gnu.org
Subject: Re: bug#23368: 25.0.92; xftfont.c has got a bug
Date: Mon, 16 May 2016 16:52:54 +0900
Hello,

In the Message; 

  Subject    : Re: bug#23368: 25.0.92; xftfont.c has got a bug
  Message-ID : <87vb2n2sug.fsf <at> gnu.org>
  Date & Time: Mon, 09 May 2016 23:45:11 +0900

handa <handa <at> gnu.org> has written:

> In article <83zis2e0ob.fsf <at> gnu.org>, Eli Zaretskii <eliz <at> gnu.org> writes:

> > Ping!

> Oops, sorry for the late response.

> > > > Date: Mon, 25 Apr 2016 15:02:40 +0900
> > > > From: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>
> > > > 
> > > > 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?

> I re-read the latest xftfont_open of xftfont.c, but couldn't find a
> problem.  And, as I'm not using Wanderlust, I couldn't reproduce the
> problem.

Sorry for bother you.

> Could someone please find a way to reproduce the problem on GNU/Linux
> system by Emacs started with -Q.

I tested with -nw. I didn't get any problem. I.e. Wanderlust works
fine for me.

Is this give you any hint?

Thanks,

---
M. Nomiya




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23368; Package emacs. (Mon, 16 May 2016 15:57:01 GMT) Full text and rfc822 format available.

Message #31 received at 23368 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>
Cc: handa <at> gnu.org, 23368 <at> debbugs.gnu.org
Subject: Re: bug#23368: 25.0.92; xftfont.c has got a bug
Date: Mon, 16 May 2016 18:56:30 +0300
> Date: Mon, 16 May 2016 16:52:54 +0900
> From: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>
> Cc: eliz <at> gnu.org, 23368 <at> debbugs.gnu.org
> 
> > > > 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?
> 
> > I re-read the latest xftfont_open of xftfont.c, but couldn't find a
> > problem.  And, as I'm not using Wanderlust, I couldn't reproduce the
> > problem.
> 
> Sorry for bother you.
> 
> > Could someone please find a way to reproduce the problem on GNU/Linux
> > system by Emacs started with -Q.
> 
> I tested with -nw. I didn't get any problem. I.e. Wanderlust works
> fine for me.
> 
> Is this give you any hint?

Thanks, but using -nw doesn't help with this problem.  The -nw session
doesn't use any font shaping engines, it uses text-mode stdio writes
to the screen, so using it doesn't add any useful information about
this problem.

I believe Handa-san asked for "emacs -Q", not "emacs -nw".  Can you
try that?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23368; Package emacs. (Sun, 22 May 2016 16:28:01 GMT) Full text and rfc822 format available.

Message #34 received at 23368 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: handa <handa <at> gnu.org>
Cc: 23368 <at> debbugs.gnu.org, nomiya <at> galaxy.dti.ne.jp
Subject: Re: bug#23368: 25.0.92; xftfont.c has got a bug
Date: Sun, 22 May 2016 19:26:45 +0300
> From: handa <handa <at> gnu.org>
> Cc: nomiya <at> galaxy.dti.ne.jp, 23368 <at> debbugs.gnu.org
> Date: Mon, 09 May 2016 23:45:11 +0900
> 
> > > 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?
> 
> I re-read the latest xftfont_open of xftfont.c, but couldn't find a
> problem.  And, as I'm not using Wanderlust, I couldn't reproduce the
> problem.
> 
> Could someone please find a way to reproduce the problem on GNU/Linux
> system by Emacs started with -Q.

Since we want to release Emacs 25.1 soon, I've added a variable,
xft-font-ascent-descent-override, that allows to work around the
problems reported in this and related bugs.  By default, the variable
is nil, which disables overriding the font ascent and descent values,
as this seems to be unnecessary on most systems, and produces annoying
results with some fonts.  On those systems where the override is still
needed, users can set the variable to a non-nil value to solve the
rendering problems.

With that, I consider the bug fixed for Emacs 25.1, and I'm removing
it from the list of bugs that block the release.

We would still want to find a proper fix for these problems, when
their cause becomes known.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23368; Package emacs. (Sat, 28 May 2016 10:18:02 GMT) Full text and rfc822 format available.

Message #37 received at 23368 <at> debbugs.gnu.org (full text, mbox):

From: 野宮 賢 / NOMIYA Masaru
 <nomiya <at> galaxy.dti.ne.jp>
To: handa <at> gnu.org
Cc: 23368 <at> debbugs.gnu.org, eliz <at> gnu.org
Subject: Solved! (Was: Re: bug#23368: 25.0.92; xftfont.c has got a bug)
Date: Sat, 28 May 2016 19:17:50 +0900
Hello,

In the Message; 

  Subject    : Re: bug#23368: 25.0.92; xftfont.c has got a bug
  Message-ID : <87vb2n2sug.fsf <at> gnu.org>
  Date & Time: Mon, 09 May 2016 23:45:11 +0900

handa <handa <at> gnu.org> has written:

> In article <83zis2e0ob.fsf <at> gnu.org>, Eli Zaretskii <eliz <at> gnu.org> writes:

> > Ping!

> Oops, sorry for the late response.

> > > > Date: Mon, 25 Apr 2016 15:02:40 +0900
> > > > From: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>
> > > > 
> > > > 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?

> I re-read the latest xftfont_open of xftfont.c, but couldn't find a
> problem.  And, as I'm not using Wanderlust, I couldn't reproduce the
> problem.

> Could someone please find a way to reproduce the problem on GNU/Linux
> system by Emacs started with -Q.

I checked all the related files one by one. :-)
I found thst the CPU 100% usage's cause is fontconfig.
In my system, the fontconfig is 2.11.1.
I reverted this to 2.10.2's fontconfig, then problem has disappeared!

I wonder if the 2.11.1's fontconfig has got a bug?
Maybe not.

But waht's the matter, I wonder.

Thanks,

---
 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23368; Package emacs. (Sat, 28 May 2016 10:27:01 GMT) Full text and rfc822 format available.

Message #40 received at 23368 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 野宮 賢 / NOMIYA Masaru
 <nomiya <at> galaxy.dti.ne.jp>
Cc: handa <at> gnu.org, 23368 <at> debbugs.gnu.org
Subject: Re: Solved! (Was: Re: bug#23368: 25.0.92; xftfont.c has got a bug)
Date: Sat, 28 May 2016 13:26:53 +0300
> Date: Sat, 28 May 2016 19:17:50 +0900
> From: 野宮 賢 / NOMIYA Masaru
>  <nomiya <at> galaxy.dti.ne.jp>
> Cc: eliz <at> gnu.org, 23368 <at> debbugs.gnu.org
> 
> I checked all the related files one by one. :-)
> I found thst the CPU 100% usage's cause is fontconfig.
> In my system, the fontconfig is 2.11.1.
> I reverted this to 2.10.2's fontconfig, then problem has disappeared!
> 
> I wonder if the 2.11.1's fontconfig has got a bug?
> Maybe not.
> 
> But waht's the matter, I wonder.

Can you try the latest sources from the emacs-25 branch of the Emacs
repository, and see if setting xft-font-ascent-descent-override to a
non-nil value solves the problem even when fontconfig 2.11.1 is used?

Thanks.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 28 May 2016 10:53:02 GMT) Full text and rfc822 format available.

Notification sent to Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>:
bug acknowledged by developer. (Sat, 28 May 2016 10:53:02 GMT) Full text and rfc822 format available.

Message #45 received at 23368-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 野宮 賢 / NOMIYA Masaru
 <nomiya <at> galaxy.dti.ne.jp>
Cc: Kenichi Handa <handa <at> gnu.org>, 23368-done <at> debbugs.gnu.org
Subject: Re: Solved! (Was: Re: bug#23368: 25.0.92; xftfont.c has got a bug)
Date: Sat, 28 May 2016 13:52:05 +0300
> Date: Sat, 28 May 2016 19:44:13 +0900
> From: 野宮 賢 / NOMIYA Masaru
>  <nomiya <at> galaxy.dti.ne.jp>
> 
> > Can you try the latest sources from the emacs-25 branch of the Emacs
> > repository, and see if setting xft-font-ascent-descent-override to a
> > non-nil value solves the problem even when fontconfig 2.11.1 is used?
> 
> Yes, solved!

Thanks.  So I'm marking the bug as done.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 28 May 2016 10:53:02 GMT) Full text and rfc822 format available.

Notification sent to fxiny <wtimew <at> libero.it>:
bug acknowledged by developer. (Sat, 28 May 2016 10:53:02 GMT) Full text and rfc822 format available.

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 28 May 2016 10:53:02 GMT) Full text and rfc822 format available.

Notification sent to fxiny <wtimew <at> libero.it>:
bug acknowledged by developer. (Sat, 28 May 2016 10:53:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 25 Jun 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 54 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.