With OBS compiled from 54892b27d
and wlrobs from fa1757e6ba0b
. I get this crash when somehow previewing a "dmabuf" screen.
Before, I was using wlrobs from 02e7fd0062af
, and after some OBS update, it got all white, and with flickering, that's why I've updated to the latest.
Here is the GDB backtrace:
info: User added source 'Wayland output(dmabuf)' (wlrobs-dmabuf) to scene 'Scene'
Thread 44 "libobs: graphic" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff23c0a640 (LWP 364985)]
0x00007fffc81d0a10 in device_get_texture_type () from /usr/lib/libobs-opengl.so.0
(gdb) backtrace
# 0 0x00007fffc81d0a10 in device_get_texture_type () at /usr/lib/libobs-opengl.so.0
# 1 0x00007ffff5e7226f in gs_draw_sprite () at /usr/lib/libobs.so.0
# 2 0x00007fff203fbfd4 in () at /usr//lib/obs-plugins/wlrobs.so
# 3 0x00007ffff5ea2eb0 in obs_source_video_render () at /usr/lib/libobs.so.0
# 4 0x00007ffff5ed93da in () at /usr/lib/libobs.so.0
# 5 0x00007ffff5ea2eb0 in obs_source_video_render () at /usr/lib/libobs.so.0
# 6 0x00007ffff5ea9da6 in obs_transition_video_render () at /usr/lib/libobs.so.0
# 7 0x00007ffff5ea2eb0 in obs_source_video_render () at /usr/lib/libobs.so.0
# 8 0x00007ffff5ed5ec5 in obs_view_render () at /usr/lib/libobs.so.0
# 9 0x00007ffff5ede98c in obs_graphics_thread_loop () at /usr/lib/libobs.so.0
# 10 0x00007ffff5edfdb9 in obs_graphics_thread () at /usr/lib/libobs.so.0
# 11 0x00007ffff4eb9299 in start_thread () at /usr/lib/libpthread.so.0
# 12 0x00007ffff4de2053 in clone () at /usr/lib/libc.so.6
I have no clue why, but I rebuilt obs, and wlrobs and the problem vanished. Probably it was linked against something old, or as I dirty-built wlrobs something unfinshed was reused.