Skip to content

Crash when duplicating/renaming a pre-29 profile #13726

Description

@notr1ch

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

32.2.1

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/crashes/OY4t36xaKePG6phv

OBS Studio Crash Log URL

https://obsproject.com/logs/crashes/OY4t36xaKePG6phv

Expected Behavior

Settings opens.

Current Behavior

Crash.

Steps to Reproduce

  1. Load pre-29 profile or delete AdvOut/AudioEncoder from an existing profile.
  2. Duplicate / rename it.
  3. Open settings

Anything else we should know?

Duplication / rename doesn't call InitBasicConfigDefaults2 on the new config, so key config parts that the settings dialog expects return NULL and get passed to strcmp.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueNew to contributing to OBS? Start here!kind/bugCategorizes issue or PR as related to a bug.kind/crash

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions