Bug 106173 - [GTK][AC] Crash after restructuring clutter ac tree.
Summary: [GTK][AC] Crash after restructuring clutter ac tree.
Status: RESOLVED DUPLICATE of bug 105736
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 105699
  Show dependency treegraph
 
Reported: 2013-01-05 03:40 PST by ChangSeok Oh
Modified: 2013-01-08 06:49 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ChangSeok Oh 2013-01-05 03:40:58 PST
This bug could be reproducible on clutter ac build.
How to reproduce.
1. Visit http://www.apple.com/html5/showcase
2. click 'cube' twice. (not double-click)

backtrace.
Program received signal SIGSEGV, Segmentation fault.
0x00007fffa0506bf3 in dri2GetBuffersWithFormat (driDrawable=0x31c4800, 
    width=0x31c4828, height=0x31c482c, attachments=0x31c85e0, count=1, 
    out_count=0x7fffffffc694, loaderPrivate=0x31c8ad0) at dri2_glx.c:782
782	   buffers = DRI2GetBuffersWithFormat(pdraw->base.psc->dpy,
(gdb) bt
#0  0x00007fffa0506bf3 in dri2GetBuffersWithFormat (driDrawable=0x31c4800, 
    width=0x31c4828, height=0x31c482c, attachments=0x31c85e0, count=1, 
    out_count=0x7fffffffc694, loaderPrivate=0x31c8ad0) at dri2_glx.c:782
#1  0x00007fff9bb51f4e in intel_query_dri2_buffers (buffer_count=0x7fffffffc694, 
    buffers=<synthetic pointer>, drawable=0x31c4800, intel=<optimized out>)
    at intel_context.c:951
#2  intel_update_renderbuffers (context=context@entry=0x9a7ec0, 
    drawable=drawable@entry=0x31c4800) at intel_context.c:355
#3  0x00007fff9bb52252 in intel_prepare_render (intel=intel@entry=0x7a1b00)
    at intel_context.c:408
#4  0x00007fff9bb68b5f in brw_try_draw_prims (max_index=3, min_index=0, ib=0x0, 
    nr_prims=1, prim=0x7fffffffc7c0, arrays=0x8307c8, ctx=0x7a1b00)
    at brw_draw.c:435
#5  brw_draw_prims (ctx=0x7a1b00, prim=0x7fffffffc7c0, nr_prims=1, ib=0x0, 
    index_bounds_valid=<optimized out>, min_index=0, max_index=3, 
    tfb_vertcount=0x0) at brw_draw.c:589
#6  0x00007fff9b6e4454 in vbo_draw_arrays (ctx=0x7a1b00, mode=7, start=0, count=4, 
    numInstances=1, baseInstance=<optimized out>)
    at ../../../src/mesa/vbo/vbo_exec_array.c:645
#7  0x00007fffeef05a83 in _cogl_framebuffer_draw_attributes (
    framebuffer=framebuffer@entry=0x4f91b70, pipeline=<optimized out>, 
    mode=mode@entry=7, first_vertex=0, n_vertices=n_vertices@entry=4, 
    attributes=attributes@entry=0x338b750, n_attributes=3, 
    flags=flags@entry=(COGL_DRAW_SKIP_JOURNAL_FLUSH | COGL_DRAW_SKIP_PIPELINE_VALIDATION | COGL_DRAW_SKIP_FRAMEBUFFER_FLUSH | COGL_DRAW_SKIP_LEGACY_STATE))
    at ./cogl-framebuffer.c:3358
#8  0x00007fffeeefedae in _cogl_journal_flush_modelview_and_entries (
    batch_start=<optimized out>, batch_len=1, data=0x7fffffffc9f0)
    at ./cogl-journal.c:309
#9  0x00007fffeeefe8cc in _cogl_journal_flush_vbo_offsets_and_entries (
    batch_start=0x4f7df30, batch_len=1, data=<optimized out>)
    at ./cogl-journal.c:647
#10 0x00007fffeeeffd48 in _cogl_journal_flush (journal=0x1878ac0)
    at ./cogl-journal.c:1353
#11 0x00007fffeef0179c in _cogl_framebuffer_flush_journal (
    framebuffer=<optimized out>) at ./cogl-framebuffer.c:632
#12 0x00007fffeef017d5 in _cogl_framebuffer_unref (framebuffer=0x4f91b70)
    at ./cogl-framebuffer.c:3030
#13 0x00007fffeef023d0 in cogl_pop_framebuffer () at ./cogl-framebuffer.c:1421
#14 0x00007fffeeefd98a in _cogl_blit_texture_render_end (data=0x7fffffffcbe0)
    at ./cogl-blit.c:131
