Closed Bug 293072 Opened 19 years ago Closed 19 years ago

Crash loading <object data="foo.svg"/> (nsObjectFrame::CreateDefaultFrames)

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ian, Unassigned)

References

()

Details

STEPS TO REPRODUCE
 1. Load http://www.hixie.ch/www/tests/adhoc/cdf/demos/3.5.1.1/001.xml

ACTUAL RESULTS
 Crash.

REGRESSON
 Crashes on trunk. Doesn't crash 1.0 builds.

CRASH LOG
#5  <signal handler called>
#6  0x55415ed6 in nsObjectFrame::CreateDefaultFrames (this=0x931660c, 
    aPresContext=0x92d5220, aMetrics=@0xfeffbb50, aReflowState=@0xfeffbba0)
    at ../../../mozilla/layout/generic/nsObjectFrame.cpp:1621
#7  0x5541436c in nsObjectFrame::Reflow (this=0x931660c, 
    aPresContext=0x92d5220, aMetrics=@0xfeffbb50, aReflowState=@0xfeffbba0, 
    aStatus=@0xfeffbd18)
    at ../../../mozilla/layout/generic/nsObjectFrame.cpp:1014
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050503
Firefox/1.0+ (debug build)

I didn't get a crash but I did get these messages:

WARNING: no context in AxisLength(), file
../../../../../../src/content/svg/content/src/nsSVGLength.cpp, line 556
WARNING: no context in AxisLength(), file
../../../../../../src/content/svg/content/src/nsSVGLength.cpp, line 556
viewport/viewbox/preserveAspectRatio will be changed
viewport/viewbox/preserveAspectRatio will be changed
WARNING: no context in AxisLength(), file
../../../../../../src/content/svg/content/src/nsSVGLength.cpp, line 556
viewport/viewbox/preserveAspectRatio will be changed
viewport/viewbox/preserveAspectRatio will be changed
SVG Viewport=(0?,0?,100.000000,100.000000)
SVG Viewbox=(0.000000,0.000000,100.000000,100.000000)
SVG Viewbox->Viewport xform [a c e] = [1.000000,   0, 0.000000]
                            [b d f] = [   0,  1.000000, 0.000000]
wfm Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050504 Firefox/1.0+

Preference svg.enabled is default true now on both Mozilla and Firefox, but svg
isn´t compiled into Mozilla nightlies, so Firefox was crashing in Bug 292222 and
Mozilla not, on certain .svg files when gdiplus.dll was missing.
Ok, you don´t need gdiplus.dll on Linux, but do you have what it takes to render
svg to see the green circle? 
I have svg.enabled set to true, but to my knowledge I do not have SVG in my
build. Accessing image/svg+xml files offers them for download.

Crash ID: TB5670641Z
So... the talkback server has decided to delete that incident.  What's the
callstack here?  The only way this should be crashing at that line is if somehow
our attempt to create an <html:img> created a totally different type of object...
maybe the same like bug 297355 ?
Blocks: 297355
OK, I just built Firefox without SVG enabled, and I can't reproduce this
crash... Is this still a problem in current builds?
WFM, SeaMonkey 2005-12-15-01 trunk Linux
WFM, recent Firefox debug build without SVG support on Linux, I see "FAIL"
instead of the green circle.WFM, Firefox 2005-12-15 trunk build (with SVG support) on Linux.
-> WORKSFORME
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.