GNU TeXmacs - Bugs: bug #36714, CPU hogging.
You are not allowed to post comments on this tracker with your current authentication level.
bug #36714: CPU hogging.
Submitter: | Alan Grimes <alonzotg> | ||
Submitted: | Sat 23 Jun 2012 11:23:34 PM UTC | ||
Category: | Editor | Priority: | 7 - High |
Item Group: | Error | Status: | Need Info |
Privacy: | Public | Assigned to: | vdhoeven |
Originator Name: | Open/Closed: | Closed | |
Release: | None | Release: | 1.0.7.15 |
Fixed Release: | None | Fixed Release: | |
Keywords: |
Jump to the original submission
Thu 23 Mar 2017 10:02:52 PM UTC, comment #9: |
Philippe Joyez <pjoyez> |
Wed 27 Nov 2013 05:14:20 PM UTC, comment #8: Is this bug still present? Also, is the bug present in the X11 version? It might be related to the way events are being handled by Qt (e.g. permanently pulling events instead of using a clean callback or pulling, say, every second or so). |
Joris van der Hoeven <vdhoeven> |
Fri 14 Sep 2012 12:41:56 AM UTC, comment #7: Okay, here is the callgraph of pthread_getspecific. Brown is libguile (possibly indicating a widget setup issue). aqua-green is texmacs proper, green is libQtCore.so
|
Alan Grimes <alonzotg> |
Thu 13 Sep 2012 06:25:02 PM UTC, comment #6: TeXmacs does not use the STL for historical and practical reasons. (i doubt this is the reason for the CPU hogging on your machine). fast_new and fast_delete are a custom memory allocator since for small datastuctures (many lists and trees) texmacs does a custom memory management which is more efficient than malloc. ~tree() is due to the fact that the tree destructor is virtual (for a series of complex reasons). this desing decision has been evaluated and for the moment there are no plans of moving to a non-virtual class organization for trees. please note that if you do not type something then TeXmacs should take a very small amount of CPU time, all the heavy computations with trees happens at the moment of the typesetting (or loading of files). The p-thead calls are more suspicious, but from your description I cannot deduce what they are due to. Could you have some call tree to send us so that I undestand why texmacs is doing that?
|
Massimiliano Gubinelli <mgubi> |
Thu 13 Sep 2012 04:29:26 PM UTC, comment #5: Yes, the problem still persists in the version shipped with my distribution, it is the same version as in the bug discription. Compiling this manually will require a great deal of work, which I'm not quite in the mood to do right now.
|
Alan Grimes <alonzotg> |
Wed 12 Sep 2012 11:47:35 AM UTC, comment #4: Did you again experienced this bug ? |
Francois Poulain <fpoulain> |
Sat 30 Jun 2012 10:33:19 PM UTC, comment #3: I think it is a bug related to autosave, which has been fixed in the trunk. Could you please try to compile svn version and test to reproduce the bug ? |
Francois Poulain <fpoulain> |
Sun 24 Jun 2012 01:18:48 PM UTC, comment #2: The build is gentoo x64. I used the stock e-build, no monkeying.
|
Alan Grimes <alonzotg> |
Sun 24 Jun 2012 12:29:16 PM UTC, comment #1: This does not happen to me, running Linux. Already in April it did not seem to hit everybody.
|
Philippe Joyez <pjoyez> |
Sat 23 Jun 2012 11:23:34 PM UTC, original submission:
The issue noted on the mailing list back in April persists. I was in the mood to try my hand at writing a paper, so I pulled up the article template and started writing. A few minutes later, my CPU usage was at 100%. To reproduce, simply fire it up, load a document wait two minutes. It pegs a single core at 100% A core on my machine is worth about 6 billion instructions per second, so we're talking colossal wastage here.
|
Alan Grimes <alonzotg> |
Depends on the following items: None found
Items that depend on this one: None found
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 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-03-23 | pjoyez | Open/Closed | Open | Closed | |
2013-11-27 | vdhoeven | Priority | 5 - Normal | 7 - High | |
2013-11-27 | vdhoeven | Assigned to | None | vdhoeven | |
2012-09-14 | alonzotg | Attached File | - | Added pthread_getspecific_texmacs.png, #26552 | |
2012-06-24 | pjoyez | Status | None | Need Info |
Powered by Savane 3.13-3230.
Corresponding source code
There was no news about this bug for 4.5 years, even after Joris specifically asked => Looks stalled and unlikely to evolve. Closing.