#15 0x00007fffeeefbb25 in _cogl_atlas_migrate (skip_user_data=0x4f911e0, 
    new_texture=0x4f912c0, old_texture=<optimized out>, textures=<optimized out>, 
    n_textures=<optimized out>, atlas=<optimized out>) at ./cogl-atlas.c:135
---Type <return> to continue, or q <return> to quit---
#16 _cogl_atlas_reserve_space (atlas=atlas@entry=0x4f906c0, width=width@entry=802, 
    height=height@entry=547, user_data=user_data@entry=0x4f911e0)
    at ./cogl-atlas.c:475
#17 0x00007fffeeefc929 in _cogl_atlas_texture_new_with_size (
    width=width@entry=800, height=height@entry=545, 
    flags=flags@entry=COGL_TEXTURE_NONE, 
    internal_format=COGL_PIXEL_FORMAT_BGRA_8888_PRE) at ./cogl-atlas-texture.c:696
#18 0x00007fffeeefca99 in _cogl_atlas_texture_new_from_bitmap (
    bmp=bmp@entry=0x19228c0, flags=flags@entry=COGL_TEXTURE_NONE, 
    internal_format=<optimized out>, internal_format@entry=COGL_PIXEL_FORMAT_ANY)
    at ./cogl-atlas-texture.c:748
#19 0x00007fffeeef4432 in cogl_texture_new_from_bitmap (
    bitmap=bitmap@entry=0x19228c0, flags=flags@entry=COGL_TEXTURE_NONE, 
    internal_format=internal_format@entry=COGL_PIXEL_FORMAT_ANY)
    at ./cogl-texture.c:410
#20 0x00007fffeeef4587 in cogl_texture_new_from_data (width=width@entry=800, 
    height=height@entry=545, flags=flags@entry=COGL_TEXTURE_NONE, 
    format=format@entry=COGL_PIXEL_FORMAT_BGRA_8888_PRE, 
    internal_format=internal_format@entry=COGL_PIXEL_FORMAT_ANY, 
    rowstride=<optimized out>, rowstride@entry=3200, data=0x4fa0b40 "")
    at ./cogl-texture.c:392
#21 0x00007fffef227cdd in clutter_cairo_texture_create_surface (
    self=self@entry=0x31dc110, width=800, height=545)
    at ./deprecated/clutter-cairo-texture.c:515
#22 0x00007fffef24034a in _clutter_marshal_BOXED__UINT_UINT (closure=0x31c4960, 
    return_value=0x7fffffffcf00, n_param_values=<optimized out>, 
    param_values=0x7fffffffcfb0, invocation_hint=<optimized out>, 
    marshal_data=<optimized out>) at clutter-marshal.c:500
#23 0x00007ffff1248d70 in g_closure_invoke (closure=0x31c4960, 
    return_value=0x7fffffffcf00, n_param_values=3, param_values=0x7fffffffcfb0, 
    invocation_hint=0x7fffffffcf50) at gclosure.c:777
#24 0x00007ffff125ada0 in signal_emit_unlocked_R (node=node@entry=0x31c4ef0, 
    detail=detail@entry=0, instance=instance@entry=0x31dc110, 
    emission_return=emission_return@entry=0x7fffffffd0a0, 
    instance_and_params=instance_and_params@entry=0x7fffffffcfb0) at gsignal.c:3605
#25 0x00007ffff1262ada in g_signal_emit_valist (instance=0x31dc110, 
    signal_id=<optimized out>, detail=0, var_args=var_args@entry=0x7fffffffd228)
    at gsignal.c:3325
#26 0x00007ffff12635b2 in g_signal_emit (instance=instance@entry=0x31dc110, 
    signal_id=<optimized out>, detail=detail@entry=0) at gsignal.c:3371
#27 0x00007fffef22824e in clutter_cairo_texture_surface_resize_internal (
    cairo=0x31dc110) at ./deprecated/clutter-cairo-texture.c:404
#28 clutter_cairo_texture_notify (object=0x31dc110, pspec=0x17d19e0)
    at ./deprecated/clutter-cairo-texture.c:425
---Type <return> to continue, or q <return> to quit---
#29 0x00007ffff1248d70 in g_closure_invoke (closure=0x6192e0, return_value=0x0, 
    n_param_values=2, param_values=0x7fffffffd520, invocation_hint=0x7fffffffd4c0)
    at gclosure.c:777
#30 0x00007ffff125a943 in signal_emit_unlocked_R (node=node@entry=0x619370, 
    detail=detail@entry=3802, instance=instance@entry=0x31dc110, 
    emission_return=emission_return@entry=0x0, 
    instance_and_params=instance_and_params@entry=0x7fffffffd520) at gsignal.c:3497
#31 0x00007ffff1263361 in g_signal_emit_valist (instance=0x31dc110, 
    signal_id=<optimized out>, detail=3802, var_args=var_args@entry=0x7fffffffd778)
    at gsignal.c:3315
