Closed Bug 973902 Opened 11 years ago Closed 11 years ago

Crash in CalculateRepeatingGradientParams

Categories

(Core :: Graphics, defect)

28 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 973971

People

(Reporter: milan, Unassigned)

Details

Just need to spend a few minutes in Zimbra mostly in e-mail, but also in the calendar. I don't know if it's the same crash in the optimized, but in debug, I hit the assert: Assertion failure: !isinf(t_min) && !isinf(t_max) (The first call to UpdateLinearParametersToIncludePoint should have made t_min and t_max non-infinite.), at /Users/msreckovic/Repos/mozilla-central/gfx/2d/DrawTargetCG.cpp:476 Then crash: 0 XUL 0x0000000105599857 mozilla::gfx::CalculateRepeatingGradientParams(CGPoint*, CGPoint*, CGRect, int*) + 407 (DrawTargetCG.cpp:475) 1 XUL 0x0000000105598976 mozilla::gfx::DrawLinearRepeatingGradient(CGContext*, mozilla::gfx::LinearGradientPattern const&, CGRect const&) + 262 (DrawTargetCG.cpp:502) 2 XUL 0x0000000105565210 mozilla::gfx::DrawGradient(CGContext*, mozilla::gfx::Pattern const&, CGRect const&) + 432 (DrawTargetCG.cpp:629) 3 XUL 0x000000010556585f mozilla::gfx::DrawTargetCG::FillRect(mozilla::gfx::RectTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::Pattern const&, mozilla::gfx::DrawOptions const&) + 559 (DrawTargetCG.cpp:851) 4 XUL 0x0000000102519502 gfxContext::FillAzure(float) + 722 (gfxContext.cpp:2081) 5 XUL 0x00000001025158e8 gfxContext::Fill() + 104 (gfxContext.cpp:360) 6 XUL 0x000000010425051d nsCSSRendering::PaintGradient(nsPresContext*, nsRenderingContext&, nsStyleGradient*, nsRect const&, nsRect const&, nsRect const&, mozilla::gfx::IntRectTyped<mozilla::CSSPixel> const&, nsSize const&) + 7965 (nsCSSRendering.cpp:2338) 7 XUL 0x000000010425804a nsImageRenderer::Draw(nsPresContext*, nsRenderingContext&, nsRect const&, nsRect const&, nsRect const&, mozilla::gfx::IntRectTyped<mozilla::CSSPixel> const&) + 522 (nsCSSRendering.cpp:4492) 8 XUL 0x00000001042525ff nsImageRenderer::DrawBackground(nsPresContext*, nsRenderingContext&, nsRect const&, nsRect const&, nsPoint const&, nsRect const&) + 607 (nsCSSRendering.cpp:4575) 9 XUL 0x000000010424dc58 nsCSSRendering::PaintBackgroundWithSC(nsPresContext*, nsRenderingContext&, nsIFrame*, nsRect const&, nsRect const&, nsStyleContext*, nsStyleBorder const&, unsigned int, nsRect*, int) + 3624 (nsCSSRendering.cpp:2559) 10 XUL 0x000000010424cdf1 nsCSSRendering::PaintBackground(nsPresContext*, nsRenderingContext&, nsIFrame*, nsRect const&, nsRect const&, unsigned int, nsRect*, int) + 433 (nsCSSRendering.cpp:1373) 11 XUL 0x000000010426e785 nsDisplayBackgroundImage::PaintInternal(nsDisplayListBuilder*, nsRenderingContext*, nsRect const&, nsRect*) + 261 (nsDisplayList.cpp:2174) 12 XUL 0x000000010426e676 nsDisplayBackgroundImage::Paint(nsDisplayListBuilder*, nsRenderingContext*) + 70 (nsDisplayList.cpp:2162) 13 XUL 0x00000001041f8070 mozilla::FrameLayerBuilder::PaintItems(nsTArray<mozilla::FrameLayerBuilder::ClippedDisplayItem>&, nsIntRect const&, gfxContext*, nsRenderingContext*, nsDisplayListBuilder*, nsPresContext*, nsIntPoint const&, float, float, int) + 1040 (FrameLayerBuilder.cpp:3536) 14 XUL 0x00000001041f90cc mozilla::FrameLayerBuilder::DrawThebesLayer(mozilla::layers::ThebesLayer*, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*) + 1772 (FrameLayerBuilder.cpp:3704) 15 XUL 0x000000010258b7eb mozilla::layers::ClientThebesLayer::PaintBuffer(gfxContext*, nsIntRegion const&, nsIntRegion const&, nsIntRegion const&, bool, mozilla::layers::DrawRegionClip) + 379 (ClientThebesLayer.cpp:148) 16 XUL 0x000000010258b53f mozilla::layers::ClientThebesLayer::PaintThebes() + 703 (ClientThebesLayer.cpp:71) 17 XUL 0x000000010258bad1 mozilla::layers::ClientThebesLayer::RenderLayer() + 497 (ClientThebesLayer.cpp:104) 18 XUL 0x000000010258bb3c non-virtual thunk to mozilla::layers::ClientThebesLayer::RenderLayer() + 28 (Unified_cpp_gfx_layers1.cpp:117) 19 XUL 0x0000000102597a72 mozilla::layers::ClientContainerLayer::RenderLayer() + 722 (ClientContainerLayer.h:73) 20 XUL 0x0000000102597b8c non-virtual thunk to mozilla::layers::ClientContainerLayer::RenderLayer() + 28 (Unified_cpp_gfx_layers1.cpp:85) 21 XUL 0x0000000102597a72 mozilla::layers::ClientContainerLayer::RenderLayer() + 722 (ClientContainerLayer.h:73) 22 XUL 0x0000000102597b8c non-virtual thunk to mozilla::layers::ClientContainerLayer::RenderLayer() + 28 (Unified_cpp_gfx_layers1.cpp:85) 23 XUL 0x000000010258a10c mozilla::layers::ClientLayerManager::EndTransactionInternal(void (*)(mozilla::layers::ThebesLayer*, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::LayerManager::EndTransactionFlags) + 444 (ClientLayerManager.cpp:192) 24 XUL 0x000000010258a27b mozilla::layers::ClientLayerManager::EndTransaction(void (*)(mozilla::layers::ThebesLayer*, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::LayerManager::EndTransactionFlags) + 91 (ClientLayerManager.cpp:214)
Very recent regression. Probably since the weekend. Jeff, anything you recognize?
Flags: needinfo?(jmuizelaar)
My guess is that this is caused by bug 966996
Flags: needinfo?(jmuizelaar)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.