#2720 new
Jeff Y.

MailMate crashes when Edit[ing] IMAP Account

Reported by Jeff Y. | January 4th, 2021 @ 09:19 PM

Version 1.14 (5757). My account settings were transferred from x86 Catalina to M1 Big Sur. Most accounts are not affected; the account in question is for a local Dovecot instance I use for archiving old messages, and probably doesn't have SMTP setup.

MailMate sent a diagnostic report from my email. Please let me know if you'd like additional info. I put some of the most relevant seeming logs from the console below.

Thanks!
Jeff

NSExceptionHandler has recorded the following exception:
NSInvalidArgumentException -- *** -[__NSDictionaryM setObject:forKey:]: object cannot be nil (key: hostname)
Stack trace:  0x7fff2026f17c  0x7fff205ebc82  0x7fff205f7b7b  0x7fff20479420  0x1023b6d3d  0x1023936c9  0x1023898d1  0x7fff22e2ec4e  0x7fff22f31a61  0x7fff22f31780  0x7fff22f7dafc  0x7fff22f7da82  0x7fff22f7d8ca  0x7fff22f14409  0x7fff2895f4a0  0x7fff2895e879  0x7fff2897418a  0x7fff289d40d7  0x7fff289fb451  0x7fff289fb3fc  0x7fff289fb245  0x7fff289fbc52  0x7fff289fb958  0x7fff22dc6c95  0x7fff22dc6b02  0x7fff22c0cc55  0x7fff22bfeb0a  0x7fff22bd2df2  0x1023b373f  0x7fff203e0621
An uncaught exception was raised
*** -[__NSDictionaryM setObject:forKey:]: object cannot be nil (key: hostname)
(
    0   CoreFoundation                      0x00007fff20537083 __exceptionPreprocess + 242
    1   libobjc.A.dylib                     0x00007fff2026f17c objc_exception_throw + 48
    2   CoreFoundation                      0x00007fff2055f61a -[NSException raise] + 9
    3   ExceptionHandling                   0x00007fff3c80db7c NSExceptionHandlerExceptionRaiser + 140
    4   libobjc.A.dylib                     0x00007fff2026f17c objc_exception_throw + 48
    5   CoreFoundation                      0x00007fff205ebc82 _CFThrowFormattedException + 194
    6   CoreFoundation                      0x00007fff205f7b7b -[__NSDictionaryM setObject:forKey:].cold.3 + 0
    7   CoreFoundation                      0x00007fff20479420 -[__NSDictionaryM setObject:forKey:] + 934
    8   MailMate                            0x00000001023b6d3d -[IMAPAccountSettingsController setURL:] + 2026
    9   MailMate                            0x00000001023936c9 -[ApplicationDelegate orderFrontEditorForAccount:] + 277
    10  MailMate                            0x00000001023898d1 -[ApplicationDelegate editAccount:] + 61
    11  AppKit                              0x00007fff22e2ec4e -[NSApplication(NSResponder) sendAction:to:from:] + 283
    12  AppKit                              0x00007fff22f31a61 -[NSMenuItem _corePerformAction] + 413
    13  AppKit                              0x00007fff22f31780 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 95
    14  AppKit                              0x00007fff22f7dafc -[NSMenu performActionForItemAtIndex:] + 113
    15  AppKit                              0x00007fff22f7da82 -[NSMenu _internalPerformActionForItemAtIndex:] + 82
    16  AppKit                              0x00007fff22f7d8ca -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 101
    17  AppKit                              0x00007fff22f14409 NSSLMMenuEventHandler + 889
    18  HIToolbox                           0x00007fff2895f4a0 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1431
    19  HIToolbox                           0x00007fff2895e879 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 329
    20  HIToolbox                           0x00007fff2897418a SendEventToEventTarget + 39
    21  HIToolbox                           0x00007fff289d40d7 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 368
    22  HIToolbox                           0x00007fff289fb451 SendMenuCommandWithContextAndModifiers + 45
    23  HIToolbox                           0x00007fff289fb3fc SendMenuItemSelectedEvent + 346
    24  HIToolbox                           0x00007fff289fb245 _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 96
    25  HIToolbox                           0x00007fff289fbc52 _ZL14MenuSelectCoreP8MenuData5PointdjPP13OpaqueMenuRefPt + 613
    26  HIToolbox                           0x00007fff289fb958 _HandleMenuSelection2 + 460
    27  AppKit                              0x00007fff22dc6c95 _NSHandleCarbonMenuEvent + 215
    28  AppKit                              0x00007fff22dc6b02 _DPSEventHandledByCarbon + 54
    29  AppKit                              0x00007fff22c0cc55 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3068
    30  AppKit                              0x00007fff22bfeb0a -[NSApplication run] + 586
    31  AppKit                              0x00007fff22bd2df2 NSApplicationMain + 816
    32  MailMate                            0x00000001023b373f main + 851
    33  libdyld.dylib                       0x00007fff203e0621 start + 1
)

Comments and changes to this ticket

  • Jeff Y.

    Jeff Y. February 19th, 2021 @ 05:22 AM

    The mailbox I couldn't edit had

    smtp = "smtp://";
    

    in Sources.plist.

    Editing the line avoided the problem of MailMate crashing.

    It would still be good to fix it though.

    Thanks!

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

People watching this ticket

Pages