Closed
Bug 1179782
Opened 9 years ago
Closed 9 years ago
test_bug436801.html, test_bug494328.html, test_bug589543.html, test_registerHandler.html leaks for Windows & Mac (debug platforms), with run-by-dir enabled. test_bug589543.html also leaks for linux.
Categories
(Firefox Graveyard :: RSS Discovery and Preview, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kaustabh93, Assigned: mccr8)
References
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 Build ID: 20150321175551 Actual results: As we can see on try, even after removal of a single test, the leaks persist. This was repeated for all the tests, and unless all the tests were removed, the leaks persisted. https://treeherder.mozilla.org/#/jobs?repo=try&revision=1ea5b2b8a6cb Snippet of the log, detailing the leak : https://pastebin.mozilla.org/8838364
Reporter | ||
Updated•9 years ago
|
Component: Untriaged → RSS Discovery and Preview
Version: 36 Branch → 42 Branch
Updated•9 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 1•9 years ago
|
||
These tests are all old, right? What has changed for this issue to become visible now?
Reporter | ||
Comment 2•9 years ago
|
||
(In reply to Florian Quèze [:florian] [:flo] from comment #1) > These tests are all old, right? What has changed for this issue to become > visible now? We are trying to minimize failures when run-by-dir is enabled. These tests are causing leaks, so we'd like to have them resolved. When we run with rin-by-dir enabled, we only run the browser for the tests in that directory & then shut it down. This might cause us to terminate before delayed cleanup takes place. Any leads on how to solve them would be helpful.
Reporter | ||
Comment 3•9 years ago
|
||
Resolving this bug would resolve all leaks for mochitest-plain with run-by-dir enabled. These are causing leaks in Windows, mac, linux and linux-asan.
Comment 4•9 years ago
|
||
Most of the stuff in the leak log looks generic, except for nsAuthURLParser. I'd start there. Leaking a Backstage pass and a bunch of XPC* objects just means that we're leaking a system compartment (either JS-implemented XPCOM component or JSM) - it doesn't tell us how that's happening.
Comment 5•9 years ago
|
||
:bholley, any tips on how to start on the nsAuthURLParser? is that something related to https?
Comment 6•9 years ago
|
||
(In reply to Joel Maher (:jmaher) from comment #5) > :bholley, any tips on how to start on the nsAuthURLParser? is that > something related to https? For general tips on debugging mochitest memory leaks, you probably want Andrew.
Flags: needinfo?(continuation)
Assignee | ||
Comment 7•9 years ago
|
||
I'll take a look. This RSS feed stuff comes up pretty frequently when you try to change how collection happens, because it involves a lot of ancient XPCOM stuff that isn't cycle collected properly.
Assignee: nobody → continuation
Flags: needinfo?(continuation)
Comment 8•9 years ago
|
||
with bug 1184400 fixed should some or all of this be fixed? maybe a try push this weekend could tell us?
Assignee | ||
Comment 9•9 years ago
|
||
(In reply to Joel Maher (:jmaher) from comment #8) > with bug 1184400 fixed should some or all of this be fixed? maybe a try > push this weekend could tell us? Bug 1184400 fixes the entire leak for me locally when I run ./mach mochitest -f plain browser/components/feeds/test/ Let me know if it is still broken in your test runs.
Reporter | ||
Comment 10•9 years ago
|
||
This is fixed : https://treeherder.mozilla.org/#/jobs?repo=try&revision=156e71936b5f Thanks for getting this working.
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•