unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23368: 25.0.92; xftfont.c has got a bug
@ 2016-04-25  6:02 Masaru Nomiya
  2016-04-25  7:31 ` Masaru Nomiya
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Masaru Nomiya @ 2016-04-25  6:02 UTC (permalink / raw)
  To: 23368

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

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





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#23368: 25.0.92; xftfont.c has got a bug
  2016-04-25  6:02 bug#23368: 25.0.92; xftfont.c has got a bug Masaru Nomiya
@ 2016-04-25  7:31 ` Masaru Nomiya
  2016-04-25  8:00 ` Eli Zaretskii
  2016-04-25  8:02 ` bug#23368: 25.0.92; xftfont.c has got a bug fxiny
  2 siblings, 0 replies; 13+ messages in thread
From: Masaru Nomiya @ 2016-04-25  7:31 UTC (permalink / raw)
  To: 23368

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@galaxy.dti.ne.jp>
  Date & Time: Mon, 25 Apr 2016 15:02:40 +0900

Masaru Nomiya <nomiya@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@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).

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








^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#23368: 25.0.92; xftfont.c has got a bug
  2016-04-25  6:02 bug#23368: 25.0.92; xftfont.c has got a bug Masaru Nomiya
  2016-04-25  7:31 ` Masaru Nomiya
@ 2016-04-25  8:00 ` Eli Zaretskii
  2016-05-07  8:23   ` Eli Zaretskii
  2016-04-25  8:02 ` bug#23368: 25.0.92; xftfont.c has got a bug fxiny
  2 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2016-04-25  8:00 UTC (permalink / raw)
  To: Masaru Nomiya, Kenichi Handa; +Cc: 23368

> Date: Mon, 25 Apr 2016 15:02:40 +0900
> From: Masaru Nomiya <nomiya@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@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.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#23368: 25.0.92; xftfont.c has got a bug
  2016-04-25  6:02 bug#23368: 25.0.92; xftfont.c has got a bug Masaru Nomiya
  2016-04-25  7:31 ` Masaru Nomiya
  2016-04-25  8:00 ` Eli Zaretskii
@ 2016-04-25  8:02 ` fxiny
  2016-04-25 23:52   ` Masaru Nomiya
  2 siblings, 1 reply; 13+ messages in thread
From: fxiny @ 2016-04-25  8:02 UTC (permalink / raw)
  To: 23368

