Saving/Restoring Window Layout

Whenever I try to access the save/restore window layout action, the app crashes and restarts. I am using the latest version (3.553) and have restarted my machine twice.

  • Type of Mac: Macbook Pro 13" 2019, Four Thunderbolt 3 ports
  • macOS version: Big Sur 11.1
  • BetterTouchTool version: 3.553

See below for the diagnostic console report:

Date/Time:        2021-02-03 10:17:57.448 -0600
End time:         2021-02-03 10:19:56.948 -0600
OS Version:       macOS 11.1 (Build 20C69)
Architecture:     x86_64h
Report Version:   32
Incident Identifier: 1F4285E9-D0BA-4F69-B4C9-1CDECFD13D49

Data Source:      Microstackshots
Shared Cache:     467A83CB-BA86-3F07-B652-B9256C74080A slid base address 0x7fff2006b000, slide 0x6b000

Command:          BetterTouchToolAppleScriptRunner2
Path:             /Users/USER/*/BetterTouchTool.app/Contents/XPCServices/BetterTouchToolAppleScriptRunner2.xpc/Contents/MacOS/BetterTouchToolAppleScriptRunner2
Identifier:       com.hegenberg.BetterTouchToolAppleScriptRunner2
Version:          1.0 (1)
Parent:           UNKNOWN [1]
PID:              8854

Event:            wakeups
Action taken:     none
Wakeups:          45001 wakeups over the last 120 seconds (377 wakeups per second average), exceeding limit of 150 wakeups per second over 300 seconds
Wakeups limit:    45000
Limit duration:   300s
Wakeups caused:   45001
Wakeups duration: 120s
Duration:         119.50s
Duration Sampled: 0.00s
Steps:            1

Hardware model:   MacBookPro15,2
Active cpus:      8
Boot args:        chunklist-security-epoch=0 -chunklist-no-rev2-dev

Fan speed:        4107 rpm

Heaviest stack for the target process:
  1  start + 1 (libdyld.dylib + 87585) [0x7fff20396621]
  1  main + 94 (BetterTouchToolAppleScriptRunner2 + 7585) [0x10b6abda1]
  1  -[NSXPCListener resume] + 262 (Foundation + 529085) [0x7fff212202bd]
  1  xpc_main + 437 (libxpc.dylib + 85605) [0x7fff200c7e65]
  1  _xpc_objc_main + 825 (libxpc.dylib + 87005) [0x7fff200c83dd]
  1  -[NSRunLoop(NSRunLoop) run] + 76 (Foundation + 975748) [0x7fff2128d384]
  1  -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (Foundation + 393121) [0x7fff211fefa1]
  1  CFRunLoopRunSpecific + 563 (CoreFoundation + 521934) [0x7fff204716ce]
  1  __CFRunLoopRun + 2731 (CoreFoundation + 526418) [0x7fff20472852]
  1  __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 (CoreFoundation + 780656) [0x7fff204b0970]
  1  _dispatch_main_queue_callback_4CF + 940 (libdispatch.dylib + 64390) [0x7fff201dcb86]
  1  _dispatch_client_callout + 8 (libdispatch.dylib + 14279) [0x7fff201d07c7]
  1  _dispatch_async_and_wait_invoke + 87 (libdispatch.dylib + 67268) [0x7fff201dd6c4]
  1  _dispatch_client_callout + 8 (libdispatch.dylib + 14279) [0x7fff201d07c7]
  1  __105-[BetterTouchToolAppleScriptRunner runAppleScript:timeout:useJavaScript:presetPath:foreground:withReply:]_block_invoke.88 + 258 (BetterTouchToolAppleScriptRunner2 + 12094) [0x10b6acf3e]
  1  -[OSAScript executeAndReturnDisplayValue:error:] + 222 (OSAKit + 98210) [0x7fff6f780fa2]
  1  OSAExecute + 52 (OpenScripting + 77188) [0x7fff36442d84]
  1  AppleScriptComponent + 1676 (AppleScript + 20188) [0x7fff702fdedc]
  1  ASExecute(unsigned int, unsigned int, int, unsigned int*) + 500 (AppleScript + 35782) [0x7fff70301bc6]
  1  UASExecute(unsigned char) + 185 (AppleScript + 230415) [0x7fff7033140f]
  1  UASExecute1() + 288 (AppleScript + 230770) [0x7fff70331572]
  1  UASValue_Send(unsigned char, unsigned char, TUASClassIndex, unsigned char) + 326 (AppleScript + 397060) [0x7fff70359f04]
  1  UASActor_Send(unsigned char, unsigned char, unsigned char) + 379 (AppleScript + 186560) [0x7fff703268c0]
  1  UASRemoteSend(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char*) + 507 (AppleScript + 349668) [0x7fff7034e5e4]
  1  TUASApplication::Send(TStackFrame_UASRemoteSend*, AEDesc*, AEDesc*, unsigned char, unsigned char, unsigned char) + 1591 (AppleScript + 213453) [0x7fff7032d1cd]
  1  ComponentSend(AEDesc const*, AEDesc*, int, int) + 485 (AppleScript + 141634) [0x7fff7031b942]
  1  aeSend + 355 (AE + 163912) [0x7fff26268048]
  1  AESendMessage + 3045 (AE + 116982) [0x7fff2625c8f6]
  1  ??? (AE + 52953) [0x7fff2624ced9]
  1  AEVTsysoexec + 2564 (StandardAdditions + 106711) [0x10dd6e0d7]
  1  CheckEventQueueForUserCancel + 21 (HIToolbox + 643488) [0x7fff287621a0]
  1  PullEventsFromWindowServerOnConnection(unsigned int, unsigned char, __CFMachPortBoost*) + 45 (HIToolbox + 255899) [0x7fff2870379b]
  1  SLEventCreateNextEvent + 9 (SkyLight + 1051881) [0x7fff24ceece9]
  1  SLSGetNextEventRecordInternal + 278 (SkyLight + 2793182) [0x7fff24e97ede]
  1  CGSSnarfAndDispatchDatagrams + 169 (SkyLight + 40694) [0x7fff24bf7ef6]
  1  mach_msg_trap + 10 (libsystem_kernel.dylib + 3710) [0x7fff20346e7e]


Powerstats for:   BetterTouchToolAppleScriptRunner2 ($(PRODUCT_NAME)) [8854] [unique pid 108302]
UUID:             D6C6B032-ACD6-357A-B4A2-354BFB7A7939
App Version:      1.0
Build Version:    1
Path:             /Users/USER/*/BetterTouchTool.app/Contents/XPCServices/BetterTouchToolAppleScriptRunner2.xpc/Contents/MacOS/BetterTouchToolAppleScriptRunner2
Architecture:     x86_64
Parent:           UNKNOWN [1]
UID:              501
Sudden Term:      Tracked (allows idle exit)
Footprint:        6536 KB
Start time:       2021-02-03 10:19:56.276 -0600
End time:         2021-02-03 10:19:56.276 -0600
Num samples:      1 (100%)
Primary state:    1 samples Non-Frontmost App, Non-Suppressed, Kernel mode, Effective Thread QoS User Initiated, Requested Thread QoS User Initiated, Override Thread QoS User Initiated
User Activity:    0 samples Idle, 1 samples Active
Power Source:     0 samples on Battery, 1 samples on AC
  1  start + 1 (libdyld.dylib + 87585) [0x7fff20396621]
    1  main + 94 (BetterTouchToolAppleScriptRunner2 + 7585) [0x10b6abda1]
      1  -[NSXPCListener resume] + 262 (Foundation + 529085) [0x7fff212202bd]
        1  xpc_main + 437 (libxpc.dylib + 85605) [0x7fff200c7e65]
          1  _xpc_objc_main + 825 (libxpc.dylib + 87005) [0x7fff200c83dd]
            1  -[NSRunLoop(NSRunLoop) run] + 76 (Foundation + 975748) [0x7fff2128d384]
              1  -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (Foundation + 393121) [0x7fff211fefa1]
                1  CFRunLoopRunSpecific + 563 (CoreFoundation + 521934) [0x7fff204716ce]
                  1  __CFRunLoopRun + 2731 (CoreFoundation + 526418) [0x7fff20472852]
                    1  __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 (CoreFoundation + 780656) [0x7fff204b0970]
                      1  _dispatch_main_queue_callback_4CF + 940 (libdispatch.dylib + 64390) [0x7fff201dcb86]
                        1  _dispatch_client_callout + 8 (libdispatch.dylib + 14279) [0x7fff201d07c7]
                          1  _dispatch_async_and_wait_invoke + 87 (libdispatch.dylib + 67268) [0x7fff201dd6c4]
                            1  _dispatch_client_callout + 8 (libdispatch.dylib + 14279) [0x7fff201d07c7]
                              1  __105-[BetterTouchToolAppleScriptRunner runAppleScript:timeout:useJavaScript:presetPath:foreground:withReply:]_block_invoke.88 + 258 (BetterTouchToolAppleScriptRunner2 + 12094) [0x10b6acf3e]
                                1  -[OSAScript executeAndReturnDisplayValue:error:] + 222 (OSAKit + 98210) [0x7fff6f780fa2]
                                  1  OSAExecute + 52 (OpenScripting + 77188) [0x7fff36442d84]
                                    1  AppleScriptComponent + 1676 (AppleScript + 20188) [0x7fff702fdedc]
                                      1  ASExecute(unsigned int, unsigned int, int, unsigned int*) + 500 (AppleScript + 35782) [0x7fff70301bc6]
                                        1  UASExecute(unsigned char) + 185 (AppleScript + 230415) [0x7fff7033140f]
                                          1  UASExecute1() + 288 (AppleScript + 230770) [0x7fff70331572]
                                            1  UASValue_Send(unsigned char, unsigned char, TUASClassIndex, unsigned char) + 326 (AppleScript + 397060) [0x7fff70359f04]
                                              1  UASActor_Send(unsigned char, unsigned char, unsigned char) + 379 (AppleScript + 186560) [0x7fff703268c0]
                                                1  UASRemoteSend(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char*) + 507 (AppleScript + 349668) [0x7fff7034e5e4]
                                                  1  TUASApplication::Send(TStackFrame_UASRemoteSend*, AEDesc*, AEDesc*, unsigned char, unsigned char, unsigned char) + 1591 (AppleScript + 213453) [0x7fff7032d1cd]
                                                    1  ComponentSend(AEDesc const*, AEDesc*, int, int) + 485 (AppleScript + 141634) [0x7fff7031b942]
                                                      1  aeSend + 355 (AE + 163912) [0x7fff26268048]
                                                        1  AESendMessage + 3045 (AE + 116982) [0x7fff2625c8f6]
                                                          1  ??? (AE + 52953) [0x7fff2624ced9]
                                                            1  AEVTsysoexec + 2564 (StandardAdditions + 106711) [0x10dd6e0d7]
                                                              1  CheckEventQueueForUserCancel + 21 (HIToolbox + 643488) [0x7fff287621a0]
                                                                1  PullEventsFromWindowServerOnConnection(unsigned int, unsigned char, __CFMachPortBoost*) + 45 (HIToolbox + 255899) [0x7fff2870379b]
                                                                  1  SLEventCreateNextEvent + 9 (SkyLight + 1051881) [0x7fff24ceece9]
                                                                    1  SLSGetNextEventRecordInternal + 278 (SkyLight + 2793182) [0x7fff24e97ede]
                                                                      1  CGSSnarfAndDispatchDatagrams + 169 (SkyLight + 40694) [0x7fff24bf7ef6]
                                                                        1  mach_msg_trap + 10 (libsystem_kernel.dylib + 3710) [0x7fff20346e7e]

  Binary Images:
           0x10b6aa000 -        0x10b6b5fff  com.hegenberg.BetterTouchToolAppleScriptRunner2 1.0 (1) <D6C6B032-ACD6-357A-B4A2-354BFB7A7939>  /Users/USER/*/BetterTouchTool.app/Contents/XPCServices/BetterTouchToolAppleScriptRunner2.xpc/Contents/MacOS/BetterTouchToolAppleScriptRunner2
           0x10dd54000 -        0x10dd83fff  com.apple.osax.standardadditions 2.7 (401)              <9596062F-AA1A-36AE-A416-03B1484934F5>  /System/Library/ScriptingAdditions/StandardAdditions.osax/Contents/MacOS/StandardAdditions
        0x7fff200b3000 -     0x7fff200e8fff  libxpc.dylib (2038.40.38)                               <003A027D-9CE3-3794-A319-88495844662D>  /usr/lib/system/libxpc.dylib
        0x7fff201cd000 -     0x7fff20211fff  libdispatch.dylib (1271.40.12)                          <CEF1460B-1362-381A-AE69-6BCE2D8C215B>  /usr/lib/system/libdispatch.dylib
        0x7fff20346000 -     0x7fff20374fff  libsystem_kernel.dylib (7195.60.75)                     <4BD61365-29AF-3234-8002-D989D295FDBB>  /usr/lib/system/libsystem_kernel.dylib
        0x7fff20381000 -     0x7fff203bbfff  libdyld.dylib (832.7.1)                                 <2F8A14F5-7CB8-3EDD-85EA-7FA960BBC04E>  /usr/lib/system/libdyld.dylib
        0x7fff203f2000 -     0x7fff2088dfff  com.apple.CoreFoundation 6.9 (1770.300)                 <EAC298C4-CE3E-3551-A832-42ED9A13EF74>  /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
        0x7fff2119f000 -     0x7fff21502fff  com.apple.Foundation 6.9 (1770.300)                     <44A7115B-7FF0-3300-B61B-0FA71B63C715>  /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
        0x7fff24bee000 -     0x7fff24f53fff  com.apple.SkyLight 1.600.0 (569.6)                      <35876384-45F9-3C62-995B-38EC31BE75D7>  /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight
        0x7fff26240000 -     0x7fff262b5fff  com.apple.AE 918.0.1 (918.0.1)                          <3A298716-A130-345E-B8FF-74194849015E>  /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
        0x7fff286c5000 -     0x7fff289c4fff  com.apple.HIToolbox 2.1.1 (1060.4)                      <93518490-429F-3E31-8344-15D479C2F4CE>  /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
        0x7fff36430000 -     0x7fff3644bfff  com.apple.openscripting 1.7 (190)                       <D0B98DF9-7A61-3810-AE81-2F870DCC2AC0>  /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
        0x7fff6f769000 -     0x7fff6f79afff  com.apple.OSAKit 1.5 (112)                              <68951244-CF62-3D3C-BC55-583A3B6A35A2>  /System/Library/Frameworks/OSAKit.framework/Versions/A/OSAKit
        0x7fff702f9000 -     0x7fff7037bfff  com.apple.applescript 2.7 (401)                         <4F12DB4F-3915-3CBD-89FE-2841DFBD6E52>  /System/Library/PrivateFrameworks/AppleScript.framework/Versions/A/AppleScript

Any suggestions for what could be going wrong here? Are there details that I should have provided in the initial post that were omitted?

Really struggling to figure out what I'm doing wrong here. Any help would be very much appreciated (I'm not opposed to sponsoring a "bounty" reward as it seems like I'm the only one having this issue?)

It might be some specific window or something BTT can't handle. But the crashlog is very weird, could you check whether there are maybe more crashlogs? Do they all look the same?

Could you check whether it works if you only open some basic apps like Safari or Textedit?

Just to close the loop in case others experience the same issue--I reverted back to the old UI and the error seems to have gone away