Bug 53495

Summary: Crashes when trying to resize a GtkWindow with an embedded ClutterStage
Product: Mesa Reporter: Debarshi Ray <rishi.is>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: 8.0   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Debarshi Ray 2012-08-14 14:13:54 UTC
It crashes when trying to resize any GtkWindow with an embedded ClutterStage. eg., gnome-control-center, gnome-documents, gnome-photos, etc..

Here is a backtrace from gnome-photos:

(gdb) bt
#0  0x0000003a5b835ba5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:63
#1  0x0000003a5b837358 in __GI_abort () at abort.c:90
#2  0x0000003a5b82e972 in __assert_fail_base (fmt=0x3a5b978788 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", 
    assertion=assertion@entry=0x7ffff645b076 "(*tail)->need == need", file=file@entry=
    0x7ffff645b062 "intel_resolve_map.c", line=line@entry=46, function=function@entry=
    0x7ffff645b090 <__PRETTY_FUNCTION__.2420> "intel_resolve_map_set") at assert.c:92
#3  0x0000003a5b82ea22 in __GI___assert_fail (assertion=assertion@entry=0x7ffff645b076 "(*tail)->need == need", 
    file=file@entry=0x7ffff645b062 "intel_resolve_map.c", line=line@entry=46, function=function@entry=
    0x7ffff645b090 <__PRETTY_FUNCTION__.2420> "intel_resolve_map_set") at assert.c:101
#4  0x00007ffff63e141b in intel_resolve_map_set (head=<optimized out>, level=0, layer=0, need=need@entry=
    GEN6_HIZ_OP_DEPTH_RESOLVE) at intel_resolve_map.c:46
#5  0x00007ffff63df98b in intel_miptree_slice_set_needs_depth_resolve (mt=<optimized out>, level=<optimized out>, 
    layer=<optimized out>) at intel_mipmap_tree.c:779
#6  0x00007ffff63de6ad in intel_renderbuffer_set_needs_depth_resolve (irb=<optimized out>) at intel_fbo.c:898
#7  0x00007ffff63f2b51 in brw_postdraw_set_buffers_need_resolve (brw=0x7a9eb0) at brw_draw.c:339
#8  brw_try_draw_prims (max_index=<optimized out>, min_index=<optimized out>, ib=0x0, nr_prims=1, prim=
    0x7fffffffd380, arrays=0x837d38, ctx=0x7a9eb0) at brw_draw.c:529
#9  brw_draw_prims (ctx=0x7a9eb0, prim=0x7fffffffd380, nr_prims=1, ib=0x0, index_bounds_valid=<optimized out>, 
    min_index=0, max_index=3, tfb_vertcount=0x0) at brw_draw.c:573
#10 0x00007ffff5f5b984 in vbo_draw_arrays (ctx=0x7a9eb0, mode=7, start=0, count=4, numInstances=1, 
    baseInstance=<optimized out>) at ../vbo/vbo_exec_array.c:645
#11 0x0000003a7f25636b in _cogl_journal_flush_modelview_and_entries (data=0x7fffffffd510, batch_len=<optimized out>, 
    batch_start=<optimized out>) at ./cogl-journal.c:315
#12 _cogl_journal_flush_pipeline_and_entries (batch_start=<optimized out>, batch_len=<optimized out>, data=
    0x7fffffffd510) at ./cogl-journal.c:467
#13 0x0000003a7f256043 in _cogl_journal_flush_vbo_offsets_and_entries (batch_start=0x29e3680, 
    batch_len=<optimized out>, data=0x7fffffffd510) at ./cogl-journal.c:667
#14 0x0000003a7f255ed6 in _cogl_journal_flush_clip_stacks_and_entries (batch_start=0x29e3680, batch_len=1, data=
    0x7fffffffd510) at ./cogl-journal.c:746
#15 0x0000003a7f2570bc in _cogl_journal_flush (journal=<optimized out>) at ./cogl-journal.c:1452
#16 0x0000003a7f25828c in _cogl_framebuffer_flush_journal (framebuffer=framebuffer@entry=0x16999e0)
    at ./cogl-framebuffer.c:639
