Bug 108608 - [Qt] ASSERT(!brush.transform().isRotating()) in GraphicsContextQt
Summary: [Qt] ASSERT(!brush.transform().isRotating()) in GraphicsContextQt
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 116980
  Show dependency treegraph
 
Reported: 2013-02-01 03:06 PST by Renata Hodovan
Modified: 2013-12-03 03:08 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Renata Hodovan 2013-02-01 03:06:01 PST
Assertion faulire was found during SVG fuzzing:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff57c13b5 in WebCore::drawRepeatPattern (p=0x7fffffffbc40, pattern=..., rect=...)
    at /home/reni/repos/webkit2/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp:679
679	    ASSERT(!brush.transform().isRotating());


The test was:

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
	<pattern id="dummyPattern" width="100" height="100" patternTransform="skewX(45)">
	</pattern>
	<rect x="0" y="0" width="50" height="30" fill="url(#dummyPattern)"></rect>
</svg>

Important note: if you move the </pattern> closing tag to the end of the previous line then everything is OK. O_o
Comment 1 Renata Hodovan 2013-12-03 03:08:11 PST
It was a Qt specific issue, so it can be closed now.