Bug 2251164 - [abrt] obs-studio: drm_format_available(): obs killed by SIGSEGV
Summary: [abrt] obs-studio: drm_format_available(): obs killed by SIGSEGV
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: obs-studio
Version: 39
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Neal Gompa
QA Contact:
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:d71984a52047f834e33d5095a1f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-23 07:42 UTC by Toon Verstraelen
Modified: 2024-05-19 11:14 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: proc_pid_status (1.44 KB, text/plain)
2023-11-23 07:42 UTC, Toon Verstraelen
no flags Details
File: maps (3.99 KB, text/plain)
2023-11-23 07:42 UTC, Toon Verstraelen
no flags Details
File: limits (1.29 KB, text/plain)
2023-11-23 07:42 UTC, Toon Verstraelen
no flags Details
File: environ (3.55 KB, text/plain)
2023-11-23 07:43 UTC, Toon Verstraelen
no flags Details
File: open_fds (7.67 KB, text/plain)
2023-11-23 07:43 UTC, Toon Verstraelen
no flags Details
File: mountinfo (3.37 KB, text/plain)
2023-11-23 07:43 UTC, Toon Verstraelen
no flags Details
File: os_info (734 bytes, text/plain)
2023-11-23 07:43 UTC, Toon Verstraelen
no flags Details
File: cpuinfo (3.04 KB, text/plain)
2023-11-23 07:43 UTC, Toon Verstraelen
no flags Details
File: core_backtrace (179.93 KB, text/plain)
2023-11-23 07:43 UTC, Toon Verstraelen
no flags Details
File: exploitable (81 bytes, text/plain)
2023-11-23 07:43 UTC, Toon Verstraelen
no flags Details
File: backtrace (89.87 KB, text/plain)
2023-11-23 07:43 UTC, Toon Verstraelen
no flags Details

Description Toon Verstraelen 2023-11-23 07:42:52 UTC
Description of problem:
Started obs and defined a scene in which a window was captured (pipewire) and previewed full screen.

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=7272e41d90664bd595c4299d8e44b8d4;i=4eacc1;b=9f3d1dbaa44a4fbbad8eedd1caea8ec6;m=5e5b39e0;t=60accd04679b8;x=8e316a0a3a3226a5
executable:     /usr/bin/obs
cmdline:        obs
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-76b32856-3ee3-4d77-86a2-4a3b4cc5f072.scope
rootdir:        /
uid:            1000
kernel:         6.5.12-300.fc39.x86_64
package:        obs-studio-30.0.0-1.fc39
runlevel:       N 5
dso_list:       /usr/bin/obs obs-studio-30.0.0-1.fc39.x86_64 (Fedora Project) 1700723290
backtrace_rating: 4
crash_function: drm_format_available
comment:        Started obs and defined a scene in which a window was captured (pipewire) and previewed full screen.

Truncated backtrace:
Thread no. 0 (23 frames)
 #0 drm_format_available at /usr/src/debug/obs-studio-30.0.0-1.fc39.x86_64/plugins/linux-pipewire/pipewire.c:492
 #1 init_format_info_sync at /usr/src/debug/obs-studio-30.0.0-1.fc39.x86_64/plugins/linux-pipewire/pipewire.c:544
 #2 init_format_info at /usr/src/debug/obs-studio-30.0.0-1.fc39.x86_64/plugins/linux-pipewire/pipewire.c:578
 #3 obs_pipewire_connect_stream at /usr/src/debug/obs-studio-30.0.0-1.fc39.x86_64/plugins/linux-pipewire/pipewire.c:1240
 #4 on_pipewire_remote_opened_cb at /usr/src/debug/obs-studio-30.0.0-1.fc39.x86_64/plugins/linux-pipewire/screencast-portal.c:195
 #5 g_task_return_now at ../gio/gtask.c:1371
 #6 g_task_return at ../gio/gtask.c:1440
 #8 reply_cb at ../gio/gdbusproxy.c:2571
 #9 g_task_return_now at ../gio/gtask.c:1371
 #10 g_task_return at ../gio/gtask.c:1440
 #12 g_dbus_connection_call_done at ../gio/gdbusconnection.c:5897
 #13 g_task_return_now at ../gio/gtask.c:1371
 #14 complete_in_idle_cb at ../gio/gtask.c:1385
 #17 g_main_context_dispatch_unlocked at ../glib/gmain.c:4284
 #18 g_main_context_iterate_unlocked.isra.0 at ../glib/gmain.c:4349
 #19 g_main_context_iteration at ../glib/gmain.c:4414
 #20 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:393
 #21 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/global/qflags.h:34
 #22 QCoreApplication::exec() at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/global/qflags.h:74
 #23 QGuiApplication::exec() at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/kernel/qguiapplication.cpp:1921
 #24 QApplication::exec() at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/kernel/qapplication.cpp:2569
 #25 run_program at /usr/src/debug/obs-studio-30.0.0-1.fc39.x86_64/UI/obs-app.cpp:2583
 #26 main(int, char**) at /usr/src/debug/obs-studio-30.0.0-1.fc39.x86_64/UI/obs-app.cpp:3450

Comment 1 Toon Verstraelen 2023-11-23 07:42:56 UTC
Created attachment 2001029 [details]
File: proc_pid_status

Comment 2 Toon Verstraelen 2023-11-23 07:42:57 UTC
Created attachment 2001030 [details]
File: maps

Comment 3 Toon Verstraelen 2023-11-23 07:42:59 UTC
Created attachment 2001031 [details]
File: limits

Comment 4 Toon Verstraelen 2023-11-23 07:43:00 UTC
Created attachment 2001032 [details]
File: environ

Comment 5 Toon Verstraelen 2023-11-23 07:43:02 UTC
Created attachment 2001033 [details]
File: open_fds

Comment 6 Toon Verstraelen 2023-11-23 07:43:03 UTC
Created attachment 2001034 [details]
File: mountinfo

Comment 7 Toon Verstraelen 2023-11-23 07:43:05 UTC
Created attachment 2001035 [details]
File: os_info

Comment 8 Toon Verstraelen 2023-11-23 07:43:06 UTC
Created attachment 2001036 [details]
File: cpuinfo

Comment 9 Toon Verstraelen 2023-11-23 07:43:08 UTC
Created attachment 2001037 [details]
File: core_backtrace

Comment 10 Toon Verstraelen 2023-11-23 07:43:09 UTC
Created attachment 2001038 [details]
File: exploitable

Comment 11 Toon Verstraelen 2023-11-23 07:43:11 UTC
Created attachment 2001039 [details]
File: backtrace

Comment 12 Toon Verstraelen 2023-11-23 07:45:12 UTC
I first ran into the following bug: https://bugzilla.redhat.com/show_bug.cgi?id=2250654 (and applied the suggested fix).

Afterwards, the above problem occurred when trying to use obs.

Comment 13 Toon Verstraelen 2023-11-26 09:16:49 UTC
The upstream bug:

https://github.com/obsproject/obs-studio/issues/9844

The upstream fix:

https://github.com/obsproject/obs-studio/pull/9845

A hotfix is being prepared, presumably for a quick follow-up release of obs-studio, which includes the fix:

https://github.com/obsproject/obs-studio/pull/9897

I'm testing the fix, using a locally modified package (following https://blog.aloni.org/posts/how-to-easily-patch-fedora-packages/). Seems to work well so far.

Comment 14 Albert Larsan 2023-11-29 12:41:58 UTC
1. Launch OBS, add a Screen capture (pipewire) to the screen.
2. Stop the screen capture, using the stop buttin in the top bar, or locking the session.
3. The screen capture in OBS has freezed.
4. Try to restart the capture (go to the capture properties, click the Select Monitor button, and select your monitor)
5. OBS closes


reporter:       libreport-2.17.11
type:           CCpp
reason:         obs killed by SIGSEGV
journald_cursor: s=7e2959374081459aae9fcca5208e7f79;i=12135cd;b=41219126689647b39538f82eb0f15d71;m=e6cb8261;t=60b479fba4bad;x=f3e3134388679033
executable:     /usr/bin/obs
cmdline:        /usr/bin/obs
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-com.obsproject.Studio-21838.scope
rootdir:        /
uid:            1000
kernel:         6.6.2-201.fc39.x86_64
package:        obs-studio-30.0.0-1.fc39
runlevel:       N 5
backtrace_rating: 4
crash_function: drm_format_available

Comment 15 Eshin Kunishima 2023-12-30 10:07:41 UTC
I am running obs in a wayland environment.

Reproduce procedure
1. run obs
2. add source "screenshot (pipe wire)".
3. crash obs

OS: Fedora Linux 39 (Thirty Nine) x86_64 
Host: Z790 Steel Legend WiFi 
Kernel: 6.6.8-200.fc39.x86_64 
Uptime: 5 hours, 33 mins 
Packages: 3479 (rpm), 31 (flatpak), 7 (snap) 
Shell: bash 5.2.21 
Resolution: 5120x2160 
DE: GNOME 45.2 
WM: Mutter 
WM Theme: Adwaita 
Theme: Arc-Dark-solid [GTK2/3] 
Icons: breeze-dark [GTK2/3] 
Terminal: gnome-terminal 
CPU: 13th Gen Intel i9-13900K (32) @ 5.500GHz 
GPU: Intel Raptor Lake-S GT1 [UHD Graphics 770] 
Memory: 8035MiB / 128566MiB 


