Touchbar exception thrown in several applications causing them to crash
I have a MacBook Pro 2016 with Touchbar
Specs:
CPU: 2.6 GHz Intel core i7
Memory: 16 GB 2133 MHz LPDDR3
Graphics: Intel HD Graphics 530 1536 MB
Harddrive: 512 GB Solid State
I keep getting this error in applications and it has caused several crashes. Often the application has to be running about 5-10 minutes before getting the error. But after getting the error it seems to occur more frequently. I believe it has something to do with the touchbar. I have tried to read the error message because I do not understand what exactly is going wrong.
R is one of the application I use which does not crash when the error occurs. One of the applications I use for school crashes because of the issue and it has become a huge nuisance.
Can someone tell me what is going wrong here and (more importantly) how to fix it?
Thanks!
IMKInputSession presentFunctionRowItemTextInputViewWithEndpoint:completionHandler: : [self textInputContext]=0x6000000ac1e0 *NO* NSRemoteViewController to client, NSError=Error Domain=NSCocoaErrorDomain Code=4099 "The connection from pid 0 was invalidated from this process." UserInfo={NSDebugDescription=The connection from pid 0 was invalidated from this process.}, com.apple.inputmethod.EmojiFunctionRowItem
MacBook Pro TouchBar and Touch ID, macOS Sierra (10.12.5)