You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
libobs, plugins: Callers ignore os_event_init failures and then use the event #2164
Several callers ignore what os_event_init() (and in one case pthread_mutex_init()/pthread_create()) returns, and then use the event. Before #2163, a failed init returned 0 anyway and left a zeroed lock, which happens to work on glibc. With #2163, a failed init returns an error and leaves the event pointer NULL, so these callers would crash on the first wait or signal instead of carrying on.
The inits don't fail on glibc with default attributes, so this is about failing cleanly under resource exhaustion, not a crash anyone sees today.
GREEN: check the result in each libobs caller and fail cleanly.
obs_queue_task: run the task inline or return without waiting, whichever matches its contract.
The serializer: fail its open.
Every successful path stays unchanged.
Plugins: the same in each listed plugin, mostly one-line checks that fail the create. Plugins without a cmocka harness are verified by reading and by the platform builds.
Activity
rdoupe commentedon Oct 24, 2026
Claiming: #2164.
test: Fail os_event_init under the libobs callers that ignore it
libobs: Check os_event_init in the callers that waited on a NULL event
obs-ffmpeg: Fail the ffmpeg-mux file writer when its lock, events or …
rtmp-services: Refresh ingests without the wait event when it cannot …
mac-capture: Fail the capture when its event or thread cannot be created
frontend: Show the macOS access prompt without waiting when its event…
docs: List the os_event_init caller fixes in features.md
libobs, plugins: Check os_event_init in the callers that waited on a …