#718 new
Andreas Krohn

Double characters in search box

Reported by Andreas Krohn | April 17th, 2014 @ 09:06 AM

Doing a custom search usually works well, but suddenly each key I press on the keyboard results on double characters in the search box. See attached screen shot where I attempted to write "double" and it came out "ddoouubbllee". It has worked fine before and I have not experienced any other similar problems before.

After a restart it works well, so I understand if this us close to impossible to debug, but at least now you know that there might be a problem.

Using Mailmate 1.7.2 (4078).

Comments and changes to this ticket

  • Matt Gray

    Matt Gray June 12th, 2014 @ 02:11 PM

    I'm seeing this, too—but in the “Move to Mailbox” dialog (see attached).

    I have a custom keybinding set up so the s key triggers the moveToMailbox: selector:

    {
        "g" = "goToMailbox:";
        "n" = "newIMAPMailbox:";
        "s" = "moveToMailbox:";
        "@\U000D" = "send:";
        "$\UF728" = "deleteMessage:";
        "$\U0008" = "deleteMessage:";
        "@k" = "mailboxSearch:";
    }
    

    Of further note: I’ve tweaked my KeyRepeat setting using defaults for OSX in NSGlobalDomain to 0, so there may be some kind of issue that only arises with a very fast key repeat and a keybinding that doesn't use a modifier? Speculation on my part but I hope it helps.

  • benny

    benny June 13th, 2014 @ 10:29 AM

    @Matt: Is your problem also resolved by relaunching? If yes, how often does it then “break”?

    You could test your theory by changing the shortcut to use a modifier. If you can get used to it for a while.

  • Matt Gray

    Matt Gray November 24th, 2014 @ 06:53 PM

    @benny: I'm still seeing this problem with MailMate/5018 MacBookPro11,3/x86_64/8/10.10.1.

    It happens to me about once a day, but I sort hundreds of email daily, so the incidence rate isn't very high. However, it seems to be happening more frequently with recent builds.

    Relaunching does not seem to solve the problem.

    I am changing my custom keybinding to include a modifier (@s) to see if that solves the problem.

  • Matt Gray

    Matt Gray November 26th, 2014 @ 08:03 PM

    I have repro'd this defect with the new keybinding @s and can confirm that the issue persists even when bound to a key combination that includes a modifier.

    On the off chance you're monitoring email this late, let me know if there's some way to capture the program's state in a more comprehensive way that could help you trace the issue. I will keep the dialog open as long as I can (the double characters persist as long as I leave the dialog open).

  • benny

    benny November 26th, 2014 @ 08:27 PM

    Unfortunately there is no obvious way to debug it. Ideally, I would be able to reproduce the issue, but I guess it's kind of unlikely that you'll find a series of steps leading to this state.

    I'll try to give it some more thought and maybe look into the related code. Does this only happen in the mailbox selector? (The OP had the issue in a search condition.)

  • Andreas Krohn

    Andreas Krohn November 27th, 2014 @ 08:11 AM

    I am unable to recreate this bug unfortunately (or maybe fortunately) an I have not seen it in a very long time.

  • Matt Gray

    Matt Gray December 29th, 2014 @ 11:40 PM

    I just now saw it when building a custom search in the messages pane.

    My steps were:

    1. Open custom search with custom keybinding, Command-K
    2. Click the plus sign to add another search criterion

      Double text while typing

    This occurred on MailMate/5029 MacBookPro11,3/x86_64/8/10.10.1.

    What's interesting to me is that I clicked the mouse to focus the text area on the new criterion, and then started typing. It seems like any split-second delay issues shouldn't be at play as my hand had to travel from touchpad to keyboard before I could start typing.

  • benny

    benny December 30th, 2014 @ 12:19 PM

    @Matt: I assume it still wasn't reproducible. (I tried a few times with no luck.)

  • Matt Gray

    Matt Gray December 30th, 2014 @ 02:48 PM

    No, not reproducible. I did a little searching and found another OS X app with a similar-sounding issue. It's a closed-source app so I can't see the nature of the fix, but it may be worth contacting the owner to learn what the fix entailed.

    I hope this is helpful. I'd love to see this bug squashed. It's not a blocker, but it does interrupt my flow several times per day, now.

  • benny

    benny December 30th, 2014 @ 02:53 PM

    @Matt: I'm not sure it's the same issue, but if it is then you might see exceptions from MailMate when this happens. Try launching from the Terminal and then when this happens see if any errors are reported:

    /Applications/MailMate.app/Contents/MacOS/MailMate
    
  • Matt Gray

    Matt Gray December 30th, 2014 @ 02:59 PM

    @benny: Good news! You're right, and I was able to find previous exceptions in Console.app by searching for MailMate. As you can see from my latest screenshot, I saw the issue around 17:36:18 on December 29th (my local time).

    Here are the (hopefully relevant) log messages! There appear to be many of these, perhaps one for every keystroke I typed.

    As a side bonus, now you can ask your users to check Console.app for MailMate-related messages, too!

    12/29/14 5:36:10.897 PM MailMate[1748]: Exception detected while handling key input.  
    12/29/14 5:36:10.897 PM MailMate[1748]: Caught exception.  
    12/29/14 5:36:10.897 PM MailMate[1748]: An uncaught exception was raised  
    12/29/14 5:36:10.897 PM MailMate[1748]: -[NSSearchField controlTextDidChange:]: unrecognized selector sent to instance 0x6180001bd6c0  
    12/29/14 5:36:10.900 PM MailMate[1748]: (  
        0   CoreFoundation                      0x00007fff9001c64c __exceptionPreprocess + 172
        1   libobjc.A.dylib                     0x00007fff83bdf6de objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff9001f6bd -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
        3   CoreFoundation                      0x00007fff8ff66a84 ___forwarding___ + 1028
        4   CoreFoundation                      0x00007fff8ff665f8 _CF_forwarding_prep_0 + 120
        5   CoreFoundation                      0x00007fff8ffd8cbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
        6   CoreFoundation                      0x00007fff8feca1b4 _CFXNotificationPost + 3140
        7   Foundation                          0x00007fff8f83dea1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
        8   CoreFoundation                      0x00007fff8ffd8cbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
        9   CoreFoundation                      0x00007fff8feca1b4 _CFXNotificationPost + 3140
        10  Foundation                          0x00007fff8f83dea1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
        11  AppKit                              0x00007fff8bfb07d1 -[NSTextView(NSSharing) didChangeText] + 348
        12  AppKit                              0x00007fff8bfad99b -[NSTextView insertText:replacementRange:] + 2827
        13  AppKit                              0x00007fff8c5cda87 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 98
        14  AppKit                              0x00007fff8bf8dd62 -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) flushTextForClient:] + 178
        15  AppKit                              0x00007fff8c5cc6ff __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke968 + 460
        16  AppKit                              0x00007fff8c5ce0bf -[NSTextInputContext(NSInputContext_WithCompletion) hasMarkedTextWithCompletionHandler:] + 76
        17  AppKit                              0x00007fff8c5cc4a3 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke_3 + 95
        18  AppKit                              0x00007fff8c5cb838 -[NSTextInputContext tryHandleEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 101
        19  AppKit                              0x00007fff8c5cc414 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke956 + 321
        20  HIToolbox                           0x00007fff8d1e336f __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_5 + 70
        21  HIToolbox                           0x00007fff8d1dc6e0 SendTSMEvent_WithCompletionHandler + 501
        22  HIToolbox                           0x00007fff8d1dcb8c __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke + 400
        23  HIToolbox                           0x00007fff8d1dce46 __SendFilterTextEvent_WithCompletionHandler_block_invoke + 189
        24  HIToolbox                           0x00007fff8d1dc6e0 SendTSMEvent_WithCompletionHandler + 501
        25  HIToolbox                           0x00007fff8d1dc9cf SendFilterTextEvent_WithCompletionHandler + 236
        26  HIToolbox                           0x00007fff8d1d9d41 SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler + 295
        27  HIToolbox                           0x00007fff8d1de649 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 + 296
        28  HIToolbox                           0x00007fff8d1de518 __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 437
        29  HIToolbox                           0x00007fff8d1d97bd TSMKeyEvent_WithCompletionHandler + 701
        30  HIToolbox                           0x00007fff8d1e32f0 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 251
        31  HIToolbox                           0x00007fff8d1e31e6 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 330
        32  HIToolbox                           0x00007fff8d1e3022 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 259
        33  HIToolbox                           0x00007fff8d1e2ea5 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 251
        34  HIToolbox                           0x00007fff8d1e2caf TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 3068
        35  AppKit                              0x00007fff8c5cc226 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke945 + 131
        36  AppKit                              0x00007fff8c5cb762 -[NSTextInputContext tryTSMProcessRawKeyEvent:dispatchCondition:setupForDispatch:furtherCondition:dispatchWork:continuation:] + 127
        37  AppKit                              0x00007fff8c5cbd95 -[NSTextInputContext _handleEvent:options:completionHandler:] + 1266
        38  AppKit                              0x00007fff8bfac02e -[NSTextInputContext handleEvent:] + 109
        39  AppKit                              0x00007fff8bf8bc7d -[NSView interpretKeyEvents:] + 207
        40  AppKit                              0x00007fff8bfabea5 -[NSTextView keyDown:] + 695
        41  AppKit                              0x00007fff8c4ce9f6 -[NSWindow _reallySendEvent:] + 3266
        42  AppKit                              0x00007fff8bf5b50c -[NSWindow sendEvent:] + 368
        43  OakAppKit                           0x0000000103948501 -[OakDeleteKeyWindow sendEvent:] + 40
        44  AppKit                              0x00007fff8bf0d811 -[NSApplication sendEvent:] + 4153
        45  AppKit                              0x00007fff8bd99e98 -[NSApplication run] + 711
        46  AppKit                              0x00007fff8bd852d4 NSApplicationMain + 1832
        47  MailMate                            0x00000001035bd02f main + 552
        48  MailMate                            0x00000001035a5184 start + 52
        49  ???                                 0x0000000000000001 0x0 + 1
    )
    
  • Matt Gray

    Matt Gray December 30th, 2014 @ 03:03 PM

    @benny: I'm also going to include some log lines that showed up 30s before the first of these exceptions, followed by the first exception in this chain, in case they are relevant.

    Below the first log excerpt I've pasted exception logs from when I see the error in the "Move To Mailbox" dialog, as they are different. (Looks like the Move To text control is a different class.)

    12/29/14 5:35:28.248 PM MailMate[1748]: !!! _NSLayoutTreeLineFragmentRectForGlyphAtIndex invalid glyph index 727  
    12/29/14 5:35:28.260 PM MailMate[1748]: *** NSRunStorage, _NSBlockNumberForIndex(): index (9223372036854775807) beyond array bounds (724)  
    12/29/14 5:35:28.266 PM MailMate[1748]: (  
        0   CoreFoundation                      0x00007fff9001c64c __exceptionPreprocess + 172
        1   libobjc.A.dylib                     0x00007fff83bdf6de objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff9001c4fd +[NSException raise:format:] + 205
        3   UIFoundation                        0x00007fff92667cb4 _NSBlockNumberForIndex + 84
        4   UIFoundation                        0x00007fff92673109 -[NSLayoutManager(NSPrivate) _rectArrayForRange:withinSelectionRange:rangeIsCharRange:singleRectOnly:fullLineRectsOnly:inTextContainer:rectCount:rangeWithinContainer:glyphsDrawOutsideLines:rectArray:rectArrayCapacity:] + 1732
        5   UIFoundation                        0x00007fff92676196 -[NSLayoutManager(NSPrivate) _rectArrayForRange:withinSelectionRange:rangeIsCharRange:singleRectOnly:fullLineRectsOnly:inTextContainer:rectCount:rangeWithinContainer:glyphsDrawOutsideLines:] + 99
        6   UIFoundation                        0x00007fff92676222 -[NSLayoutManager(NSPrivate) _boundingRectForGlyphRange:inTextContainer:fast:fullLineRectsOnly:] + 133
        7   UIFoundation                        0x00007fff925c6869 -[NSLayoutManager boundingRectForGlyphRange:inTextContainer:] + 60
        8   AppKit                              0x00007fff8bf2d5ce -[NSTextView(NSPrivate) _setFrameSize:forceScroll:] + 1145
        9   AppKit                              0x00007fff8bdd9dc3 -[NSView setFrame:] + 464
        10  AppKit                              0x00007fff8be449af -[NSView resizeWithOldSuperviewSize:] + 1206
        11  AppKit                              0x00007fff8bdff24c -[NSView resizeSubviewsWithOldSize:] + 317
        12  AppKit                              0x00007fff8bdda52c -[NSView setFrameSize:] + 1633
        13  AppKit                              0x00007fff8bdfedb8 -[NSClipView setFrameSize:] + 380
        14  AppKit                              0x00007fff8bdd9dc3 -[NSView setFrame:] + 464
        15  AppKit                              0x00007fff8be027cf -[NSScrollView _setContentViewFrame:] + 660
        16  AppKit                              0x00007fff8be01f07 -[NSScrollView _applyContentAreaLayout:] + 811
        17  AppKit                              0x00007fff8be00062 -[NSScrollView tile] + 2978
        18  AppKit                              0x00007fff8bdff425 -[NSScrollView _tileWithoutRecursing] + 51
        19  AppKit                              0x00007fff8be454f4 -[NSScrollView _update] + 27
        20  AppKit                              0x00007fff8bdda52c -[NSView setFrameSize:] + 1633
        21  AppKit                              0x00007fff8be6bb3e -[NSScrollView setFrameSize:] + 835
        22  AppKit                              0x00007fff8bdd9dc3 -[NSView setFrame:] + 464
        23  AppKit                              0x00007fff8be449af -[NSView resizeWithOldSuperviewSize:] + 1206
        24  AppKit                              0x00007fff8bdff24c -[NSView resizeSubviewsWithOldSize:] + 317
        25  AppKit                              0x00007fff8bdda52c -[NSView setFrameSize:] + 1633
        26  AppKit                              0x00007fff8bdd9dc3 -[NSView setFrame:] + 464
        27  AppKit                              0x00007fff8be449af -[NSView resizeWithOldSuperviewSize:] + 1206
        28  AppKit                              0x00007fff8bdff24c -[NSView resizeSubviewsWithOldSize:] + 317
        29  AppKit                              0x00007fff8bdda52c -[NSView setFrameSize:] + 1633
        30  AppKit                              0x00007fff8bdd9dc3 -[NSView setFrame:] + 464
        31  AppKit                              0x00007fff8be449af -[NSView resizeWithOldSuperviewSize:] + 1206
        32  AppKit                              0x00007fff8bdff24c -[NSView resizeSubviewsWithOldSize:] + 317
        33  AppKit                              0x00007fff8bdda52c -[NSView setFrameSize:] + 1633
        34  AppKit                              0x00007fff8c01010e -[NSBox setFrameSize:] + 87
        35  AppKit                              0x00007fff8bdd9dc3 -[NSView setFrame:] + 464
        36  MailMate                            0x00000001036450ae -[MmSplitViewController setFrameStates:] + 297
        37  MailMate                            0x0000000103644a48 -[MmSplitViewController updateDisplayedSubviews] + 947
        38  MailMate                            0x000000010364ffc7 -[MmViewController(ToggleMessageView) toggleView] + 72
        39  MailMate                            0x0000000103660f49 -[MmWindowController performSelector:withObject:] + 134
        40  libsystem_trace.dylib               0x00007fff926eccd7 _os_activity_initiate + 75
        41  AppKit                              0x00007fff8bf75497 -[NSApplication sendAction:to:from:] + 410
        42  AppKit                              0x00007fff8bf8f5da -[NSMenuItem _corePerformAction] + 382
        43  AppKit                              0x00007fff8bf8f2f7 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 114
        44  libsystem_trace.dylib               0x00007fff926eccd7 _os_activity_initiate + 75
        45  AppKit                              0x00007fff8bf8e32f -[NSMenu performKeyEquivalent:] + 359
        46  AppKit                              0x00007fff8bf8a8c5 -[NSApplication _handleKeyEquivalent:] + 920
        47  AppKit                              0x00007fff8bf0d79b -[NSApplication sendEvent:] + 4035
        48  AppKit                              0x00007fff8bd99e98 -[NSApplication run] + 711
        49  AppKit                              0x00007fff8bd852d4 NSApplicationMain + 1832
        50  MailMate                            0x00000001035bd02f main + 552
        51  MailMate                            0x00000001035a5184 start + 52
        52  ???                                 0x0000000000000001 0x0 + 1
    )
    12/29/14 5:36:08.408 PM MailMate[1748]: -[NSSearchField controlTextDidChange:]: unrecognized selector sent to instance 0x6180001bd6c0  
    12/29/14 5:36:08.408 PM MailMate[1748]: An uncaught exception was raised  
    12/29/14 5:36:08.408 PM MailMate[1748]: -[NSSearchField controlTextDidChange:]: unrecognized selector sent to instance 0x6180001bd6c0  
    12/29/14 5:36:08.412 PM MailMate[1748]: (  
        0   CoreFoundation                      0x00007fff9001c64c __exceptionPreprocess + 172
        1   libobjc.A.dylib                     0x00007fff83bdf6de objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff9001f6bd -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
        3   CoreFoundation                      0x00007fff8ff66a84 ___forwarding___ + 1028
        4   CoreFoundation                      0x00007fff8ff665f8 _CF_forwarding_prep_0 + 120
        5   CoreFoundation                      0x00007fff8ffd8cbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
        6   CoreFoundation                      0x00007fff8feca1b4 _CFXNotificationPost + 3140
        7   Foundation                          0x00007fff8f83dea1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
        8   CoreFoundation                      0x00007fff8ffd8cbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
        9   CoreFoundation                      0x00007fff8feca1b4 _CFXNotificationPost + 3140
        10  Foundation                          0x00007fff8f83dea1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
        11  AppKit                              0x00007fff8bfb07d1 -[NSTextView(NSSharing) didChangeText] + 348
        12  AppKit                              0x00007fff8bfad99b -[NSTextView insertText:replacementRange:] + 2827
        13  AppKit                              0x00007fff8c5cda87 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 98
        14  AppKit                              0x00007fff8c5c5d9a __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2242 + 127
        15  AppKit                              0x00007fff8c5c27dd -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 170
        16  AppKit                              0x00007fff8c5c2a8e -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 377
        17  AppKit                              0x00007fff8c5c57f6 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke174 + 3779
        18  AppKit                              0x00007fff8c5ce0bf -[NSTextInputContext(NSInputContext_WithCompletion) hasMarkedTextWithCompletionHandler:] + 76
        19  AppKit                              0x00007fff8c5c48a4 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2 + 95
        20  AppKit                              0x00007fff8c5c25f8 -[NSTextInputContext tryHandleTSMEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 101
        21  AppKit                              0x00007fff8c5c4600 -[NSTextInputContext handleTSMEvent:completionHandler:] + 3293
        22  AppKit                              0x00007fff8bfac7ee _NSTSMEventHandler + 324
        23  HIToolbox                           0x00007fff8cfca32c _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1260
        24  HIToolbox                           0x00007fff8cfc976e _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 386
        25  HIToolbox                           0x00007fff8cfc95e2 SendEventToEventTargetWithOptions + 43
        26  HIToolbox                           0x00007fff8d1dc68c SendTSMEvent_WithCompletionHandler + 417
        27  HIToolbox                           0x00007fff8d1dcb8c __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke + 400
        28  HIToolbox                           0x00007fff8d1dce46 __SendFilterTextEvent_WithCompletionHandler_block_invoke + 189
        29  HIToolbox                           0x00007fff8d1dc6e0 SendTSMEvent_WithCompletionHandler + 501
        30  HIToolbox                           0x00007fff8d1dc9cf SendFilterTextEvent_WithCompletionHandler + 236
        31  HIToolbox                           0x00007fff8d1d9d41 SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler + 295
        32  HIToolbox                           0x00007fff8d1de649 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 + 296
        33  HIToolbox                           0x00007fff8d1de518 __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 437
        34  HIToolbox                           0x00007fff8d1d97bd TSMKeyEvent_WithCompletionHandler + 701
        35  HIToolbox                           0x00007fff8d1e32f0 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 251
        36  HIToolbox                           0x00007fff8d1e31e6 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 330
        37  HIToolbox                           0x00007fff8d1e3022 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 259
        38  HIToolbox                           0x00007fff8d1e2ea5 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 251
        39  HIToolbox                           0x00007fff8d1e2caf TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 3068
        40  AppKit                              0x00007fff8c5cc226 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke945 + 131
        41  AppKit                              0x00007fff8c5cb762 -[NSTextInputContext tryTSMProcessRawKeyEvent:dispatchCondition:setupForDispatch:furtherCondition:dispatchWork:continuation:] + 127
        42  AppKit                              0x00007fff8c5cbd95 -[NSTextInputContext _handleEvent:options:completionHandler:] + 1266
        43  AppKit                              0x00007fff8bfac02e -[NSTextInputContext handleEvent:] + 109
        44  AppKit                              0x00007fff8bf8bc7d -[NSView interpretKeyEvents:] + 207
        45  AppKit                              0x00007fff8bfabea5 -[NSTextView keyDown:] + 695
        46  AppKit                              0x00007fff8c4ce9f6 -[NSWindow _reallySendEvent:] + 3266
        47  AppKit                              0x00007fff8bf5b50c -[NSWindow sendEvent:] + 368
        48  OakAppKit                           0x0000000103948501 -[OakDeleteKeyWindow sendEvent:] + 40
        49  AppKit                              0x00007fff8bf0d811 -[NSApplication sendEvent:] + 4153
        50  AppKit                              0x00007fff8bd99e98 -[NSApplication run] + 711
        51  AppKit                              0x00007fff8bd852d4 NSApplicationMain + 1832
        52  MailMate                            0x00000001035bd02f main + 552
        53  MailMate                            0x00000001035a5184 start + 52
        54  ???                                 0x0000000000000001 0x0 + 1
    )
    

    Now, the exceptions for the search box double characters bug is a little different than what I see in the "Move To Mailbox" dialog, see an example of that one below:

    12/29/14 10:42:10.808 AM MailMate[1748]: -[OakNoUndoNSSearchField controlTextDidChange:]: unrecognized selector sent to instance 0x6180007b2a60  
    12/29/14 10:42:10.809 AM MailMate[1748]: An uncaught exception was raised  
    12/29/14 10:42:10.809 AM MailMate[1748]: -[OakNoUndoNSSearchField controlTextDidChange:]: unrecognized selector sent to instance 0x6180007b2a60  
    12/29/14 10:42:10.813 AM MailMate[1748]: (  
        0   CoreFoundation                      0x00007fff9001c64c __exceptionPreprocess + 172
        1   libobjc.A.dylib                     0x00007fff83bdf6de objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff9001f6bd -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
        3   CoreFoundation                      0x00007fff8ff66a84 ___forwarding___ + 1028
        4   CoreFoundation                      0x00007fff8ff665f8 _CF_forwarding_prep_0 + 120
        5   CoreFoundation                      0x00007fff8ffd8cbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
        6   CoreFoundation                      0x00007fff8feca1b4 _CFXNotificationPost + 3140
        7   Foundation                          0x00007fff8f83dea1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
        8   CoreFoundation                      0x00007fff8ffd8cbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
        9   CoreFoundation                      0x00007fff8feca1b4 _CFXNotificationPost + 3140
        10  Foundation                          0x00007fff8f83dea1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
        11  AppKit                              0x00007fff8bfb07d1 -[NSTextView(NSSharing) didChangeText] + 348
        12  AppKit                              0x00007fff8bfad99b -[NSTextView insertText:replacementRange:] + 2827
        13  AppKit                              0x00007fff8c5cda87 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 98
        14  AppKit                              0x00007fff8c5c5d9a __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2242 + 127
        15  AppKit                              0x00007fff8c5c27dd -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 170
        16  AppKit                              0x00007fff8c5c2a8e -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 377
        17  AppKit                              0x00007fff8c5c57f6 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke174 + 3779
        18  AppKit                              0x00007fff8c5ce0bf -[NSTextInputContext(NSInputContext_WithCompletion) hasMarkedTextWithCompletionHandler:] + 76
        19  AppKit                              0x00007fff8c5c48a4 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2 + 95
        20  AppKit                              0x00007fff8c5c25f8 -[NSTextInputContext tryHandleTSMEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 101
        21  AppKit                              0x00007fff8c5c4600 -[NSTextInputContext handleTSMEvent:completionHandler:] + 3293
        22  AppKit                              0x00007fff8bfac7ee _NSTSMEventHandler + 324
        23  HIToolbox                           0x00007fff8cfca32c _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1260
        24  HIToolbox                           0x00007fff8cfc976e _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 386
        25  HIToolbox                           0x00007fff8cfc95e2 SendEventToEventTargetWithOptions + 43
        26  HIToolbox                           0x00007fff8d1dc68c SendTSMEvent_WithCompletionHandler + 417
        27  HIToolbox                           0x00007fff8d1dcb8c __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke + 400
        28  HIToolbox                           0x00007fff8d1dce46 __SendFilterTextEvent_WithCompletionHandler_block_invoke + 189
        29  HIToolbox                           0x00007fff8d1dc6e0 SendTSMEvent_WithCompletionHandler + 501
        30  HIToolbox                           0x00007fff8d1dc9cf SendFilterTextEvent_WithCompletionHandler + 236
        31  HIToolbox                           0x00007fff8d1d9d41 SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler + 295
        32  HIToolbox                           0x00007fff8d1de649 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 + 296
        33  HIToolbox                           0x00007fff8d1de518 __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 437
        34  HIToolbox                           0x00007fff8d1d97bd TSMKeyEvent_WithCompletionHandler + 701
        35  HIToolbox                           0x00007fff8d1e32f0 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 251
        36  HIToolbox                           0x00007fff8d1e31e6 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 330
        37  HIToolbox                           0x00007fff8d1e3022 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 259
        38  HIToolbox                           0x00007fff8d1e2ea5 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 251
        39  HIToolbox                           0x00007fff8d1e2caf TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 3068
        40  AppKit                              0x00007fff8c5cc226 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke945 + 131
        41  AppKit                              0x00007fff8c5cb762 -[NSTextInputContext tryTSMProcessRawKeyEvent:dispatchCondition:setupForDispatch:furtherCondition:dispatchWork:continuation:] + 127
        42  AppKit                              0x00007fff8c5cbd95 -[NSTextInputContext _handleEvent:options:completionHandler:] + 1266
        43  AppKit                              0x00007fff8bfac02e -[NSTextInputContext handleEvent:] + 109
        44  AppKit                              0x00007fff8bf8bc7d -[NSView interpretKeyEvents:] + 207
        45  AppKit                              0x00007fff8bfabea5 -[NSTextView keyDown:] + 695
        46  AppKit                              0x00007fff8c4ce9f6 -[NSWindow _reallySendEvent:] + 3266
        47  AppKit                              0x00007fff8bf5b50c -[NSWindow sendEvent:] + 368
        48  AppKit                              0x00007fff8bf0d811 -[NSApplication sendEvent:] + 4153
        49  AppKit                              0x00007fff8bd99e98 -[NSApplication run] + 711
        50  AppKit                              0x00007fff8bd852d4 NSApplicationMain + 1832
        51  MailMate                            0x00000001035bd02f main + 552
        52  MailMate                            0x00000001035a5184 start + 52
        53  ???                                 0x0000000000000001 0x0 + 1
    )
    12/29/14 10:42:10.814 AM MailMate[1748]: -[OakNoUndoNSSearchField controlTextDidChange:]: unrecognized selector sent to instance 0x6180007b2a60  
    12/29/14 10:42:10.815 AM MailMate[1748]: Exception detected while handling key input.
    
  • benny

    benny December 30th, 2014 @ 03:27 PM

    @Matt: Thanks for the output. Hopefully that'll help me track down the issue(s). I don't think the issues are identical, but they are probably somehow related.

  • benny

    benny January 23rd, 2015 @ 02:26 PM

    I fixed a minor issue which might affect this bug. Could you please try this release (r5044).

  • Matt Gray

    Matt Gray January 24th, 2015 @ 07:27 PM

    Benny, this still happens with this build: My system: MailMate/5044 MacBookPro11,3/x86_64/8/10.10.1

  • benny

    benny January 25th, 2015 @ 10:04 AM

    @Matt: Thanks for the update. Where did you see it? Maybe also provide the exception output as done previously. Just to make sure it has not changed.

  • Matt Gray

    Matt Gray January 25th, 2015 @ 04:55 PM

    Exceptions from Console.app below. Pretty sure it was the Move To... dialog as that is what I use most often.

    1/24/15 1:26:00.406 PM MailMate[22743]: -[OakNoUndoNSSearchField controlTextDidChange:]: unrecognized selector sent to instance 0x6180003b03e0  
    1/24/15 1:26:00.406 PM MailMate[22743]: An uncaught exception was raised  
    1/24/15 1:26:00.406 PM MailMate[22743]: -[OakNoUndoNSSearchField controlTextDidChange:]: unrecognized selector sent to instance 0x6180003b03e0  
    1/24/15 1:26:00.415 PM MailMate[22743]: (  
        0   CoreFoundation                      0x00007fff98de964c __exceptionPreprocess + 172
        1   libobjc.A.dylib                     0x00007fff8c9ac6de objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff98dec6bd -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
        3   CoreFoundation                      0x00007fff98d33a84 ___forwarding___ + 1028
        4   CoreFoundation                      0x00007fff98d335f8 _CF_forwarding_prep_0 + 120
        5   CoreFoundation                      0x00007fff98da5cbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
        6   CoreFoundation                      0x00007fff98c971b4 _CFXNotificationPost + 3140
        7   Foundation                          0x00007fff9860aea1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
        8   CoreFoundation                      0x00007fff98da5cbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
        9   CoreFoundation                      0x00007fff98c971b4 _CFXNotificationPost + 3140
        10  Foundation                          0x00007fff9860aea1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
        11  AppKit                              0x00007fff94d7d7d1 -[NSTextView(NSSharing) didChangeText] + 348
        12  AppKit                              0x00007fff94d7a99b -[NSTextView insertText:replacementRange:] + 2827
        13  AppKit                              0x00007fff9539aa87 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 98
        14  AppKit                              0x00007fff95392d9a __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2242 + 127
        15  AppKit                              0x00007fff9538f7dd -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 170
        16  AppKit                              0x00007fff9538fa8e -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 377
        17  AppKit                              0x00007fff953927f6 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke174 + 3779
        18  AppKit                              0x00007fff9539b0bf -[NSTextInputContext(NSInputContext_WithCompletion) hasMarkedTextWithCompletionHandler:] + 76
        19  AppKit                              0x00007fff953918a4 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2 + 95
        20  AppKit                              0x00007fff9538f5f8 -[NSTextInputContext tryHandleTSMEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 101
        21  AppKit                              0x00007fff95391600 -[NSTextInputContext handleTSMEvent:completionHandler:] + 3293
        22  AppKit                              0x00007fff94d797ee _NSTSMEventHandler + 324
        23  HIToolbox                           0x00007fff95d9732c _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1260
        24  HIToolbox                           0x00007fff95d9676e _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 386
        25  HIToolbox                           0x00007fff95d965e2 SendEventToEventTargetWithOptions + 43
        26  HIToolbox                           0x00007fff95fa968c SendTSMEvent_WithCompletionHandler + 417
        27  HIToolbox                           0x00007fff95fa9b8c __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke + 400
        28  HIToolbox                           0x00007fff95fa9e46 __SendFilterTextEvent_WithCompletionHandler_block_invoke + 189
        29  HIToolbox                           0x00007fff95fa96e0 SendTSMEvent_WithCompletionHandler + 501
        30  HIToolbox                           0x00007fff95fa99cf SendFilterTextEvent_WithCompletionHandler + 236
        31  HIToolbox                           0x00007fff95fa6d41 SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler + 295
        32  HIToolbox                           0x00007fff95fab649 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 + 296
        33  HIToolbox                           0x00007fff95fab518 __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 437
        34  HIToolbox                           0x00007fff95fa67bd TSMKeyEvent_WithCompletionHandler + 701
        35  HIToolbox                           0x00007fff95fb02f0 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 251
        36  HIToolbox                           0x00007fff95fb01e6 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 330
        37  HIToolbox                           0x00007fff95fb0022 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 259
        38  HIToolbox                           0x00007fff95fafea5 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 251
        39  HIToolbox                           0x00007fff95fafcaf TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 3068
        40  AppKit                              0x00007fff95399226 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke945 + 131
        41  AppKit                              0x00007fff95398762 -[NSTextInputContext tryTSMProcessRawKeyEvent:dispatchCondition:setupForDispatch:furtherCondition:dispatchWork:continuation:] + 127
        42  AppKit                              0x00007fff95398d95 -[NSTextInputContext _handleEvent:options:completionHandler:] + 1266
        43  AppKit                              0x00007fff94d7902e -[NSTextInputContext handleEvent:] + 109
        44  AppKit                              0x00007fff94d58c7d -[NSView interpretKeyEvents:] + 207
        45  AppKit                              0x00007fff94d78ea5 -[NSTextView keyDown:] + 695
        46  AppKit                              0x00007fff9529b9f6 -[NSWindow _reallySendEvent:] + 3266
        47  AppKit                              0x00007fff94d2850c -[NSWindow sendEvent:] + 368
        48  AppKit                              0x00007fff94cda811 -[NSApplication sendEvent:] + 4153
        49  AppKit                              0x00007fff94b66e98 -[NSApplication run] + 711
        50  AppKit                              0x00007fff94b522d4 NSApplicationMain + 1832
        51  MailMate                            0x000000010c242a9f main + 552
        52  MailMate                            0x000000010c22ac74 start + 52
        53  ???                                 0x0000000000000001 0x0 + 1
    )
    1/24/15 1:26:00.417 PM MailMate[22743]: -[OakNoUndoNSSearchField controlTextDidChange:]: unrecognized selector sent to instance 0x6180003b03e0  
    1/24/15 1:26:00.417 PM MailMate[22743]: Exception detected while handling key input.
    
  • Matt Gray

    Matt Gray January 25th, 2015 @ 04:59 PM

    Note that since it is an OakNoUndoNSSearchField versus a NSSearchField it is almost certainly Move To... or Go To... instead of the message list search box.

  • Matt Gray

    Matt Gray January 26th, 2015 @ 08:38 PM

    @Benny: Not sure if it's related, but I'm experiencing lots of crashes right when I trigger the Move To... dialog to pop up.

    1/26/15 2:36:07.677 PM MailMate[38890]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[OakNoUndoNSSearchField controlTextDidChange:]: unrecognized selector sent to instance 0x6080003a8b20'  
    *** First throw call stack:
    (
        0   CoreFoundation                      0x00007fff98de964c __exceptionPreprocess + 172
        1   libobjc.A.dylib                     0x00007fff8c9ac6de objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff98dec6bd -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
        3   CoreFoundation                      0x00007fff98d33a84 ___forwarding___ + 1028
        4   CoreFoundation                      0x00007fff98d335f8 _CF_forwarding_prep_0 + 120
        5   CoreFoundation                      0x00007fff98da5cbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
        6   CoreFoundation                      0x00007fff98c971b4 _CFXNotificationPost + 3140
        7   Foundation                          0x00007fff9860aea1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
        8   CoreFoundation                      0x00007fff98da5cbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
        9   CoreFoundation                      0x00007fff98c971b4 _CFXNotificationPost + 3140
        10  Foundation                          0x00007fff9860aea1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
        11  AppKit                              0x00007fff94d7d7d1 -[NSTextView(NSSharing) didChangeText] + 348
        12  AppKit                              0x00007fff94d7a99b -[NSTextView insertText:replacementRange:] + 2827
        13  AppKit                              0x00007fff9539aa87 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 98
        14  AppKit                              0x00007fff94d5ad62 -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) flushTextForClient:] + 178
        15  AppKit                              0x00007fff953996ff __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke968 + 460
        16  AppKit                              0x00007fff9539b0bf -[NSTextInputContext(NSInputContext_WithCompletion) hasMarkedTextWithCompletionHandler:] + 76
        17  AppKit                              0x00007fff953994a3 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke_3 + 95
        18  AppKit                              0x00007fff95398838 -[NSTextInputContext tryHandleEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 101
        19  AppKit                              0x00007fff95399414 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke956 + 321
        20  HIToolbox                           0x00007fff95fb036f __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_5 + 70
        21  HIToolbox                           0x00007fff95fa96e0 SendTSMEvent_WithCompletionHandler + 501
        22  HIToolbox                           0x00007fff95fa9b8c __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke + 400
        23  HIToolbox                           0x00007fff95fa9e46 __SendFilterTextEvent_WithCompletionHandler_block_invoke + 189
        24  HIToolbox                           0x00007fff95fa96e0 SendTSMEvent_WithCompletionHandler + 501
        25  HIToolbox                           0x00007fff95fa99cf SendFilterTextEvent_WithCompletionHandler + 236
        26  HIToolbox                           0x00007fff95fa6d41 SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler + 295
        27  HIToolbox                           0x00007fff95fab649 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 + 296
        28  HIToolbox                           0x00007fff95fab518 __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 437
        29  HIToolbox                           0x00007fff95fa67bd TSMKeyEvent_WithCompletionHandler + 701
        30  HIToolbox                           0x00007fff95fb02f0 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 251
        31  HIToolbox                           0x00007fff95fb01e6 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 330
        32  HIToolbox                           0x00007fff95fb0022 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 259
        33  HIToolbox                           0x00007fff95fafea5 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 251
        34  HIToolbox                           0x00007fff95fafcaf TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 3068
        35  AppKit                              0x00007fff95399226 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke945 + 131
        36  AppKit                              0x00007fff95398762 -[NSTextInputContext tryTSMProcessRawKeyEvent:dispatchCondition:setupForDispatch:furtherCondition:dispatchWork:continuation:] + 127
        37  AppKit                              0x00007fff95398d95 -[NSTextInputContext _handleEvent:options:completionHandler:] + 1266
        38  AppKit                              0x00007fff94d7902e -[NSTextInputContext handleEvent:] + 109
        39  AppKit                              0x00007fff94d58c7d -[NSView interpretKeyEvents:] + 207
        40  AppKit                              0x00007fff94d78ea5 -[NSTextView keyDown:] + 695
        41  AppKit                              0x00007fff9529b9f6 -[NSWindow _reallySendEvent:] + 3266
        42  AppKit                              0x00007fff94d2850c -[NSWindow sendEvent:] + 368
        43  CoreFoundation                      0x00007fff98d0a365 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 133
        44  CoreFoundation                      0x00007fff98d09a69 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 313
        45  AppKit                              0x00007fff95139c1e __57-[NSSearchField _transitionForFirstResponder:completion:]_block_invoke + 195
        46  AppKit                              0x00007fff9513d94d __78-[NSSearchFieldCell _transitionInRect:ofView:becomeFirstResponder:completion:]_block_invoke + 22
        47  libdispatch.dylib                   0x00007fff99b18323 _dispatch_call_block_and_release + 12
        48  libdispatch.dylib                   0x00007fff99b13c13 _dispatch_client_callout + 8
        49  libdispatch.dylib                   0x00007fff99b1fcbf _dispatch_main_queue_callback_4CF + 861
        50  CoreFoundation                      0x00007fff98d3cc59 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
        51  CoreFoundation                      0x00007fff98cf92ef __CFRunLoopRun + 2159
        52  CoreFoundation                      0x00007fff98cf8838 CFRunLoopRunSpecific + 296
        53  HIToolbox                           0x00007fff95dbd43f RunCurrentEventLoopInMode + 235
        54  HIToolbox                           0x00007fff95dbd1ba ReceiveNextEventCommon + 431
        55  HIToolbox                           0x00007fff95dbcffb _BlockUntilNextEventMatchingListInModeWithFilter + 71
        56  AppKit                              0x00007fff94b736d1 _DPSNextEvent + 964
        57  AppKit                              0x00007fff94b72e80 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
        58  AppKit                              0x00007fff94b66e23 -[NSApplication run] + 594
        59  AppKit                              0x00007fff94b522d4 NSApplicationMain + 1832
        60  MailMate                            0x000000010e169a9f main + 552
        61  MailMate                            0x000000010e151c74 start + 52
        62  ???                                 0x0000000000000001 0x0 + 1
    )
    
  • benny

    benny January 29th, 2015 @ 03:50 PM

    @Matt: I cannot reproduce the crashes, but I've fixed some (seemingly) unrelated issues. I'd like you to try this release and then make sure you allow MailMate to send any crash reports.

  • benny

    benny January 30th, 2015 @ 12:27 PM

    I've just been made aware I provided a bad link. This is the latest test release. Sorry about that.

  • Matt Gray

    Matt Gray January 30th, 2015 @ 11:04 PM

    @Benny: I'm running the latest test release now, thanks for the link update. I will let you know if I see the dreaded ddoouubbllee lleetttteerrss. Thanks!

  • Matt Gray

    Matt Gray February 4th, 2015 @ 10:22 PM

    @Benny: Just saw double letters when in the Move To... dialog on MailMate/5046 MacBookPro11,3/x86_64/8/10.10.2.

    Relevant log data follows:

    2/4/15 4:20:42.821 PM MailMate[22333]: -[OakNoUndoNSSearchField controlTextDidChange:]: unrecognized selector sent to instance 0x6100001b52a0  
    2/4/15 4:20:42.821 PM MailMate[22333]: An uncaught exception was raised  
    2/4/15 4:20:42.821 PM MailMate[22333]: -[OakNoUndoNSSearchField controlTextDidChange:]: unrecognized selector sent to instance 0x6100001b52a0  
    2/4/15 4:20:42.826 PM MailMate[22333]: (  
        0   CoreFoundation                      0x00007fff8970a66c __exceptionPreprocess + 172
        1   libobjc.A.dylib                     0x00007fff8cc4776e objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff8970d6dd -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
        3   CoreFoundation                      0x00007fff89654aa4 ___forwarding___ + 1028
        4   CoreFoundation                      0x00007fff89654618 _CF_forwarding_prep_0 + 120
        5   CoreFoundation                      0x00007fff896c6cdc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
        6   CoreFoundation                      0x00007fff895b8244 _CFXNotificationPost + 3140
        7   Foundation                          0x00007fff8539ec31 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
        8   CoreFoundation                      0x00007fff896c6cdc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
        9   CoreFoundation                      0x00007fff895b8244 _CFXNotificationPost + 3140
        10  Foundation                          0x00007fff8539ec31 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
        11  AppKit                              0x00007fff89b6ced1 -[NSTextView(NSSharing) didChangeText] + 348
        12  AppKit                              0x00007fff89b6a09b -[NSTextView insertText:replacementRange:] + 2827
        13  AppKit                              0x00007fff8a18f027 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 98
        14  AppKit                              0x00007fff8a18718a __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2242 + 127
        15  AppKit                              0x00007fff8a183b8d -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 170
        16  AppKit                              0x00007fff8a183e3e -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 377
        17  AppKit                              0x00007fff8a186be6 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke174 + 3779
        18  AppKit                              0x00007fff8a18f65f -[NSTextInputContext(NSInputContext_WithCompletion) hasMarkedTextWithCompletionHandler:] + 76
        19  AppKit                              0x00007fff8a185c90 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2 + 95
        20  AppKit                              0x00007fff8a1839a8 -[NSTextInputContext tryHandleTSMEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 101
        21  AppKit                              0x00007fff8a185905 -[NSTextInputContext handleTSMEvent:completionHandler:] + 3122
        22  AppKit                              0x00007fff89b68eee _NSTSMEventHandler + 324
        23  HIToolbox                           0x00007fff8c8d498c _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1260
        24  HIToolbox                           0x00007fff8c8d3dce _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 386
        25  HIToolbox                           0x00007fff8c8d3c42 SendEventToEventTargetWithOptions + 43
        26  HIToolbox                           0x00007fff8cae6f4c SendTSMEvent_WithCompletionHandler + 417
        27  HIToolbox                           0x00007fff8cae744c __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke + 400
        28  HIToolbox                           0x00007fff8cae7706 __SendFilterTextEvent_WithCompletionHandler_block_invoke + 189
        29  HIToolbox                           0x00007fff8cae6fa0 SendTSMEvent_WithCompletionHandler + 501
        30  HIToolbox                           0x00007fff8cae728f SendFilterTextEvent_WithCompletionHandler + 236
        31  HIToolbox                           0x00007fff8cae4601 SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler + 295
        32  HIToolbox                           0x00007fff8cae8f09 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 + 296
        33  HIToolbox                           0x00007fff8cae8dd8 __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 437
        34  HIToolbox                           0x00007fff8cae407d TSMKeyEvent_WithCompletionHandler + 701
        35  HIToolbox                           0x00007fff8caedbd0 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 251
        36  HIToolbox                           0x00007fff8caedac6 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 330
        37  HIToolbox                           0x00007fff8caed902 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 259
        38  HIToolbox                           0x00007fff8caed785 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 251
        39  HIToolbox                           0x00007fff8caed58f TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 3068
        40  AppKit                              0x00007fff8a18d726 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke949 + 131
        41  AppKit                              0x00007fff8a18cc12 -[NSTextInputContext tryTSMProcessRawKeyEvent:dispatchCondition:setupForDispatch:furtherCondition:dispatchWork:continuation:] + 127
        42  AppKit                              0x00007fff8a18d245 -[NSTextInputContext _handleEvent:options:completionHandler:] + 1266
        43  AppKit                              0x00007fff89b6871e -[NSTextInputContext handleEvent:] + 109
        44  AppKit                              0x00007fff89b48374 -[NSView interpretKeyEvents:] + 207
        45  AppKit                              0x00007fff89b68597 -[NSTextView keyDown:] + 695
        46  AppKit                              0x00007fff8a08ffdb -[NSWindow _reallySendEvent:] + 6004
        47  AppKit                              0x00007fff89b1816e -[NSWindow sendEvent:] + 446
        48  AppKit                              0x00007fff89aca3d1 -[NSApplication sendEvent:] + 4055
        49  AppKit                              0x00007fff89956608 -[NSApplication run] + 711
        50  AppKit                              0x00007fff89941a14 NSApplicationMain + 1832
        51  MailMate                            0x000000010d21f40f main + 552
        52  MailMate                            0x000000010d207634 start + 52
        53  ???                                 0x0000000000000001 0x0 + 1
    )
    2/4/15 4:20:42.828 PM MailMate[22333]: -[OakNoUndoNSSearchField controlTextDidChange:]: unrecognized selector sent to instance 0x6100001b52a0  
    2/4/15 4:20:42.828 PM MailMate[22333]: Exception detected while handling key input.
    
  • Mathew Mitchell

    Mathew Mitchell February 7th, 2015 @ 01:39 PM

    I'm using MailMate Version 1.8 (5051) and am still seeing this problem. It seems, maybe, that it occurs less than before. But I definitely get it at times when I'm typing a message, send, then quickly use the command-option-t shortcut to move the email from inbox to another mailbox. BTW that's a typical process for me: write message, send, put old email into a folder via shortcut. Many, but not all, of the emails in my Inbox have been tagged. So there's also that step, usually, of detagging. I don't know if this is a critical step contributing to the problem or not.

    So to restate I usually:

    1. compose/send email
    2. de-tag via command-shift-L
    3. command-option-t to move

    And then, at times, I'll get the double-letters in the "move to" dialog box.

  • Matt Gray

    Matt Gray February 12th, 2015 @ 02:16 PM

    @Benny: In the last few weeks after updating to your newer beta releases, I've been experiencing crashes fairly often, right after I type my keyboard shortcut to open the Move To... dialog and type my first character.

    I'll know it's about to crash because I don't see what I typed echoed in the text entry control. Then, I see a beachball right before MailMate crashes.

    My system: MailMate/5055 MacBookPro11,3/x86_64/8/10.10.2

    I'm adding information to this ticket because I wonder if the crashes are related to some of the work you've done in and around the Move To... box.

    Take a look at these crash reports, it looks like the same exceptions I see when the double letter bug are happening right before the crash:

    2/12/15 8:12:23.711 AM MailMate[58000]: -[OakNoUndoNSSearchField controlTextDidChange:]: unrecognized selector sent to instance 0x6000005a56a0  
    2/12/15 8:12:23.714 AM MailMate[58000]: An uncaught exception was raised  
    2/12/15 8:12:23.714 AM MailMate[58000]: -[OakNoUndoNSSearchField controlTextDidChange:]: unrecognized selector sent to instance 0x6000005a56a0  
    2/12/15 8:12:23.747 AM MailMate[58000]: (  
        0   CoreFoundation                      0x00007fff8b5bd66c __exceptionPreprocess + 172
        1   libobjc.A.dylib                     0x00007fff8eafa76e objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff8b5c06dd -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
        3   CoreFoundation                      0x00007fff8b507aa4 ___forwarding___ + 1028
        4   CoreFoundation                      0x00007fff8b507618 _CF_forwarding_prep_0 + 120
        5   CoreFoundation                      0x00007fff8b579cdc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
        6   CoreFoundation                      0x00007fff8b46b244 _CFXNotificationPost + 3140
        7   Foundation                          0x00007fff87251c31 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
        8   CoreFoundation                      0x00007fff8b579cdc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
        9   CoreFoundation                      0x00007fff8b46b244 _CFXNotificationPost + 3140
        10  Foundation                          0x00007fff87251c31 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
        11  AppKit                              0x00007fff8ba1fed1 -[NSTextView(NSSharing) didChangeText] + 348
        12  AppKit                              0x00007fff8ba1d09b -[NSTextView insertText:replacementRange:] + 2827
        13  AppKit                              0x00007fff8c042027 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 98
        14  AppKit                              0x00007fff8c03a18a __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2242 + 127
        15  AppKit                              0x00007fff8c036b8d -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 170
        16  AppKit                              0x00007fff8c036e3e -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 377
        17  AppKit                              0x00007fff8c039be6 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke174 + 3779
        18  AppKit                              0x00007fff8c04265f -[NSTextInputContext(NSInputContext_WithCompletion) hasMarkedTextWithCompletionHandler:] + 76
        19  AppKit                              0x00007fff8c038c90 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2 + 95
        20  AppKit                              0x00007fff8c0369a8 -[NSTextInputContext tryHandleTSMEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 101
        21  AppKit                              0x00007fff8c038905 -[NSTextInputContext handleTSMEvent:completionHandler:] + 3122
        22  AppKit                              0x00007fff8ba1beee _NSTSMEventHandler + 324
        23  HIToolbox                           0x00007fff8e78798c _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1260
        24  HIToolbox                           0x00007fff8e786dce _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 386
        25  HIToolbox                           0x00007fff8e786c42 SendEventToEventTargetWithOptions + 43
        26  HIToolbox                           0x00007fff8e999f4c SendTSMEvent_WithCompletionHandler + 417
        27  HIToolbox                           0x00007fff8e99a44c __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke + 400
        28  HIToolbox                           0x00007fff8e99a706 __SendFilterTextEvent_WithCompletionHandler_block_invoke + 189
        29  HIToolbox                           0x00007fff8e999fa0 SendTSMEvent_WithCompletionHandler + 501
        30  HIToolbox                           0x00007fff8e99a28f SendFilterTextEvent_WithCompletionHandler + 236
        31  HIToolbox                           0x00007fff8e997601 SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler + 295
        32  HIToolbox                           0x00007fff8e99bf09 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 + 296
        33  HIToolbox                           0x00007fff8e99bdd8 __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 437
        34  HIToolbox                           0x00007fff8e99707d TSMKeyEvent_WithCompletionHandler + 701
        35  HIToolbox                           0x00007fff8e9a0bd0 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 251
        36  HIToolbox                           0x00007fff8e9a0ac6 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 330
        37  HIToolbox                           0x00007fff8e9a0902 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 259
        38  HIToolbox                           0x00007fff8e9a0785 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 251
        39  HIToolbox                           0x00007fff8e9a058f TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 3068
        40  AppKit                              0x00007fff8c040726 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke949 + 131
        41  AppKit                              0x00007fff8c03fc12 -[NSTextInputContext tryTSMProcessRawKeyEvent:dispatchCondition:setupForDispatch:furtherCondition:dispatchWork:continuation:] + 127
        42  AppKit                              0x00007fff8c040245 -[NSTextInputContext _handleEvent:options:completionHandler:] + 1266
        43  AppKit                              0x00007fff8ba1b71e -[NSTextInputContext handleEvent:] + 109
        44  AppKit                              0x00007fff8b9fb374 -[NSView interpretKeyEvents:] + 207
        45  AppKit                              0x00007fff8ba1b597 -[NSTextView keyDown:] + 695
        46  AppKit                              0x00007fff8bf42fdb -[NSWindow _reallySendEvent:] + 6004
        47  AppKit                              0x00007fff8b9cb16e -[NSWindow sendEvent:] + 446
        48  CoreFoundation                      0x00007fff8b4de385 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 133
        49  CoreFoundation                      0x00007fff8b4dda89 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 313
        50  AppKit                              0x00007fff8bddf85e __57-[NSSearchField _transitionForFirstResponder:completion:]_block_invoke + 195
        51  AppKit                              0x00007fff8bde358d __78-[NSSearchFieldCell _transitionInRect:ofView:becomeFirstResponder:completion:]_block_invoke + 22
        52  libdispatch.dylib                   0x00007fff8e125323 _dispatch_call_block_and_release + 12
        53  libdispatch.dylib                   0x00007fff8e120c13 _dispatch_client_callout + 8
        54  libdispatch.dylib                   0x00007fff8e12ccbf _dispatch_main_queue_callback_4CF + 861
        55  CoreFoundation                      0x00007fff8b510c79 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
        56  CoreFoundation                      0x00007fff8b4cd30f __CFRunLoopRun + 2159
        57  CoreFoundation                      0x00007fff8b4cc858 CFRunLoopRunSpecific + 296
        58  HIToolbox                           0x00007fff8e7adaef RunCurrentEventLoopInMode + 235
        59  HIToolbox                           0x00007fff8e7ad86a ReceiveNextEventCommon + 431
        60  HIToolbox                           0x00007fff8e7ad6ab _BlockUntilNextEventMatchingListInModeWithFilter + 71
        61  AppKit                              0x00007fff8b815f81 _DPSNextEvent + 964
        62  AppKit                              0x00007fff8b815730 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
        63  AppKit                              0x00007fff8b809593 -[NSApplication run] + 594
        64  AppKit                              0x00007fff8b7f4a14 NSApplicationMain + 1832
        65  MailMate                            0x00000001029af4ff main + 552
        66  MailMate                            0x00000001029974f4 start + 52
        67  ???                                 0x0000000000000001 0x0 + 1
    )
    2/12/15 8:12:23.749 AM MailMate[58000]: -[OakNoUndoNSSearchField controlTextDidChange:]: unrecognized selector sent to instance 0x6000005a56a0  
    2/12/15 8:12:23.749 AM MailMate[58000]: Exception detected while handling key input.  
    2/12/15 8:12:23.753 AM MailMate[58000]: An uncaught exception was raised  
    2/12/15 8:12:23.753 AM MailMate[58000]: -[OakNoUndoNSSearchField controlTextDidChange:]: unrecognized selector sent to instance 0x6000005a56a0  
    2/12/15 8:12:23.753 AM MailMate[58000]: (  
        0   CoreFoundation                      0x00007fff8b5bd66c __exceptionPreprocess + 172
        1   libobjc.A.dylib                     0x00007fff8eafa76e objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff8b5c06dd -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
        3   CoreFoundation                      0x00007fff8b507aa4 ___forwarding___ + 1028
        4   CoreFoundation                      0x00007fff8b507618 _CF_forwarding_prep_0 + 120
        5   CoreFoundation                      0x00007fff8b579cdc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
        6   CoreFoundation                      0x00007fff8b46b244 _CFXNotificationPost + 3140
        7   Foundation                          0x00007fff87251c31 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
        8   CoreFoundation                      0x00007fff8b579cdc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
        9   CoreFoundation                      0x00007fff8b46b244 _CFXNotificationPost + 3140
        10  Foundation                          0x00007fff87251c31 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
        11  AppKit                              0x00007fff8ba1fed1 -[NSTextView(NSSharing) didChangeText] + 348
        12  AppKit                              0x00007fff8ba1d09b -[NSTextView insertText:replacementRange:] + 2827
        13  AppKit                              0x00007fff8c042027 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 98
        14  AppKit                              0x00007fff8b9fd459 -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) flushTextForClient:] + 178
        15  AppKit                              0x00007fff8c040bff __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke972 + 460
        16  AppKit                              0x00007fff8c04265f -[NSTextInputContext(NSInputContext_WithCompletion) hasMarkedTextWithCompletionHandler:] + 76
        17  AppKit                              0x00007fff8c0409a3 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke_3 + 95
        18  AppKit                              0x00007fff8c03fce8 -[NSTextInputContext tryHandleEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 101
        19  AppKit                              0x00007fff8c040914 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke960 + 321
        20  HIToolbox                           0x00007fff8e9a0c4f __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_5 + 70
        21  HIToolbox                           0x00007fff8e999fa0 SendTSMEvent_WithCompletionHandler + 501
        22  HIToolbox                           0x00007fff8e99a44c __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke + 400
        23  HIToolbox                           0x00007fff8e99a706 __SendFilterTextEvent_WithCompletionHandler_block_invoke + 189
        24  HIToolbox                           0x00007fff8e999fa0 SendTSMEvent_WithCompletionHandler + 501
        25  HIToolbox                           0x00007fff8e99a28f SendFilterTextEvent_WithCompletionHandler + 236
        26  HIToolbox                           0x00007fff8e997601 SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler + 295
        27  HIToolbox                           0x00007fff8e99bf09 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 + 296
        28  HIToolbox                           0x00007fff8e99bdd8 __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 437
        29  HIToolbox                           0x00007fff8e99707d TSMKeyEvent_WithCompletionHandler + 701
        30  HIToolbox                           0x00007fff8e9a0bd0 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 251
        31  HIToolbox                           0x00007fff8e9a0ac6 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 330
        32  HIToolbox                           0x00007fff8e9a0902 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 259
        33  HIToolbox                           0x00007fff8e9a0785 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 251
        34  HIToolbox                           0x00007fff8e9a058f TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 3068
        35  AppKit                              0x00007fff8c040726 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke949 + 131
        36  AppKit                              0x00007fff8c03fc12 -[NSTextInputContext tryTSMProcessRawKeyEvent:dispatchCondition:setupForDispatch:furtherCondition:dispatchWork:continuation:] + 127
        37  AppKit                              0x00007fff8c040245 -[NSTextInputContext _handleEvent:options:completionHandler:] + 1266
        38  AppKit                              0x00007fff8ba1b71e -[NSTextInputContext handleEvent:] + 109
        39  AppKit                              0x00007fff8b9fb374 -[NSView interpretKeyEvents:] + 207
        40  AppKit                              0x00007fff8ba1b597 -[NSTextView keyDown:] + 695
        41  AppKit                              0x00007fff8bf42fdb -[NSWindow _reallySendEvent:] + 6004
        42  AppKit                              0x00007fff8b9cb16e -[NSWindow sendEvent:] + 446
        43  CoreFoundation                      0x00007fff8b4de385 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 133
        44  CoreFoundation                      0x00007fff8b4dda89 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 313
        45  AppKit                              0x00007fff8bddf85e __57-[NSSearchField _transitionForFirstResponder:completion:]_block_invoke + 195
        46  AppKit                              0x00007fff8bde358d __78-[NSSearchFieldCell _transitionInRect:ofView:becomeFirstResponder:completion:]_block_invoke + 22
        47  libdispatch.dylib                   0x00007fff8e125323 _dispatch_call_block_and_release + 12
        48  libdispatch.dylib                   0x00007fff8e120c13 _dispatch_client_callout + 8
        49  libdispatch.dylib                   0x00007fff8e12ccbf _dispatch_main_queue_callback_4CF + 861
        50  CoreFoundation                      0x00007fff8b510c79 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
        51  CoreFoundation                      0x00007fff8b4cd30f __CFRunLoopRun + 2159
        52  CoreFoundation                      0x00007fff8b4cc858 CFRunLoopRunSpecific + 296
        53  HIToolbox                           0x00007fff8e7adaef RunCurrentEventLoopInMode + 235
        54  HIToolbox                           0x00007fff8e7ad86a ReceiveNextEventCommon + 431
        55  HIToolbox                           0x00007fff8e7ad6ab _BlockUntilNextEventMatchingListInModeWithFilter + 71
        56  AppKit                              0x00007fff8b815f81 _DPSNextEvent + 964
        57  AppKit                              0x00007fff8b815730 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
        58  AppKit                              0x00007fff8b809593 -[NSApplication run] + 594
        59  AppKit                              0x00007fff8b7f4a14 NSApplicationMain + 1832
        60  MailMate                            0x00000001029af4ff main + 552
        61  MailMate                            0x00000001029974f4 start + 52
        62  ???                                 0x0000000000000001 0x0 + 1
    )
    2/12/15 8:12:23.754 AM MailMate[58000]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[OakNoUndoNSSearchField controlTextDidChange:]: unrecognized selector sent to instance 0x6000005a56a0'  
    *** First throw call stack:
    (
        0   CoreFoundation                      0x00007fff8b5bd66c __exceptionPreprocess + 172
        1   libobjc.A.dylib                     0x00007fff8eafa76e objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff8b5c06dd -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
        3   CoreFoundation                      0x00007fff8b507aa4 ___forwarding___ + 1028
        4   CoreFoundation                      0x00007fff8b507618 _CF_forwarding_prep_0 + 120
        5   CoreFoundation                      0x00007fff8b579cdc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
        6   CoreFoundation                      0x00007fff8b46b244 _CFXNotificationPost + 3140
        7   Foundation                          0x00007fff87251c31 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
        8   CoreFoundation                      0x00007fff8b579cdc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
        9   CoreFoundation                      0x00007fff8b46b244 _CFXNotificationPost + 3140
        10  Foundation                          0x00007fff87251c31 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
        11  AppKit                              0x00007fff8ba1fed1 -[NSTextView(NSSharing) didChangeText] + 348
        12  AppKit                              0x00007fff8ba1d09b -[NSTextView insertText:replacementRange:] + 2827
        13  AppKit                              0x00007fff8c042027 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 98
        14  AppKit                              0x00007fff8b9fd459 -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) flushTextForClient:] + 178
        15  AppKit                              0x00007fff8c040bff __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke972 + 460
        16  AppKit                              0x00007fff8c04265f -[NSTextInputContext(NSInputContext_WithCompletion) hasMarkedTextWithCompletionHandler:] + 76
        17  AppKit                              0x00007fff8c0409a3 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke_3 + 95
        18  AppKit                              0x00007fff8c03fce8 -[NSTextInputContext tryHandleEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 101
        19  AppKit                              0x00007fff8c040914 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke960 + 321
        20  HIToolbox                           0x00007fff8e9a0c4f __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_5 + 70
        21  HIToolbox                           0x00007fff8e999fa0 SendTSMEvent_WithCompletionHandler + 501
        22  HIToolbox                           0x00007fff8e99a44c __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke + 400
        23  HIToolbox                           0x00007fff8e99a706 __SendFilterTextEvent_WithCompletionHandler_block_invoke + 189
        24  HIToolbox                           0x00007fff8e999fa0 SendTSMEvent_WithCompletionHandler + 501
        25  HIToolbox                           0x00007fff8e99a28f SendFilterTextEvent_WithCompletionHandler + 236
        26  HIToolbox                           0x00007fff8e997601 SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler + 295
        27  HIToolbox                           0x00007fff8e99bf09 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 + 296
        28  HIToolbox                           0x00007fff8e99bdd8 __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 437
        29  HIToolbox                           0x00007fff8e99707d TSMKeyEvent_WithCompletionHandler + 701
        30  HIToolbox                           0x00007fff8e9a0bd0 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 251
        31  HIToolbox                           0x00007fff8e9a0ac6 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 330
        32  HIToolbox                           0x00007fff8e9a0902 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 259
        33  HIToolbox                           0x00007fff8e9a0785 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 251
        34  HIToolbox                           0x00007fff8e9a058f TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 3068
        35  AppKit                              0x00007fff8c040726 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke949 + 131
        36  AppKit                              0x00007fff8c03fc12 -[NSTextInputContext tryTSMProcessRawKeyEvent:dispatchCondition:setupForDispatch:furtherCondition:dispatchWork:continuation:] + 127
        37  AppKit                              0x00007fff8c040245 -[NSTextInputContext _handleEvent:options:completionHandler:] + 1266
        38  AppKit                              0x00007fff8ba1b71e -[NSTextInputContext handleEvent:] + 109
        39  AppKit                              0x00007fff8b9fb374 -[NSView interpretKeyEvents:] + 207
        40  AppKit                              0x00007fff8ba1b597 -[NSTextView keyDown:] + 695
        41  AppKit                              0x00007fff8bf42fdb -[NSWindow _reallySendEvent:] + 6004
        42  AppKit                              0x00007fff8b9cb16e -[NSWindow sendEvent:] + 446
        43  CoreFoundation                      0x00007fff8b4de385 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 133
        44  CoreFoundation                      0x00007fff8b4dda89 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 313
        45  AppKit                              0x00007fff8bddf85e __57-[NSSearchField _transitionForFirstResponder:completion:]_block_invoke + 195
        46  AppKit                              0x00007fff8bde358d __78-[NSSearchFieldCell _transitionInRect:ofView:becomeFirstResponder:completion:]_block_invoke + 22
        47  libdispatch.dylib                   0x00007fff8e125323 _dispatch_call_block_and_release + 12
        48  libdispatch.dylib                   0x00007fff8e120c13 _dispatch_client_callout + 8
        49  libdispatch.dylib                   0x00007fff8e12ccbf _dispatch_main_queue_callback_4CF + 861
        50  CoreFoundation                      0x00007fff8b510c79 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
        51  CoreFoundation                      0x00007fff8b4cd30f __CFRunLoopRun + 2159
        52  CoreFoundation                      0x00007fff8b4cc858 CFRunLoopRunSpecific + 296
        53  HIToolbox                           0x00007fff8e7adaef RunCurrentEventLoopInMode + 235
        54  HIToolbox                           0x00007fff8e7ad86a ReceiveNextEventCommon + 431
        55  HIToolbox                           0x00007fff8e7ad6ab _BlockUntilNextEventMatchingListInModeWithFilter + 71
        56  AppKit                              0x00007fff8b815f81 _DPSNextEvent + 964
        57  AppKit                              0x00007fff8b815730 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
        58  AppKit                              0x00007fff8b809593 -[NSApplication run] + 594
        59  AppKit                              0x00007fff8b7f4a14 NSApplicationMain + 1832
        60  MailMate                            0x00000001029af4ff main + 552
        61  MailMate                            0x00000001029974f4 start + 52
        62  ???                                 0x0000000000000001 0x0 + 1
    )
    
  • benny

    benny February 19th, 2015 @ 02:35 PM

    I've spend some time looking into this again and although I did find some issues I don't think it fixes the issue.

    I've introduced a crude debug variable which might help me. Enable it like this:

    defaults write com.freron.MailMate MmDebugDoubleLetters -bool YES
    

    Then launch MailMate from a Terminal window:

    /Applications/MailMate.app/Contents/MacOS/MailMate
    

    Send me the output using “Help ▸ Send Feedback”. No reason to litter this ticket with the debug output.

    During testing I did see the issue twice, but I couldn't trigger it again which is why I want you to try now :-)

  • Matt Gray

    Matt Gray March 26th, 2015 @ 09:30 PM

    I've been faithfully running MailMate from a terminal window in the hopes of catching the double letters bug.

    Good news/bad news - I haven't seen the bug for what seems like weeks. It may be squashed!

  • benny

    benny March 27th, 2015 @ 10:06 AM

    @Matt: I'm pretty sure it isn't, but it might have become harder to trigger. Not sure that is a good thing :-)

  • Thomas Floeren

    Thomas Floeren March 29th, 2015 @ 11:16 PM

    It seems I have the double letters issue, too. It appeared after I’ve updated to 5080. Never seen it before.

    Only in the Move to Mailbox field, not in the Search.

  • Mathew Mitchell

    Mathew Mitchell March 29th, 2015 @ 11:24 PM

    Double letters issue all the time now. Seems to have started relatively shortly after updating to latest version: 5080. Did send in an email with terminal output. Also tried in debug mode (thus the terminal output), but even that did not tamper down the double-characters happening all the time when using keyboard shortcut for moving a message to another folder.

  • benny

    benny March 30th, 2015 @ 05:30 AM

    To get back to r5078: Disable betas in the Software Update preferences pane and hold down ⇧ when clicking “Check Now”.

    Sorry about the inconvenience. I already pulled the beta, but hopefully r5080 is going to help me track down this problem for good. I am, “of course”, not seeing the problem myself, but I'm on 10.7 right now. Hopefully I also have the problem on 10.10 later today.

  • benny

    benny March 30th, 2015 @ 06:53 PM

    Those of you with some extra time can try this manual download of a test version of MailMate. It fixes a bug, but it also enables crashing whenever so-called exceptions happen. This is likely to make MailMate seem more unstable, but time will tell. I'll use it myself and hopefully some of you are going to do so as well. Thanks in advance.

  • Thomas Floeren

    Thomas Floeren March 31st, 2015 @ 04:03 PM

    5081 works nicely, so far :)

  • Mathew Mitchell

    Mathew Mitchell March 31st, 2015 @ 04:04 PM

    I agree. No crashes at all with 5081 yet. Only one morning, and I'm sure crashes will come. I've used it both with Terminal and debugging activated, and with no Terminal debugging activated. In both cases worked nicely, no crashing, no double letters.

  • benny

    benny March 31st, 2015 @ 04:05 PM

    I suggest updating to r5082 via the Software Update preferences pane. Hold down ⌥ when clicking Check Now. I fixed some more issues (also a couple of crash bugs).

  • benny

    benny April 1st, 2015 @ 12:08 PM

    • State changed from “new” to “cantreproduce”

    I've released r5083 as a beta. Due to a bug in previous releases you may have to explicitly check for updates via the Software Update preferences pane. Otherwise it won't update before you relaunch MailMate. I am, of course, still very interested in reports about the double letter issue :-)

  • Thomas Floeren

    Thomas Floeren April 1st, 2015 @ 01:45 PM

    Toying around with 5082 for a couple of hours; no double letters, and no crashes at all. Really disappointed ;-)

    Going to try 5083 now…

  • Mathew Mitchell

    Mathew Mitchell April 1st, 2015 @ 01:48 PM

    Ditto for me. Nothing. It has been a fairly typical day in terms of numbers of emails to process. I'll keep trying to crash it though!

  • Matt Gray

    Matt Gray April 3rd, 2015 @ 04:55 PM

    Still happening (and no crash!) on 5084. Will send the output off-ticket.

  • Guillaume Daudin

    Guillaume Daudin May 20th, 2015 @ 07:15 AM

    Same issue (double letters in the Move to Mailbox window) here.

  • benny

    benny May 21st, 2015 @ 10:34 AM

    @Guillaume: How often does it happen for you? Could you try the latest test release? Hold down ⌥ when clicking “Check Now” in the Software Update preferences pane (r5091).

  • Guillaume Daudin

    Guillaume Daudin May 21st, 2015 @ 10:47 AM

    Once or twice a day ? Closing and re-opening the window solves the issue.

    I'll try the latest test release. All clear for now. I'll report if the problem has disappeared.

  • Guillaume Daudin

    Guillaume Daudin May 24th, 2015 @ 01:53 PM

    The bug has not reared back its head since I updated to r5091

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Mac OS X email client.

Shared Ticket Bins

Referenced by

Pages