Bug 2196058

Summary: [abrt] obs-studio: std::__throw_logic_error(): obs killed by SIGABRT
Product: [Fedora] Fedora Reporter: xspielinbox+redhat
Component: obs-studioAssignee: Neal Gompa <ngompa13>
Status: CLOSED CANTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: mbayer, ngompa13, steve8988, xspielinbox+redhat
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/f9cce07df7728535a8a2ca40fd3ca005a154f31
Whiteboard: abrt_hash:9f5f0da99eddfd4bef71bfeaa66439dde15ac831;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 00:08:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: proc_pid_status
none
File: maps
none
File: limits
none
File: mountinfo
none
File: os_info
none
File: cpuinfo
none
File: core_backtrace
none
File: var_log_messages
none
File: backtrace
none
File: open_fds
none
File: environ none

Description xspielinbox+redhat 2023-05-07 21:59:25 UTC
Description of problem:
I wanted to make a audio-only recording of my computer-audio. When clicking on the settings button on the buttom right to set this, OBS crashes.
This therefore makes OBS unusable for me.

Version-Release number of selected component:
obs-studio-29.1.0-3.fc38

Additional info:
reporter:       libreport-2.17.9
type:           CCpp
reason:         obs killed by SIGABRT
journald_cursor: s=2ebf06fd4a2f4f03931914ff56c05122;i=13ac83;b=7d73bc7f569d47f5b5f0aa72e65a1bed;m=3e09e0db5;t=5fb213a410f9e;x=5f015bd28285b52
executable:     /usr/bin/obs
cmdline:        /usr/bin/obs
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.gnome.Software-3450.scope
rootdir:        /
uid:            1000
kernel:         6.2.14-300.fc38.x86_64
package:        obs-studio-29.1.0-3.fc38
runlevel:       N 5
dso_list:       /usr/bin/obs obs-studio-29.1.0-3.fc38.x86_64 (Fedora Project) 1683494158
backtrace_rating: 4
crash_function: std::__throw_logic_error

Truncated backtrace:
Thread no. 0 (43 frames)
 #8 std::__throw_logic_error at ../../../../../libstdc++-v3/src/c++11/functexcept.cc:70
 #9 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> > at /usr/include/c++/13/bits/basic_string.h:647
 #10 DisableIncompatibleSimpleContainer at /usr/src/debug/obs-studio-29.1.0-3.fc38.x86_64/UI/window-basic-settings.cpp:5772
 #11 OBSBasicSettings::SimpleRecordingEncoderChanged at /usr/src/debug/obs-studio-29.1.0-3.fc38.x86_64/UI/window-basic-settings.cpp:5889
 #12 doActivate<false> at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/kernel/qobject.cpp:4004
 #13 QMetaObject::activate at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/kernel/qobject.cpp:4052
 #14 QSpinBox::valueChanged at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/redhat-linux-build/src/widgets/Widgets_autogen/include/moc_qspinbox.cpp:303
 #15 QAbstractSpinBoxPrivate::setValue at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/widgets/widgets/qabstractspinbox.cpp:1762
 #16 QSpinBox::setValue at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/widgets/widgets/qspinbox.cpp:198
 #17 OBSBasicSettings::LoadSimpleOutputSettings at /usr/src/debug/obs-studio-29.1.0-3.fc38.x86_64/UI/window-basic-settings.cpp:1979
 #18 OBSBasicSettings::LoadOutputSettings at /usr/src/debug/obs-studio-29.1.0-3.fc38.x86_64/UI/window-basic-settings.cpp:2484
 #19 OBSBasicSettings::LoadSettings at /usr/src/debug/obs-studio-29.1.0-3.fc38.x86_64/UI/window-basic-settings.cpp:3315
 #20 OBSBasicSettings::OBSBasicSettings at /usr/src/debug/obs-studio-29.1.0-3.fc38.x86_64/UI/window-basic-settings.cpp:903
 #21 OBSBasic::on_action_Settings_triggered at /usr/src/debug/obs-studio-29.1.0-3.fc38.x86_64/UI/window-basic-main.cpp:5116
 #22 OBSBasic::qt_metacall at /usr/src/debug/obs-studio-29.1.0-3.fc38.x86_64/redhat-linux-build/UI/obs_autogen/EWIEGA46WW/moc_window-basic-main.cpp:3096
 #23 doActivate<false> at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/kernel/qobject.cpp:4018
 #24 QMetaObject::activate at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/kernel/qobject.cpp:4052
 #25 QAbstractButton::clicked at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/redhat-linux-build/src/widgets/Widgets_autogen/include/moc_qabstractbutton.cpp:408
 #26 QAbstractButtonPrivate::emitClicked at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/widgets/widgets/qabstractbutton.cpp:379
 #27 QAbstractButtonPrivate::click at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/widgets/widgets/qabstractbutton.cpp:372
 #28 QAbstractButton::mouseReleaseEvent at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/widgets/widgets/qabstractbutton.cpp:973
 #29 QWidget::event at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/widgets/kernel/qwidget.cpp:9286
 #30 QApplicationPrivate::notify_helper at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/widgets/kernel/qapplication.cpp:3284
 #31 QApplication::notify at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/widgets/kernel/qapplication.cpp:2772
 #32 QCoreApplication::notifyInternal2 at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1115
 #33 QCoreApplication::sendSpontaneousEvent at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1547
 #34 QApplicationPrivate::sendMouseEvent at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/widgets/kernel/qapplication.cpp:2356
 #35 QWidgetWindow::handleMouseEvent at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/widgets/kernel/qwidgetwindow.cpp:623
 #36 QWidgetWindow::event at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/widgets/kernel/qwidgetwindow.cpp:241
 #37 QApplicationPrivate::notify_helper at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/widgets/kernel/qapplication.cpp:3284
 #38 QCoreApplication::notifyInternal2 at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1115
 #39 QCoreApplication::sendSpontaneousEvent at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1547
 #40 QGuiApplicationPrivate::processMouseEvent at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/gui/kernel/qguiapplication.cpp:2277
 #41 QWindowSystemInterface::sendWindowSystemEvents at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/gui/kernel/qwindowsysteminterface.cpp:1094
 #42 userEventSourceDispatch at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
 #45 g_main_context_iterate.isra.0 at ../glib/gmain.c:4276
 #46 g_main_context_iteration at ../glib/gmain.c:4343
 #47 QEventDispatcherGlib::processEvents at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:393
 #48 QEventLoop::exec at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/global/qflags.h:34
 #49 QCoreApplication::exec at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/corelib/global/qflags.h:74
 #50 QGuiApplication::exec at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/gui/kernel/qguiapplication.cpp:1886
 #51 QApplication::exec at /usr/src/debug/qt6-qtbase-6.5.0-2.fc38.x86_64/src/widgets/kernel/qapplication.cpp:2564
 #52 run_program at /usr/src/debug/obs-studio-29.1.0-3.fc38.x86_64/UI/obs-app.cpp:2524


