Check failed: g_all_contexts.Get().size() == static_cast<size_t>(0) (1 vs. 0) at shutdown

Bug #1452407 reported by Chris Coulson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Oxide
Fix Released
High
Chris Coulson
1.7
Fix Released
High
Chris Coulson

Bug Description

We occasionally fail a CHECK at application shutdown that ensures there are no more BrowserContexts. However, since bug 1431484 landed, BrowserContext is kept alive by RenderProcessHost, which is kept alive until the corresponding process exits. If any processes are slow to quit at shutdown, or RenderProcessHosts still exist for some other reason, then we hit this CHECK

Changed in oxide:
importance: Undecided → High
status: New → Triaged
Changed in oxide:
assignee: nobody → Chris Coulson (chrisccoulson)
Revision history for this message
Olivier Tilloy (osomon) wrote :

Note: the unit tests associated with the implementation of bug #1375272 have been temporarily disabled. Please re-enable them once this issue is fixed.

Changed in oxide:
milestone: none → branch-1.8
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

This ended up not being a race but a genuine memory leak - which is what this assert is there to catch :)

Changed in oxide:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.