Keyboard bindings keep crashing in BTT 2.830

#1

Describe the bug
After upgrade to BTT 2.830, most keyboard bindings that configured in previous version cause a immediately crash of BTT, including:

  1. Hitting the keyboard binding, e.g. option + s
  2. Inputing the new key binding in new UI
  3. Selecting the keyboard binding config item in old UI

My keyboard bindings are mostly apply to global for launching or switching to specific App and controlling windows.
Only one of them do not lead to crash, which is moving current window to next screen.
It seems that App specific ( e.g. finder ) bindings could still work.

** After idling the MacBook some time, it works several times, but soon crash again.

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

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 mid 2016
  • macOS version: Mojave 10.14.4
  • BetterTouchTool version: 2.830

Additional information (e.g. StackTraces, related issues, screenshots, workarounds, etc.):
Process: BetterTouchTool [3478]
Path: /Applications/BetterTouchTool.app/Contents/MacOS/BetterTouchTool
Identifier: com.hegenberg.BetterTouchTool
Version: 2.830 (1110)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: BetterTouchTool [3478]
User ID: 501

Date/Time: 2019-05-14 13:59:20.278 +0800
OS Version: Mac OS X 10.14.4 (18E226)
Report Version: 12
Anonymous UUID: 657DB54D-CE62-FA80-CA85-3F79663E75F9

Time Awake Since Boot: 5500 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [3478]

VM Regions Near 0:
-->
__TEXT 0000000107501000-0000000107ccc000 [ 7980K] r-x/rwx SM=COW /Applications/BetterTouchTool.app/Contents/MacOS/BetterTouchTool

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x00007fff2d18e609 CFDataGetBytePtr + 10
1 com.hegenberg.BetterTouchTool 0x00000001075a4c24 createStringForKey + 68
2 com.hegenberg.BetterTouchTool 0x00000001075a499f -[BTTActions characterForKey:] + 68
3 com.hegenberg.BetterTouchTool 0x0000000107601f17 -[BTTHotKeyRegistrator shortcutRecorder:keyComboDidChange:] + 692
4 net.wafflesoftware.ShortcutRecorder.framework.Leopard 0x0000000108a0a132 -[SRRecorderControl shortcutRecorderCell:keyComboDidChange:] + 88
5 net.wafflesoftware.ShortcutRecorder.framework.Leopard 0x0000000108a0d551 -[SRRecorderCell setKeyCombo:] + 126
6 com.hegenberg.BetterTouchTool 0x00000001075503f6 -[WindowController outlineViewSelectionDidChange:] + 48
7 com.apple.CoreFoundation 0x00007fff2d218af6 CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 12
8 com.apple.CoreFoundation 0x00007fff2d218a70 ___CFXRegistrationPost_block_invoke + 63
9 com.apple.CoreFoundation 0x00007fff2d2189da _CFXRegistrationPost + 404
10 com.apple.CoreFoundation 0x00007fff2d220e88 ___CFXNotificationPost_block_invoke + 87
11 com.apple.CoreFoundation 0x00007fff2d1898d4 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1642
12 com.apple.CoreFoundation 0x00007fff2d188c87 _CFXNotificationPost + 732
13 com.apple.Foundation 0x00007fff2f401217 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
14 com.apple.AppKit 0x00007fff2a9f217a -[NSTableView _sendSelectionChangedNotificationForRows:columns:] + 228
15 com.apple.AppKit 0x00007fff2abeb285 -[NSTableView mouseDown:] + 6161
16 com.apple.AppKit 0x00007fff2abe9865 -[NSOutlineView mouseDown:] + 73
17 com.apple.AppKit 0x00007fff2aa7116f -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 5724
18 com.apple.AppKit 0x00007fff2a9a79de -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2295
19 com.apple.AppKit 0x00007fff2a9a6e9f -[NSWindow(NSEventRouting) sendEvent:] + 478
20 com.apple.AppKit 0x00007fff2a8466c3 -[NSApplication(NSEvent) sendEvent:] + 331
21 com.hegenberg.BetterTouchTool 0x0000000107740c4a -[BTTApplication sendEvent:] + 733
22 com.apple.AppKit 0x00007fff2a834ee8 -[NSApplication run] + 755
23 com.apple.AppKit 0x00007fff2a8243f0 NSApplicationMain + 777
24 libdyld.dylib 0x00007fff5962e3d5 start + 1

BetterTouchTool_2019-05-14-140847_Goldlin-MacBook-Pro.crash (80.7 KB)

Note: Before bug reporting, please make sure you have the latest 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.

0 Likes

#2

Adding new keyboard binding would also lead to a crash, but adding others(e.g. trackpad) would not.

0 Likes

#3

thanks for reporting. You can use the old UI for now, I'll look into this later and try to find what causes this.
//edit: ah sorry that doesn't seem to help in your case.

0 Likes

#4

What kind of keyboard layout / language are you using?

//edit: I found the issue, fixed in v2.831

1 Like

#5

Thanks for the fixing!
I found that I can't live without BTT even one minute. :rofl:

0 Likes