Bug 2250654

Summary: [abrt] obs-studio: QtWaylandClient::QWaylandAbstractDecoration::update(): obs killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Olav Vitters <ovitters>
Component: qadwaitadecorationsAssignee: Jan Grulich <jgrulich>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: dominik, jgrulich, kde-sig, marcdeop, multimedia-sig, ngompa13, ovitters
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/965f4ece83bde672d105ade20ff4472a9a37811
Whiteboard: abrt_hash:e920c6c6666b8407185fc242e096c554b2d00c27;VARIANT_ID=workstation;
Fixed In Version: qadwaitadecorations-0.1.3-2.fc39 qadwaitadecorations-0.1.3-3.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-30 03:30:32 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: open_fds
none
File: os_info
none
File: cpuinfo
none
File: core_backtrace
none
File: exploitable
none
File: dso_list
none
File: var_log_messages
none
File: backtrace
none
File: mountinfo
none
File: environ none

Description Olav Vitters 2023-11-20 11:04:00 UTC
Description of problem:
This is just after starting OBS Studio. As it crashed before it asks if to start in safe mode or not. Every answer results in this crash. Interestingly enough, I was able to use OBS studio before. Once I finally configured and tested my webcam (plus exited OBS Studio) it seemed to have started crashing on startup. I also ran this under GDB, seems crash is kinda deep in Qt. So might be Qt issue?

Version-Release number of selected component:
obs-studio-30.0.0-1.fc39

Additional info:
reporter:       libreport-2.17.11
type:           CCpp
reason:         obs killed by SIGSEGV
journald_cursor: s=cd4819ecdb444b27a2abed7cf1361f18;i=2a6ce5;b=28c40dd2bacf48b3a90ea361f3af696f;m=1360b8c17;t=60a855b6ff1ae;x=73205ba5801a2ce5
executable:     /usr/bin/obs
cmdline:        /usr/bin/obs
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-com.obsproject.Studio-30703.scope
rootdir:        /
uid:            1000
kernel:         6.5.11-300.fc39.x86_64
package:        obs-studio-30.0.0-1.fc39
runlevel:       N 5
backtrace_rating: 4
crash_function: QtWaylandClient::QWaylandAbstractDecoration::update
comment:        This is just after starting OBS Studio. As it crashed before it asks if to start in safe mode or not. Every answer results in this crash. Interestingly enough, I was able to use OBS studio before. Once I finally configured and tested my webcam (plus exited OBS Studio) it seemed to have started crashing on startup. I also ran this under GDB, seems crash is kinda deep in Qt. So might be Qt issue?

Truncated backtrace:
Thread no. 1 (23 frames)
 #0 QtWaylandClient::QWaylandAbstractDecoration::update at /usr/src/debug/qt6-qtwayland-6.6.0-1.fc39.x86_64/src/client/qwaylandabstractdecoration.cpp:110
 #1 QAdwaitaDecorations::forceRepaint at /usr/src/debug/qadwaitadecorations-0.1.3-1.fc39.x86_64/src/qadwaitadecorations.cpp:698
 #2 operator() at /usr/src/debug/qadwaitadecorations-0.1.3-1.fc39.x86_64/src/qadwaitadecorations.cpp:139
 #3 QtPrivate::QSlotObjectBase::call at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qobjectdefs_impl.h:433
 #4 doActivate<false> at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qobject.cpp:4021
 #5 QMetaObject::activate at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qobject.cpp:4081
 #6 QDBusPendingCallWatcher::finished at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/redhat-linux-build/src/dbus/DBus_autogen/include/moc_qdbuspendingcall.cpp:200
 #7 QObject::event at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qobject.cpp:1437
 #8 QApplicationPrivate::notify_helper at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/kernel/qapplication.cpp:3290
 #9 QCoreApplication::notifyInternal2 at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qcoreapplication.cpp:1118
 #10 QCoreApplication::sendEvent at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qcoreapplication.cpp:1536
 #11 QCoreApplicationPrivate::sendPostedEvents at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qcoreapplication.cpp:1898
 #12 QCoreApplication::sendPostedEvents at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qcoreapplication.cpp:1757
 #13 postEventSourceDispatch at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:243
 #15 g_main_context_dispatch_unlocked at ../glib/gmain.c:4284
 #16 g_main_context_iterate_unlocked.isra.0 at ../glib/gmain.c:4349
 #17 g_main_context_iteration at ../glib/gmain.c:4414
 #18 QEventDispatcherGlib::processEvents at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:393
 #19 QEventLoop::exec at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/global/qflags.h:34
 #20 QCoreApplication::exec at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/global/qflags.h:74
 #21 QGuiApplication::exec at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/kernel/qguiapplication.cpp:1921
 #22 QApplication::exec at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/kernel/qapplication.cpp:2569
 #23 run_program at /usr/src/debug/obs-studio-30.0.0-1.fc39.x86_64/UI/obs-app.cpp:2583

