Closed Bug 1078693 Opened 10 years ago Closed 10 years ago

Nightly crash in mozilla::gfx::SourceSurfaceD2D1::GetDataSurface()

Categories

(Core :: Graphics, defect)

All
Windows NT
defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla35
Tracking Status
firefox34 --- unaffected
firefox35 + verified

People

(Reporter: kairo, Assigned: bas.schouten)

References

Details

(Keywords: crash, regression)

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is report bp-d51e3b5d-5b72-43d5-8f72-795d52141006. ============================================================= Top Frames: 0 xul.dll mozilla::gfx::SourceSurfaceD2D1::GetDataSurface() gfx/2d/SourceSurfaceD2D1.cpp 1 xul.dll mozilla::gfx::GetCairoSurfaceForSourceSurface(mozilla::gfx::SourceSurface*, bool, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> const&) gfx/2d/DrawTargetCairo.cpp 2 xul.dll mozilla::gfx::GfxPatternToCairoPattern gfx/2d/DrawTargetCairo.cpp 3 xul.dll mozilla::gfx::DrawTargetCairo::DrawPattern(mozilla::gfx::Pattern const&, mozilla::gfx::StrokeOptions const&, mozilla::gfx::DrawOptions const&, mozilla::gfx::DrawTargetCairo::DrawPatternType, bool) gfx/2d/DrawTargetCairo.cpp 4 xul.dll mozilla::gfx::DrawTargetCairo::FillRect(mozilla::gfx::RectTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::Pattern const&, mozilla::gfx::DrawOptions const&) gfx/2d/DrawTargetCairo.cpp 5 xul.dll gfxSurfaceDrawable::DrawInternal(gfxContext*, gfxRect const&, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> const&, bool, GraphicsFilter const&, double, gfxMatrix const&) gfx/thebes/gfxDrawable.cpp 6 xul.dll gfxSurfaceDrawable::Draw(gfxContext*, gfxRect const&, bool, GraphicsFilter const&, double, gfxMatrix const&) gfx/thebes/gfxDrawable.cpp 7 xul.dll gfxUtils::DrawPixelSnapped(gfxContext*, gfxDrawable*, gfxSize const&, mozilla::image::ImageRegion const&, mozilla::gfx::SurfaceFormat, GraphicsFilter, unsigned int, double) gfx/thebes/gfxUtils.cpp 8 xul.dll mozilla::image::imgFrame::Draw(gfxContext*, mozilla::image::ImageRegion const&, nsIntMargin const&, GraphicsFilter, unsigned int) image/src/imgFrame.cpp 9 xul.dll mozilla::image::RasterImage::DrawWithPreDownscaleIfNeeded(mozilla::image::DrawableFrameRef&&, gfxContext*, nsIntSize const&, mozilla::image::ImageRegion const&, GraphicsFilter, unsigned int) image/src/RasterImage.cpp 10 xul.dll mozilla::image::RasterImage::Draw(gfxContext*, nsIntSize const&, mozilla::image::ImageRegion const&, unsigned int, GraphicsFilter, mozilla::Maybe<mozilla::SVGImageContext> const&, unsigned int) image/src/RasterImage.cpp 11 xul.dll DrawImageInternal layout/base/nsLayoutUtils.cpp [...] This started spiking on October 2 in 35.0a1 Nightly builds and didn't appear before the 2014100203 nightly build. Most of the URLs point to Facebook, so nothing helpful there, and Graphics Adapters also seem to be all over the place. Windows versions seem to be Win7 and up (including Win10 preview). All the crashes seem to be EXCEPTION_ACCESS_VIOLATION_READ at address 0x0 so it smells a lot like a null deref to me. Find more stats and reports at https://crash-stats.mozilla.com/report/list?signature=mozilla%3A%3Agfx%3A%3ASourceSurfaceD2D1%3A%3AGetDataSurface%28%29
[Tracking Requested - why for this release]: This is the #2 crash on Nightly behind the already-fixed bug 1077746 and with more than double the volume of the usually list-leading OOM|small signature.
Since this seems to have a clear nightly regression range, can you provide the link?
Flags: needinfo?(kairo)
https://crash-stats.mozilla.com/report/list?signature=IUnknown%3A%3AQueryInterface%3CID2D1Bitmap1%3E%28ID2D1Bitmap1%2A%2A%29 and https://crash-stats.mozilla.com/report/list?signature=mozilla%3A%3Agfx%3A%3ASourceSurfaceD2D1%3A%3ASourceSurfaceD2D1%28ID2D1Image%2A%2C%20ID2D1DeviceContext%2A%2C%20mozilla%3A%3Agfx%3A%3ASurfaceFormat%2C%20mozilla%3A%3Agfx%3A%3AIntSizeTyped%3Cmozilla%3A%3Agfx%3A%3AUnknownUnits%3E%20const%26%2C%20mozilla%3A%3Agfx%3A%3ADrawTargetD2D1%2A%29 have the same regression range and go through mozilla::gfx::SourceSurfaceD2D1::SourceSurfaceD2D1() - I'm holding off on reporting a separate bug for those for now as they might be related. (In reply to Benjamin Smedberg [:bsmedberg] from comment #2) > Since this seems to have a clear nightly regression range, can you provide > the link? Reluctantly, as I have too little time and dislike digging through FTP and assembling those URLs by hand. We really should have something that can automate this by just dropping in the ID of first nightly build affected and it would spit out the pushlog URL for the range from the nightly build before to that one. Know anyone who can do that? So, regression range is http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=14665b1de5ee&tochange=2399d1ae89e9 which IMHO points unsurprisingly to bug 902952 which turned on D2D 1.1 where available.
Flags: needinfo?(kairo)
NI?milan for assignee.
Flags: needinfo?(milan)
Keywords: regression
Bas, related to the patterns / Moz2D work?
Flags: needinfo?(milan) → needinfo?(bas)
(In reply to Robert Kaiser (:kairo@mozilla.com) from comment #3) > We really should have something that can automate this by just dropping in the ID FWIW, I filed bug 1080874 on that (not really related to the bug here, just to my rant about creating regression range URLs).
(In reply to Milan Sreckovic [:milan] from comment #5) > Bas, related to the patterns / Moz2D work? Result of D2D 1.1, which I'll probably switch off on Aurora for now fwiw.
Flags: needinfo?(bas)
I need to fix this though!
Assignee: nobody → bas
Blocks: 902952
Attachment #8503152 - Flags: review?(jmuizelaar) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Depends on: 1144983
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: