<?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>71377</bug_id>
          
          <creation_ts>2011-11-02 11:11:33 -0700</creation_ts>
          <short_desc>Assertion in FontCache::getCachedFontData() when painting into composited layer</short_desc>
          <delta_ts>2011-11-02 14:02:25 -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>Layout and Rendering</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>http://build.webkit.org/results/SnowLeopard%20Intel%20Debug%20(Tests)/r99063%20(2806)/platform/mac/accessibility/select-element-selection-with-optgroups-crash-log.txt</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</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="Simon Fraser (smfr)">simon.fraser</assigned_to>
          <cc>msaboff</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>494748</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-11-02 11:11:33 -0700</bug_when>
    <thetext>Bots show an assertion here:


Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000bbadbeef
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   com.apple.WebCore             	0x0000000101730a0b WebCore::FontCache::getCachedFontData(WebCore::FontPlatformData const*, WebCore::FontCache::ShouldRetain) + 121 (FontCache.cpp:280)
1   com.apple.WebCore             	0x000000010173bb2e WebCore::FontCache::getFontDataForCharacters(WebCore::Font const&amp;, unsigned short const*, int) + 1462 (FontCacheMac.mm:166)
2   com.apple.WebCore             	0x0000000101740f0d WebCore::Font::glyphDataAndPageForCharacter(int, bool, WebCore::FontDataVariant) const + 2325 (FontFastPath.cpp:201)
3   com.apple.WebCore             	0x00000001017411cd WebCore::Font::glyphDataForCharacter(int, bool, WebCore::FontDataVariant) const + 47 (FontFastPath.cpp:47)
4   com.apple.WebCore             	0x00000001017412c2 WebCore::Font::getEmphasisMarkGlyphData(WTF::AtomicString const&amp;, WebCore::GlyphData&amp;) const + 220 (FontFastPath.cpp:280)
5   com.apple.WebCore             	0x000000010174131c WebCore::Font::emphasisMarkHeight(WTF::AtomicString const&amp;) const + 52 (FontFastPath.cpp:315)
6   com.apple.WebCore             	0x00000001018f4414 WebCore::InlineFlowBox::computeOverAnnotationAdjustment(int) const + 742 (InlineFlowBox.cpp:1417)
7   com.apple.WebCore             	0x00000001020757e5 WebCore::RootInlineBox::selectionTop() const + 95 (RootInlineBox.cpp:419)
8   com.apple.WebCore             	0x0000000101f6771f WebCore::RenderLineBoxList::lineIntersectsDirtyRect(WebCore::RenderBoxModelObject*, WebCore::InlineFlowBox*, WebCore::PaintInfo const&amp;, WebCore::IntPoint const&amp;) const + 51 (RenderLineBoxList.cpp:197)
9   com.apple.WebCore             	0x0000000101f6820e WebCore::RenderLineBoxList::paint(WebCore::RenderBoxModelObject*, WebCore::PaintInfo&amp;, WebCore::IntPoint const&amp;) const + 1310 (RenderLineBoxList.cpp:260)
10  com.apple.WebCore             	0x0000000101e9b443 WebCore::RenderBlock::paintContents(WebCore::PaintInfo&amp;, WebCore::IntPoint const&amp;) + 161 (RenderBlock.cpp:2507)
11  com.apple.WebCore             	0x0000000101ea6193 WebCore::RenderBlock::paintObject(WebCore::PaintInfo&amp;, WebCore::IntPoint const&amp;) + 477 (RenderBlock.cpp:2622)
12  com.apple.WebCore             	0x0000000101e9c276 WebCore::RenderBlock::paint(WebCore::PaintInfo&amp;, WebCore::IntPoint const&amp;) + 256 (RenderBlock.cpp:2363)
13  com.apple.WebCore             	0x0000000101f4e98a WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*, WebCore::GraphicsContext*, WebCore::IntRect const&amp;, unsigned int, WebCore::RenderObject*, WebCore::RenderRegion*, WTF::HashMap&lt;WebCore::OverlapTestRequestClient*, WebCore::IntRect, WTF::PtrHash&lt;WebCore::OverlapTestRequestClient*&gt;, WTF::HashTraits&lt;WebCore::OverlapTestRequestClient*&gt;, WTF::HashTraits&lt;WebCore::IntRect&gt; &gt;*, unsigned int) + 2814 (RenderLayer.cpp:2807)
14  com.apple.WebCore             	0x0000000101f4f762 WebCore::RenderLayer::paintList(WTF::Vector&lt;WebCore::RenderLayer*, 0ul&gt;*, WebCore::RenderLayer*, WebCore::GraphicsContext*, WebCore::IntRect const&amp;, unsigned int, WebCore::RenderObject*, WebCore::RenderRegion*, WTF::HashMap&lt;WebCore::OverlapTestRequestClient*, WebCore::IntRect, WTF::PtrHash&lt;WebCore::OverlapTestRequestClient*&gt;, WTF::HashTraits&lt;WebCore::OverlapTestRequestClient*&gt;, WTF::HashTraits&lt;WebCore::IntRect&gt; &gt;*, unsigned int) + 156 (RenderLayer.cpp:2865)
15  com.apple.WebCore             	0x0000000101f58306 WebCore::RenderLayerBacking::paintIntoLayer(WebCore::RenderLayer*, WebCore::GraphicsContext*, WebCore::IntRect const&amp;, unsigned int, WebCore::GraphicsLayerPaintingPhase, WebCore::RenderObject*) + 1782 (RenderLayerBacking.cpp:1169)
16  com.apple.WebCore             	0x0000000101f58664 WebCore::RenderLayerBacking::paintContents(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&amp;, WebCore::GraphicsLayerPaintingPhase, WebCore::IntRect const&amp;) + 464 (RenderLayerBacking.cpp:1218)
17  com.apple.WebCore             	0x00000001017d3bf6 WebCore::GraphicsLayer::paintGraphicsLayerContents(WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;) + 94 (GraphicsLayer.cpp:284)
18  com.apple.WebCore             	0x00000001017dd363 WebCore::GraphicsLayerCA::platformCALayerPaintContents(WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;) + 37 (GraphicsLayerCA.cpp:908)
19  com.apple.WebCore             	0x00000001022a0fa4 drawLayerContents(CGContext*, CALayer*, WebCore::PlatformCALayer*) + 501 (WebLayer.mm:79)
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>494749</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2011-11-02 11:13:02 -0700</bug_when>
    <thetext>&lt;rdar://problem/10384540&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>494762</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-11-02 11:32:24 -0700</bug_when>
    <thetext>Bot shows that it&apos;s fast/inline/inline-box-adjust-position-crash2.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>494772</commentid>
    <comment_count>3</comment_count>
      <attachid>113343</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-11-02 11:46:39 -0700</bug_when>
    <thetext>Created attachment 113343
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>494787</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2011-11-02 12:03:55 -0700</bug_when>
    <thetext>Looks to be the right place given the backtrace.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>494888</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-11-02 14:02:25 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/99095</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>113343</attachid>
            <date>2011-11-02 11:46:39 -0700</date>
            <delta_ts>2011-11-02 13:59:52 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-71377-20111102114638.patch</filename>
            <type>text/plain</type>
            <size>1754</size>
            <attacher name="Simon Fraser (smfr)">simon.fraser</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogOTkwNzcKZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0No
YW5nZUxvZyBiL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwppbmRleCA3OGQyMmViZGJiNjNlNmUx
YzgyNGFlYjkyNDAzNGFlODk2MzdiMjk5Li4wNTMzNzAwMzk1MTQzNmE4YzFlZTJhYWM1YjhjNThk
MTlkNzhjNzEzIDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvU291
cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTcgQEAKKzIwMTEtMTEtMDIgIFNpbW9u
IEZyYXNlciAgPHNpbW9uLmZyYXNlckBhcHBsZS5jb20+CisKKyAgICAgICAgQXNzZXJ0aW9uIGlu
IEZvbnRDYWNoZTo6Z2V0Q2FjaGVkRm9udERhdGEoKSB3aGVuIHBhaW50aW5nIGludG8gY29tcG9z
aXRlZCBsYXllcgorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/
aWQ9NzEzNzcKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAg
ICBBZGQgb25lIG9mIHRoZSBteXN0ZXJpb3VzIEZvbnRDYWNoZVB1cmdlUHJldmVudGVycyBvbiB0
aGUgc3RhY2sgd2hlbiBwYWludGluZwor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Gb250Q2FjaGUuaCIKICNpbmNsdWRlICJGcmFtZVZpZXcuaCIKICNp
bmNsdWRlICJHcmFwaGljc0NvbnRleHQuaCIKICNpbmNsdWRlICJHcmFwaGljc0xheWVyLmgiCkBA
IC0xMDkxLDYgKzEwOTIsOCBAQCB2b2lkIFJlbmRlckxheWVyQmFja2luZzo6cGFpbnRJbnRvTGF5
ZXIoUmVuZGVyTGF5ZXIqIHJvb3RMYXllciwgR3JhcGhpY3NDb250ZXh0KgogICAgICAgICBBU1NF
UlRfTk9UX1JFQUNIRUQoKTsKICAgICAgICAgcmV0dXJuOwogICAgIH0KKworICAgIEZvbnRDYWNo
ZVB1cmdlUHJldmVudGVyIGZvbnRDYWNoZVB1cmdlUHJldmVudGVyOwogICAgIAogICAgIG1fb3du
aW5nTGF5ZXItPnVwZGF0ZUxheWVyTGlzdHNJZk5lZWRlZCgpOwogICAgIAo=
</data>
<flag name="review"
          id="111682"
          type_id="1"
          status="+"
          setter="andersca"
    />
          </attachment>
      

    </bug>

</bugzilla>