obsproject / obsproject/obs-studio
macos Audio Capture Device crash steps 100%.
Open
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
macOS 14
Other OS
No response
OBS Studio Version
Other
OBS Studio Version (Other)
30.2.0
OBS Studio Log URL
https://obsproject.com/logs/fWlmFJVzSWpVtuBl
OBS Studio Crash Log URL
No response
Expected Behavior
not crash
Current Behavior
https://github.com/user-attachments/assets/91cc214a-05f6-41de-aaea-d3e8306001bb
Steps to Reproduce
- add mac audio capture source
- close propeties view
- stop obs share in macos top menu
- switch other device in obs propteis
- crashed
Anything else we should know?
crash reason:
- line 2167:
view->visUpdateCb(obj, view->settings);, this will refresh ui, and delte the old ui properties. - line 2170, read the have been deleted properties, so crash
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 with the macOS Audio Capture source and reproduce the crash using the listed five steps. Inspect the code around lines 2167 and 2170, especially the visUpdateCb call and subsequent settings access. Done means switching devices after stopping macOS sharing no longer crashes OBS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100