#1092 ✓cantreproduce
Andrew Webb

Mailmate Crashes 10 secs after launch [r5086 and latest standard 1.91 release]

Reported by Andrew Webb | April 4th, 2015 @ 07:05 PM

First of all, thanks for such a great application. I'm a very satisfied customer.

After this latest update, MailMate quits about 10 seconds after launching, whether I'm connected to the Internet or not.

MacBook Pro (17-inch, Mid 2010)
2.66 GHz Intel Core i7
8 GB 1067 MHz DDR3
Yosemite 10.10.2 (14C1514)

Here's what I've tried:

Repaired permissions and restarted
Launched both on and offline (same results)
Downloaded and tried r5086 (same results)

Launched from terminal. Dump from terminal and Apple Crash Report are here: http://files.webbtransfer.com/text/371c3P3i411v

Tried Database rebuild http://manual.mailmate-app.com/rebuild
[rm ~/Library/Application\ Support/MailMate/*.tmp] No such file or directory [~/Library/Application\ Support/MailMate/.rebuild.tmp] Permission denied

Here's a screenshot of ~/Library/Application\ Support/MailMate: http://files.webbtransfer.com/image/1R1S381a371U

Anything else I can do to help solve this problem?

Thanks,

/webb

Comments and changes to this ticket

  • benny

    benny April 4th, 2015 @ 07:32 PM

    • State changed from “new” to “cantreproduce”

    Sorry about your trouble. If I understand correctly then r5084 was the one originally crashing. (The r5086 is very cutting edge and shouldn't really be used in general, but I don't think that is the issue here.)

    I'm afraid you have tried so many things that there might not be a lot to debug. I suggest letting MailMate refetch and index all emails. You can do it by deleting the following folders:

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

    And also any .tmp files as you have also done previously. That should give you a clean start and I hope you don't have a huge email collection to refetch. If the problem returns then let me know before you try rebuilding. That might make it easier to figure out what went wrong.

  • Andrew Webb

    Andrew Webb April 4th, 2015 @ 07:51 PM

    Hello Benny,

    No, it was just the regular update that initially crashed. I tried the r5084 just in case it had a fix in it.
    I tried the other stuff because I figured it was better to try to fix things before I pestered you... apparently I was wrong :)

    Yeah, there's a biggish email collection to refetch. A gig+ worth of mail... I've backed up those folders and will now delete the originals and relaunch Mailmate.

    Thanks.

  • Andrew Webb

    Andrew Webb April 4th, 2015 @ 09:36 PM

    Everything loaded up fine, and I used it for a while, then it crashed on sending. Here's the Crash Log
    http://files.webbtransfer.com/text/0Q2n0S2M3y1G

  • benny

    benny April 4th, 2015 @ 09:51 PM

    Hmm, that does look weird. Are there any problems with your disk?

    There should be a bit more information if you launch from a Terminal window and then make MailMate crash:

    /Applications/MailMate.app/Contents/MacOS/MailMate
    
  • Andrew Webb

    Andrew Webb April 4th, 2015 @ 10:47 PM

    Running that way now. Will report on crash.

  • Andrew Webb

    Andrew Webb April 4th, 2015 @ 11:00 PM

    Here's all Terminal had to say about the latest crash. I switched my sig off for an unsaved outbound email and poof! MM crashed.

    CHARLEY:~ webb$ /Applications/MailMate.app/Contents/MacOS/MailMate
    rmdir failed: Permission denied
    Path: /Users/webb/Library/Application Support/MailMate
    Abort trap: 6

    And here's the Crash Log: http://files.webbtransfer.com/text/3p042E233R1E

  • Andrew Webb

    Andrew Webb April 4th, 2015 @ 11:13 PM

    Disk Utility reports no disk problems.

  • Andrew Webb

    Andrew Webb April 5th, 2015 @ 01:15 AM

    I also just noticed that MailMaite isn't calling SpamSieve at launch. I un-checked "Use Mailmate" in prefs, quit MM and relaunched. Re-checked "Use SpamSieve" and quit and relaunched again. Still no SpamSieve.

  • Andrew Webb

    Andrew Webb April 5th, 2015 @ 01:50 AM

    Deleted Smart mailboxes now reappear on relaunch.

  • benny

    benny April 5th, 2015 @ 06:27 AM

    Hmm, it seems MailMate think the app support folder is empty and therefore tries to delete it. Have you tried sym-linking/aliasing any folders to a different location?

    SpamSieve is not launched before it is needed (arrival of messages).

    For now, let's assume the problem with smart mailboxes is related to the main problem.

  • benny

    benny April 5th, 2015 @ 06:31 AM

    Hmm, it might be permissions related. What does this return:

    ls -ld ~/Library/Application\ Support/MailMate
    
  • Andrew Webb

    Andrew Webb April 5th, 2015 @ 07:57 PM

    The only folders on this Mac which are symlinked are Downloads and Dropbox.

    It returns:

    drwx------+ 18 webb staff 612 Apr 5 13:50 /Users/webb/Library/Application Support/MailMate

    FWIW, I've repaired permissions a couple of times. Once after a Safe Boot.

  • benny

    benny April 6th, 2015 @ 07:26 AM

    That's different than mine:

    drwxr-xr-x  23 benny  staff  782 Apr  6 09:10 /Users/benny/Library/Application Support/MailMate
    

    In any case, MailMate shouldn't crash and I'll look into that. You can get permissions like mine using this

    chmod a+rx ~/Library/Application\ Support/MailMate
    

    but the real problem might be the + which means there are extended attributes. I think they can be listed like this:

    ls -lde ~/Library/Application\ Support/MailMate
    

    I'm not an expert in these issues, but it would be interesting to see the output (still, the real problem is that MailMate crashes). If you want to try removing the extended attributes on the folder then it can be done like this:

    chmod -N ~/Library/Application\ Support/MailMate
    

    Note that I don't know why it's there and whether it could somehow be important.

  • Andrew Webb

    Andrew Webb April 6th, 2015 @ 08:44 PM

    Output of [ls -lde ~/Library/Application\ Support/MailMate]

    drwxr-xr-x+ 17 webb staff 578 Apr 6 14:40 /Users/webb/Library/Application Support/MailMate
    0: group:everyone deny delete 1: user:zippygamer allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity


    It's there because I needed to get at some Library files from another account, and so granted myself permission. I have reset the permissions now. I'l let you know right away if another crash occurs.

  • Rodney

    Rodney April 7th, 2015 @ 03:44 PM

    I'm experiencing this same issue with the 1.9.1 upgrade - application crashes after 10-15 seconds.

    MacBook Pro (13-inch, Late 2011)
    2.8 GHz Intel Core i7
    16 GB 1333 MHz DDR3
    OS X 10.9.5

    I started from the terminal and got messages similar to Andrew regarding files larger than expected due to crash. Last entry before crash is just:

    Bus error: 10

    Support folder permissions are fine based on your info above:

    drwxr-xr-x 15 rruss staff 510 7 Apr 09:38 /Users/rruss/Library/Application Support/MailMate/

    but to be fair, I am not getting a rmdir error.

  • benny

    benny April 7th, 2015 @ 07:56 PM

    @Rodney: Doesn't seem like it is the same issue. Have you allowed MailMate to send crash reports (see the General preferences pane)? I don't seem to be able to locate anything with the name rodney.

  • Rodney

    Rodney April 7th, 2015 @ 09:01 PM

    They were enabled, but there was no contact info. I just added it. I rebuilt the database and it seems to be working now.

  • Andrew Webb
  • benny

    benny April 8th, 2015 @ 09:15 AM

    @Andrew: It's probably related, but it's not the same issue. In this case renaming a file unexpectedly fails. If you were running MailMate from a Terminal window then you should see a more detailed error (which file was renamed). Alternatively, you might find it here:

    grep MailMate /var/log/system.log
    
  • benny

    benny April 8th, 2015 @ 09:16 AM

    @Rodney: Ok, let me know if it happens again.

  • Andrew Webb
  • Andrew Webb

    Andrew Webb April 10th, 2015 @ 05:52 AM

    Latest Terminal readout after crash

    Last login: Wed Apr 8 22:15:21 on ttys000
    CHARLEY:~ webb$ /Applications/MailMate.app/Contents/MacOS/MailMate
    Failed to send message to SpamSieve: -1701
    Failed to get score for message 66547 of size 40129
    Unexpected reachable server after 5 seconds delay: mail.seriousretouching.com
    Unexpected reachable server after 5 seconds delay: mail.seriousretouching.com
    Unexpected reachable server after 5 seconds delay: smtp.gmail.com
    Unexpected reachable server after 5 seconds delay: imap.gmail.com
    Unexpected reachable server after 5 seconds delay: imap.gmail.com
    Unexpected reachable server after 5 seconds delay: smtp.gmail.com
    Unexpected reachable server after 5 seconds delay: imap.gmail.com
    Unexpected reachable server after 5 seconds delay: smtp.gmail.com
    Unexpected reachable server after 5 seconds delay: mail.seriousretouching.com
    Unexpected reachable server after 5 seconds delay: mail.seriousretouching.com
    Unexpected reachable server after 5 seconds delay: smtp.gmail.com
    Unexpected reachable server after 5 seconds delay: smtp.gmail.com
    Unexpected reachable server after 5 seconds delay: smtp.gmail.com
    Unexpected reachable server after 5 seconds delay: imap.gmail.com
    Unexpected reachable server after 5 seconds delay: imap.gmail.com
    Unexpected reachable server after 5 seconds delay: imap.gmail.com
    Unexpected reachable server after 5 seconds delay: imap.gmail.com
    Unexpected reachable server after 5 seconds delay: imap.gmail.com
    Unexpected reachable server after 5 seconds delay: imap.gmail.com
    Unexpected reachable server after 10 seconds delay: mail.seriousretouching.com
    Unexpected reachable server after 10 seconds delay: mail.seriousretouching.com
    Unexpected reachable server after 10 seconds delay: smtp.gmail.com
    Unexpected reachable server after 10 seconds delay: smtp.gmail.com
    Unexpected reachable server after 10 seconds delay: smtp.gmail.com
    Unexpected reachable server after 80 seconds delay: mail.chalmersbutterfield.com
    Warning: IMAP connection terminated during action (1002).
    Warning: IMAP connection terminated during action (1002).
    Warning: IMAP connection terminated during action (1004).
    2015-04-09 09:55:20.052 MailMate[1423:61740] NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
    2015-04-09 09:55:20.133 MailMate[1423:61740] NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
    2015-04-09 09:55:20.152 MailMate[1423:61740] NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
    2015-04-09 09:55:20.156 MailMate[1423:61740] NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
    2015-04-09 09:55:20.161 MailMate[1423:61740] NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
    2015-04-09 09:55:20.199 MailMate[1423:61740] NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
    2015-04-09 09:55:20.199 MailMate[1423:61740] NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
    2015-04-09 09:55:20.214 MailMate[1423:61740] NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
    2015-04-09 09:55:20.230 MailMate[1423:61740] NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
    Warning: Decoding empty text body for id 66721
    Warning: Decoding empty text body for id 66721
    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: IMAP connection terminated during action (1003).
    Warning: IMAP connection terminated during action (1003).
    Warning: IMAP connection terminated during action (1003).
    Warning: IMAP connection terminated during action (1002).
    Warning: IMAP connection terminated during action (1000).
    Warning: IMAP connection terminated during action (1003).
    Warning: IMAP connection terminated during action (1003).
    Warning: IMAP connection terminated during action (1003).
    Warning: IMAP connection terminated during action (1003).
    Warning: IMAP connection terminated during action (1003).
    Note: UID 928 does not exist in mailbox (INBOX/PALS/FP)
    Warning: Cancelling failed copy operation for msg 65748 to INBOX/Deleted Messages.
    rename failed: Permission denied
    old path: '/Users/webb/Library/Application Support/MailMate/Sources.plist', new path: '/Users/webb/Library/Application Support/MailMate/Sources.plist_backup'
    Abort trap: 6
    CHARLEY:~ webb$


    Note: The crash happened several hours after the sudden WiFi connection loss.

  • benny

    benny April 10th, 2015 @ 06:50 AM

    @Matt: Ok, I think you can crash MailMate by doing any change which requires updating one of the main .plist files. For example, changing IMAP settings, signatures, tags, or smart mailboxes. MailMate is not even allowed to rename files in the main folder:

    ~/Library/Application Support/MailMate/
    

    In other words, there is still some kind of problem with the folder/file permissions. Could you investigate?

    (I cannot work around an error when renaming a file.)

  • Andrew Webb

    Andrew Webb April 10th, 2015 @ 03:34 PM

    Ok. I followed the instructions to reset permissions and ACLs on this page:

    http://www.macissues.com/2014/04/11/how-to-fix-home-folder-permissions-in-os-x/

    I'll now launch MM via Terminal and will report back.

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