reporter:       libreport-2.17.11
type:           CCpp
reason:         obs killed by SIGSEGV
journald_cursor: s=1b7e47e8773a4638b971437d9c7da677;i=3f572e;b=b7dd7ac5203043d8bebec96826c82169;m=17109ee794;t=60db21e0d3a43;x=b444a2f795adb0b4
executable:     /usr/bin/obs
cmdline:        obs
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-4686d1a8-c4c1-4864-a9a1-cde5a44147bb.scope
rootdir:        /
uid:            1000
kernel:         6.6.8-200.fc39.x86_64
package:        obs-studio-30.0.0-1.fc39
runlevel:       N 3
backtrace_rating: 4
crash_function: drm_format_available

Comment 16 RocketSam 2024-01-16 15:09:54 UTC
I have selected to add one of my monitors to add to the sceene and clicked OK.


reporter:       libreport-2.17.11
type:           CCpp
reason:         obs killed by SIGSEGV
journald_cursor: s=7a5b46b54539423d964a0cf6b6a388e3;i=157a23e;b=10747cdf0fd7490380e7c012f9b9ac92;m=3addca11a;t=60f11698c0590;x=eb76b58d5de3f845
executable:     /usr/bin/obs
cmdline:        /usr/bin/obs
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-com.obsproject.Studio-e33f4f63b85944ddad09d577c29bdada.scope
rootdir:        /
uid:            1000
kernel:         6.6.11-200.fc39.x86_64
package:        obs-studio-30.0.0-1.fc39
runlevel:       N 5
backtrace_rating: 4
crash_function: drm_format_available
comment:        I have selected to add one of my monitors to add to the sceene and clicked OK.

Comment 17 Nicolas Vaagen 2024-02-01 01:54:22 UTC
I tried to switch the window I was recording, and it crashed imediatly.
I tried restarting it and recording that screen again.
It crashed again. 


reporter:       libreport-2.17.11
type:           CCpp
reason:         obs killed by SIGSEGV
journald_cursor: s=e9b0dbc5662f495cb1ac26705b288d1f;i=128f77;b=ec4ccd1aad78423a912379cc700f84d1;m=361ca2d8;t=61048230ae199;x=1fa9e6a0c9bc283c
executable:     /usr/bin/obs
cmdline:        /usr/bin/obs
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-com.obsproject.Studio-4147.scope
rootdir:        /
uid:            1000
kernel:         6.6.13-200.fc39.x86_64
package:        obs-studio-30.0.0-1.fc39
runlevel:       N 5
backtrace_rating: 4
crash_function: drm_format_available

Comment 18 Nicolas Vaagen 2024-03-05 01:27:51 UTC
I tried to share my monitor and it instantly crashed.


reporter:       libreport-2.17.11
type:           CCpp
reason:         obs killed by SIGSEGV
journald_cursor: s=250c1070b143432f8b08912c02187ba1;i=2128af;b=dcaf1bca631a4ebeb2d09af50a03f12d;m=844fcfaf4;t=612def041fba4;x=ec11d9233b88b348
executable:     /usr/bin/obs
cmdline:        /usr/bin/obs
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-com.obsproject.Studio-61964.scope
rootdir:        /
uid:            1000
kernel:         6.7.6-200.fc39.x86_64
package:        obs-studio-30.0.0-2.fc39
runlevel:       N 5
dso_list:       /usr/bin/obs obs-studio-30.0.0-2.fc39.x86_64 (Fedora Project) 1708827881
backtrace_rating: 4
crash_function: drm_format_available
comment:        I tried to share my monitor and it instantly crashed.

Comment 19 Hirad 2024-05-19 11:14:22 UTC
I launched OBS Studio and went through the settings. Unfortunately, the application crashed the moment I tried to set the screen recording to "Screen Capture" the application crashed.


reporter:       libreport-2.17.11
type:           CCpp
reason:         obs killed by SIGSEGV
journald_cursor: s=acff5f78b7b443bc8b3682fc099ecfa8;i=1acef8;b=7112b34ce45044c0804685c34db2c942;m=662524a0;t=618bdb054cd52;x=e0cc973b7657fb86
executable:     /usr/bin/obs
cmdline:        /usr/bin/obs
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-com.obsproject.Studio-8805.scope
rootdir:        /
uid:            1000
kernel:         6.8.9-200.fc39.x86_64
package:        obs-studio-30.0.0-2.fc39
runlevel:       N 5
dso_list:       /usr/bin/obs obs-studio-30.0.0-2.fc39.x86_64 (Fedora Project) 1708509948
backtrace_rating: 4
crash_function: drm_format_available
comment:        I launched OBS Studio and went through the settings. Unfortunately, the application crashed the moment I tried to set the screen recording to "Screen Capture" the application crashed.


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