[Webkit-unassigned] [Bug 10157] REPRO: SVG code crashes on string copy inside KCanvasRenderingStyle paint code

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Jul 29 23:21:26 PDT 2006


------- Comment #1 from macdome at opendarwin.org  2006-07-29 23:21 PDT -------
Somehow it seems that:
    SVGPaint *stroke = style->svgStyle()->strokePaint();

ends up returning a MappedAttribute*

(gdb) p *stroke
warning: RTTI symbol not found for class 'WebCore::MappedAttribute'
$1 = {

At least I believe that's what that debugger output means.  It's printing it as
a SVGPaint * since that's what the variable is locally declared to be.  However
the debugger seems to recognize that its' not actually an SVGPaint.  casting it
to a MappedAttribute* and printing produces a better looking object (valid
pointers for a change!)

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list