Bug 11909 - Regression: large SVG from Illustrator comes out blank
Summary: Regression: large SVG from Illustrator comes out blank
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 420+
Hardware: Macintosh OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2006-12-21 05:31 PST by Eric Seidel (no email)
Modified: 2007-08-10 06:30 PDT (History)
2 users (show)

See Also:


Attachments
First attempt (93.34 KB, patch)
2007-07-30 13:11 PDT, Rob Buis
no flags Details | Formatted Diff | Diff
Also fixing the root <svg> (142.32 KB, patch)
2007-08-01 12:46 PDT, Rob Buis
oliver: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2006-12-21 05:31:37 PST
CGContextGetPathBoundingBox: no current point.
ASSERTION FAILED: item && image && image->context()
(/Stuff/Projects/WebKit/WebCore/platform/graphics/ImageBuffer.cpp:40 static void WebCore::ImageBuffer::renderSubtreeToImage(WebCore::ImageBuffer*, WebCore::RenderObject*))
zsh: segmentation fault  run-safari

The SVG in question was the "Treasure Map" Illustrator Sample, saved out to SVG format by Illustrator 9.  I can get you access to a copy if needed.

Date/Time:      2006-12-21 07:21:50.848 -0600
OS Version:     10.4.8 (Build 8L2127)
Report Version: 4

Command: Safari
Path:    /Applications/Safari.app/Contents/MacOS/Safari
Parent:  zsh [23348]

Version:        2.0.4 (419.3)
Build Version:  2
Project Name:   WebBrowser
Source Version: 4190300

PID:    961
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0xbbadbeef

