Closed Bug 1025198 Opened 10 years ago Closed 10 years ago

gfxContext Assert - MOZ_ASSERT(!pattern->IsAzure());

Categories

(Core :: Graphics, defect)

33 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1024004

People

(Reporter: mcmanus, Unassigned)

Details

Attachments

(1 file)

Built from git commit b910a6fa078908b717424196df3560f056000557 (basically today's nightly)

This is a reproducible crash for me, but kind of a pain.

1] goto gmail
2] send the image I will upload here as an attachment to yourself
3] goto your sent mail folger
4] click on the attachment to view it inline (not as a download or through drive)
5] boom

other methods (viewing it as a file:/// url or even as a share through g+) don't trigger for me.

this is linux 64 bit

#0  0x00007ff949f36d7d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff949f36c14 in __sleep (seconds=0) at ../sysdeps/unix/sysv/linux/sleep.c:137
#2  0x00007ff945aec19b in ah_crap_handler (signum=11) at ../../../tester/toolkit/xre/nsSigHandlers.cpp:88
#3  0x00007ff945af458e in nsProfileLock::FatalSignalHandler (signo=11, info=<optimized out>, context=<optimized out>) at /home/mcmanus/src/mozilla2/wd/tester/profile/dirserviceprovider/src/nsProfileLock.cpp:185
#4  <signal handler called>
#5  gfxContext::SetPattern (this=<optimized out>, pattern=<optimized out>) at /home/mcmanus/src/mozilla2/wd/tester/gfx/thebes/gfxContext.cpp:1419
#6  0x00007ff944471c1b in gfxSurfaceDrawable::Draw (this=<optimized out>, aContext=0x7ff902e9e600, aFillRect=..., aRepeat=<optimized out>, aFilter=<optimized out>, aTransform=...) at ../../../tester/gfx/thebes/gfxDrawable.cpp:167
#7  0x00007ff9444b9be9 in gfxUtils::DrawPixelSnapped (aContext=0x7ff902e9e600, aDrawable=<optimized out>, aUserSpaceToImageSpace=..., aSubimage=..., aSourceRect=..., aImageRect=..., aFill=..., aFormat=<optimized out>, aFilter=FILTER_GOOD, 
    aImageFlags=<optimized out>) at ../../../tester/gfx/thebes/gfxUtils.cpp:468
#8  0x00007ff94457dc0a in imgFrame::Draw (this=<optimized out>, aContext=0x7ff902e9e600, aFilter=FILTER_GOOD, aUserSpaceToImageSpace=..., aFill=..., aPadding=..., aSubimage=..., aImageFlags=<optimized out>) at ../../../tester/image/src/imgFrame.cpp:435
#9  0x00007ff944566dd1 in mozilla::image::RasterImage::DrawWithPreDownscaleIfNeeded (this=<optimized out>, aFrame=<optimized out>, aContext=0x7ff902e9e600, aFilter=FILTER_FAST, aUserSpaceToImageSpace=..., aFill=..., aSubimage=..., aFlags=<optimized out>)
    at ../../../tester/image/src/RasterImage.cpp:2658
#10 0x00007ff94456738f in mozilla::image::RasterImage::Draw (this=0x7ff9001dd180, aContext=0x7ff902e9e600, aFilter=FILTER_GOOD, aUserSpaceToImageSpace=..., aFill=..., aSubimage=..., aWhichFrame=<optimized out>, aFlags=32767)
    at ../../../tester/image/src/RasterImage.cpp:2751
#11 0x00007ff945648bde in DrawImageInternal (aImageFlags=<optimized out>, aRenderingContext=<optimized out>, aImage=<optimized out>, aGraphicsFilter=<optimized out>, aDest=..., aFill=..., aAnchor=..., aDirty=..., aImageSize=..., aSVGContext=<optimized out>)
    at ../../../tester/layout/base/nsLayoutUtils.cpp:5012
