Open Bug 1400905 Opened 3 years ago Updated 1 year ago

Assertion failure: !r.IsEmpty() (GFX: rect is empty.) [@ mozilla::layers::PLayerTransactionChild::Write]

Categories

(Core :: Graphics: Layers, defect, P3)

defect

Tracking

()

Tracking Status
firefox57 --- wontfix

People

(Reporter: tsmith, Assigned: nical)

References

(Blocks 1 open bug)

Details

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

Attachments

(1 file)

Attached file test_case.html
Assertion failure: !r.IsEmpty() (GFX: rect is empty.), at /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/GfxMessageUtils.h:375

#0 0x7fa9b725e838 in Done /src/obj-firefox/dist/include/nsRegion.h:378:32
#1 0x7fa9b725e838 in Done /src/obj-firefox/dist/include/nsRegion.h:774
#2 0x7fa9b725e838 in IPC::RegionParamTraits<mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits>, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits>, mozilla::gfx::BaseIntRegion<mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits>, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits>, mozilla::gfx::IntPointTyped<mozilla::gfx::UnknownUnits>, mozilla::gfx::IntMarginTyped<mozilla::gfx::UnknownUnits> >::RectIterator>::Write(IPC::Message*, mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&) /src/obj-firefox/dist/include/mozilla/GfxMessageUtils.h:373
#3 0x7fa9b72415ae in WriteParam<mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> > /src/ipc/chromium/src/chrome/common/ipc_message_utils.h:111:3
#4 0x7fa9b72415ae in Write /src/obj-firefox/dist/include/mozilla/layers/LayersMessageUtils.h:407
#5 0x7fa9b72415ae in WriteParam<mozilla::layers::EventRegions> /src/ipc/chromium/src/chrome/common/ipc_message_utils.h:111
#6 0x7fa9b72415ae in Write<mozilla::layers::EventRegions> /src/obj-firefox/ipc/ipdl/_ipdlheaders/mozilla/layers/PLayerTransactionChild.h:419
#7 0x7fa9b72415ae in mozilla::layers::PLayerTransactionChild::Write(mozilla::layers::CommonLayerAttributes const&, IPC::Message*) /src/obj-firefox/ipc/ipdl/PLayerTransactionChild.cpp:4122
#8 0x7fa9b7243713 in Write /src/obj-firefox/ipc/ipdl/PLayerTransactionChild.cpp:1266:5
#9 0x7fa9b7243713 in Write /src/obj-firefox/ipc/ipdl/PLayerTransactionChild.cpp:3704
#10 0x7fa9b7243713 in mozilla::layers::PLayerTransactionChild::Write(nsTArray<mozilla::layers::OpSetLayerAttributes> const&, IPC::Message*) /src/obj-firefox/ipc/ipdl/PLayerTransactionChild.cpp:2326
#11 0x7fa9b7239ac6 in mozilla::layers::PLayerTransactionChild::Write(mozilla::layers::TransactionInfo const&, IPC::Message*) /src/obj-firefox/ipc/ipdl/PLayerTransactionChild.cpp:5087:5
#12 0x7fa9b72396b0 in mozilla::layers::PLayerTransactionChild::SendUpdate(mozilla::layers::TransactionInfo const&) /src/obj-firefox/ipc/ipdl/PLayerTransactionChild.cpp:75:5
#13 0x7fa9b8512f9e in mozilla::layers::ShadowLayerForwarder::EndTransaction(mozilla::gfx::IntRegionTyped<mozilla::gfx::UnknownUnits> const&, unsigned long, bool, unsigned int, bool, mozilla::TimeStamp const&, bool*) /src/gfx/layers/ipc/ShadowLayers.cpp:776:24
#14 0x7fa9b83c703d in mozilla::layers::ClientLayerManager::ForwardTransaction(bool) /src/gfx/layers/client/ClientLayerManager.cpp:767:25
#15 0x7fa9b83c6869 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:439:3
#16 0x7fa9bd7d3688 in nsDisplayList::PaintRoot(nsDisplayListBuilder*, gfxContext*, unsigned int) /src/layout/painting/nsDisplayList.cpp:2347:17
#17 0x7fa9bcfc8f00 in nsLayoutUtils::PaintFrame(gfxContext*, nsIFrame*, nsRegion const&, unsigned int, nsDisplayListBuilderMode, nsLayoutUtils::PaintFrameFlags) /src/layout/base/nsLayoutUtils.cpp:3771:12
#18 0x7fa9bcebe83a in mozilla::PresShell::Paint(nsView*, nsRegion const&, unsigned int) /src/layout/base/PresShell.cpp:6454:5
#19 0x7fa9bc6bd5b9 in nsViewManager::ProcessPendingUpdatesPaint(nsIWidget*) /src/view/nsViewManager.cpp:480:19
#20 0x7fa9bc6bc31b in nsViewManager::ProcessPendingUpdatesForView(nsView*, bool) /src/view/nsViewManager.cpp:412:33
#21 0x7fa9bc6bfc95 in nsViewManager::ProcessPendingUpdates() /src/view/nsViewManager.cpp:1102:5
#22 0x7fa9bce2053d in nsRefreshDriver::Tick(long, mozilla::TimeStamp) /src/layout/base/nsRefreshDriver.cpp:2082:11
#23 0x7fa9bce2c22b in TickDriver /src/layout/base/nsRefreshDriver.cpp:337:13
#24 0x7fa9bce2c22b in mozilla::RefreshDriverTimer::TickRefreshDrivers(long, mozilla::TimeStamp, nsTArray<RefPtr<nsRefreshDriver> >&) /src/layout/base/nsRefreshDriver.cpp:307
#25 0x7fa9bce2bf26 in mozilla::RefreshDriverTimer::Tick(long, mozilla::TimeStamp) /src/layout/base/nsRefreshDriver.cpp:329:5
#26 0x7fa9bce2e47b in RunRefreshDrivers /src/layout/base/nsRefreshDriver.cpp:770:5
#27 0x7fa9bce2e47b in mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::TickRefreshDriver(mozilla::TimeStamp) /src/layout/base/nsRefreshDriver.cpp:683
#28 0x7fa9bce2e086 in mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::NotifyVsync(mozilla::TimeStamp) /src/layout/base/nsRefreshDriver.cpp:584:9
#29 0x7fa9bd660b62 in mozilla::layout::VsyncChild::RecvNotify(mozilla::TimeStamp const&) /src/layout/ipc/VsyncChild.cpp:67:16
#30 0x7fa9b748f621 in mozilla::layout::PVsyncChild::OnMessageReceived(IPC::Message const&) /src/obj-firefox/ipc/ipdl/PVsyncChild.cpp:155:20
#31 0x7fa9b70e876e in mozilla::ipc::PBackgroundChild::OnMessageReceived(IPC::Message const&) /src/obj-firefox/ipc/ipdl/PBackgroundChild.cpp:1695:28
#32 0x7fa9b70350a9 in mozilla::ipc::MessageChannel::DispatchAsyncMessage(IPC::Message const&) /src/ipc/glue/MessageChannel.cpp:2115:25
#33 0x7fa9b70320f4 in mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) /src/ipc/glue/MessageChannel.cpp:2045:17
#34 0x7fa9b7033824 in mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) /src/ipc/glue/MessageChannel.cpp:1891:5
#35 0x7fa9b7033e78 in mozilla::ipc::MessageChannel::MessageTask::Run() /src/ipc/glue/MessageChannel.cpp:1924:15
#36 0x7fa9b629341d in nsThread::ProcessNextEvent(bool, bool*) /src/xpcom/threads/nsThread.cpp:1039:14
#37 0x7fa9b6299158 in NS_ProcessNextEvent(nsIThread*, bool) /src/xpcom/threads/nsThreadUtils.cpp:521:10
#38 0x7fa9b703cc51 in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /src/ipc/glue/MessagePump.cpp:97:21
#39 0x7fa9b6f9eb1b in RunInternal /src/ipc/chromium/src/base/message_loop.cc:326:10
#40 0x7fa9b6f9eb1b in RunHandler /src/ipc/chromium/src/base/message_loop.cc:319
#41 0x7fa9b6f9eb1b in MessageLoop::Run() /src/ipc/chromium/src/base/message_loop.cc:299
#42 0x7fa9bc73c25f in nsBaseAppShell::Run() /src/widget/nsBaseAppShell.cpp:158:27
#43 0x7fa9c0a80877 in XRE_RunAppShell() /src/toolkit/xre/nsEmbedFunctions.cpp:880:22
#44 0x7fa9b6f9eb1b in RunInternal /src/ipc/chromium/src/base/message_loop.cc:326:10
#45 0x7fa9b6f9eb1b in RunHandler /src/ipc/chromium/src/base/message_loop.cc:319
#46 0x7fa9b6f9eb1b in MessageLoop::Run() /src/ipc/chromium/src/base/message_loop.cc:299
#47 0x7fa9c0a8022a in XRE_InitChildProcess(int, char**, XREChildData const*) /src/toolkit/xre/nsEmbedFunctions.cpp:705:34
#48 0x4ec0a3 in content_process_main /src/browser/app/../../ipc/contentproc/plugin-container.cpp:63:30
#49 0x4ec0a3 in main /src/browser/app/nsBrowserApp.cpp:285
#50 0x7fa9d1a10f44 in __libc_start_main /build/eglibc-SvCtMH/eglibc-2.19/csu/libc-start.c:287
#51 0x41d9f8 in _start (firefox+0x41d9f8)
Flags: in-testsuite?
54 crashes in the last week, so not a high number, and perhaps some from the testing.  However, this is a release assert, which means we don't think this should happen.
Assignee: nobody → nical.bugzilla
Priority: -- → P1
Whiteboard: [gfx-noted]
Moving to p3 because no activity for at least 24 weeks.
Priority: P1 → P3
You need to log in before you can comment on or make changes to this bug.