Thread 0 Crashed:
0   com.apple.WebCore        	0x013de1fc WebCore::ImageBuffer::renderSubtreeToImage(WebCore::ImageBuffer*, WebCore::RenderObject*) + 104 (ImageBuffer.cpp:40)
1   com.apple.WebCore        	0x010cb58c WebCore::SVGMaskElement::drawMaskerContent() + 506 (SVGMaskElement.cpp:125)
2   com.apple.WebCore        	0x010cbb9c WebCore::SVGMaskElement::canvasResource() + 104 (SVGMaskElement.cpp:143)
3   com.apple.WebCore        	0x013a1724 WebCore::getResourceById(WebCore::Document*, WebCore::AtomicString const&) + 132 (SVGResource.cpp:83)
4   com.apple.WebCore        	0x013a24c6 WebCore::getMaskerById(WebCore::Document*, WebCore::AtomicString const&) + 24 (SVGResourceMasker.cpp:62)
5   com.apple.WebCore        	0x0138c431 WebCore::RenderSVGContainer::paint(WebCore::RenderObject::PaintInfo&, int, int) + 2055 (RenderSVGContainer.cpp:174)
6   com.apple.WebCore        	0x011605cf WebCore::RenderBox::paint(WebCore::RenderObject::PaintInfo&, int, int) + 169 (RenderBox.cpp:294)
7   com.apple.WebCore        	0x0138c5fb WebCore::RenderSVGContainer::paint(WebCore::RenderObject::PaintInfo&, int, int) + 2513 (RenderSVGContainer.cpp:191)
8   com.apple.WebCore        	0x011605cf WebCore::RenderBox::paint(WebCore::RenderObject::PaintInfo&, int, int) + 169 (RenderBox.cpp:294)
9   com.apple.WebCore        	0x0138c5fb WebCore::RenderSVGContainer::paint(WebCore::RenderObject::PaintInfo&, int, int) + 2513 (RenderSVGContainer.cpp:191)
10  com.apple.WebCore        	0x011605cf WebCore::RenderBox::paint(WebCore::RenderObject::PaintInfo&, int, int) + 169 (RenderBox.cpp:294)
11  com.apple.WebCore        	0x0138c5fb WebCore::RenderSVGContainer::paint(WebCore::RenderObject::PaintInfo&, int, int) + 2513 (RenderSVGContainer.cpp:191)
12  com.apple.WebCore        	0x011605cf WebCore::RenderBox::paint(WebCore::RenderObject::PaintInfo&, int, int) + 169 (RenderBox.cpp:294)
13  com.apple.WebCore        	0x0138c5fb WebCore::RenderSVGContainer::paint(WebCore::RenderObject::PaintInfo&, int, int) + 2513 (RenderSVGContainer.cpp:191)
14  com.apple.WebCore        	0x011605cf WebCore::RenderBox::paint(WebCore::RenderObject::PaintInfo&, int, int) + 169 (RenderBox.cpp:294)
15  com.apple.WebCore        	0x0138c5fb WebCore::RenderSVGContainer::paint(WebCore::RenderObject::PaintInfo&, int, int) + 2513 (RenderSVGContainer.cpp:191)
16  com.apple.WebCore        	0x011605cf WebCore::RenderBox::paint(WebCore::RenderObject::PaintInfo&, int, int) + 169 (RenderBox.cpp:294)
17  com.apple.WebCore        	0x0138c5fb WebCore::RenderSVGContainer::paint(WebCore::RenderObject::PaintInfo&, int, int) + 2513 (RenderSVGContainer.cpp:191)
18  com.apple.WebCore        	0x011605cf WebCore::RenderBox::paint(WebCore::RenderObject::PaintInfo&, int, int) + 169 (RenderBox.cpp:294)
19  com.apple.WebCore        	0x0138c5fb WebCore::RenderSVGContainer::paint(WebCore::RenderObject::PaintInfo&, int, int) + 2513 (RenderSVGContainer.cpp:191)
20  com.apple.WebCore        	0x011605cf WebCore::RenderBox::paint(WebCore::RenderObject::PaintInfo&, int, int) + 169 (RenderBox.cpp:294)
21  com.apple.WebCore        	0x0138c5fb WebCore::RenderSVGContainer::paint(WebCore::RenderObject::PaintInfo&, int, int) + 2513 (RenderSVGContainer.cpp:191)
22  com.apple.WebCore        	0x011605cf WebCore::RenderBox::paint(WebCore::RenderObject::PaintInfo&, int, int) + 169 (RenderBox.cpp:294)
23  com.apple.WebCore        	0x0138c5fb WebCore::RenderSVGContainer::paint(WebCore::RenderObject::PaintInfo&, int, int) + 2513 (RenderSVGContainer.cpp:191)
24  com.apple.WebCore        	0x011605cf WebCore::RenderBox::paint(WebCore::RenderObject::PaintInfo&, int, int) + 169 (RenderBox.cpp:294)
25  com.apple.WebCore        	0x0138c5fb WebCore::RenderSVGContainer::paint(WebCore::RenderObject::PaintInfo&, int, int) + 2513 (RenderSVGContainer.cpp:191)
26  com.apple.WebCore        	0x011605cf WebCore::RenderBox::paint(WebCore::RenderObject::PaintInfo&, int, int) + 169 (RenderBox.cpp:294)
27  com.apple.WebCore        	0x0138c5fb WebCore::RenderSVGContainer::paint(WebCore::RenderObject::PaintInfo&, int, int) + 2513 (RenderSVGContainer.cpp:191)
28  com.apple.WebCore        	0x011605cf WebCore::RenderBox::paint(WebCore::RenderObject::PaintInfo&, int, int) + 169 (RenderBox.cpp:294)
29  com.apple.WebCore        	0x0138c5fb WebCore::RenderSVGContainer::paint(WebCore::RenderObject::PaintInfo&, int, int) + 2513 (RenderSVGContainer.cpp:191)
30  com.apple.WebCore        	0x011605cf WebCore::RenderBox::paint(WebCore::RenderObject::PaintInfo&, int, int) + 169 (RenderBox.cpp:294)
31  com.apple.WebCore        	0x0138c5fb WebCore::RenderSVGContainer::paint(WebCore::RenderObject::PaintInfo&, int, int) + 2513 (RenderSVGContainer.cpp:191)
32  com.apple.WebCore        	0x01153e07 WebCore::RenderBlock::paintChildren(WebCore::RenderObject::PaintInfo&, int, int) + 635 (RenderBlock.cpp:1318)
33  com.apple.WebCore        	0x0115aec8 WebCore::RenderBlock::paintObject(WebCore::RenderObject::PaintInfo&, int, int) + 324 (RenderBlock.cpp:1373)
34  com.apple.WebCore        	0x011692d2 WebCore::RenderView::paint(WebCore::RenderObject::PaintInfo&, int, int) + 82 (RenderView.cpp:147)
35  com.apple.WebCore        	0x01182606 WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*, WebCore::GraphicsContext*, WebCore::IntRect const&, bool, WebCore::PaintRestriction, WebCore::RenderObject*) + 1434 (RenderLayer.cpp:1439)
36  com.apple.WebCore        	0x01182892 WebCore::RenderLayer::paint(WebCore::GraphicsContext*, WebCore::IntRect const&, WebCore::PaintRestriction, WebCore::RenderObject*) + 60 (RenderLayer.cpp:1331)
37  com.apple.WebCore        	0x010e16df WebCore::Frame::paint(WebCore::GraphicsContext*, WebCore::IntRect const&) + 539 (Frame.cpp:1074)
38  com.apple.WebCore        	0x0110203d -[WebCoreFrameBridge drawRect:] + 463 (WebCoreFrameBridge.mm:482)
39  com.apple.WebKit         	0x0034156f -[WebHTMLView drawSingleRect:] + 621 (WebHTMLView.m:2679)
40  com.apple.WebKit         	0x00341945 -[WebHTMLView drawRect:] + 459 (WebHTMLView.m:2729)
41  com.apple.AppKit         	0x932ee3b1 -[NSView _drawRect:clip:] + 3228
42  com.apple.AppKit         	0x932ed40b -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 614
43  com.apple.WebKit         	0x0033b2df -[WebHTMLView(WebPrivate) _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 673 (WebHTMLView.m:895)
44  com.apple.AppKit         	0x932ff36f _recursiveDisplayInRect2 + 149
45  com.apple.CoreFoundation 	0x9083af26 CFArrayApplyFunction + 307
46  com.apple.AppKit         	0x932ed613 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1134
47  com.apple.AppKit         	0x932ec473 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 217
48  com.apple.AppKit         	0x932ed041 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3239
49  com.apple.AppKit         	0x932ed041 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3239
50  com.apple.AppKit         	0x932ed041 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3239
51  com.apple.AppKit         	0x932ed041 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3239
52  com.apple.AppKit         	0x932ed041 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3239
53  com.apple.AppKit         	0x932ed041 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3239
54  com.apple.AppKit         	0x932ebb78 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 290
55  com.apple.AppKit         	0x932eb362 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 523
56  com.apple.AppKit         	0x932eac8e -[NSView displayIfNeeded] + 439
57  com.apple.AppKit         	0x932eaa32 -[NSWindow displayIfNeeded] + 168
58  com.apple.Safari         	0x0001c394 0x1000 + 111508
59  com.apple.AppKit         	0x9333ad6c _handleWindowNeedsDisplay + 206
60  com.apple.CoreFoundation 	0x9082a155 __CFRunLoopDoObservers + 342
61  com.apple.CoreFoundation 	0x908291f7 CFRunLoopRunSpecific + 827
62  com.apple.CoreFoundation 	0x90828eb5 CFRunLoopRunInMode + 61
63  com.apple.HIToolbox      	0x92dcdb90 RunCurrentEventLoopInMode + 285
64  com.apple.HIToolbox      	0x92dcd297 ReceiveNextEventCommon + 385
65  com.apple.HIToolbox      	0x92dcd0ee BlockUntilNextEventMatchingListInMode + 81
66  com.apple.AppKit         	0x9326f465 _DPSNextEvent + 572
67  com.apple.AppKit         	0x9326f056 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 137
68  com.apple.Safari         	0x00006f96 0x1000 + 24470
69  com.apple.AppKit         	0x93268ddb -[NSApplication run] + 512
70  com.apple.AppKit         	0x9325cd2f NSApplicationMain + 573
71  com.apple.Safari         	0x0005f7de 0x1000 + 387038
72  com.apple.Safari         	0x0005f6f9 0x1000 + 386809

Thread 1:
0   libSystem.B.dylib        	0x90009857 mach_msg_trap + 7
1   com.unsanity.ape         	0xc0001db2 __ape_agent + 307
2   libSystem.B.dylib        	0x90023d87 _pthread_body + 84

Thread 2:
0   libSystem.B.dylib        	0x90019d3c select + 12
1   libSystem.B.dylib        	0x90023d87 _pthread_body + 84

Thread 3:
0   libSystem.B.dylib        	0x90024427 semaphore_wait_signal_trap + 7
1   com.apple.Foundation     	0x9264b2f8 -[NSConditionLock lockWhenCondition:] + 39
2   com.apple.Syndication    	0x9a4c0052 -[AsyncDB _run:] + 181
3   com.apple.Foundation     	0x925f536c forkThreadForFunction + 123
4   libSystem.B.dylib        	0x90023d87 _pthread_body + 84

Thread 4:
0   libSystem.B.dylib        	0x90009857 mach_msg_trap + 7
1   com.apple.CoreFoundation 	0x9082969a CFRunLoopRunSpecific + 2014
2   com.apple.CoreFoundation 	0x90828eb5 CFRunLoopRunInMode + 61
3   com.apple.Foundation     	0x9262aa9b +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] + 259
4   com.apple.Foundation     	0x925f536c forkThreadForFunction + 123
5   libSystem.B.dylib        	0x90023d87 _pthread_body + 84

