Coreaudiod spams system log: Enabled automatic stack shots because audio IO is inactive
I'm getting my system log virtually spammed with:
May 13 23:56:36 alluminium coreaudiod[238]: Enabled automatic stack shots because audio IO is inactive
May 13 23:56:37 alluminium coreaudiod[238]: Disabled automatic stack shots because audio IO is active
May 13 23:56:38 alluminium coreaudiod[238]: Enabled automatic stack shots because audio IO is inactive
May 13 23:56:39 alluminium coreaudiod[238]: Disabled automatic stack shots because audio IO is active
May 13 23:56:39 alluminium coreaudiod[238]: Enabled automatic stack shots because audio IO is inactive
May 13 23:56:39 alluminium coreaudiod[238]: Disabled automatic stack shots because audio IO is active
May 13 23:56:39 alluminium coreaudiod[238]: Enabled automatic stack shots because audio IO is inactive
May 13 23:56:41 alluminium coreaudiod[238]: Disabled automatic stack shots because audio IO is active
May 13 23:56:41 alluminium coreaudiod[238]: Enabled automatic stack shots because audio IO is inactive
May 13 23:56:42 alluminium coreaudiod[238]: Disabled automatic stack shots because audio IO is active
Googling yields no useful results. Any ideas what this is and how to alleviate it?
Now that 10.8.4 is released (build 12E55), it is still there. I've gotten a response from Apple Engineering that this is logged by design.
As best I can tell, these are purely diagnostic messages and don't indicate a specific failure and instead are just logging state changes for the audio subsystem.
If you wish to suppress those messages to have a clean log, it's quite easy to modify the logging system to not log specific or general messages for certain subsystems. Just edit your question if you don't know how to configure syslog.conf
or ask a follow on question if that's your true aim separate from knowing that these are placed there by design.
You can also reduce the volume of these messages by determining which programs you are running that call the audio subsystem so often. If you log out of all accounts, you can convince yourself that the log only is reporting actions that your user level software is causing instead of some lower level system event that you cannot control.
On build 12E55, I've also been seeing these messages. At first, I downgraded coreaudiod back to 10.8.3's version but after playing with strings
and dtruss
, I found a way to stop the flood of these messages on my system with the latest coreaudiod (you still see the message once when coreaudiod starts but only then). Here is what you can try:
-
Create
/Library/Preferences/Audio/com.apple.audio.ServerSettings.plist
with the following content:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>AllowStackShotsDuringIO</key> <true/> </dict> </plist>
Reboot.