1

Application Specific Information: * Terminating app due to uncaught exception 'NSRangeException', reason: '* -[__NSArrayM objectAtIndexedSubscript:]: index 9223372036854775807 beyond bounds [0 .. 1]' terminating with uncaught exception of type NSException abort() called

Mail does not crash when I delete each email in the trash individually, only when I select them all then hit "delete." I have tried to delete the mail preferences, rebuilt the mailbox, deleted/reinstalled the account, reset the VRAM, erased the disk and reinstalled High Sierra (then restored from CCC5), ran disk utility from Recovery Drive, called AppleCare (very dismissive of my "obsolete" Mac Pro), booted into Safe Mode (same problem).

11
  • I have an old iMac and my system software is High Sierra, that's as far as I can go. I just tried to replicate your problem. I went to the mail and I had over 100 messages in my Trash Can. I opened the trash, selected all, and deleted them all with no problem. So what's the difference between our systems.
    – Natsfan
    Mar 30 '20 at 23:18
  • 1
    Updated EFI and SMC firmware so my 2009 Mac Pro can run High Sierra with an Nvidia graphics card. Everything running smoothly except for this weird bug in my Mail app. Is there a way to delete the Mail app and reinstall? Apple won't help me because they say my computer is obsolete.
    – tobyzero
    Mar 31 '20 at 0:57
  • When you rebuilt the mailbox did you also get it to re-index? Quit mail, then ~/Library/Mail/V6/MailData/ delete all the Envelope Index files [dupe to desktop first for safety] & re-launch Mail. The rebuild may take some time.
    – Tetsujin
    Mar 31 '20 at 6:33
  • 1
    I have a 2010 iMac and mine is "obsolete" also! i know how you feel...
    – Natsfan
    Mar 31 '20 at 14:57
  • 1
    @Tetsujin, I think that worked! This is the first time I've been able to select all mail in the Trash and delete it without a crash... for months. Thank you for your answer!
    – tobyzero
    Apr 1 '20 at 17:04
1

When you rebuilt the mailbox did you also get it to re-index?

Quit mail, then ~/Library/Mail/V6/MailData/ delete all the Envelope Index files [duplicate to the desktop first for safety] & re-launch Mail.

The rebuild may take some time

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .