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

OSX Mail crashing

My Mail is crashing regularly after any actions are taken, say maybe ten seconds after using. This error:

Application Specific Information:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSDictionaryM setObject:forKeyedSubscript:]: key cannot be nil'

terminating with uncaught exception of type NSException

abort() called




Crashed Thread: 4 Dispatch queue: NSOperationQueue 0x60800082ab60 (QOS: UNSPECIFIED)



Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY


Any suggestions?

iMac, iOS 11.2.6

Posted on Mar 13, 2018 9:41 AM

Reply

Similar questions

4 replies

Mar 13, 2018 10:23 AM in response to Dann_Cutter

Do a backup, preferably 2 on 2 separate drives.


Quit Mail.


Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J. When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder. Go to Library/Containers/com.apple.mail. Move the folder com.apple.mail to your desktop. You must move the entire folder, not just the contents.


Restart, re-launch Mail and test. If the problem is solved, recreate any required Mail settings and import any emails you want to save from the folder on the desktop. You can then put the folder in the Trash. If the problem remains, return the folder to where you got it replacing the one that is there.


If that doesn’t solve it repeat the above using Containers/com.apple.MailServiceAgent.

Information learned from Linc Davis. Thanks to leonie for some information contained in this.


Mail crashing


Crashes/quits unexpectedly


Mar 20, 2018 10:34 AM in response to Dann_Cutter

Also try the Safe Mode.


Safe Mode - About El Capitan
also Sierra


Safe Mode Startup – El Capitan. also Sierra


If it works in the Safe Mode, try running this program when booted normally and then copy and paste the output in a reply. The program was created by Etresoft, a frequent contributor. Please use copy and paste as screen shots can be hard to read. Click “Share Report” button in the toolbar, select “Copy to Clipboard” and then paste into a reply. This will show what is running on your computer. No personal information is shown.

Etrecheck – System Information

OSX Mail crashing

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