obsproject/obs-studio

OBS custom browser dock crashes on text entry

Closed this issue · 2 comments

Operating System Info

Ubuntu 24.04

Other OS

Ubuntu MATE 24.04

OBS Studio Version

Git

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/A4lqRAPzSub0WVYQ

OBS Studio Crash Log URL

No response

Expected Behavior

I expected that it'd be possible to enter text within a custom browser dock.

Current Behavior

A segmentation fault occurs when I attempt to enter text into a custom browser dock;

(obs:161196): Pango-CRITICAL **: 11:05:16.947: pango_layout_new: assertion 'context != NULL' failed

Thread 1 "obs" received signal SIGSEGV, Segmentation fault.

Steps to Reproduce

  1. Add a custom browser dock, e.g.:
  2. Select 'Close'.
  3. Attempt to type anything into the search bar in the browser dock.

Anything else we should know?

NOTE: It does occasionally work when I run it with a debugger attached - so this seems like, maybe, something racy?

NOTE:

  • libgtk-3 at 3.24.41
  • libpango at 1.52.1

Here's the GDB where output - didn't help me much.

(gdb) where
#0  0x00007fffe88db77c in ??? () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#1  0x00007fffe88e7d10 in gtk_text_layout_get_line_display () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#2  0x00007fffe88e042a in ??? () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#3  0x00007fffe88c5f3b in ??? () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#4  0x00007fffe88e0f50 in gtk_text_layout_validate_yrange () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#5  0x00007fffe88f321e in ??? () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#6  0x00007fffe88f4114 in ??? () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#7  0x00007fffe88f488d in ??? () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#8  0x00007fffe8538c6d in ??? () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#9  0x00007ffff253849e in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff2597737 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff2537a63 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ffff4f315ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#13 0x00007ffff4d429a3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#14 0x00007ffff4d3b35e in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#15 0x00005555559eee4e in run_program (logFile=..., argc=1, argv=0x7fffffffdcb8) at /home/username/development/obs-studio/frontend/obs-main.cpp:690
#16 0x00005555559efb81 in main (argc=1, argv=0x7fffffffdcb8) at /home/username/development/obs-studio/frontend/obs-main.cpp:1036

Duplicate of #7146

OBS Studio built with CEF Linux pre-build from Spotify is not supported.

Thanks; I did look for an existing issue, but perhaps I used the wrong keywords.