LaunchAgent causing bug message in logs?
Hi all, My LaunchAgent appears to cause the following message to be displayed in the log file when it is loaded via launchctl (also note that the agent is for Aqua sessions only): com.apple.launchd[553] (com.company.agent): Bug: launchd_core_logic.c:5025 (23585):22: false Normally, I would pull the source from the site, and grep for stuff to hunt down the cause of this. But I can't find a way of pulling the SVN source :( I did have a look through the source browser, but without knowing which version of the code I'm using, I'm a little bit stuck. Should this message worry me/you? Kind regards, Tim
Tim, Are you sure that you copied/pasted the log line exactly? Version 23585 of launchd doesn't have anything on line 5025 of launchd_core_logic.c that would generate this message. In any case, if you could provide a copy of your property-list file, we could probably diagnose this faster. davez On Aug 20, 2008, at 1:20 AM, Tim Schooley wrote:
Hi all,
My LaunchAgent appears to cause the following message to be displayed in the log file when it is loaded via launchctl (also note that the agent is for Aqua sessions only):
com.apple.launchd[553] (com.company.agent): Bug: launchd_core_logic.c:5025 (23585):22: false
Normally, I would pull the source from the site, and grep for stuff to hunt down the cause of this. But I can't find a way of pulling the SVN source :(
I did have a look through the source browser, but without knowing which version of the code I'm using, I'm a little bit stuck.
Should this message worry me/you?
Kind regards,
Tim
_______________________________________________ launchd-dev mailing list launchd-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/launchd-dev
Hi Dave, On Wed, 20 Aug 2008 07:48:58 -0700, Dave Zarzycki wrote:
Tim,
Are you sure that you copied/pasted the log line exactly?
All minus the com.mycompany.agent bit (I'm just protecting my job by hiding internal details).
Version 23585 of launchd doesn't have anything on line 5025 of launchd_core_logic.c that would generate this message. In any case, if you could provide a copy of your property-list file, we could probably diagnose this faster.
Righto: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>com.mycompany.agent</string> <key>OnDemand</key> <false/> <key>RunAtLoad</key> <true/> <key>KeepAlive</key> <dict> <key>SuccessfullExit</key> <false/> </dict> <key>LimitLoadToSessionType</key> <string>Aqua</string> <key>ProgramArguments</key> <array> <string>MyProg</string> </array> </dict> </plist> Hope this helps. Please let me know if there is anything else I can do to help. Kind regards, Tim
participants (2)
-
Dave Zarzycki
-
Tim Schooley