Anyone else seeing high CPU performance issues on MacOS 10.14 Mojave?

614 views
Skip to first unread message

Brad McCarty

unread,
Oct 3, 2018, 3:31:29 PM10/3/18
to golden-cheetah-users
I'm seeing very poor performance after upgrading to Mojave (MacOS 10.14).  I was running the dev build v3.5-DEV1806 when I upgraded to Mojave and I'm pretty sure that's when the problem started.  Unfortunately I also upgraded to the latest dev build v3.5-DEV1810 just afterwards so I'm not 100% sure the previous dev build was bad or not.

However when running both Mojave and v3.5-DEV1810 I definitely see a very high CPU usage at various points using GC.

- Launch takes about 30-45 secs
- Importing a new activity, the file picker window takes maybe 20 secs to appear
- Switching to the Trends view is the worse case, it takes almost 5 mins to switch view and meanwhile my Macbook is virtually unusable due to the CPU usage.

Once the Trend view does launch it is very responsive however.  My non-scientific hypothesis is that it's when GC is trying to do file operations that this issue happens.

Anyone else seeing this?

Thanks
Brad

Chris Cleeland

unread,
Oct 3, 2018, 3:35:02 PM10/3/18
to mcc...@gmail.com, golden-cheetah-users
What did you upgrade *from*?

--
_______________________________________________
Golden-Cheetah-Users mailing list
golden-che...@googlegroups.com
http://groups.google.com/group/golden-cheetah-users?hl=en
---
You received this message because you are subscribed to the Google Groups "golden-cheetah-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golden-cheetah-u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Chris Cleeland

Brad McCarty

unread,
Oct 3, 2018, 3:48:26 PM10/3/18
to golden-cheetah-users
I was running the latest update of High Sierra, not sure exactly what the full version numbers were.
To unsubscribe from this group and stop receiving emails from it, send an email to golden-cheetah-users+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Chris Cleeland

Mark Liversedge

unread,
Oct 3, 2018, 5:16:36 PM10/3/18
to golden-cheetah-users
1810 vs 1806 is mostly about the CP plot.
When loading and switching to trends view metrics and meanmax aggregates are computed if they are out of date.

Are you seeing the thin progress indicator line at the top of the window at startup ?

Mark

Brad McCarty

unread,
Oct 4, 2018, 12:33:12 PM10/4/18
to golden-cheetah-users
Thanks for your help, here's some more detail about what I'm seeing:

- I launch GC, nothing happens for about 5 secs and system freezes.
- Then I see the normal small launch progress percentage dialog box which counts up to 100%.   Then my system hangs again for about 20 secs with my MacOS desktop unresponsive.
- After that 30 secs, I see the Activities view.  Everything there is very responsive and behaves normally; I can select the various tabs for that activity and I can switch quickly between activities normally.

When I try to import an activity by selecting Menu Activity -> Import from file.  The MacOS file picker window launches but hangs (half-launched and semi-transparent) during the launch animation for about 10 secs and then finally fully displays.  When I import an activity from a file at that point it behaves normally.

The really bad news is when I try to switch to Trends view by clicking Trends button, my entire system completely hangs and is unresponsive for about 5 mins with only very short <1 sec intervals where some other window event can take place.   I don't see the small blue progress bar at the top of the window (I know which one you're referring to)

