Only for information, if someone has the same error on Manjaro: after the latest update, I was getting the following error:
[1] 1169981 segmentation fault (core dumped) obs
I received help on OBS Discord Server, from Kurufu.
To solve the problem, I started debugging OBS with gdb
:
gdb obs
And inside gdb
, I ran run
command, that showed me the error:
(gdb) run
Starting program: /usr/bin/obs
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe38d06c0 (LWP 926170)]
Thread 1 "obs" received signal SIGSEGV, Segmentation fault.
0x00007ffff518547c in QFont::operator==(QFont const&) const () from /usr/lib/libQt6Gui.so.6
When I reached the error, I typed bt
(from backtrace
). The result was:
(gdb) bt
#0 0x00007ffff518547c in QFont::operator==(QFont const&) const () at /usr/lib/libQt6Gui.so.6
#1 0x00007ffff518586e in QFont::operator!=(QFont const&) const () at /usr/lib/libQt6Gui.so.6
#2 0x00007ffff4fa40a2 in QGuiApplication::setFont(QFont const&) () at /usr/lib/libQt6Gui.so.6
#3 0x00007fffe30be97d in () at /usr/lib/qt6/plugins/platformthemes/libqt6ct.so
#4 0x00007fffe30bef2a in () at /usr/lib/qt6/plugins/platformthemes/libqt6ct.so
#5 0x00007ffff4fcfd0d in QPlatformThemeFactory::create(QString const&, QString const&) () at /usr/lib/libQt6Gui.so.6
#6 0x00007ffff4f960b0 in QGuiApplicationPrivate::createPlatformIntegration() () at /usr/lib/libQt6Gui.so.6
#7 0x00007ffff4f97bc9 in QGuiApplicationPrivate::createEventDispatcher() () at /usr/lib/libQt6Gui.so.6
#8 0x00007ffff492f28c in QCoreApplicationPrivate::init() () at /usr/lib/libQt6Core.so.6
#9 0x00007ffff4f97c51 in QGuiApplicationPrivate::init() () at /usr/lib/libQt6Gui.so.6
#10 0x00007ffff576cade in QApplicationPrivate::init() () at /usr/lib/libQt6Widgets.so.6
#11 0x0000555555601af3 in ()
#12 0x00005555555df7e9 in main ()
Then I figured it out that something was wrong with qt6 on my system. Looking for answers I found someone telling that, for some reason, qt6 config was not properly updated. I had to copy the qt6 config to my $HOME directory.
First, I've created a backup from the current version of the file:
mv ~/.config/qt6ct/qt6ct.conf ~/.config/qt6ct/qt6ct.conf.bkp
Then I made a copy to my $HOME:
cp /etc/skel/.config/qt6ct/qt6ct.conf ~/.config/qt6ct/qt6ct.conf
And now OBS is working!
Pinned Comments
tytan652 commented on 2025-03-15 16:52 (UTC)
If you have issue building please try to downgrade
asio
to a version before 1.34.0, this a headers-only library so packages only rely on it as a build-time dependencies.Arch Linux has unfortunately updated
asio
without testing if packages using it would build andwebsocketpp
happens to not work with the newestasio
.tytan652 commented on 2023-01-13 07:52 (UTC) (edited on 2023-01-13 07:52 (UTC) by tytan652)
For those who might ask why
libva-vdpau-driver
was added to conflicts.It is the only way at package level to prevent the user to have segfaults because of this driver. This will not be fixed on OBS side since this is not an OBS issue.
The driver is only loaded with Nvidia cards.
Try
libva-nvidia-driver
if you really need Nvidia decode through VAAPI.tytan652 commented on 2022-07-08 06:02 (UTC)
This package have some dependencies with version check, it will allow you to rebuild the package only when your system is correctly updated. This feature is not enabled on Manjaro.
If you have any issue, please before commenting rebuild this package (a clean build) and try again to make sure it's not because of a library update.
Pamac has a messed up dependency checker, use another AUR helper for the first install.
This AUR package provide OBS with all the missing feature except Twitch, Restream and YouTube integrations.
More explaination here: https://ideas.obsproject.com/posts/1558/
It provide any dependency needed for Wayland support.
I'm quite active on OBS discord server (don't PM me directly).