[-- Attachment #1: Type: text/plain, Size: 886 bytes --]

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



[-- Attachment #2: Type: text/html, Size: 1000 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#23368: 25.0.92; xftfont.c has got a bug
  2016-04-25  8:02 ` bug#23368: 25.0.92; xftfont.c has got a bug fxiny
@ 2016-04-25 23:52   ` Masaru Nomiya
  0 siblings, 0 replies; 13+ messages in thread
From: Masaru Nomiya @ 2016-04-25 23:52 UTC (permalink / raw)
  To: 23368

Hello,

In the Message; 

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

fxiny <wtimew@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





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#23368: 25.0.92; xftfont.c has got a bug
  2016-04-25  8:00 ` Eli Zaretskii
@ 2016-05-07  8:23   ` Eli Zaretskii
  2016-05-09 14:45     ` handa
  0 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2016-05-07  8:23 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: 23368

Ping!

> Date: Mon, 25 Apr 2016 11:00:36 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 23368@debbugs.gnu.org
> 
> > Date: Mon, 25 Apr 2016 15:02:40 +0900
> > From: Masaru Nomiya <nomiya@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@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.
> 
> 
> 
> 





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#23368: 25.0.92; xftfont.c has got a bug
  2016-05-07  8:23   ` Eli Zaretskii
@ 2016-05-09 14:45     ` handa
  2016-05-16  7:52       ` Masaru Nomiya
                         ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: handa @ 2016-05-09 14:45 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 23368

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

> Ping!

Oops, sorry for the late response.

> > > Date: Mon, 25 Apr 2016 15:02:40 +0900
> > > From: Masaru Nomiya <nomiya@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@gnu.org





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#23368: 25.0.92; xftfont.c has got a bug
  2016-05-09 14:45     ` handa
@ 2016-05-16  7:52       ` Masaru Nomiya
  2016-05-16 15:56         ` Eli Zaretskii
  2016-05-22 16:26       ` Eli Zaretskii
  2016-05-28 10:17       ` bug#23368: Solved! (Was: Re: bug#23368: 25.0.92; xftfont.c has got a bug) 野宮 賢 / NOMIYA Masaru
  2 siblings, 1 reply; 13+ messages in thread
From: Masaru Nomiya @ 2016-05-16  7:52 UTC (permalink / raw)
  To: handa; +Cc: 23368

Hello,

In the Message; 

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

handa <handa@gnu.org> has written:

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

> > Ping!

> Oops, sorry for the late response.

> > > > Date: Mon, 25 Apr 2016 15:02:40 +0900
> > > > From: Masaru Nomiya <nomiya@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





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#23368: 25.0.92; xftfont.c has got a bug
  2016-05-16  7:52       ` Masaru Nomiya
@ 2016-05-16 15:56         ` Eli Zaretskii
  0 siblings, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2016-05-16 15:56 UTC (permalink / raw)
  To: Masaru Nomiya; +Cc: 23368

> Date: Mon, 16 May 2016 16:52:54 +0900
> From: Masaru Nomiya <nomiya@galaxy.dti.ne.jp>
> Cc: eliz@gnu.org, 23368@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?





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#23368: 25.0.92; xftfont.c has got a bug
  2016-05-09 14:45     ` handa
  2016-05-16  7:52       ` Masaru Nomiya
@ 2016-05-22 16:26       ` Eli Zaretskii
  2016-05-28 10:17       ` bug#23368: Solved! (Was: Re: bug#23368: 25.0.92; xftfont.c has got a bug) 野宮 賢 / NOMIYA Masaru
  2 siblings, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2016-05-22 16:26 UTC (permalink / raw)
  To: handa; +Cc: 23368

> From: handa <handa@gnu.org>
> Cc: nomiya@galaxy.dti.ne.jp, 23368@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.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#23368: Solved! (Was: Re: bug#23368: 25.0.92; xftfont.c has got a bug)
  2016-05-09 14:45     ` handa
  2016-05-16  7:52       ` Masaru Nomiya
  2016-05-22 16:26       ` Eli Zaretskii
@ 2016-05-28 10:17       ` 野宮 賢 / NOMIYA Masaru
  2016-05-28 10:26         ` Eli Zaretskii
  2 siblings, 1 reply; 13+ messages in thread
From: 野宮 賢 / NOMIYA Masaru @ 2016-05-28 10:17 UTC (permalink / raw)
  To: handa; +Cc: 23368

Hello,

In the Message; 

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

handa <handa@gnu.org> has written:

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

> > Ping!

> Oops, sorry for the late response.

> > > > Date: Mon, 25 Apr 2016 15:02:40 +0900
> > > > From: Masaru Nomiya <nomiya@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





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#23368: Solved! (Was: Re: bug#23368: 25.0.92; xftfont.c has got a bug)
  2016-05-28 10:17       ` bug#23368: Solved! (Was: Re: bug#23368: 25.0.92; xftfont.c has got a bug) 野宮 賢 / NOMIYA Masaru
@ 2016-05-28 10:26         ` Eli Zaretskii
       [not found]           ` <87a8ja4g3m.wl-nomiya@galaxy.dti.ne.jp>
  0 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2016-05-28 10:26 UTC (permalink / raw)
  To: 野宮 賢 / NOMIYA Masaru; +Cc: 23368

> Date: Sat, 28 May 2016 19:17:50 +0900
> From: 野宮 賢 / NOMIYA Masaru
>  <nomiya@galaxy.dti.ne.jp>
> Cc: eliz@gnu.org, 23368@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.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#23368: Solved! (Was: Re: bug#23368: 25.0.92; xftfont.c has got a bug)
       [not found]           ` <87a8ja4g3m.wl-nomiya@galaxy.dti.ne.jp>
@ 2016-05-28 10:52             ` Eli Zaretskii
  0 siblings, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2016-05-28 10:52 UTC (permalink / raw)
  To: 野宮 賢 / NOMIYA Masaru; +Cc: 23368-done

> Date: Sat, 28 May 2016 19:44:13 +0900
> From: 野宮 賢 / NOMIYA Masaru
>  <nomiya@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.





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-05-28 10:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-25  6:02 bug#23368: 25.0.92; xftfont.c has got a bug Masaru Nomiya
2016-04-25  7:31 ` Masaru Nomiya
2016-04-25  8:00 ` Eli Zaretskii
2016-05-07  8:23   ` Eli Zaretskii
2016-05-09 14:45     ` handa
2016-05-16  7:52       ` Masaru Nomiya
2016-05-16 15:56         ` Eli Zaretskii
2016-05-22 16:26       ` Eli Zaretskii
2016-05-28 10:17       ` bug#23368: Solved! (Was: Re: bug#23368: 25.0.92; xftfont.c has got a bug) 野宮 賢 / NOMIYA Masaru
2016-05-28 10:26         ` Eli Zaretskii
     [not found]           ` <87a8ja4g3m.wl-nomiya@galaxy.dti.ne.jp>
2016-05-28 10:52             ` Eli Zaretskii
2016-04-25  8:02 ` bug#23368: 25.0.92; xftfont.c has got a bug fxiny
2016-04-25 23:52   ` Masaru Nomiya

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).