obsproject / obsproject/obs-studio
OBS Studio Crashes with "Unhandled Exception: c0000005" During Audio Device Disconnect
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 76.4k
- Forks
- 10.2k
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 12
Description
Operating System Info
Windows 10
Other OS
No response
OBS Studio Version
31.0.2
OBS Studio Version (Other)
No response
OBS Studio Log URL
OBS Studio Crash Log URL
https://obsproject.com/logs/qSXB12CN0dafsOkD
Crash 2025-03-17 20-06-22.txt
Expected Behavior
OBS should run a live stream without crashing some time later. Audio devices should remain stable, and the application should not unexpectedly terminate.
Current Behavior
OBS crashes randomly during a live stream with an error. The crash log indicates the issue is related to audio handling (audio_output_disconnect, stop_audio_encoders, and end_data_capture_thread), suggesting a problem with how OBS manages audio devices during the stream.
Steps to Reproduce
- Start OBS Studio
- Use Aitum Multistream to stream to multiple platforms, including Twitch.
- At some point during the stream (unpredictable timing), OBS crashes.
- The Twitch stream stops, but other platforms continue broadcasting.
Anything else we should know?
- The issue is inconsistent and can happen anywhere from 10 minutes to several hours after starting OBS.
- I have tried reinstalling OBS and even reinstalling Windows, but the issue still persists.
- The crash happens with no clear pattern, which makes it difficult to predict or consistently reproduce.
- It may be related to how OBS/Aitum Multistream handles Twitch’s audio stream.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the attached OBS log and crash log, focusing on the reported audio_output_disconnect, stop_audio_encoders, and end_data_capture_thread entries. Compare the failure with the Aitum Multistream and Twitch setup, then seek a reliably reproducible disconnect scenario. Done means identifying a confirmed cause and preventing the crash without stopping unrelated streams.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100