Closed Bug 1351725 Opened 7 years ago Closed 7 years ago

Crash in mozilla::gfx::GfxVarValue::AssertSanity


(Core :: Graphics, defect)

Windows 8
Not set



Tracking Status
firefox55 --- fix-optional


(Reporter: calixte, Unassigned)


(Blocks 1 open bug)


(Keywords: crash, regression, Whiteboard: [clouseau],)

Crash Data

This bug was filed from the Socorro interface and is 
report bp-e3b7620b-35eb-470f-86d0-db4222170329.

There are 7 crashes in nightly 55 with buildids 20170328095415 and 20170328030207. In analyzing the backtrace the regression may have been introduced by patch [1] to fix bug 1309200.

Flags: needinfo?(nical.bugzilla)
There also seems to be one crash with Build ID 20170325030203, which is before the 28th.
From the back trace information, Gecko hits release assert in [1]. In [1], aType was set as TBackendType(1) and not expected to mType. Those updated GfxPrefValue in GfxVarUpdate was sent from GPUChild::Init() to build a list of prefs the GPU process will need. If parent side mismatch the index order by calling ApplyUpdate(), it might have chance to hit this crash. 

From looked into bug 1309200, Maybe it would affect the order by adding a gfx var in [2]. I would take some time to see more.

Flags: needinfo?(milan)
Priority: -- → P1
Whiteboard: [clouseau] → [clouseau], [gfx-noted]
Priority: P1 → --
Whiteboard: [clouseau], [gfx-noted] → [clouseau],
How does ApplyUpdate change the index?  There is a variable for each of these in gfxVars, and those should be initialized in the same order on all processes during gfxVars constructor.  Can you elaborate?
Flags: needinfo?(milan)
I think you may have been saying that ApplyUpdate gets called before gfxVars is initialized in the first place.  Perhaps it's the same root cause then as this in bug 1337062 comment 53.
I am not familiar with the internals of gfxVars and I would be very surprised if patch introduced an error since it mirrors exactly what the ContentBackend pref does in the same places.
Maybe David has better insights?
Flags: needinfo?(nical.bugzilla) → needinfo?(dvander)
Your patch definitely didn't cause this. It seems like another content/browser process mismatch thing, maybe. But there are no new reports in the past week.
Flags: needinfo?(dvander)
NI to check in a bit more and resolve if it's gone.
Flags: needinfo?(milan)
Seems to have gone away.
Closed: 7 years ago
Flags: needinfo?(milan)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.