[Mesa-dev] [Bug 106753] [Firefox/Wayland] multithread deadlock at eglSwapBuffers() / wl_display_dispatch_queue()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 31 09:07:00 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106753

--- Comment #2 from Martin Stransky <stransky at redhat.com> ---
Sure, there is the log:

[New Thread 0x7fffc284a700 (LWP 14998)]
Attempting load of libEGL.so
warning: Loadable section ".note.gnu.property" outside of ELF segments
Missing separate debuginfo for /lib64/libglapi.so.0
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/0d/4f60e608c20f6ec43d455caa77cc5e015f7a9d.debug
[3038562.485]  -> wl_display at 1.get_registry(new id wl_registry at 50)
[3038562.498]  -> wl_display at 1.sync(new id wl_callback at 51)
[3038562.867] wl_display at 1.delete_id(51)
[3038562.877] wl_registry at 50.global(1, "wl_drm", 2)
[3038562.884]  -> wl_registry at 50.bind(1, "wl_drm", 2, new id [unknown]@52)
[3038562.912] wl_registry at 50.global(2, "wl_compositor", 4)
[3038562.923] wl_registry at 50.global(3, "wl_shm", 1)
[3038562.929] wl_registry at 50.global(4, "wl_output", 2)
[3038562.956] wl_registry at 50.global(5, "zxdg_output_manager_v1", 1)
[3038562.982] wl_registry at 50.global(6, "wl_data_device_manager", 3)
[3038563.010] wl_registry at 50.global(7, "gtk_primary_selection_device_manager",
1)
[3038563.035] wl_registry at 50.global(8, "wl_subcompositor", 1)
[3038563.045] wl_registry at 50.global(9, "xdg_wm_base", 1)
[3038563.055] wl_registry at 50.global(10, "zxdg_shell_v6", 1)
[3038563.065] wl_registry at 50.global(11, "wl_shell", 1)
[3038563.088] wl_registry at 50.global(12, "gtk_shell1", 2)
[3038563.112] wl_registry at 50.global(13, "zwp_pointer_gestures_v1", 1)
[3038563.122] wl_registry at 50.global(14, "zwp_tablet_manager_v2", 1)
[3038563.132] wl_registry at 50.global(15, "wl_seat", 5)
[3038563.141] wl_registry at 50.global(16, "zwp_relative_pointer_manager_v1", 1)
[3038563.151] wl_registry at 50.global(17, "zwp_pointer_constraints_v1", 1)
[3038563.161] wl_registry at 50.global(18, "zxdg_exporter_v1", 1)
[3038563.170] wl_registry at 50.global(19, "zxdg_importer_v1", 1)
[3038563.180] wl_registry at 50.global(20, "zwp_linux_dmabuf_v1", 3)
[3038563.190]  -> wl_registry at 50.bind(20, "zwp_linux_dmabuf_v1", 3, new id
[unknown]@53)
[3038563.203] wl_registry at 50.global(21,
"zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[3038563.213] wl_registry at 50.global(22, "gtk_text_input_manager", 1)
[3038563.224] wl_callback at 51.done(14511)
[3038563.230]  -> wl_display at 1.sync(new id wl_callback at 51)
[3038563.390] wl_display at 1.delete_id(51)
[3038563.396] wl_drm at 52.device("/dev/dri/card1")
[3038563.447]  -> wl_drm at 52.authenticate(11)
[3038563.454] wl_drm at 52.format(808669761)
[3038563.460] wl_drm at 52.format(808669784)
[3038563.464] wl_drm at 52.format(875713089)
[3038563.468] wl_drm at 52.format(875713112)
[3038563.472] wl_drm at 52.format(909199186)
[3038563.478] wl_drm at 52.format(961959257)
[3038563.482] wl_drm at 52.format(825316697)
[3038563.486] wl_drm at 52.format(842093913)
[3038563.492] wl_drm at 52.format(909202777)
[3038563.498] wl_drm at 52.format(875713881)
[3038563.502] wl_drm at 52.format(842094158)
[3038563.505] wl_drm at 52.format(909203022)
[3038563.510] wl_drm at 52.format(1448695129)
[3038563.515] wl_drm at 52.capabilities(1)
[3038563.521] zwp_linux_dmabuf_v1 at 53.format(875713089)
[3038563.528] zwp_linux_dmabuf_v1 at 53.modifier(875713089, 0, 0)
[3038563.539] zwp_linux_dmabuf_v1 at 53.modifier(875713089, 16777216, 1)
[3038563.549] zwp_linux_dmabuf_v1 at 53.modifier(875713089, 16777216, 2)
[3038563.558] zwp_linux_dmabuf_v1 at 53.modifier(875713089, 16777216, 4)
[3038563.567] zwp_linux_dmabuf_v1 at 53.format(875713112)
[3038563.572] zwp_linux_dmabuf_v1 at 53.modifier(875713112, 0, 0)
[3038563.580] zwp_linux_dmabuf_v1 at 53.modifier(875713112, 16777216, 1)
[3038563.591] zwp_linux_dmabuf_v1 at 53.modifier(875713112, 16777216, 2)
[3038563.599] zwp_linux_dmabuf_v1 at 53.modifier(875713112, 16777216, 4)
[3038563.607] zwp_linux_dmabuf_v1 at 53.format(808669761)
[3038563.611] zwp_linux_dmabuf_v1 at 53.modifier(808669761, 0, 0)
[3038563.621] zwp_linux_dmabuf_v1 at 53.modifier(808669761, 16777216, 1)
[3038563.631] zwp_linux_dmabuf_v1 at 53.modifier(808669761, 16777216, 2)
[3038563.639] zwp_linux_dmabuf_v1 at 53.format(909199186)
[3038563.644] zwp_linux_dmabuf_v1 at 53.modifier(909199186, 0, 0)
[3038563.654] zwp_linux_dmabuf_v1 at 53.modifier(909199186, 16777216, 1)
[3038563.665] zwp_linux_dmabuf_v1 at 53.modifier(909199186, 16777216, 2)
[3038563.674] wl_callback at 51.done(14511)
[3038563.682]  -> wl_display at 1.sync(new id wl_callback at 51)
[3038563.797] wl_display at 1.delete_id(51)
[3038563.810] wl_drm at 52.authenticated()
[3038563.815] wl_callback at 51.done(14511)
Initializing context 0x7fffbef10120 surface 0x7fffc3ed1000 on display
0x7fffc2ec8000
warning: Loadable section ".note.gnu.property" outside of ELF segments
[14914, Compositor] WARNING: robust_buffer_access_behavior marked as
unsupported: file
/home/komat/tmp676-trunk-gtk3/src2/gfx/gl/GLContextFeatures.cpp, line 915
[14914, Compositor] WARNING: Robustness supported, strategy is not
LOSE_CONTEXT_ON_RESET!: file
/home/komat/tmp676-trunk-gtk3/src2/gfx/gl/GLContext.cpp, line 1024
[14914, Compositor] WARNING: robustness marked as unsupported: file
/home/komat/tmp676-trunk-gtk3/src2/gfx/gl/GLContextFeatures.cpp, line 915
[3038617.273]  -> wl_surface at 40.frame(new id wl_callback at 51)
[3038617.298]  -> zwp_linux_dmabuf_v1 at 53.create_params(new id
zwp_linux_buffer_params_v1 at 54)
[3038617.314]  -> zwp_linux_buffer_params_v1 at 54.add(fd 40, 0, 0, 5120,
16777216, 4)
[3038617.339]  -> zwp_linux_buffer_params_v1 at 54.add(fd 41, 1, 5079040, 256,
16777216, 4)
[3038617.351]  -> zwp_linux_buffer_params_v1 at 54.create_immed(new id
wl_buffer at 55, 1280, 964, 875713089, 0)
[3038617.369]  -> zwp_linux_buffer_params_v1 at 54.destroy()
[3038617.375]  -> wl_surface at 40.attach(wl_buffer at 55, 0, 0)
[3038617.383]  -> wl_surface at 40.damage(0, 0, 2147483647, 2147483647)
[3038618.014]  -> wl_surface at 40.commit()
[3038618.345]  -> wl_surface at 39.attach(wl_buffer at 49, 0, 0)
[3038618.367]  -> wl_surface at 39.set_buffer_scale(1)
[3038618.373]  -> wl_surface at 39.damage(0, 0, 1280, 964)
[3038618.386]  -> xdg_toplevel at 44.set_min_size(0, 0)
[3038618.393]  -> xdg_toplevel at 44.set_max_size(0, 0)
[3038618.400]  -> xdg_surface at 43.set_window_geometry(0, 0, 1280, 964)
[3038618.413]  -> wl_compositor at 4.create_region(new id wl_region at 56)
[3038618.419]  -> wl_region at 56.add(7, 0, 1266, 7)
[3038618.464]  -> wl_region at 56.add(0, 7, 1280, 957)
[3038618.475]  -> wl_surface at 39.set_opaque_region(wl_region at 56)
[3038618.501]  -> wl_region at 56.destroy()
[3038618.508]  -> wl_compositor at 4.create_region(new id wl_region at 57)
[3038618.516]  -> wl_region at 57.add(-10, -10, 1300, 984)
[3038618.530]  -> wl_surface at 39.set_input_region(wl_region at 57)
[3038618.536]  -> wl_region at 57.destroy()
[3038635.245] wl_display at 1.delete_id(54)
[3038635.263] wl_display at 1.delete_id(56)
[3038635.268] wl_display at 1.delete_id(57)

You can also easily reproduce that on Fedora Firefox builds:

1) take any firefox-60.0.1-4 build from koji
https://koji.fedoraproject.org/koji/packageinfo?packageID=37
(be sure it's -4, -5 builds have a workaround for it)

2) set webgl.force-enabled and layers.acceleration.force-enabled to true at
about:config

3) run "firefox-wayland" on console

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180531/be1e4497/attachment-0001.html>


More information about the mesa-dev mailing list