Thread 5:
0   libSystem.B.dylib        	0x90009857 mach_msg_trap + 7
1   com.apple.CoreFoundation 	0x9082969a CFRunLoopRunSpecific + 2014
2   com.apple.CoreFoundation 	0x90828eb5 CFRunLoopRunInMode + 61
3   com.apple.Foundation     	0x92651c4e +[NSURLCache _diskCacheSyncLoop:] + 206
4   com.apple.Foundation     	0x925f536c forkThreadForFunction + 123
5   libSystem.B.dylib        	0x90023d87 _pthread_body + 84

Thread 6:
0   libSystem.B.dylib        	0x90024427 semaphore_wait_signal_trap + 7
1   com.apple.Foundation     	0x9264b2f8 -[NSConditionLock lockWhenCondition:] + 39
2   com.apple.AppKit         	0x93346270 -[NSUIHeartBeat _heartBeatThread:] + 377
3   com.apple.Foundation     	0x925f536c forkThreadForFunction + 123
4   libSystem.B.dylib        	0x90023d87 _pthread_body + 84

Thread 7:
0   libSystem.B.dylib        	0x90024427 semaphore_wait_signal_trap + 7
1   com.apple.ColorSync      	0x9159b6bf pthreadSemaphoreWait(t_pthreadSemaphore*) + 35
2   com.apple.ColorSync      	0x915b5dd0 CMMConvTask(void*) + 60
3   libSystem.B.dylib        	0x90023d87 _pthread_body + 84

Thread 8:
0   libSystem.B.dylib        	0x90009857 mach_msg_trap + 7
1   com.apple.opengl         	0x931c46e4 glcDebugListener + 338
2   libSystem.B.dylib        	0x90023d87 _pthread_body + 84

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0xbbadbeef    ebx: 0x013de1a0 ecx: 0xa0001e60 edx: 0x00000000
  edi: 0x180e1a70    esi: 0x00000000 ebp: 0xbfffa238 esp: 0xbfffa1c0
   ss: 0x0000001f    efl: 0x00010286 eip: 0x013de1fc  cs: 0x00000017
   ds: 0x0000001f     es: 0x0000001f  fs: 0x00000000  gs: 0x00000037

