[launchd-dev] SMJobSubmit( ) fails but no error is returned

Damien Sorresso dsorresso at apple.com
Wed Jan 20 09:02:12 PST 2010


On Jan 20, 2010, at 7:59 AM, Karl Moskowski wrote:
> I've narrowed it down a bit. SMJobSubmit( ) fails without an error only on one user account on my work iMac. If I switch to another account, it works fine.
> 
> The ~/Library/LaunchAgents/ folder looks OK. Maybe something in my home directory is corrupted or has the wrong permissions or ACLs. Any idea where to look?
> 
> TIA again.

That's very odd... could could you attach with a debugger and record the call sequence from inside SMJobSubmit()? Specifically, I'm interested in whether or not it gets into the load() function.
-- 
Damien Sorresso
BSD Engineering
Apple Inc.



More information about the launchd-dev mailing list