obsproject / obsproject/obs-studio

OBS Crashes when window closes (when controller is connected)

Open
#12,845 1 comment 0 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

Other

Other OS

Arch Linux, Flatpak

OBS Studio Version

32.0.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/rDLBhePH891hsX4z

OBS Studio Crash Log URL

crash log is never generated (so have the gdb output file below (I'll keep it open in my terminal incase you want anything else grabbed from gdb))

Expected Behavior

not to crash when another program exits and focus changes back to obs

Current Behavior

obs gdb backtrace.txt

Steps to Reproduce
  1. start obs
  2. connect controller (8bitdo ultimate 2 bluetooth (connected using 2.4ghz))
  3. open game (like sonic racing crossworlds)
  4. use option in game to exit using controller
  5. when game closes causes focus to shift back to obs it crashes
    ...
Anything else we should know?

same thing happens with dolphin emulator (if you close the window)

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 with the attached OBS log and gdb backtrace, then reproduce the crash using the listed controller and a game or Dolphin emulator, closing the other window so focus returns to OBS. Trace the crash to the relevant OBS desktop input or focus-handling code; done means the window closes and focus returns without OBS crashing.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
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.