BetterTouchTool constantly crashes when adjusting GoldenChaos settings

Describe the bug
Adjusing values within the GoldenChaos preset settings crashes BetterTouchTool.

Device information:

  • Type of Mac: MacBook Pro (15-inch, 2018)
  • macOS version: 11.5.2
  • BetterTouchTool version: 3.581 (1724)

Additional information (e.g. StackTraces, related issues, screenshots, workarounds, etc.):

Crash log (ordered by date/time):

To reproduce, download the latest GoldenChaos preset from here: GoldenChaos-BTT: The complete Touch Bar UI replacement

Then, open the preset configuration tool with Shift-Command-Alt-P and adjust a couple of settings. May require a couple of config changes (about 5-10 clicks or less) before BetterTouchTool crashes.

More crashes after updating to macOS 11.6 (20G165):

I can attempt to not get BTT to crash by opening the configuration window, modifying a couple of settings (about 2-3 max) and quickly closing the window right after. Doesn't work all of the time, but I've managed to dial in the settings and it actually saves them this way instead of losing them during a crash.

I've noticed that once BTT relaunches after a crash, the settings in GC is borked and some items display in the configuration window as enabled when in fact they are disabled on the actual touchbar from the previous attempt to disable them (before the crash). It's far more likely for BTT/GC to crash if I attempt to modify these borked settings again.

Can't reproduce this issue after updating to Monterey and the latest version of BTT. Marking as solved.