gtkglsink: resize video widget causes SIGSEGV on Xwayland
The evidence comes from using Me TV (a DVB desktop application, https://github.com/Me-TV/Me-TV) on a fully up-to-date Debian Sid laptop. When running on Xorg there appears to be no problem. However when running on Xwayland using OpenGL any attempt to resize the video display window causes a SIGSEGV – this happens on every attempt at resize so is reproducible and consistent. There is no problem not using OpenGL.
Running Me TV from CLion, the stack trace (for thread 17 of 36) reports the SIGSEGV to have happened three anonymous function calls from a call to gst_gl_memory_copy_teximage.
- xwayland: 2:1.20.8-2
- libgl1-mesa-dri: 20.0.7
- libglx-mesa0: 20.0.7
The device driver appears to be i915 from the libgl1-mesa-dri package.