Binary Images Description:
    0x1000 -    0xdefff com.apple.Safari 2.0.4 (419.3)	/Applications/Safari.app/Contents/MacOS/Safari
  0x305000 -   0x3dcfff com.apple.WebKit 420+	/Stuff/Projects/WebKit/WebKitBuild/Debug/WebKit.framework/Versions/A/WebKit
  0x4b3000 -   0x55dfff com.apple.JavaScriptCore 420+	/Stuff/Projects/WebKit/WebKitBuild/Debug/JavaScriptCore.framework/Versions/A/JavaScriptCore
  0x79e000 -   0x7a0fff net.culater.SIMBL 0.8.2 (8)	/Library/InputManagers/SIMBL/SIMBL.bundle/Contents/MacOS/SIMBL
 0x1008000 -  0x15d1fff com.apple.WebCore 420+	/Stuff/Projects/WebKit/WebKitBuild/Debug/WebCore.framework/Versions/A/WebCore
0x1726e000 - 0x17287fff com.apple.AppleIntermediateCodec 1.1 (141)	/Library/QuickTime/AppleIntermediateCodec.component/Contents/MacOS/AppleIntermediateCodec
0x172e6000 - 0x17322fff com.apple.QuickTimeFireWireDV.component 7.1.3	/System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/MacOS/QuickTimeFireWireDV
0x1732e000 - 0x17347fff com.apple.applepixletvideo 1.2.9 (1.2d9)	/System/Library/QuickTime/ApplePixletVideo.component/Contents/MacOS/ApplePixletVideo
0x17b05000 - 0x17cf8fff net.telestream.wmv.import 2.1.0.33	/Library/QuickTime/Flip4Mac WMV Import.component/Contents/MacOS/Flip4Mac WMV Import
0x18797000 - 0x187b3fff GLDriver 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLDriver.bundle/GLDriver
0x1894f000 - 0x18973fff GLRendererFloat 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLRendererFloat.bundle/GLRendererFloat
0x1e505000 - 0x1e65efff GLEngine 	/System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
0x1f409000 - 0x1f5f7fff com.apple.ATIRadeonX1000GLDriver 1.4.40 (4.4.0)	/System/Library/Extensions/ATIRadeonX1000GLDriver.bundle/Contents/MacOS/ATIRadeonX1000GLDriver
0x8fe00000 - 0x8fe49fff dyld 46.9	/usr/lib/dyld
0x90000000 - 0x9016ffff libSystem.B.dylib 	/usr/lib/libSystem.B.dylib
0x901bf000 - 0x901c1fff libmathCommon.A.dylib 	/usr/lib/system/libmathCommon.A.dylib
0x901c3000 - 0x901fffff com.apple.CoreText 1.1.1 (???)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x90226000 - 0x902fcfff ATS 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x9031c000 - 0x90770fff com.apple.CoreGraphics 1.258.38 (???)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x90807000 - 0x908cffff com.apple.CoreFoundation 6.4.6 (368.27)	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x9090d000 - 0x9090dfff com.apple.CoreServices 10.4 (???)	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x9090f000 - 0x90a02fff libicucore.A.dylib 	/usr/lib/libicucore.A.dylib
0x90a52000 - 0x90ad1fff libobjc.A.dylib 	/usr/lib/libobjc.A.dylib
0x90afa000 - 0x90b5efff libstdc++.6.dylib 	/usr/lib/libstdc++.6.dylib
0x90bcd000 - 0x90bd4fff libgcc_s.1.dylib 	/usr/lib/libgcc_s.1.dylib
0x90bd9000 - 0x90c4cfff com.apple.framework.IOKit 1.4.6 (???)	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90c61000 - 0x90c73fff libauto.dylib 	/usr/lib/libauto.dylib
0x90c79000 - 0x90f1ffff com.apple.CoreServices.CarbonCore 682.15	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90f62000 - 0x90fcafff com.apple.CoreServices.OSServices 4.1	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x91002000 - 0x91040fff com.apple.CFNetwork 129.19	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x91053000 - 0x91063fff com.apple.WebServices 1.1.3 (1.1.0)	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x9106e000 - 0x910ecfff com.apple.SearchKit 1.0.5	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x91121000 - 0x9113ffff com.apple.Metadata 10.4.4 (121.36)	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x9114b000 - 0x91159fff libz.1.dylib 	/usr/lib/libz.1.dylib
0x9115c000 - 0x912fbfff com.apple.security 4.5.2 (29774)	/System/Library/Frameworks/Security.framework/Versions/A/Security
0x913f9000 - 0x91401fff com.apple.DiskArbitration 2.1.1	/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x91408000 - 0x9142efff com.apple.SystemConfiguration 1.8.6	/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x91440000 - 0x91447fff libbsm.dylib 	/usr/lib/libbsm.dylib
0x9144b000 - 0x914c4fff com.apple.audio.CoreAudio 3.0.4	/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x91512000 - 0x91512fff com.apple.ApplicationServices 10.4 (???)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x91514000 - 0x9153ffff com.apple.AE 314 (313)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x91552000 - 0x91626fff com.apple.ColorSync 4.4.8	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x91661000 - 0x916defff com.apple.print.framework.PrintCore 4.6 (177.13)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x9170b000 - 0x917b4fff com.apple.QD 3.10.21 (???)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x917da000 - 0x91825fff com.apple.HIServices 1.5.2 (???)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x91844000 - 0x9185afff com.apple.LangAnalysis 1.6.3	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x91866000 - 0x91880fff com.apple.FindByContent 1.5	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x9188a000 - 0x918c7fff com.apple.LaunchServices 181	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x918db000 - 0x918e7fff com.apple.speech.synthesis.framework 3.5	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x918ee000 - 0x91929fff com.apple.ImageIO.framework 1.5.0	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x9193b000 - 0x919edfff libcrypto.0.9.7.dylib 	/usr/lib/libcrypto.0.9.7.dylib
0x91a33000 - 0x91a49fff libcups.2.dylib 	/usr/lib/libcups.2.dylib
0x91a4e000 - 0x91a6cfff libJPEG.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91a71000 - 0x91acffff libJP2.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91ae1000 - 0x91ae5fff libGIF.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91ae7000 - 0x91b64fff libRaw.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91b68000 - 0x91ba5fff libTIFF.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91bab000 - 0x91bc5fff libPng.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91bca000 - 0x91bccfff libRadiance.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91bce000 - 0x91bcefff com.apple.Accelerate 1.3.1 (Accelerate 1.3.1)	/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91bd0000 - 0x91c5efff com.apple.vImage 2.5	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x91c65000 - 0x91c65fff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1)	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x91c67000 - 0x91cc0fff libvMisc.dylib 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x91cc9000 - 0x91cedfff libvDSP.dylib 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x91cf5000 - 0x920fefff libBLAS.dylib 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x92138000 - 0x924ecfff libLAPACK.dylib 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x92519000 - 0x92597fff com.apple.DesktopServices 1.3.5	/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x925d8000 - 0x92808fff com.apple.Foundation 6.4.7 (567.28)	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92914000 - 0x929f2fff libxml2.2.dylib 	/usr/lib/libxml2.2.dylib
0x92a0f000 - 0x92afcfff libiconv.2.dylib 	/usr/lib/libiconv.2.dylib
0x92b0c000 - 0x92b23fff libGL.dylib 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92b2e000 - 0x92b86fff libGLU.dylib 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92b9a000 - 0x92b9afff com.apple.Carbon 10.4 (???)	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92b9c000 - 0x92bacfff com.apple.ImageCapture 3.0.4	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x92bba000 - 0x92bc2fff com.apple.speech.recognition.framework 3.6	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x92bc8000 - 0x92bcdfff com.apple.securityhi 2.0.1 (24742)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x92bd3000 - 0x92c64fff com.apple.ink.framework 101.2.1 (71)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x92c78000 - 0x92c7bfff com.apple.help 1.0.3 (32.1)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x92c7e000 - 0x92c9bfff com.apple.openscripting 1.2.5 (???)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x92cab000 - 0x92cb1fff com.apple.print.framework.Print 5.2 (192.4)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x92cb7000 - 0x92d1afff com.apple.htmlrendering 66.1 (1.1.3)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x92d3e000 - 0x92d7ffff com.apple.NavigationServices 3.4.4 (3.4.3)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x92da6000 - 0x92db3fff com.apple.audio.SoundManager 3.9.1	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x92dba000 - 0x92dbffff com.apple.CommonPanels 1.2.3 (73)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x92dc4000 - 0x930b6fff com.apple.HIToolbox 1.4.8 (???)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x931bb000 - 0x931c6fff com.apple.opengl 1.4.12	/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x931cb000 - 0x931e6fff com.apple.DirectoryService.Framework 3.2	/System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
0x93256000 - 0x93256fff com.apple.Cocoa 6.4 (???)	/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x93258000 - 0x9390efff com.apple.AppKit 6.4.8 (824.42)	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x93c8f000 - 0x93d09fff com.apple.CoreData 90	/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x93d42000 - 0x93e03fff com.apple.audio.toolbox.AudioToolbox 1.4.3	/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x93e43000 - 0x93e43fff com.apple.audio.units.AudioUnit 1.4.2	/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x93e45000 - 0x94017fff com.apple.QuartzCore 1.4.9	/System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x94068000 - 0x940a9fff libsqlite3.0.dylib 	/usr/lib/libsqlite3.0.dylib
0x940b1000 - 0x940ebfff libGLImage.dylib 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x94179000 - 0x941b7fff com.apple.vmutils 4.0.2 (93.1)	/System/Library/PrivateFrameworks/vmutils.framework/Versions/A/vmutils
0x941fb000 - 0x9420bfff com.apple.securityfoundation 2.2.1 (28150)	/System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x94218000 - 0x94255fff com.apple.securityinterface 2.2.1 (27695)	/System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInterface
0x94271000 - 0x94280fff libCGATS.A.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x94287000 - 0x94292fff libCSync.A.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x94297000 - 0x942bbfff libPDFRIP.A.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib
0x942de000 - 0x942f8fff libRIP.A.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x942fe000 - 0x945b7fff com.apple.QuickTime 7.1.3	/System/Library/Frameworks/QuickTime.framework/QuickTime
0x94718000 - 0x94861fff com.apple.AddressBook.framework 4.0.4 (485.1)	/System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
0x948ed000 - 0x948fcfff com.apple.DSObjCWrappers.Framework 1.1	/System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWrappers
0x94903000 - 0x9492cfff com.apple.LDAPFramework 1.4.2 (69.1.1)	/System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x94932000 - 0x94941fff libsasl2.2.dylib 	/usr/lib/libsasl2.2.dylib
0x94945000 - 0x9496afff libssl.0.9.7.dylib 	/usr/lib/libssl.0.9.7.dylib
0x94976000 - 0x94993fff libresolv.9.dylib 	/usr/lib/libresolv.9.dylib
0x95742000 - 0x95765fff libxslt.1.dylib 	/usr/lib/libxslt.1.dylib
0x95fff000 - 0x96000fff libCyrillicConverter.dylib 	/System/Library/CoreServices/Encodings/libCyrillicConverter.dylib
0x96002000 - 0x96003fff libGreekConverter.dylib 	/System/Library/CoreServices/Encodings/libGreekConverter.dylib
0x96007000 - 0x9601dfff libJapaneseConverter.dylib 	/System/Library/CoreServices/Encodings/libJapaneseConverter.dylib
0x9601f000 - 0x96040fff libKoreanConverter.dylib 	/System/Library/CoreServices/Encodings/libKoreanConverter.dylib
0x9604d000 - 0x9605bfff libSimplifiedChineseConverter.dylib 	/System/Library/CoreServices/Encodings/libSimplifiedChineseConverter.dylib
0x96060000 - 0x96061fff libThaiConverter.dylib 	/System/Library/CoreServices/Encodings/libThaiConverter.dylib
0x96063000 - 0x96075fff libTraditionalChineseConverter.dylib 	/System/Library/CoreServices/Encodings/libTraditionalChineseConverter.dylib
0x96a19000 - 0x96a19fff com.apple.vecLib 3.3.1 (vecLib 3.3.1)	/System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x96f8f000 - 0x9705dfff libGLProgrammability.dylib 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x97078000 - 0x97079fff libGLSystem.dylib 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLSystem.dylib
0x9707b000 - 0x97080fff com.apple.agl 2.5.9 (AGL-2.5.9)	/System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x98b1c000 - 0x99606fff com.apple.QuickTimeComponents.component 7.1.3	/System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTimeComponents
0x99815000 - 0x99817fff com.apple.QuickTimeH264.component 7.1.3	/System/Library/QuickTime/QuickTimeH264.component/Contents/MacOS/QuickTimeH264
0x99819000 - 0x999c1fff QuickTimeH264.scalar 	/System/Library/QuickTime/QuickTimeH264.component/Contents/Resources/QuickTimeH264.scalar
0x99a31000 - 0x99aeefff com.apple.QuickTimeMPEG4.component 7.1.3	/System/Library/QuickTime/QuickTimeMPEG4.component/Contents/MacOS/QuickTimeMPEG4
0x9a4bd000 - 0x9a4f4fff com.apple.Syndication 1.0.6 (54)	/System/Library/PrivateFrameworks/Syndication.framework/Versions/A/Syndication
0x9a510000 - 0x9a522fff com.apple.SyndicationUI 1.0.6 (54)	/System/Library/PrivateFrameworks/SyndicationUI.framework/Versions/A/SyndicationUI
0xc0000000 - 0xc000efff com.unsanity.ape 2.0	/Library/Frameworks/ApplicationEnhancer.framework/Versions/A/ApplicationEnhancer
Comment 1 Eric Seidel (no email) 2006-12-21 05:49:33 PST
It looks like something is trying to use a mask before it's been attached.

