https://bugs.freedesktop.org/show_bug.cgi?id=83304
--- Comment #4 from Pekka Paalanen <[email protected]> --- (In reply to comment #3) > Pekka, the mainloop is simplistic and tries to follow the documentation: > https://git.videolan.org/?p=vlc.git;a=blob;f=modules/video_output/wl/ > shell_surface.c;hb=2.2.0-git-662-ge08f4fc#l48 That looks fine. > (Admittedly the cleanup path may look unorthodox, but you can ignore it as > the deadlock predates it.) The deadlock is there, right below FIXME: > > https://git.videolan.org/?p=vlc.git;a=blob;f=modules/video_output/wl/shm.c; > hb=2.2.0-git-662-ge08f4fc#l184 That is broken like I explained above, it runs in a different thread, doesn't it? > I tried to use wl_event_queue, but it gave me crashes in the mainloop after > destroying the supposedly no longer used queue. I guess I don't know > how/when it is safe to delete a queue. Can you show the code for that? There likely are several details to get right, like assigning proxies to queues, and when to create and destroy queues. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Wayland-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-bugs
