Closed
Bug 982339
Opened 11 years ago
Closed 11 years ago
TextureClientPoolMembers are never deleted
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
People
(Reporter: mattwoodrow, Assigned: mattwoodrow)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file, 3 obsolete files)
(deleted),
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
This causes leaks, which we now catch in debug builds (thanks ehsan!)
Attachment #8389451 -
Flags: review?(bas)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → matt.woodrow
Comment 1•11 years ago
|
||
Comment on attachment 8389451 [details] [diff] [review]
Delete them!
Review of attachment 8389451 [details] [diff] [review]:
-----------------------------------------------------------------
Let's stop using mozilla::LinkedList, it's caused several problems already, the semantics are insane. Let's just use an STL container.
Attachment #8389451 -
Flags: review?(bas) → review-
Assignee | ||
Comment 2•11 years ago
|
||
I went with nsTArray since policy is to stick with those classes unless we really need something specific to std:: (to maintain consistency across the code base).
I think array/vector is better than list too here, since we're basically always going to have two pools, and we can allocate the size upfront.
Attachment #8389451 -
Attachment is obsolete: true
Attachment #8389466 -
Flags: review?(bas)
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8389466 -
Attachment is obsolete: true
Attachment #8389466 -
Flags: review?(bas)
Attachment #8389581 -
Flags: review?(bas)
Updated•11 years ago
|
Attachment #8389581 -
Flags: review?(bas) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Backed out along with bug 982318 in https://hg.mozilla.org/integration/mozilla-inbound/rev/892dd317097f for b2g mochitest crash/hangs (nobody can really tell which they do) like https://tbpl.mozilla.org/php/getParsedLog.php?id=36315626&tree=Mozilla-Inbound in most chunks.
Assignee | ||
Comment 6•11 years ago
|
||
Comment 7•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Comment 8•11 years ago
|
||
Bug 985302 is necessary for this bug. After applying attachment 8389581 [details] [diff] [review] to b2g v1.4, I faced Bug 985302 problem.
Depends on: 985302
Comment 10•11 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #9)
> Created attachment 8411320 [details] [diff] [review]
> Use nsTArray v2 for b2g v1.4
>
> A patch for b2g v1.4.
Just unbitrot attachment 8389581 [details] [diff] [review].
Comment 11•11 years ago
|
||
Nominate to "1.4+", because this bug blocks Bug 998504.
blocking-b2g: --- → 1.4?
Updated•11 years ago
|
blocking-b2g: 1.4? → 1.4+
Comment 12•11 years ago
|
||
status-b2g-v1.4:
--- → fixed
status-b2g-v2.0:
--- → fixed
status-firefox29:
--- → wontfix
status-firefox30:
--- → fixed
status-firefox31:
--- → fixed
Comment 13•11 years ago
|
||
Backed out for frequent Android crashes.
https://hg.mozilla.org/releases/mozilla-aurora/rev/95ed6fad0a6c
https://tbpl.mozilla.org/php/getParsedLog.php?id=38434306&tree=Mozilla-Aurora
https://tbpl.mozilla.org/php/getParsedLog.php?id=38434603&tree=Mozilla-Aurora
https://tbpl.mozilla.org/php/getParsedLog.php?id=38434728&tree=Mozilla-Aurora
Comment 14•11 years ago
|
||
Comment 15•11 years ago
|
||
Sorry, I created the patch based on attachment 8389581 [details] [diff] [review]. It was wrong. After that there was an update to the patch and updated patch was checked in to m-c.
The crash happened because of lacking a cancel timer in TextureClientPool::~TextureClientPool(). It is not present in attachment 8389581 [details] [diff] [review]. But it is added to m-c checked in version.
Updated•11 years ago
|
Attachment #8411320 -
Attachment is obsolete: true
Comment 16•11 years ago
|
||
(In reply to Carsten Book [:Tomcat] from comment #7)
> https://hg.mozilla.org/mozilla-central/rev/2a19ce01687f
I confirmed that the above checked-in diff could be safely applied to b2g v1.4.
Comment 17•11 years ago
|
||
aurora specific patch is not necessary. m-c checked in diff could be uplifted to aurora.
Keywords: checkin-needed
Comment 18•11 years ago
|
||
Updated•11 years ago
|
status-b2g-v1.3T:
--- → ?
Flags: needinfo?(fabrice)
Comment 19•11 years ago
|
||
It is necessary only when tiling is enable. Tiling is a capability that enabled since b2g v1.4
Comment 20•11 years ago
|
||
James, we have no tiling on v1.3t, so we don't need that.
status-b2g-v1.3T:
? → ---
Flags: needinfo?(fabrice)
You need to log in
before you can comment on or make changes to this bug.
Description
•