Mail crash / Mountain Lion: "AddressBook datafile is a directory"

My Mail app began crashing yesterday -- a few days after upgrading to Mountain Lion. I posted the crash dump, but no resolution yet.
It crashes right away on starting up the app.
Today, I noticed the following Console message -- it appears every time I click on the Mail app:
7/31/12 10:34:12.815 AM Mail[4427]: -[ABAddressBook sharedAddressBook] Error: The AddressBook datafile is a directory!
I'm hoping someone on these forums can figure out the issue/resolution from this clue.
Thanks!

Here's some more data. The first page of the crash dump. The corroborating evidence is the fact that there is addressbook related stuff on the top of the stack:
Process:         Mail [4357]
Path:            /Applications/Mail.app/Contents/MacOS/Mail
Identifier:      com.apple.mail
Version:         6.0 (1485)
Build Info:      Mail-1485000000000000~3
Code Type:       X86-64 (Native)
Parent Process:  launchd [333]
User ID:         509
Date/Time:       2012-07-31 10:32:23.189 -0700
OS Version:      Mac OS X 10.8 (12A269)
Report Version:  10
Sleep/Wake UUID: 92628109-2395-4759-921D-5FF92910E305
Crashed Thread:  0  Dispatch queue: com.apple.main-thread
Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Regions Near 0:
-->
    __TEXT                 0000000104197000-0000000104534000 [ 3700K] r-x/rwx SM=COW  /Applications/Mail.app/Contents/MacOS/Mail
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_c.dylib                       0x00007fff8f449690 strlen + 16
1   com.apple.AddressBook.framework          0x00007fff91767f58 ABInitFileLock + 34
2   com.apple.AddressBook.framework          0x00007fff9176474c -[ABAddressBook nts_InitDefaultContactManager] + 250
3   com.apple.AddressBook.framework          0x00007fff9176452c +[ABAddressBook nts_SharedAddressBook] + 82
4   com.apple.AddressBook.framework          0x00007fff9176443b +[ABAddressBook nts_CreateSharedAddressBook] + 49
5   com.apple.AddressBook.framework          0x00007fff91763788 +[ABAddressBook sharedAddressBook] + 69
6   com.apple.AddressBook.framework          0x00007fff91785a01 +[ABAddressBook addressBookWithDatabaseDirectory:options:] + 60
7   com.apple.MessageFramework              0x00007fff8b9cdd5a +[MailAccount _setMailAccounts:calledFromSync:reloadingFromPreferences:] + 2595
8   com.apple.MessageFramework              0x00007fff8b9c9184 +[MailAccount reloadMailAccounts] + 61
9   com.apple.MessageFramework              0x00007fff8b9c9132 +[MailAccount _mailAccountsIncludingUnknownTypes] + 29
10  com.apple.MessageFramework              0x00007fff8b9c9056 +[MailAccount mailAccounts] + 61
11  com.apple.MessageFramework              0x00007fff8b9d014f +[MailAccount haveAccountsBeenConfigured] + 47
12  com.apple.mail                          0x000000010419ae58 0x104197000 + 15960
13  com.apple.CoreFoundation                0x00007fff85971b8a _CFXNotificationPost + 2554
14  com.apple.Foundation                    0x00007fff8a781a76 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
15  com.apple.mail                          0x00000001041997d5 0x104197000 + 10197
16  com.apple.AppKit                        0x00007fff8e933f5d -[NSApplication _postDidFinishNotification] + 292
17  com.apple.AppKit                        0x00007fff8e933c96 -[NSApplication _sendFinishLaunchingNotification] + 216
18  com.apple.AppKit                        0x00007fff8e930ec2 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 566
19  com.apple.AppKit                        0x00007fff8e930abc -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 351
20  com.apple.Foundation                    0x00007fff8a79b35b -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 308
21  com.apple.Foundation                    0x00007fff8a79b1bd _NSAppleEventManagerGenericHandler + 106
22  com.apple.AE                            0x00007fff887f8f68 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 307
23  com.apple.AE                            0x00007fff887f8dc9 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 37
24  com.apple.AE                            0x00007fff887f8c89 aeProcessAppleEvent + 318
25  com.apple.HIToolbox                     0x00007fff8ae69e29 AEProcessAppleEvent + 100
26  com.apple.AppKit                        0x00007fff8e92d2a6 _DPSNextEvent + 1456
27  com.apple.AppKit                        0x00007fff8e92c862 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
28  com.apple.AppKit                        0x00007fff8e923c03 -[NSApplication run] + 517
29  com.apple.AppKit                        0x00007fff8e8c8656 NSApplicationMain + 869
30  libdyld.dylib                           0x00007fff91cb27e1 start + 1

