Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Joshoon

macrumors regular
Original poster
Aug 18, 2014
146
23
Netherlands
Hi all :)

I am experiencing a strange problem since today.
Yesterday my mail app worked completely fine, but when I booted up this morning and started the mail app, it crashed.
This is happening every time when I launch the mail app.

I am running Mac OS X Yosemite Beta 2.

Here is a part of the crash log:

Process: Mail [509]
Path: /Applications/Mail.app/Contents/MacOS/Mail
Identifier: com.apple.mail
Version: 8.0 (1973.6)
Build Info: Mail-1973006000000000~5
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Mail [509]
User ID: 501

Date/Time: 2014-09-05 23:25:29.286 +0200
OS Version: Mac OS X 10.10 (14A329r)
Report Version: 11
Anonymous UUID: 346D8A95-31C3-A90D-6E0C-B866C5E7C134


Time Awake Since Boot: 1200 seconds

Crashed Thread: 22 -[MailApp _setSourceOnGmailLabels] Dispatch queue: NSOperationQueue 0x610000254c10 :: NSOperation 0x6000004595c0 (QOS: LEGACY)

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
*** Terminating app due to uncaught exception 'MFSQLiteException', reason: 'inserting mailbox url'
abort() called
terminating with uncaught exception of type NSException

Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff87516ccc __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff931116de objc_exception_throw + 43
2 Mail 0x00007fff8d3a1c0f rowidForMailboxURL + 986
3 Mail 0x00007fff8d3c27c8 __50+[MFLibrary mailboxIDForMailbox:loadIfNotPresent:]_block_invoke + 57
4 Mail 0x00007fff8d3c3390 +[MFLibrary executeBlock:isWriter:useTransaction:isPrivileged:] + 1986
5 Mail 0x00007fff8d3c2739 +[MFLibrary mailboxIDForMailbox:loadIfNotPresent:] + 454
6 Mail 0x00007fff8d38e3b0 +[MFLibrary _mailboxIDsStringForMailboxes:] + 225
7 Mail 0x00007fff8d38cd76 +[MFLibrary setSourceMailbox:forMailboxes:] + 151
8 Mail 0x00000001019bc186 Mail + 397702
9 CoreFoundation 0x00007fff873ef94c __invoking___ + 140
10 CoreFoundation 0x00007fff873ef7a2 -[NSInvocation invoke] + 290
11 MailCore 0x00007fff922ea6d4 -[MCThrowingInvocationOperation main] + 48
12 MailCore 0x00007fff92272b6d -[_MCInvocationOperation main] + 426
13 Foundation 0x00007fff8f210dac -[__NSOperationInternal _start:] + 653
14 Foundation 0x00007fff8f2109b3 __NSOQSchedule_f + 184
15 libdispatch.dylib 0x00007fff854cad53 _dispatch_client_callout + 8
16 libdispatch.dylib 0x00007fff854ce3f7 _dispatch_queue_drain + 1100
17 libdispatch.dylib 0x00007fff854cff4c _dispatch_queue_invoke + 202
18 libdispatch.dylib 0x00007fff854cd78b _dispatch_root_queue_drain + 454
19 libdispatch.dylib 0x00007fff854dc002 _dispatch_worker_thread3 + 91
20 libsystem_pthread.dylib 0x00007fff9281f6cb _pthread_wqthread + 729
21 libsystem_pthread.dylib 0x00007fff9281d4a1 start_wqthread + 13

Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8edff52e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8edfe69f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff87427124 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff874265eb __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff87425e48 CFRunLoopRunSpecific + 296
5 com.apple.HIToolbox 0x00007fff92d971bf RunCurrentEventLoopInMode + 235
6 com.apple.HIToolbox 0x00007fff92d96f3a ReceiveNextEventCommon + 431
7 com.apple.HIToolbox 0x00007fff92d96d7b _BlockUntilNextEventMatchingListInModeWithFilter + 71
8 com.apple.AppKit 0x00007fff8c3c0165 _DPSNextEvent + 1000
9 com.apple.AppKit 0x00007fff8c3bf939 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 139
10 com.apple.AppKit 0x00007fff8c3b3893 -[NSApplication run] + 594
11 com.apple.AppKit 0x00007fff8c39ed14 NSApplicationMain + 1832
12 libdyld.dylib 0x00007fff9481f5c9 start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8ee0522e kevent64 + 10
1 libdispatch.dylib 0x00007fff854cdb3c _dispatch_mgr_thread + 52

Thread 2:
0 libsystem_kernel.dylib 0x00007fff8ee04946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9281d4a1 start_wqthread + 13

Thread 3:
0 libsystem_kernel.dylib 0x00007fff8ee04946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9281d4a1 start_wqthread + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff8ee04946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9281d4a1 start_wqthread + 13

Thread 5:
0 libsystem_kernel.dylib 0x00007fff8ee04946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9281d4a1 start_wqthread + 13

Thread 6:
0 libsystem_kernel.dylib 0x00007fff8ee04946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9281d4a1 start_wqthread + 13

Thread 7:
0 libsystem_kernel.dylib 0x00007fff8ee04946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9281d4a1 start_wqthread + 13


I really hope someone can help me out.
Thanks a lot in advance!
 
Last edited:
Looks like the crash I had on DP6. :eek:

I found a thread on this board where there was a hint on deleting the entire mail folder (and some more in the library). Then re-enter everything. Try a search.

Since I use imap I didn't have to worry about losing mails.

If you don't, do you have a time machine backup from yesterday? Maybe you could just restore the folder...

Because if you do this (simply delete those folders) mails and everything will be gone from your machine.

Edit: Found the folders which I deleted

Application Support/AddressBook/MailRecents-v4.abcdmr

Containers/com.apple.mail

Containers/com.apple.MailServiceAgent

Mail

After that I was able to reopen Mail but - as expected - had to do the entire setup again.
 
Last edited:
Looks like the crash I had on DP6. :eek:

I found a thread on this board where there was a hint on deleting the entire mail folder (and some more in the library). Then re-enter everything. Try a search.

Since I use imap I didn't have to worry about losing mails.

If you don't, do you have a time machine backup from yesterday? Maybe you could just restore the folder...

Because if you do this (simply delete those folders) mails and everything will be gone from your machine.

Edit: Found the folders which I deleted

Application Support/AddressBook/MailRecents-v4.abcdmr

Containers/com.apple.mail

Containers/com.apple.MailServiceAgent

Mail

After that I was able to reopen Mail but - as expected - had to do the entire setup again.

Thank you for your response.
I have been trying to delete the Containers folders of mail, but that didn't make any dense.

I've updated to DP7, and that seems to have solved the problem :)
 
Mac Mail Crashing

My mail app (5.3) crashed just as suddenly yesterday, and would freeze to the point where I couldn't even select "Rebuild". Before reinstalling everything, I removed the "Sent" box from the Mail>V2 folder in the library. It was in excess of 1 gig and Mac Mail was apparently no longer able to open it. The clue was a grey animated "timer" by the Sent Box in Mac Mail which would ultimately freeze, after which I'd get a beachball. The app would have to be Force Quit, as "Quit Mail" no longer worked.

I realize this may not help in every case, but it sure saved me a lot of trouble in the form of reinstalling. Good luck!
 
Mail was crashing upon opening, and holding the shift key down didn't fix it. I finally figured out there was a problem with a message in the Outbox, and Mail kept trying to send the email each time the app opened.
What worked was turning wi-fi off and disconnecting my Ethernet cable, then opening Mail (with the shift key held down, though I don't know if that was necessary at that point) and deleting the offending message. Then I connected to the Internet again, and all was well.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.