#32 0x00007ffff12635b2 in g_signal_emit (instance=<optimized out>, 
    signal_id=<optimized out>, detail=<optimized out>) at gsignal.c:3371
#33 0x00007ffff124d8a5 in g_object_dispatch_properties_changed (object=0x31dc110, 
    n_pspecs=3758, pspecs=0x31c482c) at gobject.c:1041
#34 0x00007ffff124d2ae in g_object_notify_queue_thaw (
    object=object@entry=0x31dc110, nqueue=nqueue@entry=0x17d3390) at gobject.c:291
#35 0x00007ffff124fd2d in g_object_newv (object_type=1, 
    object_type@entry=52290448, n_parameters=n_parameters@entry=2, 
    parameters=parameters@entry=0x4f90020) at gobject.c:1757
#36 0x00007ffff124ffc0 in g_object_new_valist (
    object_type=object_type@entry=52290448, 
    first_property_name=first_property_name@entry=0x7fffef2678ff "surface-width", 
    var_args=var_args@entry=0x7fffffffda98) at gobject.c:1835
#37 0x00007ffff12502f4 in g_object_new (object_type=52290448, 
    first_property_name=0x7fffef2678ff "surface-width") at gobject.c:1550
#38 0x00007ffff362e7b3 in graphicsLayerActorUpdateTexture (layer=0x31be0a0)
    at ../../Source/WebCore/platform/graphics/clutter/GraphicsLayerActor.cpp:337
#39 0x00007ffff362f64c in graphicsLayerActorSetDrawsContent (layer=0x31be0a0, 
    drawsContent=1)
    at ../../Source/WebCore/platform/graphics/clutter/GraphicsLayerActor.cpp:589
#40 0x00007ffff3630f53 in WebCore::GraphicsLayerClutter::updateLayerDrawsContent (
    this=0x4f7b9c0, pageScaleFactor=1, positionRelativeToBase=...)
    at ../../Source/WebCore/platform/graphics/clutter/GraphicsLayerClutter.cpp:433
#41 0x00007ffff3630916 in WebCore::GraphicsLayerClutter::commitLayerChangesBeforeSublayers (this=0x4f7b9c0, pageScaleFactor=1, positionRelativeToBase=...)
    at ../../Source/WebCore/platform/graphics/clutter/GraphicsLayerClutter.cpp:367
#42 0x00007ffff3630774 in WebCore::GraphicsLayerClutter::flushCompositingStateForThisLayerOnly (this=0x4f7b9c0)
    at ../../Source/WebCore/platform/graphics/clutter/GraphicsLayerClutter.cpp:325
#43 0x00007ffff29c229d in WebKit::AcceleratedCompositingContext::flushPendingLayerChanges (this=0x171b7a0)
    at ../../Source/WebKit/gtk/WebCoreSupport/AcceleratedCompositingContextClutter.cpp:213
#44 0x00007ffff29c2367 in WebKit::AcceleratedCompositingContext::flushAndRenderLayer---Type <return> to continue, or q <return> to quit---
s (this=0x171b7a0)
    at ../../Source/WebKit/gtk/WebCoreSupport/AcceleratedCompositingContextClutter.cpp:231
#45 0x00007ffff29c21e0 in WebKit::AcceleratedCompositingContext::layerFlushTimerFiredCallback (context=0x171b7a0, 
    context@entry=<error reading variable: value has been optimized out>)
    at ../../Source/WebKit/gtk/WebCoreSupport/AcceleratedCompositingContextClutter.cpp:195
#46 0x00007ffff0f5d96b in g_timeout_dispatch (source=source@entry=0x4f7dca0, 
    callback=<optimized out>, user_data=<optimized out>) at gmain.c:4095
#47 0x00007ffff0f5cd65 in g_main_dispatch (context=0x63f7a0) at gmain.c:2784
#48 g_main_context_dispatch (context=context@entry=0x63f7a0) at gmain.c:3288
#49 0x00007ffff0f5d0a8 in g_main_context_iterate (context=0x63f7a0, 
    block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at gmain.c:3359
#50 0x00007ffff0f5d512 in g_main_loop_run (loop=0x178c760) at gmain.c:3553
#51 0x00007ffff1f289b5 in gtk_main ()
    at /build/buildd/gtk+3.0-3.6.0/./gtk/gtkmain.c:1162
#52 0x00000000004056a4 in main (argc=1, argv=0x7fffffffdfe8)
    at ../../Tools/GtkLauncher/main.c:541
Comment 1 ChangSeok Oh 2013-01-08 06:49:33 PST
The patch submitted by joone in bug105736 fixed this issue. So I close this bug.

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