obsproject / obsproject/obs-studio
OBS Crashes when window closes (when controller is connected)
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
Steps to Reproduce
- start obs
- connect controller (8bitdo ultimate 2 bluetooth (connected using 2.4ghz))
- open game (like sonic racing crossworlds)
- use option in game to exit using controller
- 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
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 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