Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when selecting wasapi_process_output_capture source under non-windows #11457

Open
Penwy opened this issue Oct 27, 2024 · 1 comment
Open

Comments

@Penwy
Copy link
Contributor

Penwy commented Oct 27, 2024

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.

@WizardCM
Copy link
Member

The solution we use for all other source types to avoid this crash is translate the source to a similar one on the supported platform during Scene Collection Import. Something similar would be worth doing here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants