• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CFPreferencesAppSynchronize() "looping synchronize attempt"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CFPreferencesAppSynchronize() "looping synchronize attempt"


  • Subject: CFPreferencesAppSynchronize() "looping synchronize attempt"
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 16 Oct 2013 12:00:52 -0700

My app's helper uses CFPreferencesAppSynchronize() to update preferences of its main app, in whose package it resides.

CFPreferencesAppSynchronize() sometimes logs this to the system console…

ERROR: looping synchronize attempt.
Dirty keys count is 1.
Saved server state is 3650.
Shmem state is 3650.
Shmem index is 976.
Shmem page is 0x1007da000.
accessPath is (null)

What in the world might that mean?

• Google search on "looping synchronize attempt" shows one (1) hit: A Photoshop user found a bunch of these in system logs, while investigating Photoshop misbehavior.  No explanation.

• I was wondering if maybe this could happen if my helper invokes CFPreferencesAppSynchronize() at the same time that the main app is (race condition).  In general, the answer is "no" because I see it happening when the main app has been quiet for several seconds.

• I did an experiment to see if this could be caused by invoking CFPreferencesAppSynchronize() when there are no changes to synchronize.  In general, the answer is "no".

Thanks!

Jerry Krinock


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: CFPreferencesAppSynchronize() "looping synchronize attempt"
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Question about matrix of possibilities
  • Next by Date: Re: Cocoa class extension best practice
  • Previous by thread: Infinite Scroll View Revisited
  • Next by thread: Re: CFPreferencesAppSynchronize() "looping synchronize attempt"
  • Index(es):
    • Date
    • Thread