Potential duplicate: bug 2188250

Comment 1 xspielinbox+redhat 2023-05-07 21:59:28 UTC
Created attachment 1963068 [details]
File: proc_pid_status

Comment 2 xspielinbox+redhat 2023-05-07 21:59:29 UTC
Created attachment 1963069 [details]
File: maps

Comment 3 xspielinbox+redhat 2023-05-07 21:59:30 UTC
Created attachment 1963070 [details]
File: limits

Comment 4 xspielinbox+redhat 2023-05-07 21:59:32 UTC
Created attachment 1963071 [details]
File: mountinfo

Comment 5 xspielinbox+redhat 2023-05-07 21:59:33 UTC
Created attachment 1963072 [details]
File: os_info

Comment 6 xspielinbox+redhat 2023-05-07 21:59:34 UTC
Created attachment 1963073 [details]
File: cpuinfo

Comment 7 xspielinbox+redhat 2023-05-07 21:59:36 UTC
Created attachment 1963074 [details]
File: core_backtrace

Comment 8 xspielinbox+redhat 2023-05-07 21:59:37 UTC
Created attachment 1963075 [details]
File: var_log_messages

Comment 9 xspielinbox+redhat 2023-05-07 21:59:39 UTC
Created attachment 1963076 [details]
File: backtrace

Comment 10 xspielinbox+redhat 2023-05-07 21:59:40 UTC
Created attachment 1963077 [details]
File: open_fds

Comment 11 xspielinbox+redhat 2023-05-07 21:59:41 UTC
Created attachment 1963078 [details]
File: environ

Comment 12 Stephen So 2023-05-08 01:30:52 UTC
Opened up OBS and clicked on Settings button.


reporter:       libreport-2.17.9
comment:        Opened up OBS and clicked on Settings button.
type:           CCpp
kernel:         6.2.14-300.fc38.x86_64
executable:     /usr/bin/obs
uid:            1000
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-com.obsproject.Studio-12067.scope
reason:         obs killed by SIGABRT
runlevel:       N 5
backtrace_rating: 4
journald_cursor: s=186472bbbe4f4755a93cf1384330816a;i=93c8d;b=9d58a228788b4469bc7191896922d529;m=e9654a74;t=5fb2462438e58;x=47491f197d6cc415
cmdline:        /usr/bin/obs
package:        obs-studio-29.1.0-3.fc38
rootdir:        /
crash_function: std::__throw_logic_error

Comment 13 Michael Bayer 2023-05-08 22:43:04 UTC
it looks like this and bz#2188250 are the same issue.    I have this issue also!   Currently I'm able to use the rpm fusion build of 28.1.2 but I have to build it manually to get the websocket plugin.   the fedora release 29.1.0 here (which includes websocket plugin! thanks!)  however crashes when opening settings.

Comment 14 Neal Gompa 2023-05-08 23:12:20 UTC
Unfortunately, it looks like it'll crash if you have RPM Fusion's ffmpeg implementation because they don't have OpenH264 support enabled in their build.

Comment 15 Neal Gompa 2023-05-08 23:12:47 UTC
Does it resolve itself if you do "sudo dnf swap ffmpeg ffmpeg-free --allowerasing"?

Comment 16 Michael Bayer 2023-05-08 23:18:53 UTC
yes! that is the issue.      installing ffmpeg-free (Which I assume is fedora vs. rpmfusion) allows the 29.1 build from fedora to work, settings open, i just used the websocket API and that worked also. 

is fedora taking on a bunch of new packages here that were previously rpmfusion only ?

Comment 17 Neal Gompa 2023-05-09 00:08:58 UTC
(In reply to Michael Bayer from comment #16)
> yes! that is the issue.      installing ffmpeg-free (Which I assume is
> fedora vs. rpmfusion) allows the 29.1 build from fedora to work, settings
> open, i just used the websocket API and that worked also. 
> 
> is fedora taking on a bunch of new packages here that were previously
> rpmfusion only ?

Yes.

If you need the RPM Fusion ffmpeg or libavcodec-freeworld overlay library to work with OBS, please comment in the RPM Fusion bug: https://bugzilla.rpmfusion.org/show_bug.cgi?id=6677