Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've been tracking down an odd issue where my active applications will periodically lose focus - meaning. I finally noticed that it corresponded to these launchd notices in system.log:

Aug  5 21:41:03 frankentosh com.apple.launchd.peruser.501[264] (com.apple.pbs): Throttling respawn: Will start in 10 seconds
Aug  5 21:41:33: --- last message repeated 2 times ---
Aug  5 21:41:33 frankentosh com.apple.launchd.peruser.501[264] (com.apple.pbs): Throttling respawn: Will start in 10 seconds
Aug  5 21:42:03: --- last message repeated 2 times ---

Information on this is somewhat limited, the manpage simply says "pbs is a helper tool for the Cocoa frameworks.". Google is suggesting that it's the pasteboard server. It vaguely makes sense that the server that handles pasteboard data might end up doing something that pulls focus from the foreground app.

So, any ideas on what might make pbs crash-happy? This is the only app I have that's repeatedly crashing, so I'm not suspecting hardware or the base OS. I also see this on another Mac, and both have roughly the same additional software installed.

Is there any way to get a crash log on pbs? I don't see it in the normal ~/Library/Logs/CrashReporter or ~/Library/Logs/DiagnosticReports

share|improve this question
    
Have you set up any folder actions? They sometimes make the frontmost application lose focus and could be related to pbs. –  ؘؘؘؘ Aug 6 '12 at 10:40

1 Answer 1

Look at the man page for pbs(8). Nowadays it just handles Services (as in, the things that show up in the Service submenu of the Application menu (that is, the menu named after the current app)).

That man page lists several options for debugging pbs and flushing various caches.

pbs lives at /System/Library/CoreServices/pbs, which is not in the default $PATH.

share|improve this answer
    
Hmmm... I'm on 10.6.8 (one of my boxes is a MBP CoreDuo), and my pbs manpage has basically zero information ("pbs is a helper tool for the Cocoa Frameworks"). i.imgur.com/AItEW.png –  sporker Aug 7 '12 at 7:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.