#12 0x00007ff945648994 in nsLayoutUtils::DrawSingleUnscaledImage (aRenderingContext=0x7ff901078d40, aImage=0x7ff9001dd180, aGraphicsFilter=FILTER_GOOD, aDest=..., aDirty=<optimized out>, aImageFlags=1, aSourceArea=<optimized out>)
    at ../../../tester/layout/base/nsLayoutUtils.cpp:5090
#13 0x00007ff945777f3a in nsSVGImageFrame::PaintSVG (this=0x7ff9013766f8, aContext=0x7ff901078d40, aDirtyRect=<optimized out>, aTransformRoot=<optimized out>) at /home/mcmanus/src/mozilla2/wd/tester/layout/svg/nsSVGImageFrame.cpp:396
#14 0x00007ff94577d0e8 in nsSVGUtils::PaintFrameWithEffects (aContext=0x7ff901078d40, aDirtyRect=0x7fff14986740, aFrame=0x7ff9013766f8, aTransformRoot=0x0) at /home/mcmanus/src/mozilla2/wd/tester/layout/svg/nsSVGUtils.cpp:637
#15 0x00007ff94576ce42 in nsSVGDisplayContainerFrame::PaintSVG (this=<optimized out>, aContext=0x7ff901078d40, aDirtyRect=0x7fff14986740, aTransformRoot=0x0) at ../../../tester/layout/svg/nsSVGContainerFrame.cpp:267
#16 0x00007ff94576ce69 in non-virtual thunk to nsSVGDisplayContainerFrame::PaintSVG(nsRenderingContext*, nsIntRect const*, nsIFrame*) () at /home/mcmanus/src/mozilla2/wd/ccache/data/tmp/Unified_cp.tmp.ds9.10119.ii:271
#17 0x00007ff945786f57 in SVGPaintCallback::Paint (this=<optimized out>, aContext=0x7ff901078d40, aTarget=<optimized out>, aDirtyRect=<optimized out>, aTransformRoot=0x0) at /home/mcmanus/src/mozilla2/wd/tester/layout/svg/nsSVGUtils.cpp:474
#18 0x00007ff94576b12f in nsFilterInstance::BuildSourceImage (this=0x7fff14986ac8, aTargetSurface=<optimized out>, aTargetDT=0x7ff9025cf280) at ../../../tester/layout/svg/nsFilterInstance.cpp:432
#19 0x00007ff945768986 in nsFilterInstance::Render (this=0x7fff14986ac8, aContext=0x7ff902d9cec0) at ../../../tester/layout/svg/nsFilterInstance.cpp:484
#20 0x00007ff945768720 in nsFilterInstance::PaintFilteredFrame (aContext=0x7ff901078d00, aFilteredFrame=<optimized out>, aPaintCallback=<optimized out>, aDirtyArea=<optimized out>, aTransformRoot=<optimized out>)
    at ../../../tester/layout/svg/nsFilterInstance.cpp:38
#21 0x00007ff94577d0b5 in nsSVGUtils::PaintFrameWithEffects (aContext=0x7ff901078d00, aDirtyRect=<optimized out>, aFrame=0x7ff901376310, aTransformRoot=0x0) at /home/mcmanus/src/mozilla2/wd/tester/layout/svg/nsSVGUtils.cpp:634
#22 0x00007ff94577b760 in nsSVGMaskFrame::ComputeMaskAlpha (this=0x7ff901376120, aContext=<optimized out>, aParent=<optimized out>, aMatrix=..., aOpacity=0.170000002) at /home/mcmanus/src/mozilla2/wd/tester/layout/svg/nsSVGMaskFrame.cpp:247
#23 0x00007ff94577af91 in nsSVGIntegrationUtils::PaintFramesWithEffects (aCtx=0x7ff901078c40, aFrame=0x7ff901376770, aDirtyRect=..., aBuilder=<optimized out>, aLayerManager=<optimized out>)
    at /home/mcmanus/src/mozilla2/wd/tester/layout/svg/nsSVGIntegrationUtils.cpp:544
