<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 --- - Programs using Clutter crash in brw_update_renderbuffer_surface()"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59280">59280</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>Programs using Clutter crash in brw_update_renderbuffer_surface()
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nalimilan@club.fr
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.7 (2011)
          </td>
        </tr>

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

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr></table>
      <p>
        <div>
        <pre>After running out of memory (at least creating some pressure), programs using
Clutter such as GNOME Shell, Mutter and GNOME Documents crash on start; once
the problem happens it does not disappear. I'm able to reproduce this problem
reliably on Fedora 18 with Xorg server 1.13.1, i915 driver 2.20.17, kernel
3.7.1, Mesa 9.0.1 and Clutter 1.12.2.

My GPU is an Ironlake Mobile:
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor
Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA
controller])

Another person also reported the same crash also with an Ironlake.

Top of the backtrace is:
 #0 brw_update_renderbuffer_surface at brw_wm_surface_state.c:1109
 #1 brw_update_renderbuffer_surfaces at brw_wm_surface_state.c:1205
 #2 brw_upload_state at brw_state_upload.c:498
 #3 brw_try_draw_prims at brw_draw.c:493
 #4 brw_draw_prims at brw_draw.c:589
 #5 vbo_draw_arrays at ../../../src/mesa/vbo/vbo_exec_array.c:645
 #6 _cogl_journal_flush_modelview_and_entries at ./cogl-journal.c:309
 #7 _cogl_journal_flush_vbo_offsets_and_entries at ./cogl-journal.c:647
 #8 _cogl_journal_flush at ./cogl-journal.c:1353
 #9 _cogl_framebuffer_flush_journal at ./cogl-framebuffer.c:632

Full backtrace is at <a href="https://bugzilla.redhat.com/attachment.cgi?id=667659">https://bugzilla.redhat.com/attachment.cgi?id=667659</a>
Another one is at: <a href="https://bugzilla.redhat.com/attachment.cgi?id=677275">https://bugzilla.redhat.com/attachment.cgi?id=677275</a>

/var/log/messages contains this:
Jan 10 18:54:24 milan kernel: [54093.693625] [drm:i915_hangcheck_hung] *ERROR*
H
angcheck timer elapsed... GPU hung
Jan 10 18:54:24 milan kernel: [54093.693634] [drm] capturing error event; look
f
or more information in /debug/dri/0/i915_error_state
Jan 10 18:54:26 milan kernel: [54095.530395] [drm:i915_hangcheck_hung] *ERROR*
H
angcheck timer elapsed... GPU hung
Jan 10 18:54:26 milan kernel: [54095.530521] [drm:i915_reset] *ERROR* GPU
hangin
g too fast, declaring wedged!
Jan 10 18:54:26 milan kernel: [54095.530527] [drm:i915_reset] *ERROR* Failed to 
reset chip.

Contents of /sys/kernel/debug/dri are here:
<a href="https://bugzilla.redhat.com/attachment.cgi?id=676703">https://bugzilla.redhat.com/attachment.cgi?id=676703</a>
(please note I suspended the machine between the problem and saving the files,
if that's a problem I can get them again)


Downstream bug at: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=889663">https://bugzilla.redhat.com/show_bug.cgi?id=889663</a></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>