Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1260769 - [GTK3][Wayland] Firefox crashes in GTK when main window is resized
Summary: [GTK3][Wayland] Firefox crashes in GTK when main window is resized
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk3
Version: 24
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: ffwayland
TreeView+ depends on / blocked
Reported: 2015-09-07 16:47 UTC by Martin Stransky
Modified: 2017-06-19 11:37 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: ffwayland
Last Closed: 2017-06-19 11:37:41 UTC
Type: Bug

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Mozilla Foundation 635134 0 None None None Never

Description Martin Stransky 2015-09-07 16:47:15 UTC
Reproduction steps:

In Wayland sesion:

1) git pull 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.

Comment 1 Martin Stransky 2015-09-07 16:52:10 UTC

#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

Comment 2 Jan Kurik 2016-02-24 13:44:03 UTC
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:

Comment 3 Christian Stadelmann 2017-06-01 20:41:43 UTC
I cannot reproduce this issue any more with firefox-wayland-55.6-1.fc26.x86_64 from stransky's firefox-wayland copr.

Comment 4 Martin Stransky 2017-06-19 11:37:41 UTC
Already fixed.

Note You need to log in before you can comment on or make changes to this bug.