bugGNU TeXmacs - Bugs: bug #61217, CPU hog


You are not allowed to post comments on this tracker with your current authentication level.

bug #61217: CPU hog

Submitter:  ederag <ederag>
Submitted:  Fri 24 Sep 2021 06:29:24 PM UTC
Category:  Editor Priority:  5 - Normal
Item Group:  Error Status:  Wont Fix
Privacy:  Public Assigned to:  vdhoeven
Originator Name:  Open/Closed:  Closed
Release:  None Release:  2.1
Fixed Release:  None Fixed Release: 

Fri 27 Oct 2023 06:45:55 PM UTC, comment #3: 

Some precompiled binaries of TeXmacs are shipped with fontconfig, which is sometimes needed by Qt (but not TeXmacs itself).  It has been reported to me that this causes several problems: slow start-up and creation of many 'fontconfig' directories at places were you launch TeXmacs.  Maybe this is what is happening.  Maybe fontconfig even does not work well on your computer.

Joris van der Hoeven <vdhoeven>
Group administrator
Sun 21 Nov 2021 05:25:24 PM UTC, comment #2: 

Thanks a lot for the good tip. Removing
fixed it.

ederag <ederag>
Sun 21 Nov 2021 03:12:25 PM UTC, comment #1: 

I've seen once similar maxing out of a cpu after ~30s. Turns out the cause was a stupid typo I had made in some scheme code (starting a comment with : instead of ;) and which surprisingly was not triggering any visible error.

I'm not suggesting you made the exact same typo, but it could be worth trying to run texmacs with a fresh blank ~/.TeXmacs folder (just rename it before starting texmacs so as to preserve your settings).

Philippe Joyez <pjoyez>
Group Member
Fri 24 Sep 2021 06:29:24 PM UTC, original submission:  

Same symptom as the closed #36714:
after a short while, texmacs.bin brings one CPU to 100%.

Installed version 2.1
SVN revision      13558
from http://www.texmacs.org/Download/ftp/tmftp/generic/TeXmacs-2.1-C.tar.gz
System: openSUSE Leap-15.3

But this "one cpu at 100%" was also present with 1.99.17.

To reproduce:
export TEXMACS_PATH=/usr/local/build/TeXmacs-2.1-x86_64-pc-linux-gnu/TeXmacs

In the empty document window, type "a" then <ENTER>   (mandatory to see the cpu increase)
wait about 20 s
(time measured today, repeatedly, but it might have been longer some other days).
Besides, Preferences > Others > Automatically save
is "Disable", so it does not look like an autosave issue

Note: every time texmacs is launched from the terminal,

Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 65: bad alias
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
TeXmacs] With linked TrueType support

I'd be ready to perform more tests, with some guidance, if you wish.

ederag <ederag>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by vdhoeven (Posted a comment)
  • -email is unavailable- added by pjoyez (Posted a comment)
  • -email is unavailable- added by ederag (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-10-27 vdhoeven StatusNone Wont Fix
        Assigned toNone vdhoeven
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-8484.
    Corresponding source code