item is 0.  meaning there is no renderer() on the Masker yet.

Here is another copy of the backtrace:

#0	0x013de1f8 in WebCore::ImageBuffer::renderSubtreeToImage at ImageBuffer.cpp:40
#1	0x010cb588 in WebCore::SVGMaskElement::drawMaskerContent at SVGMaskElement.cpp:123
#2	0x010cbb98 in WebCore::SVGMaskElement::canvasResource at SVGMaskElement.cpp:143
#3	0x013a1720 in WebCore::getResourceById at SVGResource.cpp:83
#4	0x013a24c2 in WebCore::getMaskerById at SVGResourceMasker.cpp:62
#5	0x0138c42d in WebCore::RenderSVGContainer::paint at RenderSVGContainer.cpp:174
#6	0x011605cb in WebCore::RenderBox::paint at RenderBox.cpp:295
#7	0x0138c5f7 in WebCore::RenderSVGContainer::paint at RenderSVGContainer.cpp:189
#8	0x011605cb in WebCore::RenderBox::paint at RenderBox.cpp:295
#9	0x0138c5f7 in WebCore::RenderSVGContainer::paint at RenderSVGContainer.cpp:189
#10	0x011605cb in WebCore::RenderBox::paint at RenderBox.cpp:295
#11	0x0138c5f7 in WebCore::RenderSVGContainer::paint at RenderSVGContainer.cpp:189
#12	0x011605cb in WebCore::RenderBox::paint at RenderBox.cpp:295
#13	0x0138c5f7 in WebCore::RenderSVGContainer::paint at RenderSVGContainer.cpp:189
#14	0x011605cb in WebCore::RenderBox::paint at RenderBox.cpp:295
#15	0x0138c5f7 in WebCore::RenderSVGContainer::paint at RenderSVGContainer.cpp:189
#16	0x011605cb in WebCore::RenderBox::paint at RenderBox.cpp:295
#17	0x0138c5f7 in WebCore::RenderSVGContainer::paint at RenderSVGContainer.cpp:189
#18	0x011605cb in WebCore::RenderBox::paint at RenderBox.cpp:295
#19	0x0138c5f7 in WebCore::RenderSVGContainer::paint at RenderSVGContainer.cpp:189
#20	0x011605cb in WebCore::RenderBox::paint at RenderBox.cpp:295
#21	0x0138c5f7 in WebCore::RenderSVGContainer::paint at RenderSVGContainer.cpp:189
#22	0x011605cb in WebCore::RenderBox::paint at RenderBox.cpp:295
#23	0x0138c5f7 in WebCore::RenderSVGContainer::paint at RenderSVGContainer.cpp:189
#24	0x011605cb in WebCore::RenderBox::paint at RenderBox.cpp:295
#25	0x0138c5f7 in WebCore::RenderSVGContainer::paint at RenderSVGContainer.cpp:189
#26	0x011605cb in WebCore::RenderBox::paint at RenderBox.cpp:295
#27	0x0138c5f7 in WebCore::RenderSVGContainer::paint at RenderSVGContainer.cpp:189
#28	0x011605cb in WebCore::RenderBox::paint at RenderBox.cpp:295
#29	0x0138c5f7 in WebCore::RenderSVGContainer::paint at RenderSVGContainer.cpp:189
#30	0x011605cb in WebCore::RenderBox::paint at RenderBox.cpp:295
#31	0x0138c5f7 in WebCore::RenderSVGContainer::paint at RenderSVGContainer.cpp:189
#32	0x01153e03 in WebCore::RenderBlock::paintChildren at RenderBlock.cpp:1315
#33	0x0115aec4 in WebCore::RenderBlock::paintObject at RenderBlock.cpp:1369
#34	0x011692ce in WebCore::RenderView::paint at RenderView.cpp:146
#35	0x01182602 in WebCore::RenderLayer::paintLayer at RenderLayer.cpp:1438
#36	0x0118288e in WebCore::RenderLayer::paint at RenderLayer.cpp:1330
#37	0x010e16db in WebCore::Frame::paint at Frame.cpp:1070
#38	0x01102039 in -[WebCoreFrameBridge drawRect:] at WebCoreFrameBridge.mm:481
#39	0x0034158b in -[WebHTMLView drawSingleRect:] at WebHTMLView.m:2678
#40	0x00341961 in -[WebHTMLView drawRect:] at WebHTMLView.m:2729
#41	0x932ee3b1 in -[NSView _drawRect:clip:]
#42	0x932ed40b in -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
#43	0x0033b2fb in -[WebHTMLView(WebPrivate) _recursiveDisplayAllDirtyWithLockFocus:visRect:] at WebHTMLView.m:893
#44	0x932ec473 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
#45	0x0033affb in -[WebHTMLView(WebPrivate) _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] at WebHTMLView.m:848
#46	0x932ed041 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
#47	0x932ed041 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
#48	0x932ed041 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
#49	0x932ed041 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
#50	0x932ed041 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
#51	0x932ed041 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
#52	0x932ed041 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
#53	0x932ebb78 in -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
#54	0x932eb362 in -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
#55	0x932eac8e in -[NSView displayIfNeeded]
#56	0x932eaa32 in -[NSWindow displayIfNeeded]
#57	0x0001c394 in ??
#58	0x9333ad6c in _handleWindowNeedsDisplay
#59	0x9082a155 in __CFRunLoopDoObservers
#60	0x908291f7 in CFRunLoopRunSpecific
#61	0x90828eb5 in CFRunLoopRunInMode
#62	0x92dcdb90 in RunCurrentEventLoopInMode
#63	0x92dcd297 in ReceiveNextEventCommon
#64	0x92dcd0ee in BlockUntilNextEventMatchingListInMode
#65	0x9326f465 in _DPSNextEvent
#66	0x9326f056 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
#67	0x00006f96 in ??
#68	0x93268ddb in -[NSApplication run]
#69	0x9325cd2f in NSApplicationMain
#70	0x0005f7de in ??
#71	0x0005f6f9 in ??
Comment 2 Eric Seidel (no email) 2006-12-21 06:00:41 PST
Hum.  Looks like it's been attached, but has not renderer()  odd.

