#1149576 obs-studio: Segfaults at startup when running under Wayland

Package:
obs-studio
Source:
obs-studio
Description:
recorder and streamer for live video content
Submitter:
Gunnar Wolf
Date:
2026-10-10 06:39:01 UTC
Severity:
normal
#1149576#5
Date:
2026-10-01 00:24:26 UTC
From:
To:
Upon starting obs-studio, I get the following messages spewed to the
terminal, and obs immediately crashes:

    $ obs
    debug: Attempted path: /usr/bin/../share/obs/obs-studio/locale/en-US.ini
    debug: Attempted path: /usr/bin/../share/obs/obs-studio/locale.ini
    debug: Attempted path: /usr/bin/../share/obs/obs-studio/themes
    debug: Attempted path: /usr/bin/../share/obs/obs-studio/themes/
    warning: Get on org.freedesktop.portal.Settings returned an invalid reply
    warning: Native interface revision mismatch (requested 1 / available 2) for interface QWaylandApplication
    Segmentation fault         obs

My environment includes QT_QPA_PLATFORM=wayland; changing it to
QT_QPA_PLATFORM=xcb allows obs-studio to run successfully.

I use obs at least twice a week. My systems are reasonably well updated, so
I think the culprit _might_ be qt6-wayland, as it was uploaded to unstable
on September 20. I am filing the bug with obs-studio as I haven't found
this behavior with any other tool, and the changelog for 6.11.2-1 includes
the mention it had an ABI bump; hopefully, an obs-studio rebuild will fix
the issue (“requested 1 / available 2”).

Thank you very much,

 — Gunnar.

#1149576#10
Date:
2026-10-10 06:29:13 UTC
From:
To:
Hello,
this bug is caused by:

- /usr/bin/obs ︎was compiled against Qt 6.10.2 ( ︎qt_version_tag ︎ symbol version  ︎Qt_6.10 ︎, compiled version string  ︎6.10.2 ︎).
- The system now provides Qt 6.11.2 at runtime.
- The OBS binary calls private Qt Wayland interfaces via  ︎QWaylandApplication ︎. Between 6.10 and 6.11 Qt bumped the native interface revision from 1 to 2, so the request gets a  ︎NULL ︎ interface pointer, dereferenced later → SIGSEGV at address NULL.

Fix: Recompile it with current qt version in Debian testing. I tested
this locally and it works.

Workaround:

QT_QPA_PLATFORM=xcb ︎/usr/bin/obs

Cheers,
        Thomas