BTT Crash when creating new triggers

Hi, I stumbled onto a bug, BTT keeps crashing when ever I create a new trigger and try to add an action.

Describe the bug
I'm trying to create a new group with several triggers using for instance when pressing the touch bar button it registers as Q. But it crashes every couple of clicks when I go to add an action. Once I restart it it works until the next trigger is created

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

Device information:
its in the crashlog below.

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

Date/Time: 2019-07-26 14:43:46.576 +0300
OS Version: Mac OS X 10.14.5 (18F132)
Report Version: 12
Bridge OS Version: 3.5 (16P5125)
Anonymous UUID:

Time Awake Since Boot: 20000 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSTextView cell]: unrecognized selector sent to instance 0x6000016638e0'
abort() called
terminating with uncaught exception of type NSException

Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff411a7cfd __exceptionPreprocess + 256
1 libobjc.A.dylib 0x00007fff6b84da17 objc_exception_throw + 48
2 CoreFoundation 0x00007fff41221b06 -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x00007fff41149b8f forwarding + 1485
4 CoreFoundation 0x00007fff41149538 _CF_forwarding_prep_0 + 120
5 BetterTouchTool 0x000000010bbec7a7 -[BTTConfigurationVC focusFirstRelevant] + 607
6 libdispatch.dylib 0x00007fff6cfce63d _dispatch_client_callout + 8
7 libdispatch.dylib 0x00007fff6cfd0de6 _dispatch_continuation_pop + 414
8 libdispatch.dylib 0x00007fff6cfdff42 _dispatch_source_invoke + 2056
9 libdispatch.dylib 0x00007fff6cfd954b _dispatch_main_queue_callback_4CF + 813
10 CoreFoundation 0x00007fff410f1cd7 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
11 CoreFoundation 0x00007fff410f1401 __CFRunLoopRun + 2289
12 CoreFoundation 0x00007fff410f08be CFRunLoopRunSpecific + 455
13 HIToolbox 0x00007fff403dc96b RunCurrentEventLoopInMode + 292
14 HIToolbox 0x00007fff403dc6a5 ReceiveNextEventCommon + 603
15 HIToolbox 0x00007fff403dc436 _BlockUntilNextEventMatchingListInModeWithFilter + 64
16 AppKit 0x00007fff3e776987 _DPSNextEvent + 965
17 AppKit 0x00007fff3e77571f -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361
18 AppKit 0x00007fff3e76f83c -[NSApplication run] + 699
19 AppKit 0x00007fff3e75ed7c NSApplicationMain + 777
20 libdyld.dylib 0x00007fff6d01b3d5 start + 1

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff6d1562c6 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff6d211bf1 pthread_kill + 284
2 libsystem_c.dylib 0x00007fff6d0c06a6 abort + 127
3 libc++abi.dylib 0x00007fff6a29c641 abort_message + 231
4 libc++abi.dylib 0x00007fff6a29c7df default_terminate_handler() + 267
5 libobjc.A.dylib 0x00007fff6b84fee3 _objc_terminate() + 97
6 libc++abi.dylib 0x00007fff6a2a819e std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fff6a2a8213 std::terminate() + 51
8 libdispatch.dylib 0x00007fff6cfce651 _dispatch_client_callout + 28
9 libdispatch.dylib 0x00007fff6cfd0de6 _dispatch_continuation_pop + 414
10 libdispatch.dylib 0x00007fff6cfdff42 _dispatch_source_invoke + 2056
11 libdispatch.dylib 0x00007fff6cfd954b _dispatch_main_queue_callback_4CF + 813
12 com.apple.CoreFoundation 0x00007fff410f1cd7 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
13 com.apple.CoreFoundation 0x00007fff410f1401 __CFRunLoopRun + 2289
14 com.apple.CoreFoundation 0x00007fff410f08be CFRunLoopRunSpecific + 455
15 com.apple.HIToolbox 0x00007fff403dc96b RunCurrentEventLoopInMode + 292
16 com.apple.HIToolbox 0x00007fff403dc6a5 ReceiveNextEventCommon + 603
17 com.apple.HIToolbox 0x00007fff403dc436 _BlockUntilNextEventMatchingListInModeWithFilter + 64
18 com.apple.AppKit 0x00007fff3e776987 _DPSNextEvent + 965
19 com.apple.AppKit 0x00007fff3e77571f -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361
20 com.apple.AppKit 0x00007fff3e76f83c -[NSApplication run] + 699
21 com.apple.AppKit 0x00007fff3e75ed7c NSApplicationMain + 777
22 libdyld.dylib 0x00007fff6d01b3d5 start + 1

Thread 1:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff6d15022a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6d15076c mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff410f1bee __CFRunLoopServiceMachPort + 328
3 com.apple.CoreFoundation 0x00007fff410f115c __CFRunLoopRun + 1612
4 com.apple.CoreFoundation 0x00007fff410f08be CFRunLoopRunSpecific + 455
5 com.apple.AppKit 0x00007fff3e77e6a6 _NSEventThread + 175
6 libsystem_pthread.dylib 0x00007fff6d20f2eb _pthread_body + 126
7 libsystem_pthread.dylib 0x00007fff6d212249 _pthread_start + 66
8 libsystem_pthread.dylib 0x00007fff6d20e40d thread_start + 13

Thread 2:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff6d15761a __select + 10
1 com.apple.CoreFoundation 0x00007fff4111f572 __CFSocketManager + 635
2 libsystem_pthread.dylib 0x00007fff6d20f2eb _pthread_body + 126
3 libsystem_pthread.dylib 0x00007fff6d212249 _pthread_start + 66
4 libsystem_pthread.dylib 0x00007fff6d20e40d thread_start + 13

Thread 3:
0 libsystem_kernel.dylib 0x00007fff6d15022a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6d15076c mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff410f1bee __CFRunLoopServiceMachPort + 328
3 com.apple.CoreFoundation 0x00007fff410f115c __CFRunLoopRun + 1612
4 com.apple.CoreFoundation 0x00007fff410f08be CFRunLoopRunSpecific + 455
5 com.apple.CoreFoundation 0x00007fff410f06d2 CFRunLoopRun + 40
6 com.apple.MultitouchSupport.framework 0x00007fff5fc3e56a mt_ThreadedMTEntry + 71
7 libsystem_pthread.dylib 0x00007fff6d20f2eb _pthread_body + 126
8 libsystem_pthread.dylib 0x00007fff6d212249 _pthread_start + 66
9 libsystem_pthread.dylib 0x00007fff6d20e40d thread_start + 13

Thread 4:
0 libsystem_pthread.dylib 0x00007fff6d20e3f0 start_wqthread + 0

Thread 5:
0 libsystem_pthread.dylib 0x00007fff6d20e3f0 start_wqthread + 0

Thread 6:
0 libsystem_pthread.dylib 0x00007fff6d20e3f0 start_wqthread + 0

Thread 7:
0 libsystem_pthread.dylib 0x00007fff6d20e3f0 start_wqthread + 0

Thread 8:
0 libsystem_pthread.dylib 0x00007fff6d20e3f0 start_wqthread + 0

Thread 9:
0 libsystem_pthread.dylib 0x00007fff6d20e3f0 start_wqthread + 0

Thread 10:
0 libsystem_pthread.dylib 0x00007fff6d20e3f0 start_wqthread + 0

Thread 11:
0 libsystem_pthread.dylib 0x00007fff6d20e3f0 start_wqthread + 0

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00000001167755c0 rcx: 0x00007ffee40d6cd8 rdx: 0x0000000000000000
rdi: 0x0000000000000307 rsi: 0x0000000000000006 rbp: 0x00007ffee40d6d10 rsp: 0x00007ffee40d6cd8
r8: 0x00007ffee40d6ba0 r9: 0x00007ffee40d6d70 r10: 0x0000000000000000 r11: 0x0000000000000206
r12: 0x0000000000000307 r13: 0x0000003000000008 r14: 0x0000000000000006 r15: 0x000000000000002d
rip: 0x00007fff6d1562c6 rfl: 0x0000000000000206 cr2: 0x00007fffa3981188

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 9191
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=580.8M resident=0K(0%) swapped_out_or_unallocated=580.8M(100%)
Writable regions: Total=1.0G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.0G(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 1408K 8
Activity Tracing 256K 1
CG image 10.0M 88
CoreAnimation 335.2M 323
CoreData Object IDs 4100K 2
CoreGraphics 8K 1
CoreImage 244K 25
CoreUI image data 3588K 37
CoreUI image file 468K 9
Foundation 20K 2
Image IO 1352K 64
Kernel Alloc Once 8K 1
MALLOC 270.0M 102
MALLOC guard page 48K 11
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
Memory Tag 242 12K 1
Memory Tag 251 12K 1
SQLite page cache 960K 14
STACK GUARD 56.0M 12
Stack 13.6M 14
VM_ALLOCATE 156K 21
__DATA 56.3M 453
__FONT_DATA 4K 1
__LINKEDIT 233.5M 15
__TEXT 347.3M 453
__UNICODE 564K 1
mapped file 247.1M 135
shared memory 676K 15
=========== ======= =======
TOTAL 1.9G 1811
TOTAL, minus reserved VM space 1.5G 1811

Model: MacBookPro15, Intel Core i5, 2.3 GHz, 8 GB

thanks for the crashreport. I'm not sure why it crashes, but I know how to fix it, so I'll add an extra check there later today.

Do you know whether this happens right after pressing enter or after double-clicking a trigger? Or does it seem to be random?

I didnt pay enough attention. I'll attempt to recreate the problem and see if I can pinpoint it.

Edit: of course once I started trying to make it crash it doesnt want to crash...