<?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>19030</bug_id>
          
          <creation_ts>2008-05-13 08:34:27 -0700</creation_ts>
          <short_desc>Assertion failure in CSSGradientValue::image with -webkit-gradient as body&apos;s background</short_desc>
          <delta_ts>2008-05-13 08:40:38 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>18445</dup_id>
          
          <bug_file_loc></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="Adam Roben (:aroben)">aroben</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hyatt</cc>
    
    <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80268</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-05-13 08:34:27 -0700</bug_when>
    <thetext>I&apos;m hitting an assertion failure when loading a page that has a -webkit-gradient as the background of the body element.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80269</commentid>
    <comment_count>1</comment_count>
      <attachid>21109</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-05-13 08:34:46 -0700</bug_when>
    <thetext>Created attachment 21109
testcase (asserts in debug build)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80270</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-05-13 08:36:07 -0700</bug_when>
    <thetext>Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xbbadbeef
0x02cf6f6c in WebCore::CSSGradientValue::image (this=0x4d9bf50, renderer=0x4dadf7c, size=@0xbfffc65c) at /Users/aroben/dev/WebKit/OpenSource/WebCore/css/CSSGradientValue.cpp:109
109	    ASSERT(m_clients.contains(renderer));
(gdb) bt
#0  0x02cf6f6c in WebCore::CSSGradientValue::image (this=0x4d9bf50, renderer=0x4dadf7c, size=@0xbfffc65c) at /Users/aroben/dev/WebKit/OpenSource/WebCore/css/CSSGradientValue.cpp:109
#1  0x02a5d5c4 in WebCore::StyleGeneratedImage::image (this=0x4db43c0, renderer=0x4dadf7c, size=@0xbfffc65c) at /Users/aroben/dev/WebKit/OpenSource/WebCore/rendering/RenderStyle.cpp:221
#2  0x02a012df in WebCore::RenderBox::paintFillLayerExtended (this=0x4dadf7c, paintInfo=@0xbfffcafc, c=@0xbfffc878, bgLayer=0x4d9d648, clipY=0, clipH=992, tx=0, ty=0, w=1033, h=992, box=0x0, op=WebCore::CompositeSourceOver) at /Users/aroben/dev/WebKit/OpenSource/WebCore/rendering/RenderBox.cpp:825
#3  0x029f6e8e in WebCore::RenderBox::paintFillLayer (this=0x4dadf7c, paintInfo=@0xbfffcafc, c=@0xbfffc878, fillLayer=0x4d9d648, clipY=0, clipH=992, tx=0, ty=0, width=1033, height=992, op=WebCore::CompositeSourceOver) at /Users/aroben/dev/WebKit/OpenSource/WebCore/rendering/RenderBox.cpp:497
#4  0x029f6f4c in WebCore::RenderBox::paintFillLayers (this=0x4dadf7c, paintInfo=@0xbfffcafc, c=@0xbfffc878, fillLayer=0x4d9d648, clipY=0, clipH=992, tx=0, ty=0, width=1033, height=992, op=WebCore::CompositeSourceOver) at /Users/aroben/dev/WebKit/OpenSource/WebCore/rendering/RenderBox.cpp:491
#5  0x029fa12f in WebCore::RenderBox::paintRootBoxDecorations (this=0x4dadf7c, paintInfo=@0xbfffcafc, tx=0, ty=0) at /Users/aroben/dev/WebKit/OpenSource/WebCore/rendering/RenderBox.cpp:362
#6  0x029fa225 in WebCore::RenderBox::paintBoxDecorations (this=0x4dadf7c, paintInfo=@0xbfffcafc, tx=0, ty=0) at /Users/aroben/dev/WebKit/OpenSource/WebCore/rendering/RenderBox.cpp:374
#7  0x029ea21c in WebCore::RenderBlock::paintObject (this=0x4dadf7c, paintInfo=@0xbfffcafc, tx=0, ty=0) at /Users/aroben/dev/WebKit/OpenSource/WebCore/rendering/RenderBlock.cpp:1609
#8  0x029dc43c in WebCore::RenderBlock::paint (this=0x4dadf7c, paintInfo=@0xbfffcafc, tx=0, ty=0) at /Users/aroben/dev/WebKit/OpenSource/WebCore/rendering/RenderBlock.cpp:1457
#9  0x02a2646d in WebCore::RenderLayer::paintLayer (this=0x1b834ccc, rootLayer=0x1b8836cc, p=0xbfffce04, paintDirtyRect=@0xbfffce0c, haveTransparency=false, paintRestriction=WebCore::PaintRestrictionNone, paintingRoot=0x0, appliedTransform=false) at /Users/aroben/dev/WebKit/OpenSource/WebCore/rendering/RenderLayer.cpp:1604
#10 0x02a2689a in WebCore::RenderLayer::paintLayer (this=0x1b8836cc, rootLayer=0x1b8836cc, p=0xbfffce04, paintDirtyRect=@0xbfffce0c, haveTransparency=false, paintRestriction=WebCore::PaintRestrictionNone, paintingRoot=0x0, appliedTransform=false) at /Users/aroben/dev/WebKit/OpenSource/WebCore/rendering/RenderLayer.cpp:1661
#11 0x02a26a58 in WebCore::RenderLayer::paint (this=0x1b8836cc, p=0xbfffce04, damageRect=@0xbfffce0c, paintRestriction=WebCore::PaintRestrictionNone, paintingRoot=0x0) at /Users/aroben/dev/WebKit/OpenSource/WebCore/rendering/RenderLayer.cpp:1478
#12 0x02791541 in WebCore::Frame::paint (this=0x9218c0, p=0xbfffce04, rect=@0xbfffce0c) at /Users/aroben/dev/WebKit/OpenSource/WebCore/page/Frame.cpp:1366
#13 0x003cc760 in -[WebFrame(WebInternal) _drawRect:] (self=0x1b85e400, _cmd=0x94880054, rect={origin = {x = 0, y = 0}, size = {width = 1033, height = 992}}) at /Users/aroben/dev/WebKit/OpenSource/WebKit/mac/WebView/WebFrame.mm:570
#14 0x003ead65 in -[WebHTMLView drawSingleRect:] (self=0x91fed0, _cmd=0x2eb3f47, rect={origin = {x = 0, y = 0}, size = {width = 1033, height = 992}}) at /Users/aroben/dev/WebKit/OpenSource/WebKit/mac/WebView/WebHTMLView.mm:2837
#15 0x003eb0f3 in -[WebHTMLView drawRect:] (self=0x91fed0, _cmd=0x948a8630, rect={origin = {x = 0, y = 0}, size = {width = 1033, height = 992}}) at /Users/aroben/dev/WebKit/OpenSource/WebKit/mac/WebView/WebHTMLView.mm:2897
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80271</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-05-13 08:36:46 -0700</bug_when>
    <thetext>&lt;rdar://problem/5931174&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80272</commentid>
    <comment_count>4</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-05-13 08:40:38 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 18445 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>21109</attachid>
            <date>2008-05-13 08:34:46 -0700</date>
            <delta_ts>2008-05-13 08:34:46 -0700</delta_ts>
            <desc>testcase (asserts in debug build)</desc>
            <filename>gradient.html</filename>
            <type>text/html</type>
            <size>128</size>
            <attacher name="Adam Roben (:aroben)">aroben</attacher>
            
              <data encoding="base64">PHN0eWxlPgogICAgYm9keSB7CiAgICAgICAgYmFja2dyb3VuZDogLXdlYmtpdC1ncmFkaWVudChs
aW5lYXIsIGxlZnQgdG9wLCBsZWZ0IGJvdHRvbSwgZnJvbShibGFjayksIHRvKHdoaXRlKSk7CiAg
ICB9Cjwvc3R5bGU+Cgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>