Skip to content

macOS: adding a browser source crashes OBS (CEF helpers named "OBS Helper", app is OBS-Studio-Rust) #2386

Closed

Description

@vpacher

Summary

On macOS, adding a browser source crashes OBS-Studio-Rust at once. Chromium cannot start its helper processes, because they have the wrong name: the app is OBS-Studio-Rust, the helpers are still OBS Helper. Seen with the 2026-10-23 release and with a local build of master f598d234d (obs-browser 4583599, CEF 7871), macOS 26.7.1, Apple Silicon.

Cause

  • The app bundle: CFBundleExecutable and CFBundleName are OBS-Studio-Rust.
  • obs-browser cmake/os-macos.cmake builds the helpers with helper_output_name "OBS Helper": OBS Helper.app, OBS Helper (GPU).app, OBS Helper (Plugin).app, OBS Helper (Renderer).app.
  • On macOS obs-browser does not set browser_subprocess_path (#if !defined(__APPLE__)), so Chromium derives the helper from the main executable: OBS-Studio-Rust Helper (GPU).app. It does not exist. Upstream the app is OBS, so OBS Helper matches there.

CEF's log (--enable-logging, obs-browser passes the app's arguments to CEF on macOS) at the crash:

ERROR:content/browser/gpu/gpu_process_host.cc:1083] GPU process launch failed: error_code=1003
ERROR:content/browser/network_service_instance_impl.cc:721] Network service crashed or was terminated, restarting service.
FATAL:content/browser/gpu/gpu_data_manager_impl_private.cc:416] GPU process isn't usable. Goodbye.

With helper_output_name "OBS-Studio-Rust Helper" (local experiment), the GPU process starts (--type=gpu-process), and OBS does not crash.

The browser source still stays black after this fix: the browser process then never connects to its started helpers (#2387). That is a separate problem.

Fix

Name the helpers after the app's executable: helper_output_name from the frontend's app name (OBS-Studio-Rust Helper in the Rust brand, OBS Helper otherwise), with matching bundle IDs. Setting browser_subprocess_path on macOS too is the alternative, but Chromium also derives the (GPU), (Plugin) and (Renderer) variants from the name.

Acceptance criteria

  • RED then GREEN: a check that fails when the helper bundles in the macOS app are not named <CFBundleExecutable> Helper, … Helper (GPU), … Helper (Plugin) and … Helper (Renderer).
  • On macOS, adding a browser source does not crash OBS, and the GPU process starts.

Suggested: P1, size:S.

Activity

  1. vpacher commented on Oct 25, 2026

    @vpacher
    MemberAuthor

    Claiming: investigation

    The cause is confirmed in the description; this claim covers the fix. Plan:

    1. RED: a check that fails when the helper bundles in the macOS app are not named after the app's CFBundleExecutable (<name> Helper, (GPU), (Plugin), (Renderer)).
    2. GREEN in obs-rust/obs-browser: helper_output_name (and the bundle IDs) from the app name in cmake/os-macos.cmake, then the submodule bump here.
    3. A real run on macOS: adding a browser source no longer crashes OBS, and the GPU process starts. The source stays black until macOS: the first browser source created off the main thread (obs-websocket) never renders: CEF initializes on that thread #2387 is fixed.
  2. added
    needs-investigation
    on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

needs-investigation

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions