obsproject / obsproject/obs-studio

Segfault on startup

Open
#13,441 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
76.4k
Forks
10.2k
Avg merge
4d 23h
Merged PRs (30d)
12

Description

Operating System Info

Other

Other OS

Manjaro Linux

OBS Studio Version

32.1.2

OBS Studio Version (Other)

32.1.2-2

OBS Studio Log URL

na

OBS Studio Crash Log URL

na

Expected Behavior

Being able to start OBS

Current Behavior

Starting OBS from a terminal, it throws a segfault:

Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
debug: Found portal inhibitor
debug: Attempted path: /usr/bin/../share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: /usr/bin/../share/obs/obs-studio/themes
debug: Attempted path: /usr/bin/../share/obs/obs-studio/themes/
warning: Crash or unclean shutdown detected
qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
warning: [Safe Mode] Normal launch selected, loading third-party plugins is enabled
info: Using EGL/X11
info: CPU Name: Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz
info: CPU Speed: 3125.951MHz
info: Physical Cores: 4, Logical Cores: 8
info: Physical Memory: 32050MB Total, 13810MB Free
info: Kernel Version: Linux 7.0.6-xanmod1-1-x64v2
info: Distribution: "Manjaro Linux" Unknown
info: Desktop Environment: XFCE (xfce)
info: Session Type: x11
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
info: Current Date/Time: 2026-05-17, 19:48:51
info: Browser Hardware Acceleration: true
info: Qt Version: 6.11.1 (runtime), 6.11.0 (compiled)
info: Portable mode: false
info: OBS 32.1.2 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
max buffering: 960 milliseconds
buffering type: dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 970/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 580.159.03, shading language 3.30 NVIDIA via Cg compiler
info: ---------------------------------
info: video settings reset:
base resolution: 1360x768
output resolution: 1272x720
downscale filter: Bicubic
fps: 30/1
format: NV12
YUV mode: Rec. 709/Partial
info: NV12 texture support enabled
info: P010 texture support not available
info: Audio monitoring device:
name: Default
id: default
info: ---------------------------------
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
warning: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
warning: A DeckLink iterator could not be created. The DeckLink drivers may not be installed
warning: Failed to initialize module 'decklink.so'
info: [pipewire] No capture sources available
Segmentation fault (core dumped) export LC_ALL=C | obs

dmesg reveals following:

152638.162254] obs[514190]: segfault at d8 ip 00007fb8db2e5864 sp 00007ffd5c6e41e8 error 4 in libX11.so.6.4.0[27864,7fb8db2d5000+95000] likely on CPU 0 (core 0, socket 0)
[152638.162266] Code: 84 00 00 00 00 00 f3 0f 1e fa 8b 47 1c c3 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 8b 47 74 c3 0f 1f 84 00 00 00 00 00 f3 0f 1e fa <48> 8b 87 d8 00 00 00 c3 0f 1f 40 00 f3 0f 1e fa 48 63 f6 48 c1 e6

Anything else we should know?

System is up to date.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported export LC_ALL=C | obs launch on Manjaro with OBS 32.1.2, then compare it with a UTF-8 locale and inspect the reported libX11 failure in dmesg. Done means identifying the startup condition that causes the segfault and confirming that OBS launches successfully without it.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.