<?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>28012</bug_id>
          
          <creation_ts>2009-08-05 00:44:43 -0700</creation_ts>
          <short_desc>WML causes crash on Slashdot.org main page</short_desc>
          <delta_ts>2009-08-15 17:17:19 -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>PC</rep_platform>
          <op_sys>All</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>red47514f7</reporter>
          <assigned_to name="George Staikos">staikos</assigned_to>
          <cc>jmalonzo</cc>
    
    <cc>red47514f7</cc>
    
    <cc>staikos</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>137267</commentid>
    <comment_count>0</comment_count>
    <who name="">red47514f7</who>
    <bug_when>2009-08-05 00:44:43 -0700</bug_when>
    <thetext>If I wget http://slashdot.org/ and just open it in a WebKit-based browser, everything is OK; of course, JavaScript loaded by relative URLs is not working.
If I open http://slashdot.org/ in a webkit browser built against latest nightly (I tried two different browsers - uzbl and midori, both have the same regression when the same browser code is linked against too fresh WebKit instead of slightly older one), I see the Slashdot scripts composing a page, for a brief moment I even see nearly-complete rendering and then browser crashes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137301</commentid>
    <comment_count>1</comment_count>
    <who name="">red47514f7</who>
    <bug_when>2009-08-05 06:27:05 -0700</bug_when>
    <thetext>Maybe I misclassified the bug because disabling one CSS file ( http://c.fsdn.com/sd/idlecore-tidied.css?T_2_5_0_266b ) fixes the problem. 

Bug was first filed when r46770 was fresh nightly. It appeared a few days earlier.

gdb reports WebCore::RenderFieldset::findLegend 

Full backtrace minus paths and application part:

#0  0xb7a0b9bf in WebCore::RenderFieldset::findLegend ()
#1  0xb7a0c83d in WebCore::RenderFieldset::calcPrefWidths ()
#2  0xb79f6d9b in WebCore::RenderBox::minPrefWidth ()
#3  0xb7a003d3 in WebCore::RenderBox::calcWidth ()
#4  0xb79e8cba in WebCore::RenderBlock::layoutBlock ()
#5  0xb79d6b18 in WebCore::RenderBlock::layout ()
#6  0xb79e865b in WebCore::RenderBlock::layoutBlockChildren ()
#7  0xb79e9311 in WebCore::RenderBlock::layoutBlock ()
#8  0xb79d6b18 in WebCore::RenderBlock::layout ()
#9  0xb79e865b in WebCore::RenderBlock::layoutBlockChildren ()
#10 0xb79e9311 in WebCore::RenderBlock::layoutBlock ()
#11 0xb79d6b18 in WebCore::RenderBlock::layout ()
#12 0xb79e865b in WebCore::RenderBlock::layoutBlockChildren ()
#13 0xb79e9311 in WebCore::RenderBlock::layoutBlock ()
#14 0xb79d6b18 in WebCore::RenderBlock::layout ()
#15 0xb79e865b in WebCore::RenderBlock::layoutBlockChildren ()
#16 0xb79e9311 in WebCore::RenderBlock::layoutBlock ()
#17 0xb79d6b18 in WebCore::RenderBlock::layout ()
#18 0xb79d896c in WebCore::RenderBlock::insertFloatingObject ()
#19 0xb79e3377 in WebCore::RenderBlock::handleFloatingChild ()
#20 0xb79e6313 in WebCore::RenderBlock::handleSpecialChild ()
#21 0xb79e84b9 in WebCore::RenderBlock::layoutBlockChildren ()
#22 0xb79e9311 in WebCore::RenderBlock::layoutBlock ()
#23 0xb79d6b18 in WebCore::RenderBlock::layout ()
#24 0xb79e865b in WebCore::RenderBlock::layoutBlockChildren ()
#25 0xb79e9311 in WebCore::RenderBlock::layoutBlock ()
#26 0xb79d6b18 in WebCore::RenderBlock::layout ()
#27 0xb79e865b in WebCore::RenderBlock::layoutBlockChildren ()
#28 0xb79e9311 in WebCore::RenderBlock::layoutBlock ()
#29 0xb79d6b18 in WebCore::RenderBlock::layout ()
#30 0xb79e865b in WebCore::RenderBlock::layoutBlockChildren ()
#31 0xb79e9311 in WebCore::RenderBlock::layoutBlock ()
#32 0xb79d6b18 in WebCore::RenderBlock::layout ()
#33 0xb79e865b in WebCore::RenderBlock::layoutBlockChildren ()
#34 0xb79e9311 in WebCore::RenderBlock::layoutBlock ()
#35 0xb79d6b18 in WebCore::RenderBlock::layout ()
#36 0xb7a6ff17 in WebCore::RenderView::layout ()
#37 0xb7932682 in WebCore::FrameView::layout ()
#38 0xb773c250 in WebCore::Document::updateLayout ()
#39 0xb774f5d9 in WebCore::Document::updateLayoutIgnorePendingStylesheets ()
#40 0xb76b684b in WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue ()
#41 0xb76bcf98 in WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue ()
#42 0xb76b5446 in WebCore::CSSComputedStyleDeclaration::getPropertyValue ()
#43 0xb76f6353 in WebCore::CSSStyleDeclaration::getPropertyValue ()
#44 0xb7cb66c4 in WebCore::jsCSSStyleDeclarationPrototypeFunctionGetPropertyValue ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137526</commentid>
    <comment_count>2</comment_count>
    <who name="">red47514f7</who>
    <bug_when>2009-08-05 23:09:33 -0700</bug_when>
    <thetext>Still crashes in r46809 nightly (just in case..)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137832</commentid>
    <comment_count>3</comment_count>
    <who name="">red47514f7</who>
    <bug_when>2009-08-07 02:01:59 -0700</bug_when>
    <thetext>Simple reduction (derived from slashdot.org). &lt;form&gt; tag can be added if you wish so.

&lt;html&gt; 
  &lt;head&gt; 
    &lt;style&gt;
      label{display:block;}
    &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
        &lt;fieldset&gt;
	&lt;label&gt;&lt;/label&gt;
	  a
        &lt;/fieldset&gt; 
  &lt;/body&gt;
&lt;/html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137833</commentid>
    <comment_count>4</comment_count>
      <attachid>34261</attachid>
    <who name="">red47514f7</who>
    <bug_when>2009-08-07 02:04:22 -0700</bug_when>
    <thetext>Created attachment 34261
Reduction for slashdot.org crash

&lt;form&gt; tag around &lt;fieldset&gt; is omitted for brevity. It would make no difference.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137843</commentid>
    <comment_count>5</comment_count>
    <who name="">red47514f7</who>
    <bug_when>2009-08-07 03:32:36 -0700</bug_when>
    <thetext>Further investigating: it only ocurs when WML support was enabled during the build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>140481</commentid>
    <comment_count>6</comment_count>
    <who name="Jan Alonzo">jmalonzo</who>
    <bug_when>2009-08-15 14:10:42 -0700</bug_when>
    <thetext>CC&apos;ing Nikolas as he knows more about  WML.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>140484</commentid>
    <comment_count>7</comment_count>
    <who name="George Staikos">staikos</who>
    <bug_when>2009-08-15 14:42:46 -0700</bug_when>
    <thetext>I believe this is a regression of a bug that was fixed before.  It&apos;s platform independent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>140498</commentid>
    <comment_count>8</comment_count>
      <attachid>34908</attachid>
    <who name="George Staikos">staikos</who>
    <bug_when>2009-08-15 16:47:03 -0700</bug_when>
    <thetext>Created attachment 34908
Patch and testcase to fix the bug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>140499</commentid>
    <comment_count>9</comment_count>
    <who name="George Staikos">staikos</who>
    <bug_when>2009-08-15 16:59:32 -0700</bug_when>
    <thetext>Bug # can be added when landing.  It&apos;s in my local tree.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>140501</commentid>
    <comment_count>10</comment_count>
    <who name="Jan Alonzo">jmalonzo</who>
    <bug_when>2009-08-15 17:05:17 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; Bug # can be added when landing.  It&apos;s in my local tree.

Looks ok. r=me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>140503</commentid>
    <comment_count>11</comment_count>
    <who name="George Staikos">staikos</who>
    <bug_when>2009-08-15 17:17:19 -0700</bug_when>
    <thetext>Checked in r47329</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>34261</attachid>
            <date>2009-08-07 02:04:22 -0700</date>
            <delta_ts>2009-08-07 02:04:22 -0700</delta_ts>
            <desc>Reduction for slashdot.org crash</desc>
            <filename>reduction-slashdot.html</filename>
            <type>text/html</type>
            <size>261</size>
            <attacher>red47514f7</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEvL0VOIiAiaHR0cDov
L3d3dy53My5vcmcvVFIvaHRtbDQvc3RyaWN0LmR0ZCI+CjxodG1sPiAKICA8aGVhZD4gCiAgICA8
c3R5bGU+CiAgICAgIGxhYmVse2Rpc3BsYXk6YmxvY2s7fQogICAgPC9zdHlsZT4KICA8L2hlYWQ+
CiAgPGJvZHk+CiAgICAgICAgPGZpZWxkc2V0PgoJPGxhYmVsPjwvbGFiZWw+CgkgIGEKICAgICAg
ICA8L2ZpZWxkc2V0PiAKICA8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>34908</attachid>
            <date>2009-08-15 16:47:03 -0700</date>
            <delta_ts>2009-08-15 17:05:41 -0700</delta_ts>
            <desc>Patch and testcase to fix the bug</desc>
            <filename>wml-legend-crash.patch</filename>
            <type>text/plain</type>
            <size>2462</size>
            <attacher name="George Staikos">staikos</attacher>
            
              <data encoding="base64">SW5kZXg6IFd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ZpZWxkc2V0IGNvZGUgd2hlbiBXTUwgaXMgZW5hYmxlZC4KKyAgICAgICAgVGVzdCBw
cm92aWRlZCBieSByZWQ0NzUxNGY3QHlhbmRleC5ydQorCisgICAgICAgICogZmFzdC93bWwvaHRt
bC1maWVsZHNldC1jcmFzaC5odG1sOiBBZGRlZC4KKwogMjAwOS0wOC0xNSAgU2FtIFdlaW5pZyAg
PHNhbUB3ZWJraXQub3JnPgogCiAgICAgICAgIFJlbW92ZSBubyBsb25nZXIgY29ycmVjdCBhbmQg
bm93IGZhaWxpbmcgdGVzdC4gIGRvY3VtZW50LmJvZHkub251bmxvYWQKSW5kZXg6IExheW91dFRl
c3RzL2Zhc3Qvd21sL2h0bWwtZmllbGRzZXQtY3Jhc2guaHRtbAo9PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlv
dXRUZXN0cy9mYXN0L3dtbC9odG1sLWZpZWxkc2V0LWNyYXNoLmh0bWwJKHJldmlzaW9uIDApCisr
KyBMYXlvdXRUZXN0cy9mYXN0L3dtbC9odG1sLWZpZWxkc2V0LWNyYXNoLmh0bWwJKHJldmlzaW9u
IDApCkBAIC0wLDAgKzEsMTQgQEAKKzwhRE9DVFlQRSBIVE1MIFBVQkxJQyAiLS8vVzNDLy9EVEQg
SFRNTCA0LjAxLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL2h0bWw0L3N0cmljdC5kdGQiPgor
PGh0bWw+IAorICA8aGVhZD4gCisgICAgPHN0eWxlPgorICAgICAgbGFiZWx7ZGlzcGxheTpibG9j
azt9CisgICAgPC9zdHlsZT4KKyAgPC9oZWFkPgorICA8Ym9keT4KKyAgICAgICAgPGZpZWxkc2V0
PgorCTxsYWJlbD48L2xhYmVsPgorCSAgYQorICAgICAgICA8L2ZpZWxkc2V0PiAKKyAgPC9ib2R5
PgorPC9odG1sPgo=
</data>
<flag name="review"
          id="19099"
          type_id="1"
          status="+"
          setter="jmalonzo"
    />
          </attachment>
      

    </bug>

</bugzilla>