(gdb) p renderer()
$1 = (class WebCore::RenderObject *) 0x0
Current language:  auto; currently c++
(gdb) p attached()
$2 = true

Wow.  showTreeForThis() is not very useful with SVGs ;)

Perhaps one of its parents responded false to childShouldCreateRenderer(this) (meaning its a mask inside a switch statement).  Not sure if that's the case here though.  Although that looks like such an SVG would produce a similar bug.

Comment 3 Maciej Stachowiak 2007-01-29 03:49:29 PST
<rdar://problem/4960649>
Comment 4 Maciej Stachowiak 2007-02-07 06:12:16 PST
<rdar://problem/4960497>
Comment 5 Maciej Stachowiak 2007-02-12 04:11:44 PST
Please provide a copy.
Comment 6 Maciej Stachowiak 2007-02-27 23:08:43 PST
No longer crashes, but it does come out blank.
Comment 7 Nikolas Zimmermann 2007-07-16 12:21:37 PDT
(In reply to comment #6)
> No longer crashes, but it does come out blank.
> 
Does not crash or come out blank in feature-branch anymore.
Still has two tiny issues related to bbox calculation/wrong clipping
that Rob and me are both aware of and working on.

Greetings,
Niko
Comment 8 Rob Buis 2007-07-17 12:28:17 PDT
(In reply to comment #7)
> (In reply to comment #6)
> > No longer crashes, but it does come out blank.
> > 
> Does not crash or come out blank in feature-branch anymore.
> Still has two tiny issues related to bbox calculation/wrong clipping
> that Rob and me are both aware of and working on.

Update: the path thing at the bottom that does not show up in webkit, but does in Opera, must be due to filter problems, I think we can skip it for now. The other problem is the ship that is clipped. My guess is that this is to viewBox confusion, but not sure. It is a problem since Opera handles it.
Cheers,

Rob.
Comment 9 Rob Buis 2007-07-30 13:11:32 PDT
Created attachment 15749 [details]
First attempt

This should fix the last problem with treasure_map.svg.
Cheers,

Rob.
Comment 10 Nikolas Zimmermann 2007-07-30 13:17:28 PDT
Hi Rob,
 
> This should fix the last problem with treasure_map.svg.

very cool stuff! It like a comment in the code though why viewportTransform
has to be included there, to make it easier to understand.

From what I guess, it's only relevant for <svg> elements which are not the
outermost SVG element, right?

If that assumption holds true, I understood it and give r=me. :-)

Greetings,
Niko
Comment 11 Rob Buis 2007-08-01 12:46:55 PDT
Created attachment 15789 [details]
Also fixing the root <svg>

Nikolas was right, root <svg> needs to also take it into account, so there you go :-)
Cheers,

Rob.
Comment 12 Nikolas Zimmermann 2007-08-01 13:24:49 PDT
(In reply to comment #11)
> Created an attachment (id=15789) [edit]
> Also fixing the root <svg>
> 
> Nikolas was right, root <svg> needs to also take it into account, so there you
> go :-)
> Cheers,

Good that it worked out.
I'm sorry but I think I see another issue :-)

why do you mapRect() the viewportTransform
for each child, to unite the mapped rects.
From what I see, you could just as well mapRect()
the viewportTransform with a single rect afterwards.
That will be faster :-)

