[Skia-update branch] GrMemoryPool.cpp:35: failed assertion "0 == fAllocationCnt" (when a DOM bug causes a leak)

RESOLVED WORKSFORME

Status

()

Core
Graphics
--
critical
RESOLVED WORKSFORME
3 years ago
2 years ago

People

(Reporter: Jesse Ruderman, Assigned: milan, NeedInfo)

Tracking

(Blocks: 1 bug, {assertion, regression, testcase})

46 Branch
Unspecified
Mac OS X
assertion, regression, testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox45 affected)

Details

(Whiteboard: [gfx-noted])

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
Created attachment 8695234 [details]
testcase

Using the Mac build from https://treeherder.mozilla.org/#/jobs?repo=try&revision=91dc4f334fc5

(This does NOT reproduce on mozilla-central because bug 1082598 has not landed yet.)

1. Load the testcase
2. Quit

gfx/skia/skia/src/gpu/GrMemoryPool.cpp:35: failed assertion "0 == fAllocationCnt"

This happens very late in shutdown (__cxa_finalize_ranges), so maybe it's not exploitable?

But please fix this so I don't have to keep updating the testcase with new leak bugs (e.g. when bug 1230110 is fixed).
I was not able to reproduce this on Linux. We should check if this is Mac specific after Skia update.
OS: Unspecified → Mac OS X
Whiteboard: [gfx-noted]
Jesse: does this still reproduce?
Flags: needinfo?(jruderman)
I can't reproduce on OS X 10.11.2.
Assignee: nobody → milan
Mason, can you repro this one on nightly-ish?
Flags: needinfo?(mchang)
I could not reproduce this on today's nightly.
Flags: needinfo?(mchang)
Jesse, reopen if this still happens for you.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
Version: Trunk → 46 Branch
You need to log in before you can comment on or make changes to this bug.