__CFServiceControllerBeginPBSLoadForLocalizations timed out

  • The last few days, I've seen this message in the console when I launch an app I'm working on:

    __CFServiceControllerBeginPBSLoadForLocalizations timed out while talking to pbs

    The message also sometimes appears again a few minutes later.  It appears in the regular "Console Messages" in Console.app, not just in Xcode.

    Searching list archives shows other such reports in the last couple months, and a postulate that "pbs" means "pasteboard server.  So, I retested some of the inter-app drag/drop and copy/paste functions of the app but it all appears to still be working.

    Google Chrome has the same problem:

    http://code.google.com/p/chromium/issues/detail?id=28161

    No resolution is given.  I just tested this in my 3-week old Google Chrome and, yes, it still does it.

    I also found a few reports in support forums of other apps.  And this person has got all of their Apple apps doing it…

    http://forums.applenova.com/showthread.php?t=33412

    So, apparently it's a bug in Snow Leopard.  No hits when searching for this on developer.apple.com :(  Can anyone postulate a workaround or, more importantly, is it possibly indicating that something that I missed in my testing is not working?
  • On Dec 22, 2009, at 6:20 AM, Jerry Krinock wrote:

    > The last few days, I've seen this message in the console when I launch an app I'm working on:
    >
    > __CFServiceControllerBeginPBSLoadForLocalizations timed out while talking to pbs
    >
    > The message also sometimes appears again a few minutes later.  It appears in the regular "Console Messages" in Console.app, not just in Xcode.
    >
    > Searching list archives shows other such reports in the last couple months, and a postulate that "pbs" means "pasteboard server.  So, I retested some of the inter-app drag/drop and copy/paste functions of the app but it all appears to still be working.
    >
    > Google Chrome has the same problem:
    >
    > http://code.google.com/p/chromium/issues/detail?id=28161
    >
    > No resolution is given.  I just tested this in my 3-week old Google Chrome and, yes, it still does it.
    >
    > I also found a few reports in support forums of other apps.  And this person has got all of their Apple apps doing it…
    >
    > http://forums.applenova.com/showthread.php?t=33412
    >
    > So, apparently it's a bug in Snow Leopard.  No hits when searching for this on developer.apple.com :(  Can anyone postulate a workaround or, more importantly, is it possibly indicating that something that I missed in my testing is not working?'

    pbs is used for Services and isn't related to drag and drop or copy and paste.

    Can you see if the "pbs" process is running?  If so, what does sample show it's doing?

    If not, what happens if you run it directly: /System/Library/CoreServices/pbs ?  Does it crash or complete successfully?

    Do you have any apps installed that attempt to modify Services (e.g. Service Scrubber)?
  • On 2009 Dec 22, at 15:37, Peter Ammon wrote:

    > Can you see if the "pbs" process is running?  If so, what does sample show it's doing?

    Yes it is, and, not doing too much.  I took this sample while my app was launching.  It looked the same if sampled at another time, except 2765 samples instead of 2747.

    Sampling process 22608 for 3 seconds with 1 millisecond of run time between samples
    Sampling completed, processing symbols...
    Analysis of sampling pbs (pid 22608) every 1 millisecond
    Call graph:
        2747 Thread_287412  DispatchQueue_1: com.apple.main-thread  (serial)
          2747 0x1cf5
            2747 0x4b8d
              2747 0x3ea5
                2747 0x532e
                  2747 -[NSCondition wait]
                    2747 pthread_cond_wait$UNIX2003
                      2747 _pthread_cond_wait
                        2747 __semwait_signal
        2747 Thread_287432  DispatchQueue_2: com.apple.libdispatch-manager  (serial)
          2747 start_wqthread
            2747 _pthread_wqthread
              2747 _dispatch_worker_thread2
                2747 _dispatch_queue_invoke
                  2747 _dispatch_mgr_invoke
                    2747 kevent

    Total number in stack (recursive counted multiple, when >=5):

    Sort by top of stack, same collapsed (when >= 5):
            __semwait_signal        2747
            kevent        2747

    > Do you have any apps installed that attempt to modify Services (e.g. Service Scrubber)?

    Hmmm.  Not that I know of.  Searched startup volume for "Scrubber" with Path Finder and didn't find any apps.  But I do have lots of apps installed :)
  • On Dec 22, 2009, at 3:52 PM, Jerry Krinock wrote:

    >
    > On 2009 Dec 22, at 15:37, Peter Ammon wrote:
    >
    >> Can you see if the "pbs" process is running?  If so, what does sample show it's doing?
    >
    > Yes it is, and, not doing too much.  I took this sample while my app was launching.  It looked the same if sampled at another time, except 2765 samples instead of 2747.
    >
    > Sampling process 22608 for 3 seconds with 1 millisecond of run time between samples
    > Sampling completed, processing symbols...
    > Analysis of sampling pbs (pid 22608) every 1 millisecond
    > Call graph:
    > 2747 Thread_287412  DispatchQueue_1: com.apple.main-thread  (serial)
    > 2747 0x1cf5
    > 2747 0x4b8d
    > 2747 0x3ea5
    > 2747 0x532e
    > 2747 -[NSCondition wait]
    > 2747 pthread_cond_wait$UNIX2003
    > 2747 _pthread_cond_wait
    > 2747 __semwait_signal
    > 2747 Thread_287432  DispatchQueue_2: com.apple.libdispatch-manager  (serial)
    > 2747 start_wqthread
    > 2747 _pthread_wqthread
    > 2747 _dispatch_worker_thread2
    > 2747 _dispatch_queue_invoke
    > 2747 _dispatch_mgr_invoke
    > 2747 kevent
    >
    > Total number in stack (recursive counted multiple, when >=5):

    Thanks, this seems like a bug in pbs or in something underneath it.

    You should be able to get the annoying log messages to stop by just running pbs directly: /System/Library/CoreServices/pbs .  It should exit within a second or so and the log messages should be gone.

    Hope this helps,
    -Peter
  • On 2009 Dec 22, at 17:07, Peter Ammon wrote:

    > You should be able to get the annoying log messages to stop by just running pbs directly: /System/Library/CoreServices/pbs .  It should exit within a second or so and the log messages should be gone.

    Indeed, after doing this, I launched my app several times and no message was logged.

    However, with Google Chrome, actually it's helper, I got what seems like an even worse message --

    09/12/22 17:21:09    [0x0-0x1c58c57].com.google.Chrome[18055]    2009-12-22 17:21:09.188 Google Chrome Helper[18069:107] __CFServiceControllerBeginPBSLoadForLocalizations received error 1100 from bootstrap_look_up2

    Still, re-launching my app, it's quiet.  And I presume from Peter's reply that this message does not predict any bad behavior in my app.  So if anyone complains I'll tell them to just ignore it or run /System/Library/CoreServices/pbs.

    Maybe if someone from Google is this they can do some work on this in their "20% time" :)
previous month december 2009 next month
MTWTFSS
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Go to today