Closed Bug 1407283 Opened 7 years ago Closed 4 years ago

Crash in mozilla::layers::MaskOperation::Release

Categories

(Core :: Graphics, defect, P3)

57 Branch
x86_64
Windows 7
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr52 --- unaffected
firefox-esr60 --- wontfix
firefox56 --- unaffected
firefox57 --- wontfix
firefox58 --- wontfix
firefox59 --- wontfix
firefox60 --- wontfix
firefox61 --- wontfix
firefox62 --- fix-optional

People

(Reporter: philipp, Assigned: dvander)

References

Details

(Keywords: crash, regression, Whiteboard: [gfx-noted])

Crash Data

This bug was filed from the Socorro interface and is 
report bp-18de8926-1da7-4f50-96ef-e165f0171010.
=============================================================
Crashing Thread (21), Name: Compositor
Frame 	Module 	Signature 	Source
0 	xul.dll 	mozilla::layers::MaskOperation::Release() 	gfx/layers/mlgpu/MaskOperation.h:26
1 	xul.dll 	mozilla::layers::LayerMLGPU::PrepareToRender(mozilla::layers::FrameBuilder*, mozilla::gfx::IntRectTyped<mozilla::RenderTargetPixel> const&) 	gfx/layers/mlgpu/LayerMLGPU.cpp:57
2 	xul.dll 	mozilla::layers::FrameBuilder::AssignLayer(mozilla::layers::Layer*, mozilla::layers::RenderViewMLGPU*, mozilla::gfx::IntRectTyped<mozilla::RenderTargetPixel> const&, mozilla::Maybe<mozilla::gfx::PolygonTyped<mozilla::gfx::UnknownUnits> >&&) 	gfx/layers/mlgpu/FrameBuilder.cpp:127
3 	xul.dll 	mozilla::layers::FrameBuilder::ProcessChildList(mozilla::layers::ContainerLayer*, mozilla::layers::RenderViewMLGPU*, mozilla::gfx::IntRectTyped<mozilla::RenderTargetPixel> const&, mozilla::Maybe<mozilla::gfx::PolygonTyped<mozilla::gfx::UnknownUnits> > const&) 	gfx/layers/mlgpu/FrameBuilder.cpp:228
4 	xul.dll 	mozilla::layers::FrameBuilder::ProcessContainerLayer(mozilla::layers::ContainerLayer*, mozilla::layers::RenderViewMLGPU*, mozilla::gfx::IntRectTyped<mozilla::RenderTargetPixel> const&, mozilla::Maybe<mozilla::gfx::PolygonTyped<mozilla::gfx::UnknownUnits> >&) 	gfx/layers/mlgpu/FrameBuilder.cpp:172
5 	xul.dll 	mozilla::layers::FrameBuilder::AssignLayer(mozilla::layers::Layer*, mozilla::layers::RenderViewMLGPU*, mozilla::gfx::IntRectTyped<mozilla::RenderTargetPixel> const&, mozilla::Maybe<mozilla::gfx::PolygonTyped<mozilla::gfx::UnknownUnits> >&&) 	gfx/layers/mlgpu/FrameBuilder.cpp:122
6 	xul.dll 	mozilla::layers::FrameBuilder::Build() 	gfx/layers/mlgpu/FrameBuilder.cpp:72
7 	xul.dll 	mozilla::layers::LayerManagerMLGPU::RenderLayers() 	gfx/layers/mlgpu/LayerManagerMLGPU.cpp:351
8 	xul.dll 	mozilla::layers::LayerManagerMLGPU::Composite() 	gfx/layers/mlgpu/LayerManagerMLGPU.cpp:321
9 	xul.dll 	mozilla::layers::LayerManagerMLGPU::EndTransaction(mozilla::TimeStamp const&, mozilla::layers::LayerManager::EndTransactionFlags) 	gfx/layers/mlgpu/LayerManagerMLGPU.cpp:280
10 	xul.dll 	mozilla::layers::CompositorBridgeParent::CompositeToTarget(mozilla::gfx::DrawTarget*, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> const*) 	gfx/layers/ipc/CompositorBridgeParent.cpp:1041
11 	xul.dll 	mozilla::layers::CompositorVsyncScheduler::Composite(mozilla::TimeStamp) 	gfx/layers/ipc/CompositorVsyncScheduler.cpp:262
12 	xul.dll 	mozilla::detail::RunnableMethodImpl<mozilla::layers::CompositorVsyncScheduler* const, void ( mozilla::layers::CompositorVsyncScheduler::*)(mozilla::TimeStamp), 1, 1, mozilla::TimeStamp>::Run() 	xpcom/threads/nsThreadUtils.h:1192
13 	xul.dll 	MessageLoop::DoWork() 	ipc/chromium/src/base/message_loop.cc:535
14 	xul.dll 	base::MessagePumpForUI::DoRunLoop() 	ipc/chromium/src/base/message_pump_win.cc:210
15 	xul.dll 	base::MessagePumpWin::Run(base::MessagePump::Delegate*) 	ipc/chromium/src/base/message_pump_win.h:80
16 	xul.dll 	MessageLoop::RunHandler() 	ipc/chromium/src/base/message_loop.cc:319
17 	xul.dll 	MessageLoop::Run() 	ipc/chromium/src/base/message_loop.cc:299
18 	xul.dll 	base::Thread::ThreadMain() 	ipc/chromium/src/base/thread.cc:181
19 	xul.dll 	`anonymous namespace'::ThreadFunc 	ipc/chromium/src/base/platform_thread_win.cc:28
20 	kernel32.dll 	BaseThreadInitThunk 	
21 	ntdll.dll 	RtlUserThreadStart 	
22 	kernel32.dll 	BasepReportFault 	
23 	kernel32.dll 	BasepReportFault

this crash signature is starting to show up a handful of times in 57.0b6.
Priority: -- → P3
Very low volume so far - David, any thoughts?  https://crash-stats.mozilla.com/report/index/2ee57806-3fec-4887-91ca-505550171011 is the one crash I could find in 58.
Bug 1381479 related?
Flags: needinfo?(dvander)
Whiteboard: [gfx-noted]
It looks like a MaskOperation is being assigned to a Layer, and the previous MaskOperation is getting decref'd. It looks like the old one was already freed, or corrupted somehow, so we crash.

Unfortunately I can't see why this could happen... I don't see anything obvious that could cause an extra Release. Assigning myself to keep an eye on this.
Assignee: nobody → dvander
Status: NEW → ASSIGNED
Flags: needinfo?(dvander)
Crash Signature: [@ mozilla::layers::MaskOperation::Release] → [@ mozilla::layers::MaskOperation::Release] [@ mozilla::dom::GetFilesCallback::Release]

Closing because no crashes reported for 12 weeks.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.