#1297 new
Bhagwati Gupta

mailmate is crashing soon after launch

Reported by Bhagwati Gupta | October 28th, 2015 @ 04:25 PM

Mailmate has started to crash since the last 2-3 weeks. Apart from usual Mac OS X updates, I have not installed any new software recently. Few things that I tried included removing pref files, restarting laptop, etc. but no luck. I am running 10.10.5 Yosemite and the latest version of mailmate . After reviewing mailmate crash related issues reported by others in this forum, I used the terminal to launch the program. It appears that crashes are always happening after the following lines:

Warning: Trying to map file of length 0 (/Users/bpg/Library/Application Support/MailMate/Database.noindex/Headers/#server-flags.cache).
rename failed: No such file or directory
old path: '/Users/bpg/Library/Application Support/MailMate/Database.noindex/Headers/#server-flags.offsets', new path: '/Users/bpg/Library/Application Support/MailMate/Database.noindex/Headers/#server-flags.offsets_temp'
Abort trap: 6

I have also attached a detailed report which was generated after the crash, in case this is useful in tracking down the problem.

Please help! I need mailmate to get back to my usual work routine. It is extremely frustrating right now. Thank you very much in advance.

Comments and changes to this ticket

  • Bhagwati Gupta

    Bhagwati Gupta October 28th, 2015 @ 04:54 PM

    I have just rebuild the database and will watch if mailmate is still crashing. I will update you on this. Thanks.

  • benny

    benny October 28th, 2015 @ 06:48 PM

    • State changed from “new” to “cantreproduce”

    Sorry about your trouble. Rebuilding the database should fix the crashing, but I'll naturally be very interested if this happens again (is somehow reproducible). For the record, it would probably also have worked to delete the .../#server-flags.* files, but this is not true in general (for other database index files).

  • Bhagwati Gupta

    Bhagwati Gupta October 28th, 2015 @ 08:39 PM

    Thank you very much for the prompt response. It makes me feel good and continue to use the software. So far everything looks good. I will update if there are any issues. Cheers! And, thank you for producing a GREAT software.

  • Bhagwati Gupta

    Bhagwati Gupta November 4th, 2015 @ 06:03 PM

    Hi Benny - The crashes have started to happen again this morning. I haven't done anything new since the last time other than reading/writing emails. Please see the messages below.

    Warning: Trying to map file of length 0 (/Users/bpg/Library/Application Support/MailMate/Database.noindex/Headers/#server-flags.cache).
    2015-11-04 12:51:56.132 MailMate[49611:7865841] Bartender: Loaded BartenderHelperNinetySix
    Problems while parsing reported for one or more messages. Details can be found in
    /tmp/mailmate_logs/mailmate_parser_problems.log rename failed: No such file or directory
    old path: '/Users/bpg/Library/Application Support/MailMate/Database.noindex/Headers/#server-flags.offsets', new path: '/Users/bpg/Library/Application Support/MailMate/Database.noindex/Headers/#server-flags.offsets_temp'
    Abort trap: 6

    And the output of the log file is -
    description = 'Invalid multibyte sequence encountered (iconv / windows-1252)'; content-transfer-encoding = quoted-printable; content-type = 'text/plain'; context = 't\n>> one{E2}{80}{9D}\n>> I don'; file = '/Users/bpg/Library/Application Support/MailMate/Messages/IMAP/bgupta.bio%40gmail.com@imap.gmail.com/INBOX.mailbox/Messages/148129.eml'; url = 'message://D2AD405FAB3A104CA7D97140589CBBD4CADBAE@FHSDB4H16-2.csu.mcmaster.ca';

    Thanks for any help.

  • benny

    benny November 9th, 2015 @ 09:29 AM

    Sorry about the late response. I'm a bit stumped with regard to what could cause this. Some times antivirus software can cause weird issues, but this does not seem to be what's happening here. It also does not seem to be totally random behavior since the same database index file is involved in both cases.

    I assume you have rebuilt the database once again? If you have then update to the latest test release of MailMate (hold down ⌥ when clicking “Check Now” in the Software Update preferences pane). Then let me know when/if this happens again and if you can think of any particular usage pattern before the problem appears.

    An additional question: Do you use a Gmail account? (Flags are handled a bit differently for Gmail and maybe this somehow plays a role.)

  • Bhagwati Gupta

    Bhagwati Gupta November 9th, 2015 @ 05:17 PM

    Thanks! This time I followed your previous suggestion and deleted #server-flags.* files. It worked file. There was one more crash after that but things are looking stable for the past 3-4 days. I do use Gmail account. If it helps...I recently started using tags to archive emails in smart folders that are mostly stored in gmail. Could that be an issue? Will moving emails to another platform, e.g., Yahoo, help?

    I have just updated the software to the latest r5166 version. It seems fine. There is one warning message in the terminal that I saw repeated 4 times. Other than that there is nothing unusual.

    SecKeychainFindGenericPassword failed with error: -25300

    Thanks for following up and the suggestions! It means a lot.

  • benny

    benny November 10th, 2015 @ 02:04 PM

    Certainly don't use Yahoo. It's much worse than Gmail.

    The fact that you are using tags with Gmail indicates that this might be a MailMate bug. Let me know if you can reproduce it or if it happens relatively often. Then we can debug the issue.

    The error messages you saw are just related to MailMate not finding an account password in the keychain.

  • Bhagwati Gupta

    Bhagwati Gupta November 12th, 2015 @ 02:10 PM

    Hi there - Below is an output following mailmate crash this morning.

    2015-11-11 09:45:34.228 MailMate[80292:11172700] Bartender: Loaded BartenderHelperNinetySix
    2015-11-11 10:57:56.561 MailMate[80292:11281184] [QL] After retry, preview was from a different type for
    Problems while parsing reported for one or more messages. Details can be found in
    /tmp/mailmate_logs/mailmate_parser_problems.log Warning: IMAP connection terminated during action (1003).
    Warning: Decoding empty text body for id 149912
    Warning: Decoding empty text body for id 149912
    2015-11-11 13:48:38.369 MailMate[80292:11172700] Warning: Unable to reformat “Gupta lab (Group)”
    2015-11-11 13:48:40.824 MailMate[80292:11172700] Warning: Unable to reformat “Gupta lab (Group)”
    2015-11-11 13:48:40.825 MailMate[80292:11172700] Warning: Unable to reformat “Gupta lab (Group)”
    Warning: Decoding empty text body for id 149937
    Warning: Decoding empty text body for id 149937
    Warning: Decoding empty text body for id 149937
    Warning: IMAP connection terminated during action (1003).
    2015-11-11 15:15:28.982 MailMate[80292:11602518] [QL] After retry, preview was from a different type for
    Warning: IMAP connection terminated during action (1003).
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Nov 11 15:42:36 BPG-MBPro.local MailMate[80292] : CGAffineTransformInvert: singular matrix.
    Warning: Decoding empty text body for id 149981
    Warning: Decoding empty text body for id 149981
    Warning: Decoding empty text body for id 149981
    Warning: Decoding empty text body for id 149988
    Warning: Decoding empty text body for id 149988
    Warning: IMAP connection terminated during action (1003).
    objc[80292]: __weak variable at 0x7fd976ceb118 holds 0x2000000000001 instead of 0x7fd976ee19e0. This is probably incorrect use of objc_storeWeak() and objc_loadWeak(). Break on objc_weak_error to debug.

    Warning: IMAP connection terminated during action (1003).
    rename failed: No such file or directory
    old path: '/Users/bpg/Library/Application Support/MailMate/Database.noindex/Headers/#server-flags.offsets', new path: '/Users/bpg/Library/Application Support/MailMate/Database.noindex/Headers/#server-flags.offsets_temp'
    Abort trap: 6

  • Bhagwati Gupta

    Bhagwati Gupta November 19th, 2015 @ 02:29 PM

    Just to keep you posted...another crash happened yesterday with output identical to last 3 lines in my previous report (related to server-flags.offsets_temp). I have stopped using tags and smart folders in my gmail account in order to avoid further complications and possible source of crashes (if at all). Today I have updated to the latest release (r5180).

  • benny

    benny November 20th, 2015 @ 03:42 PM

    Thanks for the update. It'll be interesting whether or not you continue to have the crashes. I still don't have any similar reports, but I still suspect it is somehow related to mapping of Gmail labels.

    Let me know what happens and, in particular, if you find a way to reproduce this 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.

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