New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hanging in wl_event_loop_dispatch in WebKitGTK+WPE on FreeBSD #94
Comments
I can't see any adverse effects from replacing that |
@myfreeweb can you list versions of the relevant libraries and programs? (wayland, libwpe, llibWPEBackend-fdo, WebKitGTK, relevant apps etc.) |
glib-2.60.4, gtk3-3.24.13, wayland-1.16.0, libwpe-1.4.0.1, wpebackend-fdo-1.4.0, webkit2-gtk3-2.26.3 This Wayland GSource code linked from this webkit issue uses |
Reading the documentation for wl_event_loop_dispatch I think that passing
The odd thing is that the event loop is private to @zdobersek: Any idea on how to proceed with this? |
We can use 0. |
Instruct wl_display_get_event_loop() to not block by passing zero as timeout, instead of letting it block indefinitely. Fixes #94
Instruct wl_display_get_event_loop() to not block by passing zero as timeout, instead of letting it block indefinitely. Fixes #94
Since WebKitGTK started using WPE, WebKitGTK apps were not working on Wayland on FreeBSD: the application would be frozen with no content rendered.
I've tried to debug today, and turns out just attaching the debugger and continuing unfreezes the application and everything works.
Where apps get frozen is in the
wl_event_loop_dispatch
that's called with no timeout (-1
):I see that this is only called when polling has returned that there is something to read, but somehow it's being called when it has nothing to read. Maybe GTK's Wayland dispatch call happened in between the source receiving the poll result and dispatch being called.
The text was updated successfully, but these errors were encountered: