Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

MailMate crashes while starting/syncing

#3277

MailMate does not start anymore. It seems as if it starts to sync with the IMAP Server (Fastmail) but then crashes. Should be the latest version I guess. Also macOS is at latest version.

Here is the report from macOS: https://cloud.lantschner.name/index.php/s/67kExixWiJrXRcC

Reported by Ingo Lantschner · September 18th, 2023 @ 05:29 PM

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. Ingo Lantschner
    Ingo Lantschner
    • Tag changed from crash to gpg pgp, crash

    I am using GPG as well (so it may be in relation to #3271 as well)

    September 18th, 2023 @ 06:07 PM

  2. Klay
    Klay

    I am getting a crash with version 6016 of MM. I have three accounts and on start up MM crashes. I followed the advice someone posted in 2019 to:

    1. Turn off wifi
    2. Open MM
    3. Take every mailbox offline
    4. Shut down MM
    5. Turn wifi on
    6. Open MM
    7. Bring each mailbox back online one by one

    At the very least if the app crashes you know which mailbox is causing this. You can just leave the mailbox account offline to resolve it later. This at least gets MM up and running on some of your email accounts.

    BTW, I also use GPG but the crash wasn't caused by an encrypted email I sent or received.

    January 21st, 2024 @ 12:53 PM

  3. Wes Carroll
    Wes Carroll

    Same crash (?), new info:

    I am also using Fastmail; I am not using GPG.

    Over the weekend I used MailMate's "export to mbox" function, so that I could drop the resulting copy of mbox into GoodByEmail, and discover some junk I could delete from my mail repository.

    (For clarity: I believe that the export function created a copy of my data (in mbox format) that MailMate then ignores, and that GoodByEmail can then use for analysis purposes. In other words, altering an exported mbox should have no effect on MailMate's functioning.)

    That all worked, and so I then did a bunch of deletion from within MailMate, by GoodByEmail's analysis. All of this seemed routine. I ended with a smaller IMAP blob on fastmail, as I expected.

    Then, when I next launched MailMate, the UI popped up for about three seconds, then threw a SegFault:

    Process: MailMate [10004] Path: /Applications/MailMate.app/Contents/MacOS/MailMate Identifier: com.freron.MailMate Version: 1.14 (5937) Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501

    Date/Time: 2024-01-28 12:41:07.1836 -0800 OS Version: macOS 14.2.1 (23C71) Report Version: 12

    ...

    Crashed Thread: 0 Dispatch queue: com.apple.main-thread

    Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes:
    KERN_INVALID_ADDRESS at 0x000000029733806e Exception Codes:
    0x0000000000000001, 0x000000029733806e

    Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [10004]

    January 28th, 2024 @ 08:43 PM

  4. Wes Carroll
    Wes Carroll

    Reinstalled MailMate using the latest recommended version. Also no go.

    Trying to figure out where all IMAP info is cached in the hopes that I can delete the local IMAP cache without deleting e.g. my signature and other preferences. I figure there's a decent chance that I'd then be able to launch the app, re-sync to the server (over however many minutes or hours that would take) and then be back on my feet.

    January 29th, 2024 @ 03:54 AM

  5. Wes Carroll
    Wes Carroll

    Following Klay's advice above, confirmed that Gmail is not causing the crash and Fastmail is.

    January 29th, 2024 @ 03:58 AM

  6. Wes Carroll
    Wes Carroll

    A-hah! Help > Rebuild Database got me back up and running.

    In particular, printf "OldDatabase" > ~/Library/Application\ Support/MailMate/.rebuild.tmp was a very helpful find.

    January 29th, 2024 @ 06:57 AM

  7. Ingo Lantschner
    Ingo Lantschner
    • Tag cleared.

    Thanks Wes, that was really helpful!

    March 6th, 2024 @ 11:52 AM

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.