Segfault when running mpv --vo=dmabuf-wayland after a while
I haven’t managed to figure out when that happens or why, it was 25 minutes after starting to watch a movie, with no user interaction whatsoever.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 wl_shm_buffer_get_stride (buffer=buffer@entry=0x0) at ../wayland/src/wayland-shm.c:436
436 ../wayland/src/wayland-shm.c: No such file or directory.
[Current thread is 1 (Thread 0x7fa7d06b0d00 (LWP 655234))]
(gdb) bt
#0 wl_shm_buffer_get_stride (buffer=buffer@entry=0x0) at ../wayland/src/wayland-shm.c:436
#1 0x00007fa7d019b29a in gl_renderer_attach_shm (buffer=0x559eb2aadf40, es=0x559eb2aa5390) at ../libweston/renderer-gl/gl-renderer.c:2319
#2 gl_renderer_attach (es=0x559eb2aa5390, buffer=0x559eb2aadf40) at ../libweston/renderer-gl/gl-renderer.c:3202
#3 0x00007fa7d0f0a665 in weston_surface_attach (status=<optimized out>, state=0x559eb2a9b950, surface=0x559eb2aa5390) at ../libweston/compositor.c:2919
#4 weston_surface_commit_state (surface=surface@entry=0x559eb2aa5390, state=state@entry=0x559eb2a9b950) at ../libweston/compositor.c:4337
#5 0x00007fa7d0f0aeea in weston_subsurface_commit_from_cache (sub=0x559eb2a9b8c0) at ../libweston/compositor.c:4712
#6 weston_subsurface_synchronized_commit (sub=sub@entry=0x559eb2a9b8c0) at ../libweston/compositor.c:4861
#7 0x00007fa7d0f0b267 in weston_subsurface_parent_commit (parent_is_synchronized=0, sub=0x559eb2a9b8c0) at ../libweston/compositor.c:4887
#8 weston_subsurface_commit (sub=<optimized out>) at ../libweston/compositor.c:4840
#9 surface_commit (client=<optimized out>, resource=<optimized out>) at ../libweston/compositor.c:4524
#10 0x00007fa7d098f4f6 in () at /usr/lib/libffi.so.8
#11 0x00007fa7d098bf5e in () at /usr/lib/libffi.so.8
#12 0x00007fa7d098eb73 in ffi_call () at /usr/lib/libffi.so.8
#13 0x00007fa7d0ecba20 in wl_closure_invoke (closure=closure@entry=0x559eb2b45570, flags=flags@entry=2, target=<optimized out>,
target@entry=0x559eb2986c00, opcode=opcode@entry=6, data=<optimized out>, data@entry=0x559eb2a93880) at ../wayland/src/connection.c:1025
#14 0x00007fa7d0ec561f in wl_client_connection_data (fd=<optimized out>, mask=<optimized out>, data=0x559eb2a93880) at ../wayland/src/wayland-server.c:438
#15 0x00007fa7d0ec8d82 in wl_event_loop_dispatch (loop=0x559eb210e480, timeout=<optimized out>, timeout@entry=-1) at ../wayland/src/event-loop.c:1104
#16 0x00007fa7d0ec5ef7 in wl_display_run (display=display@entry=0x559eb210e390) at ../wayland/src/wayland-server.c:1493
#17 0x00007fa7d0f9b4cb in wet_main (argc=<optimized out>, argv=0x7ffde8afbd88, test_data=0x0) at ../compositor/main.c:4244
#18 0x00007fa7d0c27cd0 in () at /usr/lib/libc.so.6
#19 0x00007fa7d0c27d8a in __libc_start_main () at /usr/lib/libc.so.6
#20 0x0000559eb16d8055 in _start ()