FWIW, I tried running the "top" command in a terminal window and in the short breaks when it can refresh I see the process using the most CPU is "tccd", which I read has something to do with managing permissions to access my contacts.  (Not sure if that's relevant or not).

Mark Liversedge

unread,
Oct 4, 2018, 3:34:37 PM10/4/18
to golden-cheetah-users
I will update to 11.14 and see if I can recreate.

Brad McCarty

unread,
Oct 10, 2018, 8:59:44 PM10/10/18
to golden-cheetah-users
FYI, I tried restoring from a backup using build v3.5-DEV 1810.  But the problem still persists.  After the restore finishes, when I click on the Trends window my system hangs for almost 5 mins.  At this point I'm not sure if it's a high CPU issue or a different sort of system-level locking or contention issue.

Brad McCarty

unread,
Oct 10, 2018, 9:46:46 PM10/10/18
to golden-cheetah-users
Another data point:

I tried a fresh install of the older DEV version v3.5-DEV 1806.   First I removed the entire ~/Library/GoldenCheetah directory.  Downloaded and installed the v3.5-DEV 1806 version.  Started it up and created a new athlete.

Then I imported only 3 activities which worked OK.

Then clicked on the Trends window and it still hangs but for less time (presumably because there are now only 3 activities).

Closed GC and re-launched it.   Then it hangs during launch briefly and when the activities window shows I switch to Trends and it hangs again.  By "hang" I mean that it hangs my MacBook not just the GC process.

So it appears to me a MacOS incompatibility issues of some sort.

Brad




On Wednesday, October 3, 2018 at 12:31:29 PM UTC-7, Brad McCarty wrote:

TJDunnigan

unread,
Oct 11, 2018, 9:53:04 AM10/11/18
to golden-cheetah-users
I am running the current development build on 10.14 and do not see these problems.


On Wednesday, October 3, 2018 at 12:31:29 PM UTC-7, Brad McCarty wrote:

Brad McCarty

unread,
Oct 14, 2018, 11:07:06 AM10/14/18
to golden-cheetah-users
I'm curious, are you using the new dark mode for Mojave?  I saw some older bugs for QT related to dark mode.

TJDunnigan

unread,
Oct 14, 2018, 4:25:34 PM10/14/18
to golden-cheetah-users
Hi Brad,

Yes, I am using dark mode.

Brad McCarty

unread,
Oct 16, 2018, 5:40:05 PM10/16/18
to golden-cheetah-users
Are there any diagnostic tools I could run or traces to enable etc to help troubleshoot this?



On Wednesday, October 3, 2018 at 12:31:29 PM UTC-7, Brad McCarty wrote:

Brad McCarty

unread,
Oct 23, 2018, 7:28:49 PM10/23/18
to golden-cheetah-users
Just trying to give this a small bump.  Are there any hidden files, support libraries etc that I can check to see if I can get this fixed?  Python, R versions, QT files etc?

Where it stands now is that a clean install of GC (either DEV1810 or DEV1806) hangs intermittently with only a single ride loaded.  It also displays the same intermittent hangs when launching and a multi-minute hang (spinning beachball) when switching from the single activity window to the trends window.

Willing to try things to troubleshoot but I don't know what more to try at this point.   Any help would be greatly appreciated.

Thanks




On Wednesday, October 3, 2018 at 12:31:29 PM UTC-7, Brad McCarty wrote:

sanci...@gmail.com

unread,
Nov 2, 2018, 5:28:25 AM11/2/18
to golden-cheetah-users
I'm having the same issue with tccd on Mojave  , both on dark and light theme. During access to tccd my MacBook Pro freezes for up to several seconds.

Another issue , but with same behavior is opening a new tab in Safari ,  my MacBook Pro freezes for 3-4 seconds , but not every time.

Mark Liversedge

unread,
Nov 2, 2018, 6:02:47 AM11/2/18
to golden-cheetah-users
What is "tccd" ?

Thanks
Mark

Chris Cleeland

unread,
Nov 2, 2018, 9:52:38 AM11/2/18
to Mark Liversedge, golden-che...@googlegroups.com

--
_______________________________________________
Golden-Cheetah-Users mailing list
golden-che...@googlegroups.com
http://groups.google.com/group/golden-cheetah-users?hl=en
---
You received this message because you are subscribed to the Google Groups "golden-cheetah-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golden-cheetah-u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Chris Cleeland

Mark Liversedge

unread,
Nov 2, 2018, 10:01:05 AM11/2/18
to Chris Cleeland, golden-che...@googlegroups.com
"The user doesn’t control access to their own private data. macOS does."

Sounds like this might be rather an issue.

Mark
--
Mark

Brad McCarty

unread,
Nov 2, 2018, 10:07:01 AM11/2/18
to golden-cheetah-users
OK, after much digging I found a fix for my problem.

tccd apparently manages privacy permissions.   So I looked through my System Preferences and under the "Accessibility" section I found GoldenCheetah as below:

prefs_with_GC.jpg



So I removed it using the "-" button.  Restarted GC and that was all it took to fix my problem.

I'm very happy to have GC working again!

Brad




On Wednesday, October 3, 2018 at 12:31:29 PM UTC-7, Brad McCarty wrote:

Mark Liversedge

unread,
Nov 2, 2018, 10:37:09 AM11/2/18
to golden-cheetah-users
Brilliant -- will add to FAQ, are you ok If I use your screenshot?

Brad McCarty

unread,
Nov 2, 2018, 10:45:52 AM11/2/18
to golden-cheetah-users
Absolutely feel free.

I do want to add one additional note which may turn out to be relevant down the line.

Before I had removed GC from the Accessibility section I had first tried to repair permissions using the steps outlined here:  https://support.apple.com/en-us/HT203538 but that did NOT fix the problem by itself.  So that's when I started looking at my System Prefs.

I just wanted to mention it because it's possible that the combination of both steps is relevant in another situation.

Brad

Brad McCarty

unread,
Nov 2, 2018, 3:36:08 PM11/2/18
to golden-cheetah-users
So the plot thickens....

After removing the GC entry in System Preferences -> Accessibility I restarted GC and went to the Trends view.   Everything is working normally at this point.

I select my xPower Trend chart.
Click in the upper right search box and in the drop down I pick Column Chooser
The column chooser window pops up and I scroll down to "Workout Code" and click on it.

At that point MacOS pops up a dialog asking if I want to grant Accessibility access to GC.  See screen shot.

GC_Access_prompt.jpg




If I click Deny, there will be an entry put into System Prefs -> accessibility but with the checkbox unchecked.  See next screen shot:

GC_SysPrefs.jpg


As long as the checkbox for GC is NOT checked, GC will function normally.

As a test I quit GC, then checked the box for GC and on restarting GC it hangs per my original problem.

Again, stopping GC and unchecking the checkbox but leaving the entry in System Prefs will fix the GC hang issue.

Lesson is to click Deny when this MacOS prompt pops up.

I don't know why MacOS is prompting for this since GC seems to work fine without the Accessibility access granted.

That's all for now.

Brad









On Wednesday, October 3, 2018 at 12:31:29 PM UTC-7, Brad McCarty wrote:

TJDunnigan

unread,
Nov 5, 2018, 4:47:31 PM11/5/18
to golden-cheetah-users
I had not experienced this dialog box request while running GC on MacOS Mojave until today.

The dialog requesting Accessibility access popped-up the first time I ran GC after having upgraded to the latest version of Mojave, 10.14.1 (18B75).
 
I have not found the listing that Brad posted in the previous screen shot, however.

Brad McCarty

unread,
Nov 5, 2018, 6:21:27 PM11/5/18
to golden-cheetah-users
On my system, once the dialog requesting Accessibility access pops up, I get the GC entry in System Prefs -> Accessibility.  That's regardless of which button I click on the popup and for that matter even if I don't click either button on the popup.

From my experience GC performs normally as long as either:

1) There is NO entry in the Accessibility list for GC
OR
2) There is an entry for GC and the check box is unchecked.

Ale Martinez

unread,
Apr 5, 2019, 10:44:55 AM4/5/19
to golden-cheetah-users
Reply all
Reply to author
Forward
0 new messages