Greetings,
Niko
Comment 13 Eric Seidel (no email) 2007-08-01 15:25:46 PDT
I still wish someone would have a brilliant stroke of genius and make all of our container classes make sense some day... ;)  I'm glad that the root <svg> object is split out, but I'm saddened that RenderSVGContainer (<g>, etc) needs special <svg> behavior... oh well, that will all go away as part of 1.2 some day. :)
Comment 14 Nikolas Zimmermann 2007-08-01 16:00:18 PDT
(In reply to comment #13)
> I still wish someone would have a brilliant stroke of genius and make all of
> our container classes make sense some day... ;)  I'm glad that the root <svg>
> object is split out, but I'm saddened that RenderSVGContainer (<g>, etc) needs
> special <svg> behavior... oh well, that will all go away as part of 1.2 some
> day. :)

Hey Eric, glad to have you back commenting :-) I missed that.

This is totally a top-priority issue in feature-branch. I've worked to remove the
RenderContainer inheritance, RenderSVGContainer is a true RenderObject nowadays.
(The patch you started actually :-) This is in fb since a few weeks.

The next step was to split out <svg> specific stuff from RenderSVGContainer in a new
class RenderSVGInnerSVGContainer. Then we just have a single RenderSVGContainer class
and two special classes inheriting from it, namely:
- RenderSVGHiddenContainer (for ie. <defs>)
- RenderSVGInnerSVGContainer (for an inner <svg> element within the document)

