BTT constantly running at 100% CPU

Note: Before bug reporting, please make sure you have tried the latest (alpha) version of BetterTouchTool and that you have already tried to restart your system :-). If you encounter a crash, please attach a crash log from the macOS Console.app from the "User Diagnostic Reports" section.

Describe the bug
BTT uses full CPU at random moments.

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
all

Screenshots
If applicable, add screenshots to help explain your problem. (You can just paste or drag them here)

Device information:

  • Type of Mac: MacBook Pro 13 inch - 2019 - Four TB3 ports
  • macOS version: now Big Sur 11.1, happened on Catalina already
  • BetterTouchTool version: 3.505 (please post the exact version - not just "the latest one")

Additional information (e.g. StackTraces, related issues, screenshots, workarounds, etc.):
BTT will work for hours without issues when suddenly I notice my fans spinning up.
I have not been able to relate this to any other action or software.

To "solve" the issue I need to quit BTT, wait 10 seconds and restart it. Usually at the first or second try this resolves the issue, for a couple more hours.

I have tried several things already as suggested in this forum:

  • Disabled preference sync
  • Removed preferences not needed
  • Turned off the touchbar functions

My iMac 27 inch Late 2015 does not show these issues, even though it has the same config (since I used to have preference sync enabled). I use the same software on both.

Sample of BetterTouchTool.zip (38.3 KB)

Unfortunately that sample doesn't show anything too weird.
It seems to be a bit busy writing some logs - maybe something is going wrong there. Maybe some file permission issue or something like that.

Could you go to Help => Export Diagnostic Debug Info and send it to andreas@folivora.ai?

Maybe afterwards try to reset BTT by deleting the ~/Library/Application Support/BetterTouchTool folder (but first make sure you have an export of your setup). This should resolve any file permission problem that might be there