Closed
Bug 1296988
Opened 8 years ago
Closed 8 years ago
Update libnestegg to add2e904
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla51
People
(Reporter: kinetik, Assigned: kinetik)
References
Details
Attachments
(1 file, 4 obsolete files)
30.97 KB,
patch
|
ritu
:
approval-mozilla-aurora+
lizzard
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Update libnestegg to 0d2d07ac to pick up several fuzzer fixes. Also drags in an updated version of halloc.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=93983467542a
Assignee | ||
Comment 1•8 years ago
|
||
Individual changes have already been reviewed, so r? is just for a general rubber stamp.
Attachment #8783382 -
Flags: review?(giles)
Assignee | ||
Updated•8 years ago
|
Summary: Update libnestegg to 0d2d07ac → Update libnestegg to f522e4f4
Assignee | ||
Comment 2•8 years ago
|
||
Small change: replace malloc.h include (which is non-standard) with stdlib.h to resolve build breakage on OS X and Windows.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=bde484ddbdcb
Attachment #8783382 -
Attachment is obsolete: true
Attachment #8783382 -
Flags: review?(giles)
Attachment #8783395 -
Flags: review?(giles)
Comment 3•8 years ago
|
||
Comment on attachment 8783395 [details] [diff] [review]
bug1296988_v1.patch
Review of attachment 8783395 [details] [diff] [review]:
-----------------------------------------------------------------
looks good. r=me.
Attachment #8783395 -
Flags: review?(giles) → review+
Assignee | ||
Updated•8 years ago
|
Summary: Update libnestegg to f522e4f4 → Update libnestegg to add2e904
Assignee | ||
Comment 4•8 years ago
|
||
Sorry to be a pain, but here's another version to review since I decided to rip halloc out as we don't need 99% of the functionality and removing it deals with issues like bug 1293762 (which has been fixed upstream in 1.2.3) and bug 1281295 (which is tricky to fix portably).
The replacement is crude, but it's not used in a performance critical path (e.g. a typical file might only allocate 2-4 items in this pool).
This allows allows us to remove the halloc-specific memory reporter we had. This was only tracking the handful of metadata allocations and not the majority of the frame allocations made via the nestegg_read_packet path, so it was of very limited use.
Attachment #8783395 -
Attachment is obsolete: true
Attachment #8783763 -
Flags: review?(giles)
Assignee | ||
Comment 5•8 years ago
|
||
Assignee | ||
Comment 6•8 years ago
|
||
There was a suspicious crash in free() in the last patch (which I don't think I caused; we'll see on the next try push), and while investigating with ASAN I discovered that the libnestegg changes for bug 1261900 and bug 1257726 introduced leaks. This patch includes leak fixes for those regressions.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=bf811fd5175b
Attachment #8783763 -
Attachment is obsolete: true
Attachment #8783763 -
Flags: review?(giles)
Attachment #8783809 -
Flags: review?(giles)
Assignee | ||
Updated•8 years ago
|
Comment 7•8 years ago
|
||
Comment on attachment 8783809 [details] [diff] [review]
bug1296988_v3.patch
Review of attachment 8783809 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with the in-tree halloc sources removed.
Attachment #8783809 -
Flags: review?(giles) → review+
Pushed by mgregan@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/84b4b7e346b8
Update libnestegg. r=rillian
Assignee | ||
Comment 9•8 years ago
|
||
Comment on attachment 8783809 [details] [diff] [review]
bug1296988_v3.patch
Approval Request Comment
[Feature/regressing bug #]: bug 1261900 and bug 1257726
[User impact if declined]: potential memory leaks with WebM MSE and EME playback
[Describe test coverage new/current, TreeHerder]: covered by existing tests
[Risks and why]: low risk, much of the changes are adding additional error handling/memory freeing on error paths
[String/UUID change made/needed]: none
Attachment #8783809 -
Flags: approval-mozilla-beta?
Attachment #8783809 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 10•8 years ago
|
||
Update with actual patch to land - only changes are deleting the halloc source from Gecko.
Attachment #8783809 -
Attachment is obsolete: true
Attachment #8783809 -
Flags: approval-mozilla-beta?
Attachment #8783809 -
Flags: approval-mozilla-aurora?
Attachment #8784661 -
Flags: approval-mozilla-beta?
Attachment #8784661 -
Flags: approval-mozilla-aurora?
Comment 12•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Flags: needinfo?(wkocher)
status-firefox49:
--- → affected
status-firefox50:
--- → affected
Comment 13•8 years ago
|
||
Good that we're fixing this potential for memory leaks. One regression is from 45 and one is from 49. Do we really need to uplift this to 49 beta 9? The release candidate build for 49 is in one week. I think it is ok for it to ride the trains or maybe uplift to aurora.
Flags: needinfo?(kinetik)
Updated•8 years ago
|
Updated•8 years ago
|
Attachment #8784661 -
Flags: approval-mozilla-beta? → approval-mozilla-beta-
Comment on attachment 8784661 [details] [diff] [review]
bug1296988_v3.1.patch
It's probably ok to take this in 50 as its still in Aurora cycle.
Attachment #8784661 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 15•8 years ago
|
||
(In reply to Liz Henry (:lizzard) (needinfo? me) from comment #13)
> Good that we're fixing this potential for memory leaks. One regression is
> from 45 and one is from 49. Do we really need to uplift this to 49 beta 9?
> The release candidate build for 49 is in one week. I think it is ok for it
> to ride the trains or maybe uplift to aurora.
Both of the regressions are in 49, so if we don't uplift we'll ship these leaks to release.
Flags: needinfo?(kinetik) → needinfo?(lhenry)
Comment 16•8 years ago
|
||
Comment on attachment 8784661 [details] [diff] [review]
bug1296988_v3.1.patch
Regression in 49, I see matthew's point that it is a regression we haven't shipped yet. Let's try this in beta 9 to prevent possible new memory leaks.
Flags: needinfo?(lhenry)
Attachment #8784661 -
Flags: approval-mozilla-beta- → approval-mozilla-beta+
Comment 17•8 years ago
|
||
bugherder uplift |
Comment 18•8 years ago
|
||
bugherder uplift |
Updated•8 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•