Comment 1 Olav Vitters 2023-11-20 11:04:03 UTC
Created attachment 2000476 [details]
File: proc_pid_status

Comment 2 Olav Vitters 2023-11-20 11:04:04 UTC
Created attachment 2000477 [details]
File: maps

Comment 3 Olav Vitters 2023-11-20 11:04:06 UTC
Created attachment 2000478 [details]
File: limits

Comment 4 Olav Vitters 2023-11-20 11:04:07 UTC
Created attachment 2000479 [details]
File: open_fds

Comment 5 Olav Vitters 2023-11-20 11:04:08 UTC
Created attachment 2000480 [details]
File: os_info

Comment 6 Olav Vitters 2023-11-20 11:04:10 UTC
Created attachment 2000481 [details]
File: cpuinfo

Comment 7 Olav Vitters 2023-11-20 11:04:11 UTC
Created attachment 2000482 [details]
File: core_backtrace

Comment 8 Olav Vitters 2023-11-20 11:04:13 UTC
Created attachment 2000483 [details]
File: exploitable

Comment 9 Olav Vitters 2023-11-20 11:04:15 UTC
Created attachment 2000484 [details]
File: dso_list

Comment 10 Olav Vitters 2023-11-20 11:04:16 UTC
Created attachment 2000485 [details]
File: var_log_messages

Comment 11 Olav Vitters 2023-11-20 11:04:18 UTC
Created attachment 2000486 [details]
File: backtrace

Comment 12 Olav Vitters 2023-11-20 11:04:19 UTC
Created attachment 2000487 [details]
File: mountinfo

Comment 13 Olav Vitters 2023-11-20 11:04:21 UTC
Created attachment 2000488 [details]
File: environ

Comment 14 Jan Grulich 2023-11-20 11:33:39 UTC
Upstream fix: https://github.com/FedoraQt/QAdwaitaDecorations/pull/42

I will backport it to our Fedora package.

Comment 15 Olav Vitters 2023-11-20 15:07:14 UTC
I added that patch locally thanks to https://blog.aloni.org/posts/how-to-easily-patch-fedora-packages/ and rebuilt the qt5 and qt6 qadwaitadecorations rpms. OBS studio starts without issues with your/the upstream patch.

Thanks for the really quick response and fix!

Comment 16 Fedora Update System 2023-11-22 11:03:29 UTC
FEDORA-2023-0257d094ea has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-0257d094ea

Comment 17 Fedora Update System 2023-11-22 11:03:30 UTC
FEDORA-2023-05c3bf2756 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-05c3bf2756

Comment 18 Fedora Update System 2023-11-23 01:30:01 UTC
FEDORA-2023-0257d094ea has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-0257d094ea`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-0257d094ea

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 19 Fedora Update System 2023-11-23 02:25:17 UTC
FEDORA-2023-05c3bf2756 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-05c3bf2756`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-05c3bf2756

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 20 Fedora Update System 2023-11-30 03:30:32 UTC
FEDORA-2023-05c3bf2756 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 21 Fedora Update System 2023-12-01 01:29:45 UTC
FEDORA-2023-0257d094ea has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.