OS X 10.6: Applications crash when sounds play

audiocrash

Most of my applications crash whenever a sound is played — but not if the machine has been recently rebooted.

For example, Mail.app crashes when I send email, because of the whoosh sending sound. Safari/Chrome/Firefox will crash when Flash plays sounds, e.g. with YouTube, but does not crash for silent Flash apps. iChat will crash if I get a video chat request. iTunes will not start at all.

All display the same symptom — freeze with spinning beach ball. All can be force-quit without issue, and without affecting other applications.

If I start an app right after a reboot, it generally will run just fine. If I open Safari after a fresh reboot, I can watch Flash video for an hour or two without issue, but the next morning, it will crash again.

If I open Skype after a fresh reboot, it will remain open and working, sometimes for days. But if I close it, it will not open again until I reboot.

I've go through flashing PRAM and repair permissions with the Apple techs, and it doesn't seem to help. Any idea what I might be able to to do to get sound working again? I've been told to reinstall, but I primarily use the machine for work, and I can't take a week to get everything configured again just so I can use iTunes and YouTube.

What is particularly annoying is having to quit Mail.app and restart after each sent email. If there were a way to disable the sent email sound that would be great too.

Thanks!

Cross-posted: http://discussions.apple.com/message.jspa?messageID=12791456

Best Answer

Can you open the Console application (in the /Applications/Utilities/ folder) and see if anything is reported up to and during the application hangs?

Are you actually getting a crash or just a hang? (A crash will display an "unexpectedly quit" dialog on its own (creating a .crash file) , whereas a hang will require you to explicitly force the application that's not responding to quit, which will then generate a .hang (" stopped working because of a problem).

If you are actually getting a crash, please post the crash log (as much as you can) or otherwise provide access to it (as they can be somewhat long). If it's a hang, perhaps any output to Console might be more informative than the .hang report.

You mention iTunes does not start at all: do you mean it immediately starts to hang when you try to launch it, or does it crash with an unexpectedly quit dialog?

Also, try launching Activity Monitor (also in /Applications/Utilities/) and be sure to set the "Show" popup menu to All Processes. Check once at launch or on a fresh startup to see if there are any processes highlighted in red. Then when you begin having the problems, check again in Activity Monitor to see if there are any processes shown as not responding; if so, please post the name of them along with any info that's reported to Console.

My rough guess of what's happening is that either coreaudiod itself, or another sound/multi-media-related framework or launch-on-demand agent or service that these apps need is not responding, which in turn causes any applications that rely on it to hang as well.