After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 691506 - Crash in brw_update_renderbuffer_surface()
Crash in brw_update_renderbuffer_surface()
Status: RESOLVED NOTGNOME
Product: gnome-shell
Classification: Core
Component: general
3.6.x
Other Linux
: Normal critical
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-01-10 22:15 UTC by Milan Bouchet-Valat
Modified: 2013-01-12 16:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Milan Bouchet-Valat 2013-01-10 22:15:07 UTC
This crash has been reported twice on Fedora 18 with gnome-shell 3.6.2.

In my case, it happened under memory pressure, so it may well be related (memory corruption?).

My GPU is an Intel Ironlake (i915 driver), but we lack statistics to know whether it matters or not.
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA controller])

Do you have any idea whether this may be a bug in the Shell, in Mutter in Clutter, in Mesa, in the drivers...? Mutter also crashes on start.

Thread 1 (Thread 0x7fefea8829c0 (LWP 28210))

  • #0 brw_update_renderbuffer_surface
    at brw_wm_surface_state.c line 1109
  • #1 brw_update_renderbuffer_surfaces
    at brw_wm_surface_state.c line 1205
  • #2 brw_upload_state
    at brw_state_upload.c line 498
  • #3 brw_try_draw_prims
    at brw_draw.c line 493
  • #4 brw_draw_prims
    at brw_draw.c line 589
  • #5 vbo_draw_arrays
    at ../../../src/mesa/vbo/vbo_exec_array.c line 645
  • #6 _cogl_journal_flush_modelview_and_entries
    at ./cogl-journal.c line 309
  • #7 _cogl_journal_flush_vbo_offsets_and_entries
    at ./cogl-journal.c line 647
  • #8 _cogl_journal_flush
    at ./cogl-journal.c line 1353
  • #9 _cogl_framebuffer_flush_journal
    at ./cogl-framebuffer.c line 632
  • #10 cogl_framebuffer_clear4f
    at ./cogl-framebuffer.c line 418
  • #11 cogl_framebuffer_clear
    at ./cogl-framebuffer.c line 484
  • #12 cogl_clear
    at ./cogl.c line 137
  • #13 clutter_stage_paint
    at ./clutter-stage.c line 711
  • #14 g_closure_invoke
    at gclosure.c line 777
  • #15 signal_emit_unlocked_R
    at gsignal.c line 3589
  • #16 g_signal_emit_valist
    at gsignal.c line 3300
  • #17 g_signal_emit
    at gsignal.c line 3356
  • #18 clutter_actor_continue_paint
    at ./clutter-actor.c line 3867
  • #19 clutter_actor_paint
    at ./clutter-actor.c line 3791
  • #20 clutter_actor_paint
    at ./clutter-actor.c line 3813
  • #21 _clutter_stage_do_paint
    at ./clutter-stage.c line 669
  • #22 clutter_stage_cogl_redraw
    at cogl/clutter-stage-cogl.c line 404
  • #23 clutter_stage_do_redraw
    at ./clutter-stage.c line 1170
  • #24 _clutter_stage_do_update
    at ./clutter-stage.c line 1228
  • #25 master_clock_update_stages
    at ./clutter-master-clock.c line 386
  • #26 clutter_clock_dispatch
    at ./clutter-master-clock.c line 520
  • #27 g_main_dispatch
    at gmain.c line 2715
  • #28 g_main_context_dispatch
    at gmain.c line 3219
  • #29 g_main_context_iterate
    at gmain.c line 3290
  • #30 g_main_loop_run
    at gmain.c line 3484
  • #31 meta_run
    at core/main.c line 545
  • #32 main
    at main.c line 416

Full backtrace is here:
https://bugzilla.redhat.com/attachment.cgi?id=667659

Downstream bug:
https://bugzilla.redhat.com/show_bug.cgi?id=889663
Comment 1 Milan Bouchet-Valat 2013-01-11 08:49:38 UTC
Silly me, I didn't even look at /var/log/messages:
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.

So it looks like a GPU/drivers problem. I'd still like to hear from you if you have any idea that might help debugging (Metacity runs, Mutter does not, so there's something with compositing).
Comment 2 Milan Bouchet-Valat 2013-01-12 16:57:00 UTC
Sorry, this is a known bug in the Intel driver, which crashes Clutter apps. https://bugs.freedesktop.org/show_bug.cgi?id=55984