Closed
Bug 962978
Opened 10 years ago
Closed 10 years ago
TextureHost leaking mBuffer with OMTC on Linux
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: romaxa, Assigned: romaxa)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file, 1 obsolete file)
1.38 KB,
patch
|
nical
:
review+
|
Details | Diff | Splinter Review |
It seems like latest trunk leaking mBuffer data in TextureClient/TextureHost Regression seems coming from: http://hg.mozilla.org/mozilla-central/rev/a283c87bafd1 MemoryTextureClient::Allocate - does alloc mBuffer MemoryTextureClient::~MemoryTextureClient - does not delete buffer because IsSharedWithCompositor == true TextureParent::ActorDestroy in case Deletion: does not call DeallocateSharedData because TEXTURE_DEALLOCATE_CLIENT =false and TEXTURE_DEALLOCATE_DEFERRED = true. so we jump onto mTextureHost->ForgetSharedData - which just forget mBuffer. - leak after all that we coming into MemoryTextureHost::DeallocateSharedData where mBuffer already null so no deletion happens
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8364206 -
Flags: feedback?(bjacob)
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8364206 -
Attachment is obsolete: true
Attachment #8364206 -
Flags: feedback?(bjacob)
Attachment #8364212 -
Flags: review?(nical.bugzilla)
Comment 3•10 years ago
|
||
Comment on attachment 8364212 [details] [diff] [review] Don't drop mBuffer for deffered deallocate too early Review of attachment 8364212 [details] [diff] [review]: ----------------------------------------------------------------- Oh my, thanks!
Attachment #8364212 -
Flags: review?(nical.bugzilla) → review+
Assignee | ||
Comment 4•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a9a4736ea178
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a9a4736ea178
Assignee: nobody → romaxa
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Updated•10 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•