obsproject / obsproject/obs-studio
OBS does not cleanly exit when sent SIGTERM, causing the "Safe Mode" prompt after reboot (Linux)
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
NixOS
OBS Studio Version
30.0.2
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/d7YEvfIg4gg030Rm
OBS Studio Crash Log URL
No response
Expected Behavior
Send SIGTERM to obs and it exits cleanly. Not showing a popup when starting it again
Current Behavior
Send SIGTERM to obs and it does not exit cleanly. Popup for safe mode shows.
Steps to Reproduce
- Start obs
- pgrep obs
- kill
Anything else we should know?
Is the lInux version of issue #9877
SIGTERM is supposed to cause a clean exit. Proper signal handling is required.
(Possible cross-plattform solution by using Qt libraries?)
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 reproducing the SIGTERM behavior on Linux/NixOS using the listed steps, and review the provided OBS log. No source file or test is named, so trace the Linux shutdown and signal-handling entry points, considering the issue's suggestion of Qt libraries. Done means SIGTERM exits OBS cleanly and a subsequent launch does not show the Safe Mode prompt.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux, nixos
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100