Mailmate crash on launch
Reported by Vincent Noel | April 26th, 2024 @ 06:37 PM
Mailmate started crashing on launch out of the blue tonight. Everything had been chugging along fine for years before that.
I can prevent the crash by launching MailMate while offline. If I take all my accounts offline and reconnect to the network Mailmate won't crash. Connecting to a specific server leads to a crash.
If I launch Mailmate from the terminal and trigger the crash, here is the output:
/Applications/MailMate.app/Contents/MacOS/MailMate 2024-04-26 20:32:03.546 MailMate[2179:30752] *** Assertion failure in -[NSTableRowData removeRowsAtIndexes:withRowAnimation:], NSTableRowData.m:8115
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'removeRowsAtIndexes:withRowAnimation: can not happen while updating visible rows!' *** First throw call stack: ( 0 CoreFoundation 0x000000019f0e6ccc exceptionPreprocess + 176 1 libobjc.A.dylib 0x000000019ebce788 objc_exception_throw + 60 2 Foundation 0x00000001a0257c6c -[NSCalendarDate initWithCoder:] + 0 3 AppKit 0x00000001a34ab5f0 __55-[NSTableRowData removeRowsAtIndexes:withRowAnimation:]_block_invoke + 420 4 AppKit 0x00000001a34a9a78 -[NSTableRowData performWithIncrementedTableViewUpdateCount:] + 80 5 AppKit 0x00000001a29b2214 -[NSTableRowData removeRowsAtIndexes:withRowAnimation:] + 112 6 AppKit 0x00000001a2949328 -[NSTableView _doUpdatedWorkWithHandler:] + 96 7 AppKit 0x00000001a29b20d0 -[NSTableView removeRowsAtIndexes:withAnimation:] + 156 8 AppKit 0x00000001a29b2028 -[NSOutlineView removeRowsAtIndexes:withAnimation:] + 44 9 AppKit 0x00000001a29b1624 -[NSOutlineView reloadItem:reloadChildren:] + 1104 10 MailMate 0x0000000102e65f68 -[OakCustomFontOutlineView reloadItem:reloadChildren:] + 108 11 MailMate 0x0000000102d0edb4 -[MmMailboxesOutlineViewController didChangeSubmailboxes:] + 132 12 CoreFoundation 0x000000019f066b1c _CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 148 13 CoreFoundation 0x000000019f0fadb8 CFXRegistrationPost_block_invoke + 88 14 CoreFoundation 0x000000019f0fad00 _CFXRegistrationPost + 440 15 CoreFoundation 0x000000019f035648 _CFXNotificationPost + 768 16 Foundation 0x00000001a0151464 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88 17 MailMate 0x0000000102d9fc04 -[MmMailbox updateChildrenForAccounts:] + 824 18 MailMate 0x0000000102da019c -[MmMailbox updateAccountChildren] + 1116 19 MailMate 0x0000000102db3fc0 -[MmMailboxManager didChangeAccountsForMailbox:] + 76 20 MailMate 0x0000000102db402c -[MmMailboxManager didChangeAccountsForMailbox:] + 184 21 CoreFoundation 0x000000019f066b1c _CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 148 22 CoreFoundation 0x000000019f0fadb8 CFXRegistrationPost_block_invoke + 88 23 CoreFoundation 0x000000019f0fad00 _CFXRegistrationPost + 440 24 CoreFoundation 0x000000019f035648 _CFXNotificationPost + 768 25 Foundation 0x00000001a0151464 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88 26 MailMate 0x0000000102dbf628 -[MmSourcesManager didChangeStandardMailboxWithDictionary:] + 56 27 MailMate 0x0000000102dc005c _ZN17sourcecallback_tI18_source_callback_tE10did_changeERKNSt313mapINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEN5boost7variantINSA_6detail7variant14recursive_flagIbEEJiyS9_NS 28 MailMate 0x0000000102f282b0 ZN22imap_account_manager_t27did_change_standard_mailboxEP9account_tRKNSt3_112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 84 29 MailMate 0x0000000102f01d0c ZN14imap_account_t20get_standard_mailboxERKNSt3_112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE + 4444 30 MailMate 0x0000000102f013f0 ZN14imap_account_t20get_standard_mailboxERKNSt3_112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE + 2112 31 MailMate 0x0000000102f02388 ZN14imap_account_t16get_mailbox_typeERKNSt3_112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE + 140 32 MailMate 0x0000000102f29048 ZN22imap_account_manager_t16get_mailbox_typeERKNSt3_112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE + 156 33 MailMate 0x0000000102da3d10 -[MmMailbox mailboxType] + 220 34 MailMate 0x0000000102da9030 -[MmMailbox defaultImagePath] + 1108 35 MailMate 0x0000000102da9ddc -[MmMailbox retrieveImageName] + 220 36 MailMate 0x0000000102daa868 -[MmMailbox image] + 268 37 MailMate 0x0000000102daa37c -[MmMailbox coloredImageWithPointSize:weight:scale:fallbackColor:] + 96 38 MailMate 0x0000000102d11700 -[MmMailboxesOutlineViewController updateView:mailbox:] + 1108 39 MailMate 0x0000000102d12dd0 -[MmMailboxesOutlineViewController outlineView:viewForTableColumn:item:] + 1040 40 AppKit 0x00000001a2954abc -[NSTableView(NSTableViewViewBased) makeViewForTableColumn:row:] + 96 41 AppKit 0x00000001a2954260 -[NSTableRowData addViewToRowView:atColumn:row:] + 232 42 AppKit 0x00000001a29523a4 -[NSTableRowData initializeRowView:atRow:] + 332 43 AppKit 0x00000001a2950ff0 -[NSTableRowData _preparedRowViewForRow:storageHandler:] + 120 44 AppKit 0x00000001a2950ed4 -[NSTableRowData _addRowViewForVisibleRow:withPriorView:] + 268 45 AppKit 0x00000001a2960060 -[NSTableRowData _updateVisibleViewsBasedOnUpdateItems] + 3640 46 AppKit 0x00000001a2947f04 -[NSTableRowData endUpdates] + 328 47 AppKit 0x00000001a29b1930 -[NSOutlineView reloadItem:reloadChildren:] + 1884 48 MailMate 0x0000000102e65f68 -[OakCustomFontOutlineView reloadItem:reloadChildren:] + 108 49 MailMate 0x0000000102d0e640 -[MmMailboxesOutlineViewController didRemoveMailbox:] + 184 50 CoreFoundation 0x000000019f066b1c _CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER_ + 148 51 CoreFoundation 0x000000019f0fadb8 CFXRegistrationPost_block_invoke + 88 52 CoreFoundation 0x000000019f0fad00 _CFXRegistrationPost + 440 53 CoreFoundation 0x000000019f035648 _CFXNotificationPost + 768 54 Foundation 0x00000001a0151464 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88 55 MailMate 0x0000000102da7094 -[MmMailbox removeMailbox:] + 160 56 MailMate 0x0000000102db39d4 -[MmMailboxManager removeMailboxes:recursively:] + 540 57 MailMate 0x0000000102dbf364 -[MmSourcesManager didRemoveMailboxWithDictionary:] + 264 58 MailMate 0x0000000102dc003c _ZN17sourcecallback_tI18_source_callback_tE10did_changeERKNSt313mapINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEN5boost7variantINSA_6detail7variant14recursive_flagIbEEJiyS9_NS 59 MailMate 0x0000000102f28158 ZN22imap_account_manager_t18did_delete_mailboxEP9account_tRKNSt3_13mapINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEN5boost7variantINSA_6detail7variant14recursive_flagIbEEJiyS9_ 60 MailMate 0x0000000102f093a0 ZN14imap_account_t18did_delete_mailboxENSt3_112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEbb + 536 61 MailMate 0x0000000102f0b6dc ZN14imap_account_t11handle_dataENSt3_110shared_ptrI19connection_result_tEE + 6892 62 MailMate 0x000000010306adc0 ZN10connection17perform_callbacksENSt3_110shared_ptrINS_15callback_data_tEEE + 760 63 MailMate 0x000000010306b528 ZN10connection17runin_backgroundENSt311 libc++abi: terminating due to uncaught exception of type NSException
zsh: abort /Applications/MailMate.app/Contents/MacOS/MailMate
~>
This is a problem for me
Comments and changes to this ticket
-
benny April 26th, 2024 @ 08:43 PM
Sorry to hear about your issue. Could you try the latest test release to make sure it's not a fixed issue: https://updates.mailmate-app.com/archives/MailMate_r6030.tbz
-
Vincent Noel April 27th, 2024 @ 01:04 PM
unfortunately no, r6030 is still crashing when I sync with a specific IMAP account :-(
-
benny April 29th, 2024 @ 11:55 AM
Sorry about the delay. The issue is somehow related to deletion of a mailbox and to the set of standard mailboxes for the account (Drafts, Sent, Deleted, etc.), but I haven't been able to reproduce it yet.
You might be able to prevent the crash if you play around with setting Mailbox > Mailbox Type in the account before taking it online, but I'm not sure.
I'll continue to examine the issue.
-
Vincent Noel April 29th, 2024 @ 12:27 PM
Many thanks! Indeed, for some reason the "Trash" folder was set to two different folders on two of my machines. I deleted one of these folders, but forgot to check where the other one was used as Trash and change it. On this machine, the Trash folder was set to the folder that I deleted. So apparently every time I tried to connect Mailmate tried to set that deleted folder as a standard mailbox.
When offline I set the remaining Trash folder as the standard trash mailbox and that stopped the crashing.
Thanks again for your help!
-
benny April 29th, 2024 @ 01:50 PM
- State changed from new to resolved
Great. I'll continue to see if I can reproduce/fix the issue.
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.
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.