#17 0x0000003a7f259894 in cogl_framebuffer_clear4f (framebuffer=0x16999e0, buffers=buffers@entry=3, red=1, green=1, 
    blue=1, alpha=1) at ./cogl-framebuffer.c:425
#18 0x0000003a7f259a8c in cogl_framebuffer_clear (framebuffer=<optimized out>, buffers=buffers@entry=3, 
    color=color@entry=0x7fffffffd600) at ./cogl-framebuffer.c:491
#19 0x0000003a7f2217f5 in cogl_clear (color=color@entry=0x7fffffffd600, buffers=buffers@entry=3) at ./cogl.c:137
#20 0x0000003a7e6a9dae in clutter_stage_paint (self=0x69e870 [ClutterStage]) at ./clutter-stage.c:709
#21 0x0000003a5e00fad7 in _g_closure_invoke_va (closure=closure@entry=0x69d9b0, return_value=return_value@entry=0x0, 
    instance=instance@entry=0x69e870, args=args@entry=0x7fffffffd928, n_params=0, param_types=0x0) at gclosure.c:840
#22 0x0000003a5e0292a5 in g_signal_emit_valist (instance=0x69e870, signal_id=<optimized out>, detail=0, 
    var_args=var_args@entry=0x7fffffffd928) at gsignal.c:3211
#23 0x0000003a5e029952 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>)
    at gsignal.c:3356
#24 0x0000003a7e64821d in clutter_actor_continue_paint (self=self@entry=0x69e870 [ClutterStage])
    at ./clutter-actor.c:3858
#25 0x0000003a7e655a53 in clutter_actor_paint (self=0x69e870 [ClutterStage]) at ./clutter-actor.c:3783
#26 0x0000003a7e655fa9 in clutter_actor_paint (self=<optimized out>) at ./clutter-actor.c:3805
#27 0x0000003a7e6adcc9 in _clutter_stage_do_paint (stage=0x69e870 [ClutterStage], clip=clip@entry=0x0)
    at ./clutter-stage.c:667
#28 0x0000003a7e63db8a in clutter_stage_cogl_redraw (stage_window=<optimized out>) at cogl/clutter-stage-cogl.c:404
#29 0x0000003a7e6ac81e in clutter_stage_do_redraw (stage=0x69e870 [ClutterStage]) at ./clutter-stage.c:1168
#30 _clutter_stage_do_update (stage=0x69e870 [ClutterStage]) at ./clutter-stage.c:1226
#31 0x0000003a7e69196d in master_clock_update_stages (stages=0x16cf690 = {...}, master_clock=
    0x1543ad0 [ClutterMasterClock]) at ./clutter-master-clock.c:386
#32 clutter_clock_dispatch (source=source@entry=0x153ce70, callback=<optimized out>, user_data=<optimized out>)
    at ./clutter-master-clock.c:520
#33 0x0000003a5d447c55 in g_main_dispatch (context=0x642800) at gmain.c:2691
#34 g_main_context_dispatch (context=context@entry=0x642800) at gmain.c:3195
#35 0x0000003a5d447f88 in g_main_context_iterate (context=context@entry=0x642800, block=block@entry=1, 
    dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3266
#36 0x0000003a5d448044 in g_main_context_iteration (context=0x642800, context@entry=0x0, may_block=may_block@entry=1)
    at gmain.c:3327
#37 0x0000003a5eca177c in g_application_run (application=0x63d000 [PhotosApplication], argc=argc@entry=1, 
    argv=argv@entry=0x7fffffffe0d8) at gapplication.c:1607
#38 0x000000000040e070 in main (argc=1, argv=0x7fffffffe0d8) at photos-main.c:43
(gdb) 


I have:

[rishi@kolache ~]$ rpm -qa | grep mesa
mesa-dri-filesystem-8.1-0.16.fc18.x86_64
mesa-libGLU-8.1-0.16.fc18.x86_64
mesa-dri-filesystem-8.1-0.16.fc18.i686
mesa-debuginfo-8.1-0.16.fc18.x86_64
mesa-libGLES-8.1-0.16.fc18.x86_64
mesa-libGL-devel-8.1-0.16.fc18.x86_64
mesa-libEGL-devel-8.1-0.16.fc18.x86_64
mesa-libxatracker-8.1-0.16.fc18.x86_64
mesa-libglapi-8.1-0.16.fc18.x86_64
mesa-libGL-8.1-0.16.fc18.x86_64
mesa-libGLU-devel-8.1-0.16.fc18.x86_64
mesa-libEGL-8.1-0.16.fc18.x86_64
mesa-dri-drivers-8.1-0.16.fc18.x86_64
mesa-libgbm-8.1-0.16.fc18.x86_64
[rishi@kolache ~]$ rpm -qa | grep xorg
xorg-x11-server-utils-7.5-13.fc18.x86_64
xorg-x11-drv-qxl-0.0.22-3.20120718gitde6620788.fc18.x86_64
xorg-x11-drv-ati-7.0.0-0.3.20120629git5ebebfdb4.fc18.x86_64
xorg-x11-drv-evdev-2.7.2-6.fc18.x86_64
xorg-x11-xinit-1.3.2-6.fc18.x86_64
abrt-addon-xorg-2.0.11-1.fc18.x86_64
xorg-x11-drv-nouveau-1.0.1-4.fc18.x86_64
xorg-x11-utils-7.5-7.fc18.x86_64
xorg-x11-fonts-misc-7.5-6.fc18.noarch
xorg-x11-proto-devel-7.6-24.fc18.noarch
xorg-x11-drv-ast-0.97.0-2.fc18.x86_64
xorg-x11-drv-dummy-0.3.6-2.fc18.x86_64
xorg-x11-util-macros-1.17-2.fc18.noarch
xorg-x11-xkb-utils-7.7-2.fc18.x86_64
xorg-x11-drv-openchrome-0.3.0-2.20120805git131175a71.fc18.x86_64
xorg-x11-drv-wacom-0.16.0-5.fc18.x86_64
xorg-x11-server-devel-1.12.99.904-1.20120808.fc18.x86_64
xorg-x11-xauth-1.0.7-2.fc18.x86_64
xorg-x11-server-common-1.12.99.904-1.20120808.fc18.x86_64
xorg-x11-drv-cirrus-1.5.1-2.fc18.x86_64
xorg-x11-drv-mga-1.6.1-2.fc18.x86_64
xorg-x11-xtrans-devel-1.2.7-2.fc18.noarch
xorg-x11-drv-synaptics-1.6.2-5.fc18.x86_64
xorg-x11-drv-vmmouse-12.9.0-5.fc18.x86_64
xorg-x11-server-Xephyr-1.12.99.904-1.20120808.fc18.x86_64
xorg-x11-drv-wacom-devel-0.16.0-5.fc18.x86_64
xorg-x11-font-utils-7.5-9.fc18.x86_64
xorg-x11-drv-fbdev-0.4.3-3.fc18.x86_64
xorg-x11-drv-intel-2.20.2-1.fc18.x86_64
xorg-x11-drv-vesa-2.3.2-2.fc18.x86_64
xorg-x11-drv-void-1.4.0-11.fc18.x86_64
xorg-x11-server-Xorg-1.12.99.904-1.20120808.fc18.x86_64
xorg-x11-drv-vmware-12.0.2-3.20120718gite5ac80d8f.fc18.x86_64
[rishi@kolache ~]$ rpm -qa | grep clutter
clutter-gtk-devel-1.3.2-2.fc18.x86_64
clutter-devel-1.11.10-1.fc18.x86_64
clutter-gst-devel-1.6.0-2.fc18.x86_64
clutter-doc-1.11.10-1.fc18.x86_64
clutter-gst-debuginfo-1.6.0-2.fc18.x86_64
clutter-gst-1.6.0-2.fc18.x86_64
clutter-1.11.10-1.fc18.x86_64
clutter-gtk-debuginfo-1.3.2-2.fc18.x86_64
clutter-debuginfo-1.11.10-1.fc18.x86_64
clutter-gtk-1.3.2-2.fc18.x86_64
[rishi@kolache ~]$


The hardware that I have is a Thinkpad x220 with Intel Sandybridge.
Comment 1 Arun Raghavan 2012-08-20 01:41:32 UTC

*** This bug has been marked as a duplicate of bug 52252 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.