Open Bug 1415724 Opened 2 years ago Updated 1 month ago

Assertion failure: [GFX1]: RGBX corner pixel at (8,8) in 16x16 surface, bounded by (0,0,16,16) is not opaque

Categories

(Core :: ImageLib, defect, P3)

defect

Tracking

()

Tracking Status
firefox-esr52 --- wontfix
firefox-esr60 --- wontfix
firefox-esr68 --- affected
firefox56 --- wontfix
firefox57 --- wontfix
firefox58 --- wontfix
firefox59 --- wontfix
firefox69 --- wontfix
firefox70 --- wontfix
firefox71 --- wontfix
firefox73 --- wontfix
firefox74 --- wontfix
firefox75 --- affected

People

(Reporter: tsmith, Assigned: aosmond)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase, Whiteboard: [gfx-noted])

Attachments

(1 file)

Attached image testcase.gif
Assertion failure: [GFX1]: RGBX corner pixel at (8,8) in 16x16 surface, bounded by (0,0,16,16) is not opaque: 0,0,0,0, at /src/gfx/2d/Logging.h:521

#0 0x7fd6531ef30f in mozilla::gfx::Log<1, mozilla::gfx::CriticalLogger>::WriteLog(std::string const&) /src/gfx/2d/Logging.h:522:9
#1 0x7fd6531ef1df in mozilla::gfx::Log<1, mozilla::gfx::CriticalLogger>::Flush() /src/gfx/2d/Logging.h:283:7
#2 0x7fd6531ed5dd in mozilla::gfx::Log<1, mozilla::gfx::CriticalLogger>::~Log() /src/gfx/2d/Logging.h:275:5
#3 0x7fd6531ecc66 in mozilla::gfx::VerifyRGBXCorners(unsigned char*, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> const&, int, mozilla::gfx::SurfaceFormat, mozilla::gfx::RectTyped<mozilla::gfx::UnknownUnits, float> const*, mozilla::gfx::BaseMatrix<float> const*) /src/gfx/2d/DrawTargetSkia.cpp:219:9
#4 0x7fd6531da60e in mozilla::gfx::GetSkImageForSurface(mozilla::gfx::SourceSurface*, mozilla::gfx::RectTyped<mozilla::gfx::UnknownUnits, float> const*, mozilla::gfx::BaseMatrix<float> const*) /src/gfx/2d/DrawTargetSkia.cpp:271:3
#5 0x7fd6531e090f in mozilla::gfx::SetPaintPattern(SkPaint&, mozilla::gfx::Pattern const&, float, mozilla::gfx::PointTyped<mozilla::gfx::UnknownUnits, float>, mozilla::gfx::RectTyped<mozilla::gfx::UnknownUnits, float> const*) /src/gfx/2d/DrawTargetSkia.cpp:506:30
#6 0x7fd6531dc431 in mozilla::gfx::DrawTargetSkia::FillRect(mozilla::gfx::RectTyped<mozilla::gfx::UnknownUnits, float> const&, mozilla::gfx::Pattern const&, mozilla::gfx::DrawOptions const&) /src/gfx/2d/DrawTargetSkia.cpp:787:18
#7 0x7fd6538673ba in gfxSurfaceDrawable::DrawInternal(mozilla::gfx::DrawTarget*, mozilla::gfx::CompositionOp, mozilla::gfx::AntialiasMode, mozilla::gfx::RectTyped<mozilla::gfx::UnknownUnits, double> const&, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::ExtendMode, mozilla::gfx::SamplingFilter, double, mozilla::gfx::BaseMatrix<double> const&) /src/gfx/thebes/gfxDrawable.cpp:104:22
#8 0x7fd6538675b6 in gfxSurfaceDrawable::Draw(gfxContext*, mozilla::gfx::RectTyped<mozilla::gfx::UnknownUnits, double> const&, mozilla::gfx::ExtendMode, mozilla::gfx::SamplingFilter, double, mozilla::gfx::BaseMatrix<double> const&) /src/gfx/thebes/gfxDrawable.cpp:74:3
#9 0x7fd65398c5d8 in gfxUtils::DrawPixelSnapped(gfxContext*, gfxDrawable*, mozilla::gfx::SizeTyped<mozilla::gfx::UnknownUnits, double> const&, mozilla::image::ImageRegion const&, mozilla::gfx::SurfaceFormat, mozilla::gfx::SamplingFilter, unsigned int, double) /src/gfx/thebes/gfxUtils.cpp:584:15
#10 0x7fd653a9689f in mozilla::image::imgFrame::Draw(gfxContext*, mozilla::image::ImageRegion const&, mozilla::gfx::SamplingFilter, unsigned int, float) /src/image/imgFrame.cpp:586:5
#11 0x7fd653a9627e in mozilla::image::RasterImage::DrawInternal(mozilla::image::DrawableSurface&&, gfxContext*, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> const&, mozilla::image::ImageRegion const&, mozilla::gfx::SamplingFilter, unsigned int, float) /src/image/RasterImage.cpp:1461:18
#12 0x7fd653a96d26 in mozilla::image::RasterImage::Draw(gfxContext*, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> const&, mozilla::image::ImageRegion const&, unsigned int, mozilla::gfx::SamplingFilter, mozilla::Maybe<mozilla::SVGImageContext> const&, unsigned int, float) /src/image/RasterImage.cpp:1528:17
#13 0x7fd653a8606a in mozilla::image::OrientedImage::Draw(gfxContext*, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> const&, mozilla::image::ImageRegion const&, unsigned int, mozilla::gfx::SamplingFilter, mozilla::Maybe<mozilla::SVGImageContext> const&, unsigned int, float) /src/image/OrientedImage.cpp:286:26
#14 0x7fd65763129a in DrawImageInternal(gfxContext&, nsPresContext*, imgIContainer*, mozilla::gfx::SamplingFilter, nsRect const&, nsRect const&, nsPoint const&, nsRect const&, mozilla::Maybe<mozilla::SVGImageContext> const&, unsigned int, mozilla::gfx::ExtendMode, float) /src/layout/base/nsLayoutUtils.cpp:6903:22
#15 0x7fd657631998 in nsLayoutUtils::DrawSingleImage(gfxContext&, nsPresContext*, imgIContainer*, mozilla::gfx::SamplingFilter, nsRect const&, nsRect const&, mozilla::Maybe<mozilla::SVGImageContext> const&, unsigned int, nsPoint const*, nsRect const*) /src/layout/base/nsLayoutUtils.cpp:6998:10
#16 0x7fd657830703 in nsImageFrame::PaintImage(gfxContext&, nsPoint, nsRect const&, imgIContainer*, unsigned int) /src/layout/generic/nsImageFrame.cpp:1765:5
#17 0x7fd65783026e in nsDisplayImage::Paint(nsDisplayListBuilder*, gfxContext*) /src/layout/generic/nsImageFrame.cpp:1544:5
#18 0x7fd657ba3103 in mozilla::FrameLayerBuilder::PaintItems(nsTArray<mozilla::FrameLayerBuilder::ClippedDisplayItem>&, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> const&, gfxContext*, nsDisplayListBuilder*, nsPresContext*, mozilla::gfx::IntPointTyped<mozilla::gfx::UnknownUnits> const&, float, float, int) /src/layout/painting/FrameLayerBuilder.cpp:6033:21
#19 0x7fd657ba4eb0 in mozilla::FrameLayerBuilder::DrawPaintedLayer(mozilla::layers::PaintedLayer*, gfxContext*, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, mozilla::layers::DrawRegionClip, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, void*) /src/layout/painting/FrameLayerBuilder.cpp:6200:19
#20 0x7fd6536dafd5 in mozilla::layers::ClientPaintedLayer::PaintThebes(nsTArray<mozilla::layers::ReadbackProcessor::Update>*) /src/gfx/layers/client/ClientPaintedLayer.cpp:164:5
#21 0x7fd6536dc75f in mozilla::layers::ClientPaintedLayer::RenderLayerWithReadback(mozilla::layers::ReadbackProcessor*) /src/gfx/layers/client/ClientPaintedLayer.cpp:293:3
#22 0x7fd653705250 in mozilla::layers::ClientContainerLayer::RenderLayer() /src/gfx/layers/client/ClientContainerLayer.h:58:29
#23 0x7fd6536d6540 in mozilla::layers::ClientLayerManager::EndTransactionInternal(void (*)(mozilla::layers::PaintedLayer*, gfxContext*, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, mozilla::layers::DrawRegionClip, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, void*), void*, mozilla::layers::LayerManager::EndTransactionFlags) /src/gfx/layers/client/ClientLayerManager.cpp:384:13
#24 0x7fd6536d6f0d in mozilla::layers::ClientLayerManager::EndTransaction(void (*)(mozilla::layers::PaintedLayer*, gfxContext*, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, mozilla::layers::DrawRegionClip, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, void*), void*, mozilla::layers::LayerManager::EndTransactionFlags) /src/gfx/layers/client/ClientLayerManager.cpp:442:3
#25 0x7fd657bf6be3 in nsDisplayList::PaintRoot(nsDisplayListBuilder*, gfxContext*, unsigned int) /src/layout/painting/nsDisplayList.cpp:2558:17
#26 0x7fd657620d0f in nsLayoutUtils::PaintFrame(gfxContext*, nsIFrame*, nsRegion const&, unsigned int, nsDisplayListBuilderMode, nsLayoutUtils::PaintFrameFlags) /src/layout/base/nsLayoutUtils.cpp:3907:12
#27 0x7fd65755db52 in mozilla::PresShell::Paint(nsView*, nsRegion const&, unsigned int) /src/layout/base/PresShell.cpp:6471:5
#28 0x7fd656f648ca in nsViewManager::ProcessPendingUpdatesPaint(nsIWidget*) /src/view/nsViewManager.cpp:480:19
#29 0x7fd656f64285 in nsViewManager::ProcessPendingUpdatesForView(nsView*, bool) /src/view/nsViewManager.cpp:412:33
#30 0x7fd656f66349 in nsViewManager::ProcessPendingUpdates() /src/view/nsViewManager.cpp:1102:5
#31 0x7fd6574e2ee5 in nsRefreshDriver::Tick(long, mozilla::TimeStamp) /src/layout/base/nsRefreshDriver.cpp:2047:11
#32 0x7fd6574eb69e in mozilla::RefreshDriverTimer::TickRefreshDrivers(long, mozilla::TimeStamp, nsTArray<RefPtr<nsRefreshDriver> >&) /src/layout/base/nsRefreshDriver.cpp:306:7
#33 0x7fd6574eb486 in mozilla::RefreshDriverTimer::Tick(long, mozilla::TimeStamp) /src/layout/base/nsRefreshDriver.cpp:328:5
#34 0x7fd6574ee955 in mozilla::VsyncRefreshDriverTimer::RunRefreshDrivers(mozilla::TimeStamp) /src/layout/base/nsRefreshDriver.cpp:769:5
#35 0x7fd6574ed9f6 in mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::TickRefreshDriver(mozilla::TimeStamp) /src/layout/base/nsRefreshDriver.cpp:682:35
#36 0x7fd6574ed162 in mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::NotifyVsync(mozilla::TimeStamp) /src/layout/base/nsRefreshDriver.cpp:583:9
#37 0x7fd657b00f20 in mozilla::layout::VsyncChild::RecvNotify(mozilla::TimeStamp const&) /src/layout/ipc/VsyncChild.cpp:68:16
#38 0x7fd652816572 in mozilla::layout::PVsyncChild::OnMessageReceived(IPC::Message const&) /src/obj-firefox/ipc/ipdl/PVsyncChild.cpp:155:20
#39 0x7fd652712902 in mozilla::ipc::PBackgroundChild::OnMessageReceived(IPC::Message const&) /src/obj-firefox/ipc/ipdl/PBackgroundChild.cpp:1815:28
#40 0x7fd6523e7a8a in mozilla::ipc::MessageChannel::DispatchAsyncMessage(IPC::Message const&) /src/ipc/glue/MessageChannel.cpp:2119:25
#41 0x7fd6523e5712 in mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) /src/ipc/glue/MessageChannel.cpp:2049:17
#42 0x7fd6523e62d8 in mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) /src/ipc/glue/MessageChannel.cpp:1895:5
#43 0x7fd6523e6a23 in mozilla::ipc::MessageChannel::MessageTask::Run() /src/ipc/glue/MessageChannel.cpp:1928:15
#44 0x7fd65183325f in nsThread::ProcessNextEvent(bool, bool*) /src/xpcom/threads/nsThread.cpp:1037:14
#45 0x7fd651853e70 in NS_ProcessNextEvent(nsIThread*, bool) /src/xpcom/threads/nsThreadUtils.cpp:513:10
#46 0x7fd6523ee625 in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /src/ipc/glue/MessagePump.cpp:97:21
#47 0x7fd6523409e7 in MessageLoop::RunInternal() /src/ipc/chromium/src/base/message_loop.cc:326:10
#48 0x7fd652340879 in MessageLoop::Run() /src/ipc/chromium/src/base/message_loop.cc:299:3
#49 0x7fd656fd419a in nsBaseAppShell::Run() /src/widget/nsBaseAppShell.cpp:158:27
#50 0x7fd65a372576 in XRE_RunAppShell() /src/toolkit/xre/nsEmbedFunctions.cpp:877:22
#51 0x7fd6523ef245 in mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) /src/ipc/glue/MessagePump.cpp:269:9
#52 0x7fd6523409e7 in MessageLoop::RunInternal() /src/ipc/chromium/src/base/message_loop.cc:326:10
#53 0x7fd652340879 in MessageLoop::Run() /src/ipc/chromium/src/base/message_loop.cc:299:3
#54 0x7fd65a371d58 in XRE_InitChildProcess(int, char**, XREChildData const*) /src/toolkit/xre/nsEmbedFunctions.cpp:703:34
#55 0x4ecb2e in content_process_main(mozilla::Bootstrap*, int, char**) /src/browser/app/../../ipc/contentproc/plugin-container.cpp:63:30
#56 0x4ecd89 in main /src/browser/app/nsBrowserApp.cpp:280:18
#57 0x7fd67062682f in __libc_start_main /build/glibc-bfm8X4/glibc-2.23/csu/../csu/libc-start.c:291
#58 0x41ebe4 in _start (firefox+0x41ebe4)
Flags: in-testsuite?
Goes back more than a year (which is the furthest back mozregression can bisect debug builds).
Has Regression Range: --- → no
Version: 58 Branch → unspecified
Andrew can you reproduce this?
Component: Graphics → ImageLib
Flags: needinfo?(aosmond)
Whiteboard: [gfx-noted]
This is my fault actually. A regression from the bits that landed from bug 1290293.
Assignee: nobody → aosmond
Flags: needinfo?(aosmond)
You need to log in before you can comment on or make changes to this bug.