obsproject / obsproject/obs-studio

Crash when external display is unplugged

Open
#11,929 3 comments 2 reactions 0 assignees View on GitHub

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 15

Other OS

No response

OBS Studio Version

31.0.1

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/WuN2IiE4O9Ro9hil

OBS Studio Crash Log URL

No response

Expected Behavior

Mirroring would cleanly stop when display is unplugged.

Current Behavior

The app immediately crashes.

macOS crash log

Steps to Reproduce
  1. Attach external display to Mac
  2. Launch OBS
  3. Full-screen mirror content to external display.
  4. Unplug external display
Anything else we should know?

A very similar bug was found and fixed a few years ago. I also reported it here from this same GitHub user, if that helps find the relevant history.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash with an external display and review the linked macOS crash log and OBS log. Compare the behavior with the similar historical bug and its fix to locate the affected mirroring path. Done means unplugging the display stops mirroring cleanly without crashing OBS.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, macos
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.