#1010 ✓cantreproduce
rob

MailMate does not start

Reported by rob | January 18th, 2015 @ 11:45 PM

My macbook running 10.9.4. OS X crashed. I rebooted, then when I started MailMate, it told me it was corrupted so I selected to rebuild from cache. The rebuild took several hours then crashed. Now starting MailMate does not load it at all, it just crashes. Can you please urgently help?

Robert

Comments and changes to this ticket

  • benny

    benny January 19th, 2015 @ 08:11 AM

    Sorry to hear that. First let me know what happens when you launch MailMate from the Terminal like this:

    /Applications/MailMate.app/Contents/MacOS/MailMate
    

    Also send me this file:

    ~/Library/Application Support/MailMate/database.log
    

    It might also be worth trying to launch the latest 64 bit release of MailMate in case this is a fixed issue (I don't think it is): http://updates.mailmate-app.com/archives/MailMate_64bit.tbz

    In order to force MailMate to fetch emails from the server then you need to remove the following folders:

    ~/Library/Application Support/MailMate/Database.noindex/
    ~/Library/Application Support/MailMate/Messages/
    ~/Library/Application Support/MailMate/Attachments/
    

    But since rebuilding took hours then you might have very large accounts in MailMate? In that case it might be worth waiting to see if I can use your answers to the above to fix the issue in a different way.

  • rob

    rob January 19th, 2015 @ 02:36 PM

    Hello Benny,

    Here is what I receive when running the MailMate from command line:

    rsmacair01-392:~ rsipko$ /Applications/MailMate.app/Contents/MacOS/MailMate
    Problems while parsing reported for one or more messages. Details can be found in
    /tmp/mailmate_logs/mailmate_parser_problems.log Warning: Rebuilt message with no UID: imap://rsipko@p99-imap.me.com/Deleted Messages/1077293/�
    Warning: Rebuilt message with no UID: imap://rsipko@p99-imap.me.com/Deleted Messages/1077296/�
    Warning: Rebuilt message with no UID: imap://rsipko@p99-imap.me.com/Drafts/1077298/
    update_message_location (16/1077299): , 0, imap://rsipko@p99-imap.me.com/Drafts, 0, 0
    Abort trap: 6
    rsmacair01-392:~ rsipko$

    AND here is the content of the database.log:

    2015-01-08 17:25:55: Real size is smaller than expected size (327620 < 327640): /Users/rsipko/Library/Application Support/MailMate/Database.noindex/Headers/#date-last-viewed.cache (42)
    2015-01-08 17:55:41: Real size is smaller than expected size (327620 < 327640): /Users/rsipko/Library/Application Support/MailMate/Database.noindex/Headers/#date-last-viewed.cache (42)
    2015-01-08 17:56:06: Real size is smaller than expected size (327620 < 327640): /Users/rsipko/Library/Application Support/MailMate/Database.noindex/Headers/#date-last-viewed.cache (43)

  • benny

    benny January 19th, 2015 @ 03:45 PM

    Thanks. It appears that while rebuilding MailMate finds a message with UID 0. This should never happen and is why it terminates.

    I can add code which ensures it doesn't crash MailMate, but I'm a bit concerned that I don't know how MailMate got into this state. I'll update this ticket again when I have a debug build ready for you.

    The database.log appears to be unrelated, but those errors are interesting too. Apparently you had some rebuild requests January 8th...

  • benny

    benny January 19th, 2015 @ 04:07 PM

    Try this test version: http://updates.mailmate-app.com/archives/MailMate_r5039.tbz

    In particular, try launching it from the Terminal again and let me see the output (whether or not it works better than before).

  • rob

    rob January 19th, 2015 @ 05:14 PM

    Running the test version from shell completed the migrating finishing off with:

    Warning: Rebuilt message with no UID: imap://rsipko@p99-imap.me.com/Sent Messages/1202434/�
    Warning: Rebuilt message with no UID: imap://rsipko@p99-imap.me.com/Sent Messages/1202435/�
    Warning: Rebuilt message with no UID: imap://rsipko@p99-imap.me.com/Sent Messages/1202436/�
    Warning: Rebuilt message with no UID: imap://rsipko@p99-imap.me.com/Sent Messages/1202437/�
    Warning: Rebuilt message with no UID: imap://rsipko@p99-imap.me.com/Sent Messages/1202438/�
    Warning: Failed conversion (CFStringCreateWithBytes failed for kCFStringEncodingUTF8).
    Warning: Failed to convert HTML to canonical text (0)
    2015-01-19 08:47:38.368 MailMate[3583:507] CFUserNotificationDisplayAlert: called from main application thread, will block waiting for a response.
    2015-01-19 08:47:41.610 MailMate[3583:507] CFUserNotificationDisplayAlert: called from main application thread, will block waiting for a response.
    2015-01-19 08:47:43.000 MailMate[3583:507] Invalid color System, labelColor (warning given only once)
    2015-01-19 08:47:45.781 MailMate[3583:507] *** WARNING: -[NSImage compositeToPoint:operation:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.
    2015-01-19 08:47:45.781 MailMate[3583:507] *** WARNING: -[NSImage compositeToPoint:fromRect:operation:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.

    Then the MailMate started and seems to be working. What should I do now? Do I run this latest version and can I start running it from other than shell. Also, can I run the 64-bit version to make the application faster?

  • benny

    benny January 19th, 2015 @ 08:10 PM

    • State changed from “new” to “cantreproduce”

    Did you have many of the lines with “no UID”. I cannot actually see the line corresponding to the previous crash. It should have been something like: “Warning: Rebuilt message with UID 0 ...”. I'd like to have seen that.

    Look out for duplicate messages, in particular, in Sent Messages. Note that “Edit ▸ Select Duplicates” can help locate them.

    Yes, you can run the latest version. You can also enable betas in the Software Update preferences pane.

    Yes, you don't need to launch from shell.

    And yes, the 64 bit version is faster.

  • rob

    rob January 19th, 2015 @ 08:32 PM

    Sorry, here is the entire dump. Can you advise what I should do based on it? Also, I am not clear what you would like me to do with duplicate messages. Please advise:

    rsmacair01-392:~ rsipko$ /Applications/MailMate.app/Contents/MacOS/MailMate  
    Problems while parsing reported for one or more messages. Details can be found in  
     /tmp/mailmate_logs/mailmate_parser_problems.log
    Warning: Rebuilt message with no UID: imap://rsipko@p99-imap.me.com/Deleted Messages/1077293/�  
    Warning: Rebuilt message with no UID: imap://rsipko@p99-imap.me.com/Deleted Messages/1077296/�  
    Warning: Rebuilt message with no UID: imap://rsipko@p99-imap.me.com/Drafts/1077298/�  
    Warning: Rebuilt message with UID 0: imap://rsipko@p99-imap.me.com/Drafts/1077299/*  
    Warning: Rebuilt message with no UID: imap://rsipko@p99-imap.me.com/Drafts/1077309/�  
    Warning: Rebuilt message with no UID: imap://rsipko@p99-imap.me.com/Drafts/1077310/�  
    Warning: Rebuilt message with no UID: imap://rsipko@p99-imap.me.com/Sent Messages/1186267/�  
    Warning: Rebuilt message with no UID: imap://rsipko@p99-imap.me.com/Sent Messages/1186268/�  
    ...
    Warning: Rebuilt message with no UID: imap://rsipko@p99-imap.me.com/Sent Messages/1202437/�  
    Warning: Rebuilt message with no UID: imap://rsipko@p99-imap.me.com/Sent Messages/1202438/�  
    Warning: Failed conversion (CFStringCreateWithBytes failed for kCFStringEncodingUTF8).  
    Warning: Failed to convert HTML to canonical text (0)  
    2015-01-19 08:47:38.368 MailMate[3583:507] CFUserNotificationDisplayAlert:  called from main application thread, will block waiting for a response.  
    2015-01-19 08:47:41.610 MailMate[3583:507] CFUserNotificationDisplayAlert:  called from main application thread, will block waiting for a response.  
    2015-01-19 08:47:43.000 MailMate[3583:507] Invalid color System, labelColor (warning given only once)  
    2015-01-19 08:47:45.781 MailMate[3583:507] *** WARNING: -[NSImage compositeToPoint:operation:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.  
    2015-01-19 08:47:45.781 MailMate[3583:507] *** WARNING: -[NSImage compositeToPoint:fromRect:operation:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.  
    Warning: IMAP connection terminated during action (3).  
    Warning: No files to save for atomic saving object.  
    Warning: Unable to handle alternative in multipart of MIME type: 'text/calendar'
    
  • benny

    benny January 19th, 2015 @ 09:15 PM

    I think you should just continue using the 64 bit version. The full output helped me determine the nature of the problem.

    The output also tells me that you had a large number of messages in your Sent Messages mailbox which had not been uploaded to the server. This might have been because this mailbox was previously offline.

    With respect to duplicates: I just wanted to mention the possibility of duplicates. If you do have a lot of them then you can use “View ▸ Select Duplicates” to easily select and delete them.

    (Hint: If you enable the UID column in the message list then you can see if you still have any messages which have not been uploaded to the server. They have no UID.)

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

Pages