Starting "obs" creates a core dump

Bug #1960892 reported by Thomas Bechtold
32
This bug affects 9 people
Affects Status Importance Assigned to Milestone
obs-studio (Ubuntu)
Fix Committed
Undecided
Unassigned

Bug Description

This is on Jammy:

$ dpkg -l|grep obs-studio
ii obs-studio 27.1.3+dfsg1-2 amd64 recorder and streamer for live video content

$ obs
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted (core dumped)
tom@thymian:~/devel/canonical/cloudware/cpc_jenkins/wt1$

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: obs-studio 27.1.3+dfsg1-2
ProcVersionSignature: Ubuntu 5.15.0-18.18-generic 5.15.12
Uname: Linux 5.15.0-18-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu76
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Tue Feb 15 07:01:51 2022
InstallationDate: Installed on 2020-12-08 (433 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: obs-studio
UpgradeStatus: Upgraded to jammy on 2021-11-30 (76 days ago)

Revision history for this message
Thomas Bechtold (toabctl) wrote :
Revision history for this message
Thomas Bechtold (toabctl) wrote :

workaround - install from flathub .

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for reporting, marking confirmed since I got the same seg fault.

It looks like this is related to the wayland session somehow. When switching to the xorg session, I did not see any seg faults on startup.

Changed in obs-studio (Ubuntu):
status: New → Confirmed
Revision history for this message
Stephen Michael Kellat (skellat) wrote :

Although noted that this may be Wayland related I am having the problem on a regular X11 session in Xubuntu Jammy.

Revision history for this message
DuckDuckWhale (duckduckwhale) wrote :

Does this solve it for you? It did for me.

$ sudo apt install qtwayland5

It seems that OBS should depend on this package.

Revision history for this message
Steffen (steffen-kernelguy) wrote :

As reported above, installing "qtwayland5" on Ubuntu 22.04 solved the issue for me.

I already had the qt6-wayland package installed, and tried to install qt5-wayland which of course did not exist.

Revision history for this message
priv (privism) wrote (last edit ):

Hi All,
This issue still persist on clean install Ubuntu 22.10.

If qtwayland5 is needed, should we add this dependency?

Also I think OBS 28.1.x uses QT6, has Ubuntu upgrade to newer version in 23.04?

Regards,
Alvin

Revision history for this message
IOhannes m zmoelnig (umlaeute) wrote :

'obs-studio' depends on 'libqt5gui5'
'libqt5gui5' recommends 'qtwayland5'.

so, unless you have configured your package manager to install 'obs-studio' without Recommends, 'qtwayland5' should be installed on your system.

i'm inclined to close this as "wontfix", but i am wondering why multiple people are affected.
have all of you configured "--no-install-recommends"?

Revision history for this message
IOhannes m zmoelnig (umlaeute) wrote :

mystery solved:

"libqt5gui5" used to only *suggest* "qtwayland5", and suggestions don't get automatically installed.

As of libqt5gui5_5.15.6+dfsg-5 (uploaded to Debian on 2022-12-03), this soft dependency has been promoted to "Recommends".

therefore: this is fixed in Ubuntu/23.04 (lunar)

Changed in obs-studio (Ubuntu):
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.