Closed
Bug 1430188
Opened 7 years ago
Closed 7 years ago
{i,}wt_matrix_ref tables in libaom are enormous and not read-only
Categories
(Core :: Audio/Video, enhancement)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: froydnj, Assigned: rillian)
Details
Attachments
(1 file)
Noticed this while looking at sizes of libxul symbols for something else today:
0x34400 OBJECT LOCAL DEFAULT 28 iwt_matrix_ref
0x34400 OBJECT LOCAL DEFAULT 28 wt_matrix_ref
That is, both of these tables are ~200KB, and they are stored in the writable data section. They are initialized in the source code, so I think the intent is that they're read-only, but since they're lacking the `const` qualifier, they are unsharable between processes. Thus we have ~400KB of private data in each process that really shouldn't be there.
I can't tell whether they're actually writable or not; it looks like they shouldn't be, but AFAICT the sole references are from unused functions (?).
Ralph, can you look into this and/or get this fixed upstream? Upstream at least looks like they're still writable:
https://aomedia.googlesource.com/aom/+/master/av1/common/quant_common.c#582
https://aomedia.googlesource.com/aom/+/master/av1/common/quant_common.c#7350
Flags: needinfo?(giles)
Assignee | ||
Comment 1•7 years ago
|
||
Thanks for the report. Patch submitted as https://aomedia-review.googlesource.com/#/c/aom/+/41822
Assignee: nobody → giles
Flags: needinfo?(giles)
Reporter | ||
Comment 2•7 years ago
|
||
Thank you!
Comment hidden (mozreview-request) |
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8942711 [details]
Bug 1430188: av1: Mark AOM_QM matricies const. .
https://reviewboard.mozilla.org/r/212980/#review218644
Attachment #8942711 -
Flags: review?(kinetik) → review+
Pushed by rgiles@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d88cb52f392d
av1: Mark AOM_QM matricies const. r=kinetik.
Comment 6•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in
before you can comment on or make changes to this bug.
Description
•