Bug 2254073 - OBS-Studio crashing when trying to open Settings Dialog
Summary: OBS-Studio crashing when trying to open Settings Dialog
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: obs-studio
Version: epel9
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Neal Gompa
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-11 19:49 UTC by Fabian Felix Selbach
Modified: 2025-03-28 12:32 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Fabian Felix Selbach 2023-12-11 19:49:18 UTC
Description of problem:
When I try to open the settings dialog in obs the application crashes.

Version-Release number of selected component (if applicable):
30.0.0-1.el9

How reproducible:
Always

Steps to Reproduce:
1. Open OBS
2. Try to open Settings Dialog

Actual results:
Application crashes.

Expected results:
The settings dialog opens

Additional info:
https://obsproject.com/logs/CosoFaOSth2tz0PX
https://pastebin.com/PNZ0jS9Z
Tested on RHEL 9.3 on x86_64

Comment 1 Neal Gompa 2023-12-12 02:51:26 UTC
Do you have openh264 installed on your system?

Comment 2 Fabian Felix Selbach 2023-12-12 16:09:42 UTC
(In reply to Neal Gompa from comment #1)
> Do you have openh264 installed on your system?

It seems like I do have it installed. Should I try to remove it?

Comment 3 Fabian Felix Selbach 2023-12-12 18:08:35 UTC
I have removed openh264 and nothing changed, backtrace is identical and so are the logs.

One piece of info I didn't have in the backtrace I attached are the following two lines that get logged in gdb after the crash:

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid

Comment 4 Neal Gompa 2023-12-12 18:46:38 UTC
(In reply to Fabian Felix Selbach from comment #2)
> (In reply to Neal Gompa from comment #1)
> > Do you have openh264 installed on your system?
> 
> It seems like I do have it installed. Should I try to remove it?

No, it should be installed. I've seen similar reports come from it not being installed.

Comment 5 Fabian Felix Selbach 2023-12-12 20:15:19 UTC
(In reply to Neal Gompa from comment #4)
> No, it should be installed. I've seen similar reports come from it not being
> installed.

Okay I will keep this in mind and reinstall it. The crash happens despite it being installed in my case though.

Comment 6 Neal Gompa 2023-12-13 03:26:23 UTC
What's the versions of ffmpeg-free and openh264? You can query this using "rpm -q <pkgname>".

Comment 7 Neal Gompa 2023-12-13 03:28:52 UTC
And version of qt6-qtbase as well.

Comment 8 Fabian Felix Selbach 2023-12-13 17:44:46 UTC
Here are the versions of these packages although I don't have ffmpeg-free, only ffmpeg:

$ rpm -q openh264
openh264-2.3.1-1.el9.x86_64
$ rpm -q ffmpeg
ffmpeg-5.1.4-1.el9.x86_64
$ rpm -q qt6-qtbase
qt6-qtbase-6.5.2-5.el9.x86_64

Comment 9 Neal Gompa 2023-12-13 19:23:43 UTC
Can you try "dnf install --allowerasing ffmpeg-free libavcodec-freeworld" and see if that fixes it?

Comment 10 Fabian Felix Selbach 2023-12-13 20:00:16 UTC
The crash still happens and nothing changed about the logs or backtrace.

Comment 11 Mike Rochefort 2025-03-24 03:47:16 UTC
Breathing some life back into this thread. I've starting moving workstations over to RHEL 9.5 and we're running in to this as well.

I'll be evaluating the results tomorrow, but I've submitted a PR to bump obs-studio to 30.2.3. If the issue is happening in the existing 30.0.0 build (though up to 30.0.2 is available) with both Fedora's ffmpeg-free and RPM Fusion's ffmpeg packages, hopefully the fix is somewhere in this rebase.

PR: https://src.fedoraproject.org/rpms/obs-studio/pull-request/4

I also have a COPR with the updated dependencies for eval:

https://copr.fedorainfracloud.org/coprs/mroche/obs/


Note You need to log in before you can comment on or make changes to this bug.