#867 new

MailMate crashes when I move emails on ios device

Reported by Leo | August 9th, 2014 @ 08:04 PM

I've had this recurring crash problem for a few months now - I'm following the latest betas, currently on r4415.

The symptoms look like this: There will be an email or two that will show up in my inbox on the iOS device (iphone and ipad) as unread and that email won't show up in MailMate. I'll then archive the email on the iOS device and MailMate will promptly crash. This is concerning since the email doesn't seem to show up in the inbox folder for MailMate.

I've submitted a couple of crash logs (including one a few minutes ago) but happy to assist with any troubleshooting.

Comments and changes to this ticket

  • benny

    benny August 10th, 2014 @ 11:26 AM

    Thanks. You can just let MailMate send all crash reports. It helps to see how bad a given problem is.

    I'm very interested in fixing this. Could you try to see if the problem is reproducible somehow?

    Alternatively, how often does it happen for you?

  • benny

    benny August 10th, 2014 @ 02:11 PM

    Yes, I can find the crash reports. I just thought you didn't allow MailMate to send all of them.

    I've checked your 10 most recent crash reports and they are all the exact same issue which makes your estimate very precise :-)

    The first you can do for me is to launch MailMate from a Terminal window like this:


    After a crash, the window should contain some output which can help me look in the right direction. After that I might need to add more debug output, but it'll be a good start.

    I would also appreciate if you experimented a bit to see if you can find a series of steps which triggers the problematic state.

    So far, these are the facts:

    • MailMate and the iOS device are both running.
    • You are actively using the iOS device.
    • For some reason, MailMate does not show one or more new messages.
    • Archiving on the iOS device triggers MailMate to crash.

    That last step indicates that MailMate is told that a message was deleted from the Inbox, but maybe somehow MailMate was not aware or only partly aware that it existed at all.

    Do you receive a large number of messages? (I'm thinking the trigger may be rare and related to some kind of race condition.)

    Thanks for your help.

  • benny

    benny August 11th, 2014 @ 01:24 PM

    Thanks for the output. Some of it (decoded text warnings) was a minor output bug which I have now fixed and I cleaned up your output for clarity.

    It is still not clear to me what happens, but it is certainly helpful. One additional question: Could these messages also be moved by a rule in MailMate? (I don't understand how MailMate gets into a state where the messages are only shown on the iOS device.) Any other rules in play? (Gmail filters.)

    Here is another way which might help me: Keep the Activity Viewer open (⌥⌘0) and then use “Help ▸ Send Server Logs” when you see the pre-crash state. Also send the Terminal output like you did in this ticket (in a separate email since you'll have to crash MailMate first).

  • benny

    benny August 11th, 2014 @ 02:46 PM

    Thanks for the details. Could you also enable this debug variable:

    defaults write com.freron.MailMate MmTrackDatabaseEvents -bool YES

    And then also fetch the latest test release: Hold down ⌥ when clicking Check Now.

    Thanks in advance!

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