#544 new
Bob Arasmith

Crashes on startup on 10.9.1 when connecting to a Kerio account

Reported by Bob Arasmith | December 18th, 2013 @ 06:14 AM

I have three Kerio Connect accounts and only one of them causes the crash. I have instances of Mailmate running on two machines to confirm. I have two Kerio accounts on one instance and it has been running flawlessly all day. The second instance is dying with in a minute of starting every time, very reproducible. I have deleted the ~/Library/Application Support/MailMate directory a couple times to confirm it is actually the specific mail account.

It is my first day with MailMate so I am not sure what kind of information you need to track down a problem so I will include the problem report created by Mac OS. If there is a MailMate log I can send that as well.

System is a MacPro4,1, 20GB or ram running 10.9.1. The problem was duplicated on a 10.9.1 VM running under ESX, failed exactly the same way, things worked fine until I added a the troublesome imap account. The other two working accounts are on the same Kerio server just different domain.

Thanks
bob

Comments and changes to this ticket

  • benny

    benny December 18th, 2013 @ 08:04 AM

    It appears you have found a bug in the code that decodes base64 encoded body parts. This also means that it is likely triggered by a particular message. When you add the account then you can “Edit Subscriptions” to add fewer mailboxes initially (alternatively, take all mailboxes offline if you can do it before the crash). The goal is to find the mailbox that makes MailMate crash. If this is successful then you can enable the following debug variable:

    defaults write com.freron.MailMate MmDebugFetchCrash -bool YES
    

    Then relaunch MailMate and then take the mailbox online to trigger the crash. After that, you should be able to find the message in this folder:

    /tmp/*.eml
    

    The name is based on mailbox name, server name, and a unique id. It's the one most recently written to disk. Hopefully it's a message you can share with me (“Help ▸ Send Feedback”).

    I hope that wasn't too confusing.

  • Bob Arasmith

    Bob Arasmith December 18th, 2013 @ 04:46 PM

    I have narrowed it down to a the "Sent Items" mailbox. But when I enable MmDebugFetchCrash I do not get the .eml files you expected. I see one directory /tmp/mailmate_logs and inside it is a zero length file, mail mate_parser_problems.log.

    My sent items mailbox is quite large, 8300 messages, so I am going to try and prune it back to find the problematic message. When I hunt it down I will send it to you.

  • Bob Arasmith

    Bob Arasmith December 18th, 2013 @ 10:23 PM

    I narrowed it down to the mail message that causes the problem. It has two attachments, a zip file that is 231MB and a PDF that is 735KB. I have no problem forwarding the message to you if you mail server will accept that large of an attachment.

    If I move that mail message in and out of a subscribed folder I can reliably crash the client.

    bob

  • benny

    benny December 19th, 2013 @ 09:28 AM

    • State changed from “new” to “reproduced”

    That makes it likely that the size of the attachment is the problem (and not this particular attachment) although I would have thought it would have required an even larger attachment.

    (I had no idea anyone had such large email attachments :-) ).

    I'll mark this ticket as a reproducible problem (although I haven't tried it yet), but don't expect it to be fixed soon. I hope you can work around the issue.

  • Bob Arasmith

    Bob Arasmith December 19th, 2013 @ 04:44 PM

    no problem at all, in my 10 years or so of back mail that is the only occurrence of an attachment that large. I am sure I can work around it. Thanks for the help tracking down the problem.

  • benny

    benny April 8th, 2018 @ 07:12 PM

    • State changed from “reproduced” to “fixreleased”

    This was most likely (implicitly) fixed when MailMate became a 64 bit application a long time ago.

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

Attachments

Pages