Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

mail crashes repeatedly in mavericks on 2013 mba

I just installed Mavericks on a 2103 MBA. All went smoothly except for Mail. Mail crashes repeatedly on opening. Any one else having the same issue?

MacBook Air, OS X Mavericks (10.9), 2013 model

Posted on Oct 22, 2013 2:09 PM

Reply
Question marked as Best reply

Posted on Oct 22, 2013 2:18 PM

Yes, I'm getting the same thing, it seems to happen when Mail goes to actually view the message. I'm getting this in the crash report:


Application Specific Information:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -redComponent not valid for the NSColor NSDeviceCMYKColorSpace 0 0.872328 0.263703 0 1; need to first convert colorspace.'

abort() called

terminating with uncaught exception of type NSException

132 replies

Oct 22, 2013 5:53 PM in response to simlid

I am having the above issue. Opening the mail app just hangs (not responding) and if I go to internet accounts and try to click on sync mail for my icloud account it just hangs for ages then throws me up an error saying my icloud mail cannot be connected. All other icloud options seem to be working fine. It's just a mail issue.


CPU usage goes up to 100% for both the mail app and system prefs when I try to go to the 'internet accounts' option.

Oct 22, 2013 5:59 PM in response to simlid

Hate to be the bearer of bad news but I deleted all my Internet Accounts from the prefs, rebooted and the same issue still occurs (hanging mail pegging at above 110%) so clearly another issue.


When I look at logs I see everything from 'Mail: void CGSUpdateManager' on multiple items as well as 'WindowServer UI updates were forcibly ddisbaled by application "Mail" server has re-enabled them'. I also see 'WindowServer UI updates were finally reenabled by application "Mail" after 44.98 seconds (server forcibly re-enabled)


Then finally mail comes back but again no change over when the accounts were all there vs deleting them to start again. The only other thing I have is archived mail locally but that shouldn't be causing an issue

Oct 22, 2013 6:28 PM in response to simlid

All


I appear to be making some progress here. I deleted my accounts from the Internet Accounts Preference pane (luckily most are IMAP) but noticed mail was still hanging and pegging CPU use so at this point I headed to the mail folder ~/Library/Mail/V2.


Once in the folder I noticed that there were remants of the deleted accounts even after a reboot so I went in and deleted everything under V2 (yes I mean all subfolders and their contents within this folder structure (V2). I copied my local archived mailboxes to documents for now. I then rebooted (for clarity) and went straight into Internet Account Preferences within System Preferences (not through Mail, leave that closed for now) and re-added my accounts from all services.


After this I went into Mail and it opened instantly then started to import my mail back from my services. All importing fine and CPU usage is at an all time low (since Mavericks upgrade) of 40% peak.


After this fully imported I quit mail (again it quit quickly this time), went back in and bingo instant open and 40-42% peak CPU use.


Not an ideal solution I know, but appears to be something with imported mail from the upgrade that is killing it.


Just wanted to share another solution. If you try what I did, post back here, let me know so we know we have a working solution across a few of us


Thanks

Oct 22, 2013 7:07 PM in response to Mr Sunshine

I am having the same issue: Mail just crashes after a couple seconds.


my error:


Application Specific Information:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** setObjectForKey: key cannot be nil'

abort() called

terminating with uncaught exception of type NSException


I tried JK Terminal fix but got the same:


Domain (com.apple.mail) not found.

Defaults have not been changed.

Oct 22, 2013 8:22 PM in response to Mac_Addict_JKS

First I renamed ~/Library/Mail to ~/Library/Mail.old

The I deleted accounts as above.

Mail then started up fine, I redefined accounts.


The archived mail that I wanted, I then manually restored with File:Import Mailboxes using the Mac Mail option.

Only one other point.

I had some mbox's embedded within mbox's and the Importer wouldn't work with these.

eg. Archived.mbox/{2001.mbox, 2002.mbox etc.}

All I had to do was move them into a folder like Archived, then I was able to import 2001.mbox etc.

Oct 22, 2013 8:53 PM in response to Mr Sunshine

I have had the same issues. I have methodically set up and re-set up things to conclude:


1. You need to delete ~/Library/Mail and ~/Library/Containers/com.apple.mail to get a clean start if you fail.


2. Setting up an Exchange or GMail account works.


3. The problems start with iCloud. I have been methodically turning on one iCloud feature at a time. So far, everything except Documents & Data and Mail are turned on. It's one of those two that cause the problem (probably Mail).


If you can live without iCloud mail (I can), then you're fine. Just don't turn it on. After you turn it off, delete the folders mentioned above, reboot (only if Mail won't turn off), and then re-add your non-iCloud Mail accounts.


My next test is to try this in a new user profile and see if it's particular to my profile or a general issue.


EDIT: Get this... It's Documents & Data. Just turned it on, and my Mail now crashes.

mail crashes repeatedly in mavericks on 2013 mba

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.