Skip to content

Tons of errors when typing #138

Closed
Closed

Description

@nilFinx

All same error, just repeated every key press or something similar.

2026-08-24 16:25:22.537 Project[56663:d07] -[__NSCFString _getValue:forType:]: unrecognized selector sent to instance 0x7fdd67b3c9c0
2026-08-24 16:25:22.542 Project[56663:d07] (
	0   CoreFoundation                      0x00007fff89f1425c __exceptionPreprocess + 172
	1   libobjc.A.dylib                     0x00007fff83dbfe75 objc_exception_throw + 43
	2   CoreFoundation                      0x00007fff89f1712d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
	3   CoreFoundation                      0x00007fff89e72272 ___forwarding___ + 1010
	4   CoreFoundation                      0x00007fff89e71df8 _CF_forwarding_prep_0 + 120
	5   CoreFoundation                      0x00007fff89dee239 CFNumberGetValue + 265
	6   CoreText                            0x00007fff8913b4b6 _ZN5TFont9SetExtrasEPK18__CTFontDescriptor + 186
	7   CoreText                            0x00007fff8913ac74 _ZN5TFontC2EPK18__CTFontDescriptordPK17CGAffineTransformS2_ + 282
	8   CoreText                            0x00007fff89137aae CTFontCreateWithFontDescriptor + 114
	9   WebCore                             0x0000000113ffa8f9 CTFontCreateWithFontDescriptor + 105
	10  WebCore                             0x0000000116729431 _ZNK7WebCore13InstalledFont14PostScriptFont8toCTFontEd + 145
	11  WebCore                             0x0000000116729547 _ZNK7WebCore13InstalledFont8toCTFontEv + 119
	12  WebCore                             0x0000000115ae0b23 _ZN7WebCoreL14toNSDictionaryERKN3WTF7HashMapINS0_6StringENS_16AttributedString14AttributeValueENS0_11DefaultHashIS2_EENS0_10HashTraitsIS2_EENS7_IS4_EENS0_15HashTableTraitsELNS0_17ShouldValidateKeyE1ENS0_10FastMallocEEERNS1_INS0_23ObjectIdentifierGenericINS_31AttributedStringTextTableIDTypeENS0_38ObjectIdentifierMainThreadAccessTraitsIyEEyEENS0_9RetainPtrI11NSTextTableEENS5_ISK_EENS7_ISK_EENS7_ISN_EESA_LSB_1ESC_EERNS1_INSG_INS_36AttributedStringTextTableBlockIDTypeESJ_yEENSL_I16NSTextTableBlockEENS5_ISU_EENS7_ISU_EENS7_ISW_EESA_LSB_1ESC_EERNS1_INSG_INS_30AttributedStringTextListIDTypeESJ_yEENSL_I10NSTextListEENS5_IS13_EENS7_IS13_EENS7_IS15_EESA_LSB_1ESC_EE + 1539
	13  WebCore                             0x0000000115ae2772 _ZNK7WebCore16AttributedString18nsAttributedStringEv + 274
	14  WebKit                              0x00000001122db512 -[WebHTMLView(WebNSTextInputSupport) attributedSubstringFromRange:] + 226
	15  WebKit                              0x00000001122daf7b -[WebHTMLView(WebNSTextInputSupport) textStorage] + 43
	16  AppKit                              0x00007fff8b60211d -[NSTextInputContext attributedString] + 75
	17  AppKit                              0x00007fff8afe5043 -[NSTextInputContext handleTSMEvent:] + 1818
	18  AppKit                              0x00007fff8afe4905 _NSTSMEventHandler + 205
	19  HIToolbox                           0x00007fff837eb1d4 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 892
	20  HIToolbox                           0x00007fff837ea787 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 385
	21  HIToolbox                           0x00007fff837fe880 SendEventToEventTarget + 40
	22  HIToolbox                           0x00007fff8383fd0d SendTSMEvent + 33
	23  HIToolbox                           0x00007fff839ed5ff SendTextInputEvent + 1028
	24  HIToolbox                           0x00007fff83a3889c -[IMKInputSession _copyUniCharsForRange:intoBuffer:ofLength:] + 268
	25  HIToolbox                           0x00007fff83a3896b -[IMKInputSession _coreAttributesFromRange:whichAttributes:actualRange:] + 137
	26  HIToolbox                           0x00007fff83a39a5c -[IMKInputSession attributedSubstringFromRange:] + 89
	27  CoreFoundation                      0x00007fff89dff9ac __invoking___ + 140
	28  CoreFoundation                      0x00007fff89dff814 -[NSInvocation invoke] + 308
	29  CoreFoundation                      0x00007fff89ea2466 -[NSInvocation invokeWithTarget:] + 54
	30  CoreFoundation                      0x00007fff89e72044 ___forwarding___ + 452
	31  CoreFoundation                      0x00007fff89e71df8 _CF_forwarding_prep_0 + 120
	32  CoreFoundation                      0x00007fff89dff9ac __invoking___ + 140
	33  CoreFoundation                      0x00007fff89dff814 -[NSInvocation invoke] + 308
	34  Foundation                          0x00007fff88184367 -[NSConnection dispatchInvocation:] + 135
	35  Foundation                          0x00007fff8818402d -[NSConnection handleRequest:sequence:] + 1434
	36  Foundation                          0x00007fff8812b370 -[NSConnection handlePortCoder:] + 652
	37  Foundation                          0x00007fff8812aca8 -[NSConnection dispatchWithComponents:] + 50
	38  Foundation                          0x00007fff8810f558 __NSFireMachPort + 257
	39  CoreFoundation                      0x00007fff89e459c4 __CFMachPortPerform + 388
	40  CoreFoundation                      0x00007fff89e45829 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
	41  CoreFoundation                      0x00007fff89e4579e __CFRunLoopDoSource1 + 478
	42  CoreFoundation                      0x00007fff89e367d6 __CFRunLoopRun + 1830
	43  CoreFoundation                      0x00007fff89e35e75 CFRunLoopRunSpecific + 309
	44  Foundation                          0x00007fff8812768e -[NSConnection sendInvocation:internal:] + 1965
	45  CoreFoundation                      0x00007fff89e72044 ___forwarding___ + 452
	46  CoreFoundation                      0x00007fff89e71df8 _CF_forwarding_prep_0 + 120
	47  HIToolbox                           0x00007fff83a34b3d -[IMKInputSession handleEvent:] + 946
	48  HIToolbox                           0x00007fff839f81d8 IMKInputSessionProcessEventRef + 45
	49  HIToolbox                           0x00007fff839f7792 InputMethodInstanceProcessEventRef + 100
	50  HIToolbox                           0x00007fff839ecd4f TSMEventToInputMethod + 131
	51  HIToolbox                           0x00007fff8383f4a0 TSMKeyEvent + 301
	52  HIToolbox                           0x00007fff8382c2b7 TSMProcessRawKeyEvent + 3807
	53  AppKit                              0x00007fff8afe4150 -[NSTextInputContext handleEvent:] + 731
	54  AppKit                              0x00007fff8afc39dd -[NSView interpretKeyEvents:] + 180
	55  WebKit                              0x00000001122da28d -[WebHTMLView(WebInternal) _interpretKeyEvent:savingCommands:] + 349
	56  WebKit                              0x00000001123596e2 _ZN15WebEditorClient24handleInputMethodKeydownERN7WebCore13KeyboardEventE + 114
	57  WebCore                             0x0000000115a24de7 _ZN7WebCore6Editor24handleInputMethodKeydownERNS_13KeyboardEventE + 39
	58  WebCore                             0x000000011614ca6e _ZN7WebCore12EventHandler16internalKeyEventERKNS_21PlatformKeyboardEventE + 2382
	59  WebCore                             0x000000011614c01b _ZN7WebCore12EventHandler8keyEventERKNS_21PlatformKeyboardEventE + 219
	60  WebCore                             0x000000011629cd7e _ZN7WebCore12EventHandler8keyEventEP7NSEvent + 78
	61  WebKit                              0x00000001122d6651 -[WebHTMLView keyDown:] + 241
	62  AppKit                              0x00007fff8af9056b -[NSWindow sendEvent:] + 1843
	63  AppKit                              0x00007fff8af31b32 -[NSApplication sendEvent:] + 3395
	64  AppKit                              0x00007fff8ad819f9 -[NSApplication run] + 646
	65  AppKit                              0x00007fff8ad6c783 NSApplicationMain + 940
	66  ???                                 0x0000000122fc61f5 0x0 + 4881932789
	67  ???                                 0x0000000122fc6013 0x0 + 4881932307
	68  Project                             0x000000010c557093 mono_jit_runtime_invoke + 1571
	69  Project                             0x000000010c6928b7 mono_runtime_invoke_checked + 135
	70  Project                             0x000000010c699ccc mono_runtime_exec_main_checked + 108
	71  Project                             0x000000010c4b4212 mono_jit_exec + 370
	72  Project                             0x000000010c4b7283 mono_main + 8499
	73  Project                             0x000000010c46cb18 xamarin_main + 1144
	74  Project                             0x000000010c46d974 main + 36
	75  libdyld.dylib                       0x00007fff87ab55fd start + 1
)

"Project" is my Xamarin.Mac WebKit wrapper, with some VSCode specific features.

Activity

  1. Wowfunhappy commented on Aug 24, 2026

    @Wowfunhappy
    Owner

    Is there a way I can reproduce this without your project? Does the error occur in any existing apps (Safari, TextMate, etc) and if not is it possible to create a minimal repro?

  2. nilFinx commented on Aug 24, 2026

    @nilFinx
    Author

    It is WebView only, it seems like.

    I made a fairly minimal repro in Swift, instead of Xamarin.Mac:

    (retracted - ask for reupload)

  3. Wowfunhappy commented on Aug 25, 2026

    @Wowfunhappy
    Owner

    I can't seem to run your repro:

    Image

    Regardless, Claude thinks it may have fixed the problem, can you please confirm?

  4. added
    pending confirmation
    on Aug 25, 2026
  5. nilFinx commented on Aug 26, 2026

    @nilFinx
    Author

    I can't seem to run your repro:
    (410 gone)

    You are probably hit by the pretty intensive spam protection of that instance then.

    Claude fixed it though, I think

    As far as I'm seeing, yes. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending confirmation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions