Bug 12974

Summary: Repro ASSERT failure when repeatedly running svg/custom/js-update-path-changes.svg
Product: WebKit Reporter: Geoffrey Garen <ggaren>
Component: SVGAssignee: Nikolas Zimmermann <zimmermann>
Status: RESOLVED FIXED    
Severity: Normal CC: zimmermann
Priority: P1 Keywords: InRadar
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Initial patch mjs: review+

Description Geoffrey Garen 2007-03-05 14:55:40 PST
This does the trick:

run-webkit-tests --debug --no-launch-safari --verbose --nthly=100000 svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg svg/custom/js-update-path-changes.svg
Comment 1 mitz 2007-03-05 23:20:28 PST
ASSERTION FAILED: extensions->genericContext<SVGPathSeg>(obj) == context
(WebCore/bindings/js/JSSVGPathSegListCustom.cpp:52 void WebCore::updatePathSegContextMap(KJS::ExecState*, WebCore::SVGPathSegList*, WebCore::SVGPathSeg*))

Comment 2 Mark Rowe (bdash) 2007-03-07 06:48:12 PST
<rdar://problem/5045719>
Comment 3 Nikolas Zimmermann 2007-03-11 13:14:52 PDT
Thanks for the report! I investigated, and found the problem. Trying to come up with a patch soon.

Niko
Comment 4 Nikolas Zimmermann 2007-03-11 14:01:22 PDT
Created attachment 13587 [details]
Initial patch
Comment 5 Maciej Stachowiak 2007-03-12 17:04:02 PDT
Comment on attachment 13587 [details]
Initial patch

r=me
Comment 6 Sam Weinig 2007-03-13 10:07:41 PDT
Landed in r20151.