Similar Messages

  • How to fix slow mail in mountain lion in a easy way

    How to fix slow mail in mountain lion in a easy way

    Please follow these directions to delete the Mail "sandbox" folder.
    Back up all data.
    Triple-click the line below to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Quit and relaunch Mail, and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Post your results.
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • Mail import Mountain Lion Build 12D65

    I can't import mailboxes from system 10.6.8 on another hard drive to Mail in Mountain Lion. When I go to import and choose library in my home folder on 10.6.8, it appears to be empty. Attempting to import from this library folder crashes Mail. If I simply choose the hard drive, it crashes Mail.
    My home folder on the other drive is set for read/write for everyone, as is the library folder and the hard drive itself. Bur when I try to open the library folder, I get a message that says I don't have permission.

    Build 12D65 is a closed beta, and you need to address this issue on the developer forums.
    Matt

  • How can I change order of email accounts in Mail on Mountain Lion?

    In Mail on Mountain Lion I have only two email accounts, but the wrong one has been set as default (because it was an account I had overlooked and added later). I cannot find how to change the order of the email accounts. One possibility is to delete the non-default account and re-add it, so that it becomes the most recent and thus (presumably) the default, but this would delete all the email messages in that account, which I cannot afford.
    It's a great flaming pain to try to remember each email I write to select the second account option, and yet I can find no way to change email account order---not in Mail and not in System Preferences. Dragging them certainly does not work.
    Can Apple have really missed this? Is there any solution?

    Comfortable with terminal...know how to edit using TextEdit:
    Open up a Terminal and use the following commands to change your Mail.app preferences file to an XML format – the default format is binary, and you can't edit this.
    cd ~/Library/Preferences
    plutil -convert xml1 com.apple.mail.plist
    Then, open this file com.apple.mail.plist with a text editor of your choice, preferably one that highlights XML syntax, but you can also use TextEdit:
    open -a "TextEdit" com.apple.mail.plist
    Now, look for the key called MailAccounts. It's value is an array, with dict children. Here, you'll find all your mail accounts in the order they were created in.
    You can now manually move these dict children around. Save the XML file and reopen Mail. Now, your Mail account order will be changed.

  • What is happening with quote substitution in Mail since Mountain Lion?

    What is happening with quote substitution in Mail since Mountain Lion? Now, whenever I type an apostrophe and it's replaced with a smart quote, it creates an unwanted space within my word and starts typing from there. It will also revert the font from my template style to helvetica. Annoying as heck! Any thoughts? Turning off smart quote substition in Mail elimates the error, but elimates the smart qoute, too. I'm stumped.

    What is happening with quote substitution in Mail since Mountain Lion? Now, whenever I type an apostrophe and it's replaced with a smart quote, it creates an unwanted space within my word and starts typing from there. It will also revert the font from my template style to helvetica. Annoying as heck! Any thoughts? Turning off smart quote substition in Mail elimates the error, but elimates the smart qoute, too. I'm stumped.

  • Exporting OS X Mail from Mountain Lion to Snow Leopard

    After upgrading to Mountain Lion, I partitioned my iMac HD to have two partitions: Macintosh HD has Mountain Lion; I reinstalled Snow Leopard on Macintosh HD 2. Best part: you can access your user-created files from EITHER disk partition. But not so OS X Mail. I wanted to revert to Snow Leopard, since I don't like the iOS-like Mountain Lion (swipe THIS!), but Mail was a problem since all my Snow Leopard Mail was successfully migrated over to Mountain Lion during upgrade. But I think I found a way to Export Mail from ML to (a clean install of) SL.
    Try this:
    1.  Open Mail in ML. For each folder you wish to have back in SL, Export it to your ML Desktop as an .mbox file. Depending on the folder size, this can take from a few seconds to several minutes. You'll see an .mbox icon for the particular folder on your Desktop. If the word "partial" appears between the folder name and the .mbox suffix, wait a few moments for the Export to complete, at which time the word "partial" will disappear. E.g., for a folder named "Mary", if it's a huge one, the icon will first appear as "Mary.partial.mbox"; when the Export is done, you'll see "Mary.mbox".
    2.  When you've Exported all your desired folders as above, you can exit ML and re-start your Mac in SL. Open Mail in Snow Leopard, and once again, for each file you just Exported in ML to the Desktop there, select "Import Data From Apple Mail" and choose the folder from the Desktop in ML to which your mboxes were Exported. When the Import starts, you can see via a progress bar how far along it is. When done, you'll see a new folder in your SL Mail called "Import"; click on it to reveal the folder you just Imported!
    3.  Then drag the folder you just Imported out of the Import folder to "On My Mac" in SL Mail; you can then delete the Import folder.
    4.  Repeat until all your folders are where you want them (in SL).
    5.  When you have time, go back into ML and clear all those .mbox files from your Desktop.
    There MAY be an easier way, but this is what worked for me.

    The iOS view vs classic view in Mail is not the problem; I've already configured for classic view.
    Mountain Lion itself is.
    My short list (to date) of crappy Mountain Lion behavior; items marked with a double asterisk (**)represent the worst of Mountain Lion for me.
    ** No up/down arrows in scroll bar slider;
    Expose` not as easy to navigate as in Snow Leopard;
    Mail does not request passwords for either receive or send;
    No "Save Draft" icon in Mail compose window (workaround: use command-s);
    "Save As" selection missing in most app menus;
    No separate Search window in Safari (workaround: use Firefox or Opera);
    ** Can't export Mail from Mountain Lion into Snow Leopard if downgrading (I compiled this list before I stumbled on the method in this thread, but I'd prefer to effect this with Unix symbolic links);
    iWork 09 seems to have "circled the wagons" re compatibility with MS Office or LibreOffice (workaround: just use Libreoffice);

  • Using Gmail through Mail in Mountain Lion - issue with inbox syncing across multiple machines

    Hi. I am using Gmail through Mail in Mountain Lion on my iMac, as well as Mail in my iPad and iPhone. Generally speaking Mail seems to sync well across the three machines. However for some reason when I view an email in my inbox on either my iPhone or my iPad, the inbox on my iMac does not reflect the fact the email has been read: ie, while the email is marked as having been 'read' across both my iPad and iPhone, it remains 'unread' on my iMac. It is really frustrating and stuffs up the process managing the flow of emails. Is anyone able to help me please? Thanks so much.
    Best
    Jordan

    Hi SB. Thanks for your advice. I checked and I am using the recommended settings. I'm still not sure how to fix this. It's very irritating! I will read an email on my ipad, then hit my imac and see that the email is sitting unread in my Mail inbox.

  • Using mail in MOuntain Lion

    I have tried to use mail in mountain lion wiht icloud as my server, and my outgoing mail will not e sent or disappears.I am having the same toruble with my IPHOne using wifi.
    Steve

    Hi SB. Thanks for your advice. I checked and I am using the recommended settings. I'm still not sure how to fix this. It's very irritating! I will read an email on my ipad, then hit my imac and see that the email is sitting unread in my Mail inbox.

  • Why doesn't notes in Mavericks show the notes i had on iCloud in mail in Mountain Lion?, why doesn't notes in Mavericks show the notes i had on iCloud in mail in Mountain Lion?

    Why doesn't notes in Mavericks show the notes i had on iCloud in mail in Mountain Lion?, why doesn't notes in Mavericks show the notes i had on iCloud in mail in Mountain Lion?

    Ask a fifth time, and maybe the answer will appear.
    Are the notes actually in iCloud?  If you go to iCloud.com and log in, do you see them there?  If so, it's an issue on your computer side.  If not, then the notes don't exist on the server.

  • Mail on Mountain Lion is a total shambles....

    I am trying to decide to switch to Mail from Outlook and my first foray into the latest version of Mail on Mountain Lion suggests that it is a total shambles..
    I cannot get a consist view in my inbox of messages received, although if i go to the  iCloud.com it all seems fine. I have some simple rules set up to identify messages and copy them to local folders on the MAC and i am getting inconsistent results. For example i  have 5 messages coming in from the same sender. My rules are set up to copy all of these messages to a local folder on my Mac, only 2 out of the 5 messages are being identified and copied.
    I have another rule that copies other messages to another local folder if they are not recognized as being a member of a particular group and none of these are being recognized and copied.
    Providing feedback to Apple on Mail also seems a joke as they are only interested in you allowing them to access certain data about your confignuration......
    Anyone suggest an alternative to mail and Outlook?
    Thanks
    John

    Yes i have but i get similar issue with them.
    Thanks
    John

  • Two users, one account, in Mac Mail on Mountain Lion?

    Background:  My wife and I share a single mac mail account.  Prior to Mail 6 (Mountain Lion), each of us would set our own "full name" in the account preferences.  In Mail 6, this field is greyed out, since you now set it in iCloud.  The obvious problem here is that we no longer can each have our own "full name" ... so recipents cannot quickly see in their inbox who sent the message.
    It looks like Apple is limiting the "full name" to only a single entry (set in the cloud).  Any ideas would be greatly appreciated!!
    Thanks in advance,
    scott

    "Bumping" ... anyone have a solution?

  • Mail crashes since Lion download

    Has anyone had a problem with Mail crashing after Lion update?

    My mail in Lion on a Macbook Pro 15-inch late 2008. Seems to continue to crash when what appears to be a draft save for imap, or whatever it is. This has become increasingly regular and absolutley annoying. I hope this is something that is being looked into because it is driving me nuts.
    Thanks,
    Tim

  • NHS mail with Mountain Lion

    Anyone having problems with their NHS-mail using Mountain Lion (e.g. 10.8.4)?
    Upon creating my NHS account on Mac-mail I have encountered repeated problems.
    The mails disappear at random times or each time I reboot my Macbook Air. At random times, the mails begin to reload and then disappear again.
    This did not happen with my previous Macbook Air, which had Snow Leopard, and it does not occur with my other email accounts with Mountain Lion.
    I called Mac Support who suggested I remove the NHS-mail account from the Mac-mail and then recreat it, but this has not resolved the problem.
    Can anyone assist, please?

    http://support.apple.com/kb/ts4363  - this is all I can suggest.
    If they can't give you enough help, http://www.mail2web.com/ or http://www.altomail.com/ might work better at accessing it via web browser.   Microsoft Outlook for the Mac also has good Exchange support, but you have to buy the full Microsoft Office 2011 suite for the Mac.    Older versions may work as well, under Entourage.  Storing mail on your computer though can lead to significant data corruption of e-mail if you have large e-mail storage of over 4 GB.

  • Problems deleting mail from apple mail under mountain lion

    I'm a little baffled by the way that the DELETE function works on Mail in Mountain Lion. When I delete a mail from "All Inboxes" it appears to remain in the individual inbox. I have GMAIL and Mac.com mail being gathered into apple mail. I should note that I have GMAIL pulling apple mail into GMAIL, but it's supposed to delete it from Mac.com once the mail is pulled into GMAIL.
    Any ideas?

    I am suddenly having the same issue in mac mail. Giving me an error message "email name cannot be moved to the mailbox null" "Destination mailbox null does not allow messages to be moved to it" I have no idea what mailbox "null" is. This just started happening a day ago... Any suggestions?

  • I got another mail regarding mountain lion free upgrade program !! But its saying OS X server not able to download ?

    I got another mail regarding mountain lion free upgrade program !! But its saying OS X server not able to download ?
    Plz Help

    You are not alone in this, Maddy. I had the same thing happen. Apple obviously sent incorrect codes that redeemed for OS X Server instead of Mountain Lion. I called Apple Care who said that it must be some server fluke and that they would get back to me within 24 hours.

Maybe you are looking for

  • Im having problems installing Adobe Photoshop Elements 8

    Hello! Please excuse my bad English. I help myself with Google translate. I have a Mac OS X 10.6.6. Even one month before I download the and installed a trial version of Adobe Design Premium CS5. Trial period has expired. I intend it in the short to

  • Help!! with my if statements

    I am using the following code on a JSP page, it evaluates the nulls just fine, but for some reason it does not seem to evaluate my strings to see if they are the same which gives me several duplicate lines.... <UL>     <% if(strTemp1=="") {%>      <L

  • Change of Source client in transport request

    Hi Gurus, I want to change source client of transport request Since I want to transport request between clients of same server. I did it using scc1 But when I want to make any changes to form which was included in that request it is saying Request/ta

  • How to implement wait activity in OWB process flows?

    Hi, I am using OWB 10G R1. There is no wait activity in process flows. My scenario is, whenver a trigger file is created, I want to proceed with the process flow. If the trigger file doesnot exist, then I want to put the process flow in a wait state,

  • MobileMe keeps disabling: Mail App

    Hi, I have a really bizarre problem. My MobileMe email account keeps switching off in the Mac Mail client. Every morning its disabled and I have to enter mail preferences / advanced and click on the "Enable this account" button. Any ideas what's caus