Reproduction steps: In Wayland sesion: 1) git pull https://github.com/stransky/gecko-dev src 2) cd src; ./mach build 3) cd objdir/dist/bin 4) ./firefox -ProfileManager (create your custom profile) 5) ./firefox -P your_profile -no-remote Crash in: static void gdk_wayland_window_attach_image (GdkWindow *window) impl->surface is NULL here.
bt: #0 0x00007ffff3418800 in cairo_surface_get_user_data (surface=0x0, key=key@entry=0x7ffff4719108 <gdk_wayland_cairo_key>) at cairo-surface.c:1123 #1 0x00007ffff44c5e40 in _gdk_wayland_is_shm_surface (surface=<optimized out>) at gdkdisplay-wayland.c:1117 #2 0x00007ffff44cd89f in gdk_wayland_window_attach_image (window=window@entry=0x7fffcad22680 [GdkWaylandWindow]) at gdkwindow-wayland.c:553 #3 0x00007ffff44cd9ab in gdk_window_impl_wayland_end_paint (window=0x7fffcad22680 [GdkWaylandWindow]) at gdkwindow-wayland.c:646 #4 0x00007ffff4487fc5 in gdk_window_end_paint (window=0x7fffcad22680 [GdkWaylandWindow]) at gdkwindow.c:3074 #5 0x00007ffff4954ffd in gtk_main_do_event (event=0x7fffffffbce0) at gtkmain.c:1765 #6 0x00007ffff447f3cf in _gdk_window_process_updates_recurse_helper (window=0x7fffcad22680 [GdkWaylandWindow], expose_region=<optimized out>) at gdkwindow.c:3553 #7 0x00007ffff448049c in gdk_window_process_updates_internal (window=0x7fffcad22680 [GdkWaylandWindow]) at gdkwindow.c:3678 #8 0x00007ffff4480653 in gdk_window_process_updates_with_mode (window=<optimized out>, recurse_mode=<optimized out>) at gdkwindow.c:3879 #9 0x00007ffff1dbc304 in _g_closure_invoke_va (closure=closure@entry=0x7fffcade78a0, return_value=return_value@entry=0x0, instance=instance@entry=0x7fffcb023320, args=args@entry=0x7fffffffc048, n_params=<optimized out>, param_types=0x0) at gclosure.c:864 #10 0x00007ffff1dd70ad in g_signal_emit_valist (instance=instance@entry=0x7fffcb023320, signal_id=signal_id@entry=29, detail=detail@entry=0, var_args=var_args@entry=0x7fffffffc048) at gsignal.c:3281 #11 0x00007ffff1dd7bb5 in g_signal_emit_by_name (instance=0x7fffcb023320, detailed_signal=detailed_signal@entry=0x7ffff44e4607 "paint") at gsignal.c:3468 #12 0x00007ffff4479574 in gdk_frame_clock_paint_idle (data=<optimized out>) at gdkframeclockidle.c:430 #13 0x00007ffff4468438 in gdk_threads_dispatch (data=0x7fffbe546b40, data@entry=<error reading variable: value has been optimized out>) at gdk.c:719 #14 0x00007ffff1abd9a3 in g_timeout_dispatch (source=0x7fffbe5fa6a0, callback=<optimized out>, user_data=<optimized out>) at gmain.c:4577 #15 0x00007ffff1abcf4a in g_main_context_dispatch (context=0x7ffff6bfd060) at gmain.c:3154 #16 0x00007ffff1abcf4a in g_main_context_dispatch (context=context@entry=0x7ffff6bfd060) at gmain.c:3769 #17 0x00007ffff1abd2e0 in g_main_context_iterate (context=context@entry=0x7ffff6bfd060, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840 #18 0x00007ffff1abd38c in g_main_context_iteration (context=0x7ffff6bfd060, may_block=1) at gmain.c:3901
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase
I cannot reproduce this issue any more with firefox-wayland-55.6-1.fc26.x86_64 from stransky's firefox-wayland copr.
Already fixed.