This way RenderSVGContainer will be special-case free clean code, as it should be.

RenderSVGRoot represents the outermost <svg> element (it inherits from RenderContainer,
to deal with the HTML parent translation offsets).

I've worked hard to fix SVG text rendering in XHTML, and in general inline SVG in XHTML
problems, ie. for calculating absolute rects, text selection (!). It's way better than it was at
WWDC :-)

I'm just working on RTL text selection, and after that I plan to do the RenderSVGInnerSVGContainer
move. Requesting for comments, of course.

In case Rob's patch doesn't break anything (ie. text selection ;-) and if the mapRect() is done
after unite(), I'm going to r+ it.

Greetings,
Niko


- RenderSVGRoot 
Comment 15 Nikolas Zimmermann 2007-08-01 16:20:09 PDT
OOPS, got the formatting wrong. Retrying with same content:


Hey Eric, glad to have you back commenting :-) I missed that.

This is totally a top-priority issue in feature-branch. I've worked to remove the RenderContainer inheritance, RenderSVGContainer is a true RenderObject nowadays. (The patch you started actually :-) This is in fb since a few weeks.

The next step was to split out <svg> specific stuff from RenderSVGContainer in a new class RenderSVGInnerSVGContainer. Then we just have a single RenderSVGContainer class and two special classes inheriting from it, namely:

- RenderSVGHiddenContainer (for ie. <defs>)
- RenderSVGInnerSVGContainer (for an inner <svg> element within the document)

This way RenderSVGContainer will be special-case free clean code, as it should be.

RenderSVGRoot represents the outermost <svg> element (it inherits from RenderContainer, to deal with the HTML parent translation offsets).

I've worked hard to fix SVG text rendering in XHTML, and in general inline SVG in XHTML problems, ie. for calculating absolute rects, text selection (!). It's way better than it was at WWDC :-)

I'm just working on RTL text selection, and after that I plan to do the RenderSVGInnerSVGContainer move. Requesting for comments, of course.

In case Rob's patch doesn't break anything (ie. text selection ;-) and if the mapRect() is done after unite(), I'm going to r+ it.

Greetings,
Niko
Comment 16 Eric Seidel (no email) 2007-08-02 05:51:12 PDT
Sounds nifty. :)
Comment 17 Oliver Hunt 2007-08-10 00:57:17 PDT
Comment on attachment 15789 [details]
Also fixing the root <svg>

r=me (and apparently niko)

Landed r24932