Closed Bug 703890 Opened 13 years ago Closed 9 years ago

crash involving feDisplacement map in SVG

Categories

(Core :: Graphics, defect)

8 Branch
All
Windows 7
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: david.dailey, Unassigned)

References

()

Details

(Keywords: crash, reproducible)

Crash Data

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
Build ID: 20111104165243

Steps to reproduce:

https://crash-stats.mozilla.com/report/index/bp-4e4981d8-1994-4198-b69d-215282111119
for web page at 
http://srufaculty.sru.edu/david.dailey/svg/newstuff/filterDisplacementMap4.svg 


Actual results:

Each time I connect to that page, FF8 crashes (hard) -- not just a hang.

The page works in Opera and IE/ASV


Expected results:

Image should be distorted as per animated reflected radial gradient.
If you turn hardware acceleration off Options->Options->Advanced and look for the Use Hardware acceleration check box does it still crash?

It doesn't crash for me on Trunk on Vista but I've not got a hardware accelerated graphics driver and it looks like you do.
Looks like a null deref in the cairo d2d backend?
Component: General → Graphics
QA Contact: general → thebes
Can repo using Build identifier: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:11.0a1) Gecko/20111119 Firefox/11.0a1.

Does not crash when I pref off hardware acceleration.
Status: UNCONFIRMED → NEW
Crash Signature: [@ DrawingContext::CreateRadialGradientBrush(D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES const*, D2D1_BRUSH_PROPERTIES const*, ID2D1GradientStopCollection*, ID2D1RadialGradientBrush**) ]
Ever confirmed: true
Severity: normal → critical
Keywords: crash, reproducible
Hardware: x86_64 → All
Not sure if this is the same bug or not:
http://cs.sru.edu/~svg/Chapter05/G05xx47.svg
I am pretty sure it worked in Firefox at the time the book was written three years ago.
It works as it should in IE11, in Opera12. Chrome does something totally silly, but it seems impossible to report SVG bugs for Chrome these days.
Let me know if I should open a new bug.
According to mozregression this was last bad on 2012-5-22 and first good on 2012-5-23 (so I'm guessing was fixed by bug 756454).  It no longer crashes, but now asserts, which should be fixed by bug 1212954.

After that, I think it still won't be expected to work since it uses feImage to reference an svg fragment (bug 455986), and maybe because the outer svg of that fragment has a percentage width and height (bug 1097856)...
Crash Signature: [@ DrawingContext::CreateRadialGradientBrush(D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES const*, D2D1_BRUSH_PROPERTIES const*, ID2D1GradientStopCollection*, ID2D1RadialGradientBrush**) ] → [@ DrawingContext::CreateRadialGradientBrush(D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES const*, D2D1_BRUSH_PROPERTIES const*, ID2D1GradientStopCollection*, ID2D1RadialGradientBrush**) ] [@ DrawingContext::CreateRadialGradientBrush ]
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.