Windows Terminal Keeps Crashing when Terminal Bell Sounds (MMDevAPI.DLL)
Solution 1:
This is a reproducible crash and has been raised with Microsoft and confirmed as a bug here. The crash appears to be directly related to the presence of Sonic Studio 3 (if that doesn't sound familiar, it often bundled with RealTek audio drivers). There are two workarounds for this:
- Turn off the audible sounds from the system bell (Settings >> Defaults >> Advanced >> Bell Notification Style):
(This is for all shells/terminals, you can also turn it off for the specific shell if you wish)
- Uninstall Sonic Studio/Radar (Start >> Add or Remove Programs >> Search for Sonic)
With this done terminal will no longer crash, though any re-installation or updates of drivers may cause a re-occurrence of the issue. It is on the backlog for the Windows Terminal team to fix, but given that it is largely caused by 3rd party software it may not be completely solvable from their side alone.