Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Repair a Smart Group-related Address Book problem Apps
Today I decided to make a strange Smart Group in Address Book which resulted in an infinite loop and a crash of the application. The Smart Group's conditions were: Card -- is not -- member of AGROUP and Card -- is member of -- any group.

Of course, when I later decided to open Address Book again, it tried to fulfill the Smart Group and crashed again. I managed to solve the problem with the following steps:
  1. Obviously I had Address Book closed, but just to be explicit, close it if it's somehow running.
  2. Delete the file ~/Library » Application Support » AddressBook » AddressBook-v22.abcddb. Make a backup first, just in case.
  3. Delete the smart group metadata file in ~/Library » Application Support » AddressBook » Metadata. To find the right file to delete, so I wouldn't lose all my Smart Groups, I sorted the files by date and erased the last-edited file that ended in "...ABGroup.abcdg".
  4. Relaunch Address Book. It will create the AddressBook-v22 file automatically, using the information in the Metadata directory.
I didn't lose any contacts or related information, and Address Book is now working as expected.

[robg adds: I can confirm that you can, indeed, kill Address Book with this Smart Group, and that the fix described here works.]
    •    
  • Currently 3.57 / 5
  You rated: 2 / 5 (14 votes cast)
 
[11,080 views]  

Repair a Smart Group-related Address Book problem | 7 comments | Create New Account
Click here to return to the 'Repair a Smart Group-related Address Book problem' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Repair a Smart Group-related Address Book problem
Authored by: ctalmond on May 04, '09 08:07:33AM

Holy crap you guys are johnny on the spot. A week ago I created a smart group similar to the one above, though I can't remember exactly what it was. AB crashed and would not launch at all anymore. A call to Apple Care ultimately led me to Archive & Install OS X yesterday, but that didn't work either. Today, I'm in the middle of backing up so I can format & re-install OS X all because of some stupid smart group and this bundle of joy pops up in my google reader. I couldn't believe my eyes.

I tried your steps but that didn't do it. Trying one last thing before giving up, I sorted by Kind in the metadata folder and deleted ALL of the .abcdg files. PRESTO, I'm back in business! I lost my smart groups, but I had an AB archive file a few weeks ago, so I loaded that up and all is well again.

Thank you thank you thank you thank you thank you.........



[ Reply to This | # ]
Repair a Smart Group-related Address Book problem
Authored by: Quatch on May 04, '09 12:27:43PM

Ahhh, Thank you very much in turn!

I've had this broken since 10.4. I've used the workaround where by if you only view card (not columns and such) it'll still work fine.

The original fix almost got it, but yours also deleted the smart groups (perhaps the only ones that need to go?) as well, and restored it.



[ Reply to This | # ]
Repair a Smart Group-related Address Book problem
Authored by: booyah on May 04, '09 08:41:31AM

I recently deleted a Smart Group on a friend's Mac which contained the contents of the All group. I do not use Smart Groups on my Mac and did not realize the hazard to come. Surprisingly, the contents of the All group went missing as well. Ouch! I will use your hint and see if I can recover the All group. Meanwhile, thanks for your service and obvious prescience.



[ Reply to This | # ]
Repair a Smart Group-related Address Book problem
Authored by: mmnw on May 04, '09 11:59:22AM

If you have any kind of Backup from before the incident (i.e. Time Machine) it would be advisable to overwrite the files with the backup.
Deleting this file would also delete any other Smart-Folders you had, which recreating could be a big hassle. So for everyone out there who doesn't: Backup you fool!



[ Reply to This | # ]
Repair a Smart Group-related Address Book problem
Authored by: turtscher on Jun 02, '09 05:50:32PM

I did the same, but I cannot find AddressBook-v22.abcddb, and deleting all of the address book entries in metadata didn't help either.

Any suggestions?

Albert



[ Reply to This | # ]
Repair a Smart Group-related Address Book problem
Authored by: turtscher on Jun 02, '09 06:21:49PM

Meanwhile I found the file and deleted it, everything works fine.

I was fooled and looked on Macintosh HD in the Library folder, which is not the correct place. You must look in YOUR folder, there you'll find the right files.

THANKS A LOT!



[ Reply to This | # ]
Repair a Smart Group-related Address Book problem
Authored by: mihirs on Apr 17, '10 05:43:00AM

Hi guys

my addressbook also gave up after i created illogical smart groups... now after i deleted the latest .abcdg file... it didd no start again, crashed again. since i rally didnt care abt any smart groups, i deleted all the abcdg files, but to find that the application crashed again. then i opened the library metadata folder to find that it had created another set of abcdg files and i dont know how to restore to the earlier. any help please dont hesitate to answer.

thanks in advance



[ Reply to This | # ]