<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>112490</bug_id>
          
          <creation_ts>2013-03-15 21:47:05 -0700</creation_ts>
          <short_desc>Reflected video elements hit assertion</short_desc>
          <delta_ts>2013-03-16 12:34:47 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jer.noble</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>856510</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2013-03-15 21:47:05 -0700</bug_when>
    <thetext>Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebCore             	0x000000010d30b705 WebCore::RenderLayerCompositor::flushPendingLayerChanges(bool) + 229 (RenderLayerCompositor.cpp:342)
1   com.apple.WebCore             	0x000000010c5add9f WebCore::FrameView::flushCompositingStateForThisFrame(WebCore::Frame*) + 255 (FrameView.cpp:908)
2   com.apple.WebCore             	0x000000010c5b80e5 WebCore::FrameView::paintContents(WebCore::GraphicsContext*, WebCore::IntRect const&amp;) + 741 (FrameView.cpp:3399)
3   com.apple.WebCore             	0x000000010d556d89 WebCore::ScrollView::paint(WebCore::GraphicsContext*, WebCore::IntRect const&amp;) + 777 (ScrollView.cpp:1081)
4   com.apple.WebKit2             	0x0000000109bcfd34 WebKit::WebPage::drawRect(WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;) + 292 (WebPage.cpp:1108)
5   com.apple.WebKit2             	0x00000001099ca3a8 WebKit::LayerTreeHostMac::paintContents(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&amp;, unsigned int, WebCore::IntRect const&amp;) + 88 (LayerTreeHostMac.mm:254)
6   com.apple.WebKit2             	0x00000001099ca435 non-virtual thunk to WebKit::LayerTreeHostMac::paintContents(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&amp;, unsigned int, WebCore::IntRect const&amp;) + 69
7   com.apple.WebCore             	0x000000010c685926 WebCore::GraphicsLayer::paintGraphicsLayerContents(WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;) + 294 (GraphicsLayer.cpp:328)
8   com.apple.WebCore             	0x000000010c693460 WebCore::GraphicsLayerCA::platformCALayerPaintContents(WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;) + 48 (GraphicsLayerCA.cpp:1059)
9   com.apple.WebCore             	0x000000010c6934a7 non-virtual thunk to WebCore::GraphicsLayerCA::platformCALayerPaintContents(WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;) + 55
10  com.apple.WebCore             	0x000000010d92b700 drawLayerContents(CGContext*, CALayer*, WebCore::PlatformCALayer*) + 1744 (WebLayer.mm:116)
11  com.apple.WebCore             	0x000000010d92c5e6 -[WebLayer drawInContext:] + 70 (WebLayer.mm:233)
12  com.apple.QuartzCore          	0x00007fff8f1e7225 CABackingStoreUpdate_ + 3221
13  com.apple.QuartzCore          	0x00007fff8f1e613a CA::Layer::display_() + 1086
14  com.apple.WebCore             	0x000000010d92c536 -[WebLayer display] + 54 (WebLayer.mm:223)
15  com.apple.QuartzCore          	0x00007fff8f1de00a CA::Layer::display_if_needed(CA::Transaction*) + 560
16  com.apple.QuartzCore          	0x00007fff8f1dcfbf CA::Context::commit_transaction(CA::Transaction*) + 319
17  com.apple.QuartzCore          	0x00007fff8f1dcd3c CA::Transaction::commit() + 274
18  com.apple.MediaToolbox        	0x00007fff8f3990e3 0x7fff8f34d000 + 311523
19  com.apple.MediaToolbox        	0x00007fff8f399945 0x7fff8f34d000 + 313669
20  com.apple.MediaToolbox        	0x00007fff8f399d60 0x7fff8f34d000 + 314720
21  com.apple.MediaToolbox        	0x00007fff8f399e62 0x7fff8f34d000 + 314978
22  com.apple.MediaToolbox        	0x00007fff8f38e79a 0x7fff8f34d000 + 268186
23  com.apple.MediaToolbox        	0x00007fff8f38d057 0x7fff8f34d000 + 262231
24  com.apple.avfoundation        	0x00007fff9441ae2f -[AVPlayerLayer _updateContentLayerConnectionToPlayer] + 187
25  com.apple.avfoundation        	0x00007fff94419e76 -[AVPlayerLayer setPlayer:] + 442
26  com.apple.WebCore             	0x000000010d145642 WebCore::PlatformCALayer::clone(WebCore::PlatformCALayerClient*) const + 1202 (PlatformCALayerMac.mm:277)
27  com.apple.WebCore             	0x000000010c69c7a3 WebCore::GraphicsLayerCA::cloneLayer(WebCore::PlatformCALayer*, WebCore::GraphicsLayerCA::CloneLevel) + 67 (GraphicsLayerCA.cpp:2892)
28  com.apple.WebCore             	0x000000010c69c675 WebCore::GraphicsLayerCA::findOrMakeClone(WTF::String, WebCore::PlatformCALayer*, WTF::HashMap&lt;WTF::String, WTF::RefPtr&lt;WebCore::PlatformCALayer&gt;, WTF::StringHash, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::RefPtr&lt;WebCore::PlatformCALayer&gt; &gt; &gt;*, WebCore::GraphicsLayerCA::CloneLevel) + 261 (GraphicsLayerCA.cpp:2740)
29  com.apple.WebCore             	0x000000010c69cc34 WebCore::GraphicsLayerCA::ensureCloneLayers(WTF::String, WTF::RefPtr&lt;WebCore::PlatformCALayer&gt;&amp;, WTF::RefPtr&lt;WebCore::PlatformCALayer&gt;&amp;, WTF::RefPtr&lt;WebCore::PlatformCALayer&gt;&amp;, WebCore::GraphicsLayerCA::CloneLevel) + 916 (GraphicsLayerCA.cpp:2766)
30  com.apple.WebCore             	0x000000010c698392 WebCore::GraphicsLayerCA::fetchCloneLayers(WebCore::GraphicsLayer*, WebCore::GraphicsLayerCA::ReplicaState&amp;, WebCore::GraphicsLayerCA::CloneLevel) + 130 (GraphicsLayerCA.cpp:2804)
31  com.apple.WebCore             	0x000000010c69816b WebCore::GraphicsLayerCA::replicatedLayerRoot(WebCore::GraphicsLayerCA::ReplicaState&amp;) + 187 (GraphicsLayerCA.cpp:1783)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>856514</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2013-03-15 21:59:38 -0700</bug_when>
    <thetext>Workaround landed in https://trac.webkit.org/r145983. On Lion video will reflect, but the reflection won&apos;t play.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>856596</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2013-03-16 12:29:13 -0700</bug_when>
    <thetext>Also seen on ML:
http://build.webkit.org/results/Apple%20MountainLion%20Debug%20WK2%20(Tests)/r145997%20(7830)/compositing/reflections/load-video-in-reflection-crash-log.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>856598</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2013-03-16 12:34:47 -0700</bug_when>
    <thetext>I disabled setting the player on the playerLayer clone in http://trac.webkit.org/changeset/146001</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>