Skip to content

Crash when selecting wasapi_process_output_capture source under non-windows #11457

@Penwy

Description

@Penwy

Operating System Info

Ubuntu 24.04

Other OS

No response

OBS Studio Version

31.0.0-beta2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/8eUJxgaOFjf4mM6U

OBS Studio Crash Log URL

https://gist.github.com/Penwy/51c197b91e4d67381306f52ecfaab6e4 (backtrace)

Expected Behavior

Selecting a source in the list should not cause a crash even if the source type is undefined.

Current Behavior

It do be crashing.

Steps to Reproduce

  1. Open obs on Linux.
  2. Load a scene collection with a wasapi_process_output_capture in it.
  3. Click on that source in the list.
  4. Hippity hoppity segfault
    ...

Anything else we should know?

Backtrace points at it being caused by an attempt to load the toolbar for the source, likely something needs to be ifdefed to stop that.
Scene collection file for easy repro.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions