Audio stops working on macOS Sonoma

I've finally noticed a pattern that occurs rather frequently on macOS Sonoma. I was blaming Bluetooth issues before, but it looks like it's more about audio in general.

What happens is that at some point, all audio freezes. The hotkeys for the audio controls show "Stop" sign, like there are no audio outputs connected, the taskbar is completely unresponsive: Control Centre shows a spinning circle, the sidebar is not opening (Spotlight works, though).

If you go to the System Settings, some menu items will be unresponsive: Sound doesn't open, Bluetooth does not open, Accessibility and Siri & Spotlights all do not open.


Then, a new bug appeared that I've just started to notice recently. The screen is flashing like there's an Accessibility feature enabled that uses warning flash instead of sound. It appears just randomly, out of nowhere. Immediately after that, sound works just normally.


When this is happening, and video/audio content in the browser and wherever does not work, Tidal shows many random errors, and Firefox just completely hangs when you try to play a video on YouTube. I've tried to stop `coreaudiod` and it did restart the daemon, but nothing else happened.


The device is a very fresh M1 Max MacBook, and nothing like that was happening on Ventura. I've had audio cracks on another M1 Pro laptop, but this one didn't even have those.


P.S. This is happened just when I was writing this post, and I've disabled Bluetooth just before. Now, the Bluetooth section in the Settings is opening, but others are still unresponsive.


For reference - I have yabai and BetterSnapTool installed, which modify system behavior, but with system protection enabled. Siri is disabled. I've tried to stop a bunch of random processes when this happened, but none helped so far.

This issue constantly haunts me since I've upgraded, and it's extremely annoying.

MacBook Pro 16″, macOS 14.0

Posted on Oct 18, 2023 4:06 PM

Reply
Question marked as Top-ranking reply

Posted on Dec 19, 2023 11:08 AM

Upgraded today (Sonoma 14.2, major version did not change), got no crashes for over 10 hours so far, which is quite impressive. Plugged/unplugged headphones, toggled the Bluetooth headphones, made a couple of calls _with changing input/output during calls_, the usual scenarios that were leading to crashes and sound lags are now gone. For anyone having troubles with Sound/Bluetooth, I recommend checking for an update.


Continuing observation!

27 replies
Question marked as Top-ranking reply

Dec 19, 2023 11:08 AM in response to dantaeusb1

Upgraded today (Sonoma 14.2, major version did not change), got no crashes for over 10 hours so far, which is quite impressive. Plugged/unplugged headphones, toggled the Bluetooth headphones, made a couple of calls _with changing input/output during calls_, the usual scenarios that were leading to crashes and sound lags are now gone. For anyone having troubles with Sound/Bluetooth, I recommend checking for an update.


Continuing observation!

Jan 22, 2024 6:52 AM in response to dantaeusb1

I think I accidentally found a fix in a GitHub Gist that is 11 years old: https://gist.github.com/1951FDG/c427d318165e81e358c3. I've checked, and I've applied it on 15th of January, exactly the time of the last crash. No crashes since then.


What I did is just (APPLY AT YOUR OWN RISK! – I am not 100% sure I understand what exactly it does) copy-pasted this into the terminal:

```

sudo rm -rf /Library/Preferences/Audio/com.apple.audio.SystemSettings.plist

sudo rm -rf /Library/Preferences/Audio/com.apple.audio.DeviceSettings.plist

sudo rm -rv /Library/Preferences/com.apple.audio.DeviceSettings.plist

sudo rm -rv /Library/Preferences/com.apple.audio.SystemSettings.plist

sudo rm -rv ~/Library/Preferences/com.apple.audio.AudioMIDISetup.plist

sudo rm -rv ~/Library/Preferences/ByHost/com.apple.MIDI.0016174ee065.plist

sudo rm -rv ~/Library/Audio/MIDI Configurations/Default.mcfgsudo

launchctl unload /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist

```


Can't say what happens here, other than forcefully deletes a bunch of system configuration files for the audio subsystem, which seems to be re-created correctly on `coreaudiod` startup – not even a reboot is needed. With the "fresh" configuration, no errors are occurring anymore. I wonder if that's some particular device/update that causes these files to get corrupted and cause crashes, but it looks like that's the case.

Oct 27, 2023 9:58 AM in response to dantaeusb1

Just accidentally looked at the Console App while looking for logs for other things, and found out that my `codeaudiod` crashing by cooldown every day 10 to 50 times with intervals from 1 second to a couple of hours, around 5 minutes on average. The crash is the following:

```

Crashed Thread: 18 Dispatch queue: com.apple.audio.device.~:AMS2_StackedOutput:0.event


Exception Type: EXC_BAD_ACCESS (SIGSEGV)

Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

```


I also found that `avconferenced` fails too occasionally, though very rare - I believe that's the process that connects iPad as a second screen, and it _too fails with sigsegv on 0x0 - though not that it's some unique bug to attempt to read memory at 0, maybe just a coincidence. @Flomaster do you use Sidecar by chance?

Nov 18, 2023 6:29 AM in response to chdsl

It is likely. While playing Raft with Wine, I've noticed that M1 Max does absolutely the same thing that M1 Pro does - this weird choppy short crack/pop sound out of the internal speakers when under load. But while on another M1 Pro (Ventura, didn't update) sound continues playing as usual, just with periodic cracks, on M1 Max (Sonoma) it completely crashes after that.

I was thinking that it was the flaw of my model, but both of the computers do the same thing - they're bought in different countries, absolutely different models. It seems like that Max just have enough horsepower (let's be honest, the RAM is a problem, they're both ridiculously overpowered) for that sound issue to be rare, but sound on M1 is fundamentally broken, with macOS Sonoma breaking things even further - on Ventura sound at least was continuing playing.


Found this sound issue on YouTube: https://www.youtube.com/watch?v=ePFZAyurElU&ab_channel=JoeL for the reference. Author said that reinstalling macOS helps, maybe if it fixes the pops it will fix the crash too - until the next OS update.

Nov 10, 2023 10:31 AM in response to dantaeusb1

Something's certainly very, very wrong with macOS Sonoma. As uptime keeps growing, the computer becomes practically unusable. `coreaudiod` and `avconferenced` segfault every minute, top bar is completely unresponsive and could stay that way for 15–30 minutes, once I found that watch was 30 minutes behind due to failing coreaudio. Now it gets completely disastrous later, as I've stopped used any audio on laptop and got about 1.5 weeks of uptime - the video memory gets corrupted seems like, I've got all apps turned into jigsaw puzzle (n.b. - I've removed personal information). I wonder if it has to do with the fact that I've connected iPad again.


I'd run memtest but I'm not sure if it works on M1. But I don't really think it's about hardware, as it really is deteriorating over time and there are a ton of software errors in logs.


Updated to Mac 14.1.1, and updated iPad too just in case. Observing.




Jan 19, 2024 1:37 AM in response to dantaeusb1

I am seeing exactly the same issue. I suspected MS Teams to be the source of the problem but I am not sure anymore. I use SONY wx1000xm4 as my bluetooth headset and I have problems every single day:


  • the Headset is visible in the Bluetooth widget and I can select it
  • the sound output shown by the Sound widget follows, but not always, sometimes it just gets stuck trying to select the headset, otherwise it completely freaks out and shows a crossed speaker icon
  • sound output and input in apps like Slack, Teams and Zoom gets completely messed up. Either they freeze or the headset dispears from the drop-down option
  • sometimes it's sufficient to restart the apps and wait a bit until the Sound widget restarts, othertime it never happens and only hard reset helps


Also, I see *many* crashed of both coreaudiod and avconferenced in the Console.

Oct 20, 2023 6:37 AM in response to dantaeusb1

hello,

the same issue with sound for me. In my case I tend to suspect Bluetooth - it happens when the laptop discovers and connects my air pods pro 2.


Additional side effect - Safari stops loading any pages. Not sure how this is connected to sound. I’m even writing from my phone now because of this 🤦


This started since I updated to Sonoma.


M1 Macbook Pro

Dec 19, 2023 3:00 PM in response to dantaeusb1

I did not solve it with Sonoma 14.2. The problems are less frequent but are there nonetheless. Fast switching between iPhone and Mac of the AirPods Pro 2 often goes haywire and audio devices disappear in my 14" MacBook Pro (M2 Pro) exactly as before, with no screen flash effect.

We are close to a solution but it still doesn't work as it should. I regret the manual connection of macOS Ventura.


Jan 15, 2024 4:20 AM in response to dantaeusb1

Apologies for the false alarm, 14.2 is still pretty horrible. Recently found out that my colleague with a fresh M3 Mac has this problem too, which is just ridiculous. It's been 5 months with constant crashes of the system driver on one of the most important features and Apple can't fix that.


4 coreaudiod crashes during a 15-minute meeting. Just next level. Also, a small detail I've noticed – in the settings, which now thankfully do not crash, the "MacBook Pro Speakers" and "External Headphones" turn into "Unknown" for a short while.


The error itself is not changed at all – same segfaults


Crashed Thread: 8 Dispatch queue: com.apple.audio.device.~:AMS2_StackedOutput:0.event


Exception Type: EXC_BAD_ACCESS (SIGSEGV)

Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

Exception Codes: 0x0000000000000001, 0x0000000000000000

Oct 24, 2023 3:18 AM in response to dantaeusb1

Yes, I'm thinking it's a combination of Bluetooth and audio issues. I've got all apps that are trying to use audio crashing after I'm just connecting my Bluetooth earbuds.

Now I see that the `coreaudiod` is just not running this time - I've tried to connect to a Slack Huddle, and it just hanged, sound is unresponsive again and the Settings app is not working as I mentioned before.


I've checked the Activity Monitor and found that the process that works with audio on macOS (`coreaudiod`) is not running. I've attempted to launch `coreaudiod` with `sudo launchctl load /system/library/launchdaemons/com.apple.audio.coreaudiod.plis`, and got `Load failed: 5: Input/output error` as a response.


After a while, when I disabled the earbuds it's started again on its own and `coreaudiod` is running, and the audio controls are working once more.

Nov 15, 2023 12:52 AM in response to Flomaster

Hi all,

I have exactly the same issue, after detecting AirPods Pro 2 and than putting them to the charging case, sound system stops working properly, I can't switch back to built-in speakers, than I see crossed-out speaker icon. Additional problem is that I can't open some apps (discord), some apps are not working properly (MS Teams doesn't open 2FA login window)


Started yesterday, MBP M1

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Audio stops working on macOS Sonoma

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.