Skip to content

Segfault when switching from a SC with additional canvas #12792

@Penwy

Description

@Penwy

Operating System Info

Ubuntu 24.04

Other OS

No response

OBS Studio Version

32.0.2

OBS Studio Version (Other)

Flatpak

OBS Studio Log URL

https://obsproject.com/logs/21WcI7HlPsko4EQQ

OBS Studio Crash Log URL

No response

Expected Behavior

Oughtn't crash.

Current Behavior

When switching from a scene collection with more than one canvas, obs segfaults.

Steps to Reproduce

  1. Open OBS on a scene collection with more than one canvas (or switch to one)
  2. Attempt switching to another scene collection
  3. Witness crash

The files below can be used to easily test, 1 and 3 have no additional canvasses so switching between them causes no issue (as shown in the log linked), 2 has an additional canvas, switching to it causes no issues, but switching from it does.
1.json
2.json
3.json

...

Anything else we should know?

backtrace.txt

Verified same behaviour and backtrace on the PPA.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions