Bug 36730 - Crash on SVG Test of new W3C test-suite.
Summary: Crash on SVG Test of new W3C test-suite.
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://dev.w3.org/SVG/profiles/1.1F2/...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-28 13:10 PDT by Dirk Schulze
Modified: 2011-05-05 10:40 PDT (History)
3 users (show)

See Also:


Attachments
backtrace (4.67 KB, application/octet-stream)
2010-03-29 12:35 PDT, Dirk Schulze
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schulze 2010-03-28 13:10:21 PDT
WebKit crashes with SEGFAULT on WebCore::RenderLineBoxList::appendLineBox(WebCore::InlineFlowBox*) () after visiting the site above. Will add a detailed bt later.
Comment 1 Dirk Schulze 2010-03-29 12:35:05 PDT
Created attachment 51947 [details]
backtrace
Comment 2 Dirk Schulze 2010-03-29 12:53:06 PDT
Reduced the test case:

<svg xmlns="http://www.w3.org/2000/svg">
<defs>
<foreignObject>
<svg>
<text>Hello</text>
</svg>
</foreignObject>
</defs>
</svg>

The text element breaks the SVG. This doesn't happen for <rect..
Comment 3 Dirk Schulze 2010-03-29 12:57:05 PDT
(In reply to comment #2)
> Reduced the test case:
> 
> <svg xmlns="http://www.w3.org/2000/svg">
> <defs>
> <foreignObject>
> <svg>
> <text>Hello</text>
> </svg>
> </foreignObject>
> </defs>
> </svg>
> 
> The text element breaks the SVG. This doesn't happen for <rect..

It even breaks without the <defs>-element.

<svg xmlns="http://www.w3.org/2000/svg">
<foreignObject>
<svg>
<text>Hello</text>
</svg>
</foreignObject>
</svg>
Comment 4 Nikolas Zimmermann 2010-03-30 01:56:59 PDT
That problem is long-outstanding. SVG text demands a SVGRootInlineBox, which is not present in that foreignObject sub-tree IIRC, would need to dive into text again to be check that.
Comment 5 Rob Buis 2011-05-05 10:39:20 PDT
I think this works nowadays?
Cheers,

Rob.
Comment 6 Dirk Schulze 2011-05-05 10:40:37 PDT
yes, I couldn't see this crash either.