#24 0x00007ff9455e32c5 in PaintInactiveLayer (aBuilder=<optimized out>, aManager=<optimized out>, aItem=<optimized out>, aContext=<optimized out>, aCtx=<optimized out>, aBuilder=<optimized out>, aManager=<optimized out>, aItem=<optimized out>, 
    aContext=<optimized out>, aCtx=<optimized out>) at ../../../tester/layout/base/FrameLayerBuilder.cpp:2353
#25 mozilla::FrameLayerBuilder::PaintItems (this=0x7ff902d1c900, aItems=..., aRect=..., aContext=0x7ff902813660, aRC=0x7ff901078c40, aBuilder=0x7fff14988e40, aPresContext=<optimized out>, aOffset=..., aXScale=<optimized out>, aYScale=<optimized out>, 
    aCommonClipCount=<optimized out>) at ../../../tester/layout/base/FrameLayerBuilder.cpp:3691
#26 0x00007ff9455e3eee in mozilla::FrameLayerBuilder::DrawThebesLayer (aLayer=0x7ff909a29000, aContext=0x7ff902813660, aRegionToDraw=..., aClip=mozilla::layers::CLIP_NONE, aRegionToInvalidate=..., aCallbackData=0x7fff14988e40)
    at ../../../tester/layout/base/FrameLayerBuilder.cpp:3859
#27 0x00007ff9444ef68a in mozilla::layers::BasicThebesLayer::PaintThebes (this=0x7ff909a29000, aContext=0x7ff902813660, aMaskLayer=0x0, 
    aCallback=0x7ff9455e38ec <mozilla::FrameLayerBuilder::DrawThebesLayer(mozilla::layers::ThebesLayer*, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*)>, aCallbackData=0x7fff14988e40)
    at ../../../tester/gfx/layers/basic/BasicThebesLayer.cpp:94
#28 0x00007ff9444ee846 in mozilla::layers::BasicLayerManager::PaintSelfOrChildren (this=<optimized out>, aPaintContext=..., aGroupTarget=0x7ff902813660) at ../../../tester/gfx/layers/basic/BasicLayerManager.cpp:832
#29 0x00007ff9444edb99 in mozilla::layers::BasicLayerManager::PaintLayer (this=0x7ff9026c5eb0, aTarget=0x7ff902813660, aLayer=<optimized out>, aCallback=<optimized out>, aCallbackData=<optimized out>) at ../../../tester/gfx/layers/basic/BasicLayerManager.cpp:948
#30 0x00007ff9444ee7e7 in mozilla::layers::BasicLayerManager::PaintSelfOrChildren (this=0x7ff9026c5eb0, aPaintContext=..., aGroupTarget=0x7ff902813660) at ../../../tester/gfx/layers/basic/BasicLayerManager.cpp:845
#31 0x00007ff9444edb99 in mozilla::layers::BasicLayerManager::PaintLayer (this=0x7ff9026c5eb0, aTarget=0x7ff902813660, aLayer=<optimized out>, aCallback=<optimized out>, aCallbackData=<optimized out>) at ../../../tester/gfx/layers/basic/BasicLayerManager.cpp:948
#32 0x00007ff9444ee7e7 in mozilla::layers::BasicLayerManager::PaintSelfOrChildren (this=0x7ff9026c5eb0, aPaintContext=..., aGroupTarget=0x7ff902813660) at ../../../tester/gfx/layers/basic/BasicLayerManager.cpp:845
#33 0x00007ff9444edb99 in mozilla::layers::BasicLayerManager::PaintLayer (this=0x7ff9026c5eb0, aTarget=0x7ff902813660, aLayer=<optimized out>, aCallback=<optimized out>, aCallbackData=<optimized out>) at ../../../tester/gfx/layers/basic/BasicLayerManager.cpp:948
#34 0x00007ff9444ecbd6 in mozilla::layers::BasicLayerManager::EndTransactionInternal (this=0x7ff9026c5eb0, 
    aCallback=0x7ff9455e38ec <mozilla::FrameLayerBuilder::DrawThebesLayer(mozilla::layers::ThebesLayer*, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*)>, aCallbackData=0x7fff14988e40, aFlags=<optimized out>)
    at ../../../tester/gfx/layers/basic/BasicLayerManager.cpp:626
