Apple Event: May 7th at 7 am PT

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

Mac Mail crashes on startup

Hi,


Since today my Mail app crashes on startup every time. It opens for 1 second and then closes itself leaving me with the choice to send the crash report to Apple. The log file states the following:


Process: Mail [503]

Path: /Applications/Mail.app/Contents/MacOS/Mail

Identifier: com.apple.mail

Version: 8.0 (1990.1)

Build Info: Mail-1990001000000000~3

Code Type: X86-64 (Native)

Parent Process: ??? [1]

Responsible: Mail [503]

User ID: 501


Date/Time: 2014-10-22 14:04:11.109 -0500

OS Version: Mac OS X 10.10 (14A389)

Report Version: 11

Anonymous UUID: AA382903-87AB-1B33-1748-E38AA9169AFF


Time Awake Since Boot: 200 seconds


Crashed Thread: 0 Dispatch queue: com.apple.main-thread


Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:

*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSConcreteTextStorage attribute:atIndex:longestEffectiveRange:inRange:]: Range or index out of bounds'

abort() called

terminating with uncaught exception of type NSException


What is causing this issue and what can I do to prevent this from happening?


Thanks for your help in advance.

MacBook Pro (Retina, 15-inch, Late 2013), OS X Yosemite (10.10)

Posted on Oct 22, 2014 12:06 PM

Reply
5 replies

Oct 25, 2014 1:03 PM in response to jeffd55

The last time I opened Mail, closed unexpectedly while returning to open the windows. Would you attempt to open them again?


If you choose not to open the windows, you must open them and place them yourself.


The log file states the following:


Process: Mail [467]

Path: /Applications/Mail.app/Contents/MacOS/Mail

Identifier: com.apple.mail

Version: 8.0 (1990.1)

Build Info: Mail-1990001000000000~3

Code Type: X86-64 (Native)

Parent Process: ??? [1]

Responsible: Mail [467]

User ID: 502


Date/Time: 2014-10-25 17:01:13.775 -0300

OS Version: Mac OS X 10.10 (14A389)

Report Version: 11

Anonymous UUID: 71FA527D-3523-0241-480D-57D9739FA500



Time Awake Since Boot: 2200 seconds


Crashed Thread: 0 Dispatch queue: com.apple.main-thread


Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000


Application Specific Information:

*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSConcreteTextStorage attribute:atIndex:longestEffectiveRange:inRange:]: Range or index out of bounds'

abort() called

terminating with uncaught exception of type NSException


Application Specific Backtrace 1:

0 CoreFoundation 0x00007fff8d43a64c __exceptionPreprocess + 172

1 libobjc.A.dylib 0x00007fff83e7e6de objc_exception_throw + 43

2 CoreFoundation 0x00007fff8d43a4fd +[NSException raise:format:] + 205

3 UIFoundation 0x00007fff8ac663f3 -[NSConcreteTextStorage attribute:atIndex:longestEffectiveRange:inRange:] + 133


..............

Nov 5, 2014 3:44 AM in response to vcifuentes

My Yosemite Mail app crashes similarly (that is, with an NSRangeException), when some emails are selected. I have switched off the IDLE option on the accounts, which made no difference, and removed plugin bundles, which also made no difference.


The top of the crash report is as follows:


Process: Mail [7264]

Path: /Applications/Mail.app/Contents/MacOS/Mail

Identifier: com.apple.mail

Version: 8.0 (1990.1)

Build Info: Mail-1990001000000000~3

Code Type: X86-64 (Native)

Parent Process: ??? [1]

Responsible: Mail [7264]

User ID: 501



Date/Time: 2014-11-05 11:42:32.504 +0000

OS Version: Mac OS X 10.10 (14A389)

Report Version: 11

Anonymous UUID: FBE1A538-49FF-2EE1-05A1-7791F7E6BC06



Sleep/Wake UUID: 6A583B00-6011-454B-B7AD-F7341D7CB6CE



Time Awake Since Boot: 51000 seconds

Time Since Wake: 2900 seconds



Crashed Thread: 0 Dispatch queue: com.apple.main-thread



Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000



Application Specific Information:

*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSConcreteTextStorage attribute:atIndex:longestEffectiveRange:inRange:]: Range or index out of bounds'

abort() called

terminating with uncaught exception of type NSException



Application Specific Backtrace 1:

0 CoreFoundation 0x00007fff8df4764c __exceptionPreprocess + 172

1 libobjc.A.dylib 0x00007fff97ad06de objc_exception_throw + 43

2 CoreFoundation 0x00007fff8df474fd +[NSException raise:format:] + 205

3 UIFoundation 0x00007fff9850f3f3 -[NSConcreteTextStorage attribute:atIndex:longestEffectiveRange:inRange:] + 133

4 Foundation 0x00007fff8e1e9a68 -[NSAttributedString enumerateAttribute:inRange:options:usingBlock:] + 209

5 Mail 0x00000001003d543a Mail + 1770554

6 Mail 0x000000010027758e Mail + 337294

7 Mail 0x0000000100277186 Mail + 336262

8 Mail 0x000000010027e3fa Mail + 365562

9 Foundation 0x00007fff8e191c73 NSKeyValueNotifyObserver + 382

10 Foundation 0x00007fff8e190e48 NSKeyValueDidChange + 463

11 Foundation 0x00007fff8e1959ad -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 118

12 Mail 0x00000001003601fe Mail + 1290750

13 Mail 0x00000001005046d0 Mail + 3012304

14 Foundation 0x00007fff8e2c52e8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7

15 Foundation 0x00007fff8e1b1905 -[NSBlockOperation main] + 97

16 Foundation 0x00007fff8e19059c -[__NSOperationInternal _start:] + 653

17 Foundation 0x00007fff8e1901a3 __NSOQSchedule_f + 184

18 libdispatch.dylib 0x00007fff95a19c13 _dispatch_client_callout + 8

19 libdispatch.dylib 0x00007fff95a25cbf _dispatch_main_queue_callback_4CF + 861

20 CoreFoundation 0x00007fff8de9ac59 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9

21 CoreFoundation 0x00007fff8de572ef __CFRunLoopRun + 2159

22 CoreFoundation

Nov 7, 2014 5:37 AM in response to Veggiebond

I did more than that, but sadly it didn't help in my case.


I deleted the following:


~/Library/Application Support/AddressBook/MailRecents-v4.abcdmr

~/Library/Containers/com.apple.corerecents.recentsd

~/Library/Containers/com.apple.mail

~/Library/Containers/com.apple.MailServiceAgent

~/Library/Mail


This gave me in effect a clean install. I then added my email (Google) accounts back in. It had no effect - Mail crashed when attempting to open one or two particular emails (the same emails the crashed the application before this procedure).


At present, I cannot determine a distinguishing feature of the emails that cause a crash, as opposed to emails that do not.


Kind regards,




Tim

Mac Mail crashes on startup

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