Closed
Bug 860442
Opened 12 years ago
Closed 12 years ago
B2G emulator reftest failures and timeouts after layers refactoring
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: ahal, Assigned: jrmuizel)
References
Details
Attachments
(1 file)
766 bytes,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
This is fallout from the layers refactoring in bug 825928. Reftests are currently so the bustage wasn't caught right away (you can see them with https://tbpl.mozilla.org/?tree=Mozilla-Inbound&showall=1&jobname=b2g)
Each chunk has many failures, and eventually times out after 330 seconds with no output, e.g:
https://tbpl.mozilla.org/php/getParsedLog.php?id=21655253&tree=Mozilla-Inbound&full=1
Assignee | ||
Comment 2•12 years ago
|
||
This looks like an OOM
Assignee | ||
Comment 3•12 years ago
|
||
We're leaking gralloc buffers
Assignee | ||
Comment 4•12 years ago
|
||
We are leaking in the snapshot path of BasicShadowLayerManager::EndTransaction.
We allocate a surface descriptor in AllocSurfaceDescriptor. However, it does not have a bufferParent and so when we call ISurfaceAllocator::PlatformDestroySharedSurface it ends up leaking.
This fixes the leak. However, I don't have much of an idea of how correct it is.
Attachment #736137 -
Flags: review?(bjacob)
Comment 5•12 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #4)
> This fixes the leak. However, I don't have much of an idea of how correct it
> is.
I don't either. Could you at least describe how you came up with this idea? It wouldn't even have crossed my mind.
Let's flag jdm for needinfo: is it a typical idiom, to go "if we don't have a parent, use the child" like this patch does? What sense does it make?
Flags: needinfo?(josh)
Comment 7•12 years ago
|
||
In particular, one and only one of those methods will return a non-null value, depending on whether it's running on the parent or child.
Comment 8•12 years ago
|
||
There is also an intermittent crash in B2G mochitest, with a stack trace that looks like it might be relevant:
https://tbpl.mozilla.org/php/getParsedLog.php?id=21686207&tree=Mozilla-Inbound
Assignee | ||
Comment 9•12 years ago
|
||
Comment 10•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Reporter | ||
Comment 12•12 years ago
|
||
There are still some perma-orange tests in R1 and R6
https://tbpl.mozilla.org/php/getParsedLog.php?id=21733320&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=21733404&tree=Mozilla-Inbound
(ignore the input-file-*.html tests, they are bug 855352)
Jeff, should I file a separate bug for these? Or are they symptoms of known issues.
Assignee | ||
Comment 13•12 years ago
|
||
Comment on attachment 736137 [details] [diff] [review]
Delete the gralloc buffer even when we don't have a PBufferParent
Nical reviewed this.
Attachment #736137 -
Flags: review?(bjacob) → review+
You need to log in
before you can comment on or make changes to this bug.
Description
•