#35 0x00007ff94562d9e3 in nsDisplayList::PaintForFrame (this=<optimized out>, aBuilder=0x7fff14988e40, aCtx=<optimized out>, aForFrame=<optimized out>, aFlags=<optimized out>) at ../../../tester/layout/base/nsDisplayList.cpp:1404
#36 0x00007ff94562d0fb in nsDisplayList::PaintRoot (this=0x7ff94a2351c0 <_IO_2_1_stderr_>, aBuilder=0x7fff14988e40, aCtx=0x0, aFlags=1258760064) at ../../../tester/layout/base/nsDisplayList.cpp:1244
#37 0x00007ff945643905 in nsLayoutUtils::PaintFrame (aRenderingContext=0x7ff901078400, aFrame=0x7ff90b6a8458, aDirtyRegion=..., aBackstop=<optimized out>, aFlags=<optimized out>) at ../../../tester/layout/base/nsLayoutUtils.cpp:2968
#38 0x00007ff9455c271c in PresShell::RenderDocument (this=0x7ff90c6a1400, aRect=..., aFlags=<optimized out>, aBackgroundColor=0, aThebesContext=0x7ff902813660) at ../../../tester/layout/base/nsPresShell.cpp:4836
#39 0x00007ff94457a34b in mozilla::image::SVGDrawingCallback::operator() (this=<optimized out>, aContext=0x7ff902813660, aFillRect=..., aFilter=<optimized out>, aTransform=...) at ../../../tester/image/src/VectorImage.cpp:299
#40 0x00007ff944471fd8 in gfxCallbackDrawable::Draw (this=<optimized out>, aContext=0x7ff902813660, aFillRect=..., aRepeat=<optimized out>, aFilter=@0x7fff1498972c: FILTER_NEAREST, aTransform=...) at ../../../tester/gfx/thebes/gfxDrawable.cpp:231
#41 0x00007ff9444b9be9 in gfxUtils::DrawPixelSnapped (aContext=0x7ff902813660, aDrawable=<optimized out>, aUserSpaceToImageSpace=..., aSubimage=..., aSourceRect=..., aImageRect=..., aFill=..., aFormat=<optimized out>, aFilter=FILTER_NEAREST, 
    aImageFlags=<optimized out>) at ../../../tester/gfx/thebes/gfxUtils.cpp:468
#42 0x00007ff94457bc39 in mozilla::image::VectorImage::CreateDrawableAndShow (this=0x7ff9046c9780, aParams=...) at ../../../tester/image/src/VectorImage.cpp:911
#43 0x00007ff94457b7ca in mozilla::image::VectorImage::Draw (this=0x7ff9046c9780, aContext=<optimized out>, aFilter=<optimized out>, aUserSpaceToImageSpace=..., aFill=..., aSubimage=..., aViewportSize=..., aSVGContext=<optimized out>, 
    aWhichFrame=<optimized out>, aFlags=<optimized out>) at ../../../tester/image/src/VectorImage.cpp:868
#44 0x00007ff945648bde in DrawImageInternal (aImageFlags=<optimized out>, aRenderingContext=<optimized out>, aImage=<optimized out>, aGraphicsFilter=<optimized out>, aDest=..., aFill=..., aAnchor=..., aDirty=..., aImageSize=..., aSVGContext=<optimized out>)
    at ../../../tester/layout/base/nsLayoutUtils.cpp:5012
#45 0x00007ff945621fff in nsLayoutUtils::DrawBackgroundImage (aRenderingContext=0x7ff94a2351c0 <_IO_2_1_stderr_>, aImage=0x7ff94a2369d0 <_IO_stdfile_2_lock>, aImageSize=..., aGraphicsFilter=<error reading variable: Cannot access memory at address 0x3>,
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: