Closed
Bug 1340457
Opened 8 years ago
Closed 8 years ago
Perma failure leakcheck | default process: 120 bytes leaked (CSSVariableValues, nsStyleVariables, nsTArray_base)
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox52 | --- | unaffected |
firefox53 | --- | unaffected |
firefox54 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure, memory-leak, Whiteboard: [stockwell fixed])
Comment hidden (obsolete) |
Comment 4•8 years ago
|
||
Grr, another half-written comment, I need to start looking at the textbox when switching tabs back. The only nsStyleVariables we should have is the static one we use to stub them, so this is slightly scary.
Comment 5•8 years ago
|
||
Well, you are only leaking one. Maybe it is stored in a static variable somewhere, and that isn't being cleaned up at shutdown?
Comment hidden (Intermittent Failures Robot) |
Comment 7•8 years ago
|
||
The leak comes from test_variables.html (maybe unsurprisingly). I'll disable the test for now.
Comment 8•8 years ago
|
||
Yes, I'm pretty sure this comes from the lazily created Variables struct:
lazy_static! {
static ref EMPTY_VARIABLES_STRUCT: nsStyleVariables = {
unsafe {
let mut variables: nsStyleVariables = unsafe { zeroed() };
Gecko_Construct_nsStyleVariables(&mut variables);
variables
}
};
}
Comment hidden (Intermittent Failures Robot) |
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Comment hidden (Intermittent Failures Robot) |
Updated•8 years ago
|
Updated•8 years ago
|
Whiteboard: [stockwell fixed]
Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•