Closed
Bug 1074317
Opened 10 years ago
Closed 9 years ago
Report indirect LSan leaks on TBPL
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(firefox42 fixed)
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: mccr8, Assigned: mccr8)
References
(Blocks 1 open bug)
Details
(Whiteboard: [MemShrink:P2])
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
erahm
:
review+
|
Details | Diff | Splinter Review |
Right now on TBPL, we don't report indirect leaks. I figured they couldn't be that bad, and we were getting some persistent small ones in XPConnect, so I just left it alone. Nick told me this was a bad idea, but hey, how bad could it get?
It turns out, pretty bad. I just noticed bug 1074310, where we have 22mb of indirect leaks. I guess some global data is entraining leaking media stuff. Anyways, the main difficulty here will be fixing the existing leaks. Then I should be able to enable this pretty easily.
Updated•10 years ago
|
Whiteboard: [MemShrink] → [MemShrink:P2]
Assignee | ||
Comment 1•9 years ago
|
||
I've now filed all of the indirect leaks we have on TreeHerder. I'll probably add suppressions for them if something concrete doesn't happen with them soon.
Assignee | ||
Comment 2•9 years ago
|
||
I haven't tested this yet.
Assignee | ||
Comment 3•9 years ago
|
||
LeakSanitizer reports two kinds of leaks: direct and indirect. I think that "direct" means that no other leaked block points to the leaked block, while "indirect" means that some other leaked block points to the leaked block. Right now, we don't turn the tree orange for indirect leaks because that was easier to get landed. Most of the time, indirect leaks are just stuff that is entrained by other leaks. However, if two blocks point to each other, then they are reported as indirect, and so we aren't seeing them. The changes to leak.py just make it so that indirect leaks are handled the same as direct leaks. I also added some suppressions for the three indirect leaks I see, which is maybe the more interesting part here. Let me know if you have any questions, Eric.
try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=81d04047a473
Attachment #8642406 -
Flags: review?(erahm)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → continuation
Assignee | ||
Updated•9 years ago
|
Attachment #8641941 -
Attachment is obsolete: true
Assignee | ||
Comment 4•9 years ago
|
||
I added some more explanation to the patch comment.
Attachment #8642406 -
Attachment is obsolete: true
Attachment #8642406 -
Flags: review?(erahm)
Attachment #8642410 -
Flags: review?(erahm)
Comment 5•9 years ago
|
||
Comment on attachment 8642410 [details] [diff] [review]
Report indirect LSan leaks in mochitests.
Review of attachment 8642410 [details] [diff] [review]:
-----------------------------------------------------------------
r=me
Attachment #8642410 -
Flags: review?(erahm) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Comment 7•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•