<?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>82634</bug_id>
          
          <creation_ts>2012-03-29 11:43:03 -0700</creation_ts>
          <short_desc>Assert/crash in WebCore::RenderInline::layout()</short_desc>
          <delta_ts>2012-05-22 12:10:39 -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>SVG</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>63365</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>63365</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stephen Chenney">schenney</reporter>
          <assigned_to name="Stephen Chenney">schenney</assigned_to>
          <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>591388</commentid>
    <comment_count>0</comment_count>
      <attachid>134630</attachid>
    <who name="Stephen Chenney">schenney</who>
    <bug_when>2012-03-29 11:43:03 -0700</bug_when>
    <thetext>Created attachment 134630
Repro case

The attached svg code, when loaded in Chrome, crashes:

SHOULD NEVER BE REACHED
../../third_party/WebKit/Source/WebCore/rendering/RenderInline.h(116) : virtual void WebCore::RenderInline::layout()

DumpRenderTree gives the following stack:

[6830:6830:105077618141:ERROR:process_util_posix.cc(142)] Received signal 11
	base::debug::StackTrace::StackTrace() [0x6379fe]
	base::(anonymous namespace)::StackDumpSignalHandler() [0x2289114]
	0x7f95eb9b4af0
	WebCore::RenderInline::layout() [0xfc0402]
	WebCore::SVGRenderSupport::layoutChildren() [0xeb7087]
	WebCore::RenderSVGRoot::layout() [0xeb205c]
	WebCore::RenderObject::layoutIfNeeded() [0x1f26b66]
	WebCore::RenderBlock::insertFloatingObject() [0x1f0d181]
	WebCore::RenderBlock::LineBreaker::skipLeadingWhitespace() [0x1f54dd7]
	WebCore::RenderBlock::LineBreaker::nextLineBreak() [0x1f4f9b0]
	WebCore::RenderBlock::layoutRunsAndFloatsInRange() [0x1f4e1cb]
	WebCore::RenderBlock::layoutRunsAndFloats() [0x1f4d0df]
	WebCore::RenderBlock::layoutInlineChildren() [0x1f53689]
	WebCore::RenderBlock::layoutBlock() [0x1f07f48]
	WebCore::RenderBlock::layout() [0x1f074ac]
	WebCore::RenderView::layout() [0x208055b]
	WebCore::FrameView::layout() [0x9a8b8d]
	WebCore::Document::implicitClose() [0x104e729]
	WebCore::FrameLoader::checkCallImplicitClose() [0x8e498b]
	WebCore::FrameLoader::checkCompleted() [0x8e4783]
	WebCore::FrameLoader::finishedParsing() [0x8e3613]
	WebCore::Document::finishedParsing() [0x1059942]
	WebCore::XMLDocumentParser::end() [0x2341779]
	WebCore::XMLDocumentParser::finish() [0x23417ea]
	WebCore::DocumentWriter::endIfNotLoadingMainResource() [0x8df5b9]
	WebCore::DocumentWriter::end() [0x8dec10]
	WebCore::DocumentLoader::finishedLoading() [0x8cdd8b]
	WebCore::FrameLoader::finishedLoading() [0x8ec729]
	WebCore::MainResourceLoader::didFinishLoading() [0x8fe633]
	WebCore::ResourceLoader::didFinishLoading() [0x9121a6]
	WebCore::ResourceHandleInternal::didFinishLoading() [0x20ecc7e]
	webkit_glue::WebURLLoaderImpl::Context::OnCompletedRequest() [0x1eb5d67]
	(anonymous namespace)::RequestProxy::NotifyCompletedRequest() [0x25ceadb]
	base::internal::RunnableAdapter&lt;&gt;::Run() [0x25cef24]
	base::internal::InvokeHelper&lt;&gt;::MakeItSo() [0x25cee5b]
	base::internal::Invoker&lt;&gt;::Run() [0x25cedea]
	base::Callback&lt;&gt;::Run() [0x62fd5e]
	MessageLoop::RunTask() [0x225edda]
	MessageLoop::DeferOrRunPendingTask() [0x225f0ea]
	MessageLoop::DoWork() [0x225f2bb]
	base::MessagePumpGlib::RunWithDispatcher() [0x229c3ed]
	base::MessagePumpGlib::Run() [0x229c8f9]
	MessageLoop::RunInternal() [0x225e8c7]
	MessageLoop::RunHandler() [0x225e045]
	MessageLoop::Run() [0x225e01d]
	webkit_support::RunMessageLoop() [0x15b7011]
	TestShell::waitTestFinished() [0x472c55]
	TestShell::runFileTest() [0x469e21]
	runTest() [0x434d59]
	main [0x434884]
	0x7f95eb99fc4d
	0x41fe39</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>629291</commentid>
    <comment_count>1</comment_count>
    <who name="Stephen Chenney">schenney</who>
    <bug_when>2012-05-21 11:21:53 -0700</bug_when>
    <thetext>Looks like this is simply an instance of 63365. When the fix for that goes in, we should revisit this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>630642</commentid>
    <comment_count>2</comment_count>
    <who name="Stephen Chenney">schenney</who>
    <bug_when>2012-05-22 12:10:39 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 63365 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>134630</attachid>
            <date>2012-03-29 11:43:03 -0700</date>
            <delta_ts>2012-03-29 11:43:03 -0700</delta_ts>
            <desc>Repro case</desc>
            <filename>cr114578.svg</filename>
            <type>image/svg+xml</type>
            <size>193</size>
            <attacher name="Stephen Chenney">schenney</attacher>
            
              <data encoding="base64">PHN2ZyBzdHlsZT0iZmxvYXQ6cmlnaHQ7IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9z
dmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICA8YWx0R2x5
cGggaWQ9ImFsdEdseXBoIj4KICA8L2FsdEdseXBoPgogIDx1c2UgeGxpbms6aHJlZj0iI2FsdEds
eXBoIj4KICA8L3VzZT4KPC9zdmc+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>