Closed
Bug 962978
Opened 11 years ago
Closed 11 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)
(deleted),
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•11 years ago
|
||
Attachment #8364206 -
Flags: feedback?(bjacob)
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8364206 -
Attachment is obsolete: true
Attachment #8364206 -
Flags: feedback?(bjacob)
Attachment #8364212 -
Flags: review?(nical.bugzilla)
Comment 3•11 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•11 years ago
|
||
Keywords: checkin-needed
Updated•11 years ago
|
Keywords: checkin-needed
Comment 5•11 years ago
|
||
Assignee: nobody → romaxa
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Updated•11 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•