<html>
    <head>
      <base href="https://bugzilla.gnome.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Wayland] Crash under gdk_wayland_window_attach_image()"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=773274#c16">Comment # 16</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Wayland] Crash under gdk_wayland_window_attach_image()"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=773274">bug 773274</a>
              from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=ofourdan%40redhat.com" title="Olivier Fourdan <ofourdan@redhat.com>"> <span class="fn">Olivier Fourdan</span></a>
</span></b>
        <pre>(In reply to Ray Strode [halfline] from <a href="show_bug.cgi?id=773274#c14">comment #14</a>)
<span class="quote">> i'm still confused, can you put a trace in begin_paint too ? somehow
> update_size is getting called after begin_paint but before end_paint ? Do we
> even rev the main loop in between those calls ever?</span >

Sure thing, there is an update_size() in between begin_paint() and end_paint()
:

gdk_wayland_window_update_size() window 0x1c473be0 surface (nil)
drop_cairo_surfaces() window 0x1c473be0 surface (nil)
gdk_wayland_window_update_size() window 0x1c473be0 surface (nil)
drop_cairo_surfaces() window 0x1c473be0 surface (nil)
gdk_window_impl_wayland_begin_paint() window 0x1c473be0 surface (nil)
gdk_window_impl_wayland_end_paint() window 0x1c473be0 surface 0x1c61f1b0
gdk_window_impl_wayland_begin_paint() window 0x1c473be0 surface 0x1c61f1b0
gdk_window_impl_wayland_end_paint() window 0x1c473be0 surface 0x1c61f1b0
gdk_wayland_window_update_size() window 0x1c473be0 surface 0x1c61f1b0
drop_cairo_surfaces() window 0x1c473be0 surface 0x1c61f1b0
gdk_window_impl_wayland_begin_paint() window 0x1c473be0 surface (nil)
gdk_wayland_window_update_size() window 0x1c473be0 surface 0x1c736260
drop_cairo_surfaces() window 0x1c473be0 surface 0x1c736260
gdk_wayland_window_update_size() window 0x1c473be0 surface (nil)
drop_cairo_surfaces() window 0x1c473be0 surface (nil)
gdk_window_impl_wayland_end_paint() window 0x1c473be0 surface (nil)
Segmentation fault (core dumped)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>