Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

IMKInputSession presentFunctionRowItemTextInputViewWithEndpoint:completionHandler #10630

Closed
daviddias opened this issue Aug 22, 2017 · 2 comments

Comments

@daviddias
Copy link

Me and @jonathansampson saw brave throwing the following error while doing -- ipfs-inactive#1 (comment) -- :

2017-08-22 17:10:10.028 Brave[84551:16432895] IMKClient Stall detected, *please Report* your user scenario attaching a spindump (or sysdiagnose) that captures the problem - (imkxpc_presentFunctionRowItemTextInputViewWithEndpoint:reply:) block performed very slowly (15.91 secs).
2017-08-22 17:10:10.030 Brave[84551:16432895] IMKClient Stall detected, *please Report* your user scenario attaching a spindump (or sysdiagnose) that captures the problem - (imkxpc_presentFunctionRowItemTextInputViewWithEndpoint:reply:) block performed very slowly (11.19 secs).
2017-08-22 17:10:10.049 Brave[84551:16432895] *** Assertion failure in -[NSRemoteView informAuxServiceOfSelf], /Library/Caches/com.apple.xbs/Sources/ViewBridge/ViewBridge-283/NSRemoteView.m:3207
2017-08-22 17:10:10.054 Brave[84551:16432895] IMKInputSession presentFunctionRowItemTextInputViewWithEndpoint:completionHandler: : [self textInputContext]=0x0 *NO*NSRemoteViewController to client, NSError=Error Domain=com.apple.ViewBridge Code=8 "(null)" UserInfo={com.apple.ViewBridge.error.hint=__38-[NSRemoteView _advanceToConfigPhase:]_block_invoke.2466 caught NSInternalInconsistencyException '<NSRemoteView: 0x7fcb14846b20> failed to rendezvous via aux service' with backtrace (
        0   CoreFoundation                      0x00007fffaed252cb __exceptionPreprocess + 171
        1   libobjc.A.dylib                     0x00007fffc3b3548d objc_exception_throw + 48
        2   CoreFoundation                      0x00007fffaed2a042 +[NSException raise:format:arguments:] + 98
        3   Foundation                          0x00007fffb0772be0 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
        4   ViewBridge                          0x00007fffc258ab34 -[NSRemoteViewinformAuxServiceOfSelf] + 345
        5   ViewBridge                          0x00007fffc258b47e -[NSRemoteView_finishAdvanceToConfigPhaseWithContextID:andServiceViewSize:andOffset:] + 685
        6   ViewBridge                          0x00007fffc259f298 __38-[NSRemoteView _advanceToConfigPhase:]_block_invoke.2466 + 103
        7   CoreFoundation                      0x00007fffaec98b8c __invoking___ + 140
        8   CoreFoundation                      0x00007fffaec98a11 -[NSInvocationinvoke] + 289
        9   ViewBridge                          0x00007fffc25c6579 withHintInProgress + 487
        10  ViewBridge                          0x00007fffc25c62b0 __deferNSXPCInvocationOntoMainThread_block_invoke_2 + 233
        11  ViewBridge                          0x00007fffc254a459 +[NSViewServiceApplication withHostPID:invoke:] + 46
        12  ViewBridge                          0x00007fffc25c6173 __deferNSXPCInvocationOntoMainThread_block_invoke + 179
        13  ViewBridge                          0x00007fffc25c5d67 __deferBlockOntoMainThread_block_invoke_2 + 544
        14  CoreFoundation                      0x00007fffaecbb17c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
        15  CoreFoundation                      0x00007fffaec9bf84 __CFRunLoopDoBlocks + 356
        16  CoreFoundation                      0x00007fffaec9bac6 __CFRunLoopRun+ 1878
        17  CoreFoundation                      0x00007fffaec9b114 CFRunLoopRunSpecific + 420
        18  HIToolbox                           0x00007fffae1fbebc RunCurrentEventLoopInMode + 240
        19  HIToolbox                           0x00007fffae1fbcf1 ReceiveNextEventCommon + 432
        20  HIToolbox                           0x00007fffae1fbb26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
        21  AppKit                              0x00007fffac794a54 _DPSNextEvent + 1120
        22  AppKit                              0x00007fffacf107ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
        23  AppKit                              0x00007fffac7893db -[NSApplication run] + 926
        24  Brave Framework                     0x0000000107a6383e _ZN2v88internal29InterpreterDispatchDescriptor26InitializePlatformSpecificEPNS0_27CallInterfaceDescriptorDataE + 5639598
        25  Brave Framework                     0x0000000107a6223c _ZN2v88internal29InterpreterDispatchDescriptor26InitializePlatformSpecificEPNS0_27CallInterfaceDescriptorDataE + 5633964
        26  Brave Framework                     0x0000000107a7e7f3 _ZN2v88internal29InterpreterDispatchDescriptor26InitializePlatformSpecificEPNS0_27CallInterfaceDescriptorDataE + 5750115
        27  Brave Framework                     0x000000010681846f ChromeMain + 4526383
        28  Brave Framework                     0x0000000106818290 ChromeMain + 4525904
        29  Brave Framework                     0x000000010681aac2 ChromeMain + 4536194
        30  Brave Framework                     0x00000001068141ac ChromeMain + 4509292
        31  Brave Framework                     0x0000000107a24ffb _ZN2v88internal29InterpreterDispatchDescriptor26InitializePlatformSpecificEPNS0_27CallInterfaceDescriptorDataE + 5383531
        32  Brave Framework                     0x0000000108d91c72 _ZN2v88internal29InterpreterDispatchDescriptor26InitializePlatformSpecificEPNS0_27CallInterfaceDescriptorDataE + 25752034
        33  Brave Framework                     0x0000000107a243d4 _ZN2v88internal29InterpreterDispatchDescriptor26InitializePlatformSpecificEPNS0_27CallInterfaceDescriptorDataE + 5380420
        34  Brave Framework                     0x00000001063c73cd ChromeMain + 141
        35  Brave                               0x0000000102b15dba main + 522
        36  libdyld.dylib                       0x00007fffc441b235 start + 1
        37  ???                                 0x0000000000000008 0x0 + 8
), com.apple.ViewBridge.error.description=NSViewBridgeExceptionError}, com.apple.inputmethod.EmojiFunctionRowItem
An uncaught exception occurred in the main process Uncaught Exception:

I haven't been able to reproduce it again, but it happen when the IPFS extension was loaded without adding the CSP clause for unsafe-eval.

@jonathansampson
Copy link
Collaborator

@diasdavid Since this can no longer be reproduced, would you be okay with us closing? Happy to open again later (over in github.com/brave/muon) should we encounter the issue again.

@daviddias
Copy link
Author

Sounds good :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants