obsproject / obsproject/obs-studio

Crash when opening settings using service.json that references a non-existent service

Open
#8,949 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

issue/confirmed
Dominant language
C
Stars
76.4k
Forks
10.2k
Avg merge
4d 23h
Merged PRs (30d)
12

Description

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

29.1.1

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/forum/attachments/crashnotes-txt.94354/

OBS Studio Crash Log URL

No response

Expected Behavior

No crash when opening settings.

Current Behavior

Crash. Reported on Discord + forums.

https://obsproject.com/forum/threads/obs-crashes-after-clicking-settings.166809/

Steps to Reproduce
  1. Use attached service.json
  2. Open settings
  3. Boom!
{
    "settings": {
        "bwtest": false,
        "key": "",
        "server": "auto",
        "service": "Mixer.com - FTL"
    },
    "type": "rtmp_common"
}
Anything else we should know?

Code around https://github.com/obsproject/obs-studio/blob/fc8c42852173ed17729f343f8423901cc97ee351/UI/window-basic-settings-stream.cpp#L142-L149 likely responsible.

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

Inspect UI/window-basic-settings-stream.cpp around lines 142-149, then reproduce the crash by opening settings with the provided service.json referencing "Mixer.com - FTL". Confirm the settings window opens without crashing for that input, while preserving normal settings behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.