GNU bug report logs - #45751
[feature/native-comp] emacs keeps running 100% of CPU

Previous Next

Package: emacs;

Reported by: Édouard Debry <edouard.debry <at> gmail.com>

Date: Sat, 9 Jan 2021 23:45:02 UTC

Severity: normal

Merged with 45705

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Édouard Debry <edouard.debry <at> gmail.com>
Subject: bug#45751: closed (Re: bug#45751: [feature/native-comp] emacs
 keeps running 100% of CPU)
Date: Thu, 28 Jan 2021 08:02:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#45751: [feature/native-comp] emacs keeps running 100% of CPU

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 45751 <at> debbugs.gnu.org.

-- 
45751: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45751
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andrea Corallo <akrl <at> sdf.org>
To: akrl--- via "Bug reports for GNU Emacs, the Swiss army knife of text
 editors" <bug-gnu-emacs <at> gnu.org>
Cc: Édouard Debry <edouard.debry <at> gmail.com>,
 45751-done <at> debbugs.gnu.org
Subject: Re: bug#45751: [feature/native-comp] emacs keeps running 100% of CPU
Date: Thu, 28 Jan 2021 08:01:19 +0000
akrl--- via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> gnu.org> writes:

> Édouard Debry <edouard.debry <at> gmail.com> writes:
>
>> I noticed that when launching emacs on linux (debian buster),
>> it keeps on running 100% of the CPU and seems to gradually eat all
>> memory, approximately 1-2% every minute.
>>
>> It seems related to native compiling. In the
>> *Async-native-compile-log* I read :
>>
>> <=============================>
>> Compiling
>> /home/edouard/.emacs.d/elpa/color-theme-sanityinc-solarized-20200805.603/color-theme-sanityinc-solarized.el...
>
> Hi Édouard,
>
> with 0ffb3dfaa4 I'm now able to compile
> color-theme-sanityinc-solarized.el.
>
> Could you check works for you too?

As for me is working and no feedback was provided I'm closing this.

Happy to re-open in case.

Thanks!

  Andrea

[Message part 3 (message/rfc822, inline)]
From: Édouard Debry <edouard.debry <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [feature/native-comp] emacs keeps running 100% of CPU
Date: Sun, 10 Jan 2021 00:44:44 +0100
I noticed that when launching emacs on linux (debian buster),
it keeps on running 100% of the CPU and seems to gradually eat all
memory, approximately 1-2% every minute.

It seems related to native compiling. In the 
*Async-native-compile-log* I read :

<=============================>
Compiling 
/home/edouard/.emacs.d/elpa/color-theme-sanityinc-solarized-20200805.603/color-theme-sanityinc-solarized.el...

In color-theme-sanityinc-solarized:
color-theme-sanityinc-solarized.el:850:14: Warning: assignment to 
free
   variable ‘ansi-color-names-vector’
color-theme-sanityinc-solarized.el:851:14: Warning: assignment to 
free
   variable ‘ansi-color-faces-vector’

In end of data:
color-theme-sanityinc-solarized.el:878:1: Warning: the function
   ‘color-theme-install’ is not known to be defined.
<============================>

Furthermore "ps x" gives :
1395 pts/1    Rsl+   7:51 /usr/local/bin/emacs --batch -l 
/tmp/emacs-async-comp-color-theme-sanityinc-solarized-ENplTN.el

If I kill this process or close the *Async-native-compile-log, 
then this disappears.

I do not understand what is the trouble with this package. The 
native compilation of
this package seems to be endless.

But this could be related to the previous bug "excessive memory 
..." as I use the
same package theme on windows 10.



This bug report was last modified 4 years and 119 days ago.

Previous Next


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