<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Clutter application hangs in Wayland"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84016">84016</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Clutter application hangs in Wayland
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bugzilla@hadess.net
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=106458" name="attach_106458" title="0001-Add-GtkStack-example.patch">attachment 106458</a> <a href="attachment.cgi?id=106458&action=edit" title="0001-Add-GtkStack-example.patch">[details]</a></span>
0001-Add-GtkStack-example.patch

mesa-libEGL-10.3-0.rc1.20140824.fc21.x86_64

Using the most recent clutter-gtk, with the attached patch to the multistage
example, and running under "mutter --wayland" I sometimes get hangs like:

#0  0x00007f0e7af7f7dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0e7eba6538 in wl_display_dispatch_queue () from
/lib64/libwayland-client.so.0
#2  0x00007f0e7f3fac33 in get_back_bo () from /lib64/libEGL.so.1
#3  0x00007f0e7f3fad56 in update_buffers () from /lib64/libEGL.so.1
#4  0x00007f0e7f3faee4 in image_get_buffers () from /lib64/libEGL.so.1
#5  0x00007f0e64f9fb97 in intel_update_renderbuffers () from
/usr/lib64/dri/i965_dri.so
#6  0x00007f0e64f9fec5 in intel_prepare_render () from
/usr/lib64/dri/i965_dri.so
#7  0x00007f0e64fa4d97 in brw_draw_prims () from /usr/lib64/dri/i965_dri.so
#8  0x00007f0e64fd9673 in brw_draw_rectlist () from /usr/lib64/dri/i965_dri.so
#9  0x00007f0e64fda071 in brw_meta_resolve_color () from
/usr/lib64/dri/i965_dri.so
#10 0x00007f0e64f9da5b in intel_resolve_for_dri2_flush.part () from
/usr/lib64/dri/i965_dri.so
#11 0x00007f0e64f83c93 in intel_dri2_flush_with_flags () from
/usr/lib64/dri/i965_dri.so
#12 0x00007f0e7f3fb14d in dri2_wl_swap_buffers_with_damage () from
/lib64/libEGL.so.1
#13 0x00007f0e7f3ef785 in eglSwapBuffers () from /lib64/libEGL.so.1
#14 0x00007f0e7fea25fd in _cogl_winsys_onscreen_swap_buffers_with_damage ()
from /lib64/libcogl.so.20
#15 0x00007f0e7fe8dfde in cogl_onscreen_swap_buffers_with_damage () from
/lib64/libcogl.so.20
#16 0x00007f0e805326e3 in clutter_stage_cogl_redraw (stage_window=<optimized
out>) at ./cogl/clutter-stage-cogl.c:660
#17 0x00007f0e805a8a01 in clutter_stage_allocate (self=0x2fb41f0,
box=<optimized out>, flags=<optimized out>) at ./clutter-stage.c:431
#18 0x00007f0e80541d7b in clutter_actor_allocate_internal
(self=self@entry=0x2fb41f0, allocation=0x3031430,
flags=flags@entry=CLUTTER_ALLOCATION_NONE) at ./clutter-actor.c:9769
#19 0x00007f0e80552e4c in clutter_actor_set_animatable_property
(actor=0x2fb41f0, prop_id=<optimized out>, value=0x7fff7ecb7600,
pspec=0x30f76f0) at ./clutter-actor.c:14759
#20 0x00007f0e80556607 in _clutter_actor_create_transition (actor=0x2fb41f0,
pspec=0x30f76f0) at ./clutter-actor.c:18926
#21 0x00007f0e805572bf in clutter_actor_allocate (self=0x2fb41f0,
box=box@entry=0x7fff7ecb7830, flags=flags@entry=CLUTTER_ALLOCATION_NONE) at
./clutter-actor.c:9906
#22 0x00007f0e805a5ef6 in _clutter_stage_maybe_relayout (actor=<optimized out>)
at ./clutter-stage.c:1153
#23 0x00007f0e805a7c48 in _clutter_stage_do_update (stage=0x2fb41f0) at
./clutter-stage.c:1252
#24 0x00007f0e8058cac1 in master_clock_update_stages (stages=0x3021e20,
master_clock=0x30a4770) at ./clutter-master-clock.c:463
#25 clutter_clock_dispatch (source=<optimized out>, callback=<optimized out>,
user_data=<optimized out>) at ./clutter-master-clock.c:595
#26 0x00007f0e7b7ba8c3 in g_main_dispatch (context=0x18ed720) at gmain.c:3067
#27 g_main_context_dispatch (context=context@entry=0x18ed720) at gmain.c:3676
#28 0x00007f0e7b7bacc8 in g_main_context_iterate (context=0x18ed720,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
gmain.c:3747
#29 0x00007f0e7b7bafe2 in g_main_loop_run (loop=0x31a22f0) at gmain.c:3941
#30 0x00007f0e7d2fa5a5 in gtk_main () at gtkmain.c:1207
#31 0x000000000040185c in main (argc=1, argv=0x7fff7ecb7b98) at
gtk-clutter-multistage.c:75

The command-line is:
GDK_BACKEND=wayland CLUTTER_BACKEND=wayland ./gtk-clutter-multistage</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>