Skip to content

bug: obs_transition_set accepts a source that contains the transition (hang) #2487

Closed

Description

@rdoupe

Follow-up to #2484 (found while fixing it, reproduced with a scratch probe on master).

obs_transition_set() stores a source in slot A even when that source contains the transition (a cycle). obs_transition_load() refuses such a source, but set does not. While slot A holds it, any walk of that source's active tree enters the transition again and locks the transition's mutex a second time: obs_source_inc_showing(scene) did not return within 5 seconds. The audio thread's walk of the output channel would most likely hang the same way (not run).

Fix: refuse the cycle in obs_transition_set() the same way obs_transition_load() does (log, and leave the slot as it was), so the hang can't be reached.

Activity

  1. rdoupe commented on Oct 26, 2026

    @rdoupe
    CollaboratorAuthor

    Claiming: #2487 (posts after #2485).

  2. added
    ready
    on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions