Closed
Bug 471788
Opened 16 years ago
Closed 16 years ago
4 TUnit tests leak now
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
VERIFIED
FIXED
Firefox 3.6a1
People
(Reporter: sgautherie, Assigned: mak)
References
Details
(Keywords: memory-leak, regression, verified1.9.1)
Attachments
(2 files, 1 obsolete file)
3.42 KB,
text/plain
|
Details | |
722 bytes,
patch
|
Details | Diff | Splinter Review |
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko/20081220 Minefield/3.2a1pre] (home, optim default) (W2Ksp4) (http://hg.mozilla.org/mozilla-central/rev/e45938aee309) No leak. [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko/20090101 Minefield/3.2a1pre] (home, optim default) (W2Ksp4) (http://hg.mozilla.org/mozilla-central/rev/e807ec425ad7) "Same" leak in: test_384370.js test_421483.js test_457441-import-export-corrupt-bookmarks-html.js test_bookmarks_html.js
Flags: blocking-firefox3.1?
Reporter | ||
Updated•16 years ago
|
Flags: blocking-firefox3.1?
Reporter | ||
Comment 1•16 years ago
|
||
Assignee | ||
Comment 2•16 years ago
|
||
thanks, may i ask you, to please provide in future a pushlog link like: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=e45938aee309&tochange=e807ec425ad7 I think that's more useful to see which changesets are in the range. This is due to bug 414715, i'm taking a look if i can find which part is leaking
Blocks: 414715
Reporter | ||
Comment 3•16 years ago
|
||
(In reply to comment #2) > thanks, may i ask you, to please provide in future a pushlog link like: Thanks for the tip ! Do you type it manually, or is there a ui yet (bug 452882) ? > This is due to bug 414715, i'm taking a look if i can find which part is > leaking Arf, that bug has already been checked in and backed out multiple times due to leaks: can't it be run through (all) the tests *before* checkin ? :-<
Assignee | ||
Comment 4•16 years ago
|
||
(In reply to comment #3) > (In reply to comment #2) > > thanks, may i ask you, to please provide in future a pushlog link like: > > Thanks for the tip ! > Do you type it manually, or is there a ui yet (bug 452882) ? manually > > This is due to bug 414715, i'm taking a look if i can find which part is > > leaking > > Arf, that bug has already been checked in and backed out multiple times due to > leaks: can't it be run through (all) the tests *before* checkin ? :-< would be cool if an automation could tell "these tests: 1, 2, 3, are now leaking", the cumulative leak result is not always enough to see exactly what happened.
Assignee | ||
Comment 5•16 years ago
|
||
the leak is activated by: this._idleService.addIdleObserver(this, BOOKMARKS_ARCHIVE_IDLE_TIME); not using a getter for idleService solves the leak.
Reporter | ||
Comment 6•16 years ago
|
||
(In reply to comment #4) > would be cool if an automation could tell "these tests: 1, 2, 3, are now > leaking", the cumulative leak result is not always enough to see exactly what > happened. I fully agree, for reftests and mochitests, though I have no idea how this could be done for the time being. Yet, TUnit tests are run individually, so no issue there. (except wanted bug 469523)
Assignee | ||
Comment 7•16 years ago
|
||
the idle observer in nsBrowserGlue is removed on quit-application, but XPCShell does not notify it. When we leak the observer we also leak the full BrowserGlue instance that holds the idleService reference.
Comment 8•16 years ago
|
||
Comment on attachment 355111 [details] [diff] [review] patch v1.0 r=me. should add to bookmarks/tail_bookmarks.js as well?
Attachment #355111 -
Flags: review?(dietrich) → review+
Assignee | ||
Comment 9•16 years ago
|
||
notice this patch needs a refresh after Bug 470348 is pushed
Assignee | ||
Comment 10•16 years ago
|
||
added quit-application-granted (see comment above). Ready to land.
Attachment #355111 -
Attachment is obsolete: true
Assignee | ||
Comment 11•16 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/b98a20b1e91e
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.2a1
Comment 12•16 years ago
|
||
Comment on attachment 355790 [details] [diff] [review] patch v1.1 I'd like to fix this leak on branch too. No actual code changes.
Attachment #355790 -
Flags: approval1.9.1?
Assignee | ||
Comment 13•16 years ago
|
||
Comment on attachment 355790 [details] [diff] [review] patch v1.1 this is tests-only so does not need specific approval
Attachment #355790 -
Flags: approval1.9.1?
Reporter | ||
Comment 14•16 years ago
|
||
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko/20090108 Minefield/3.2a1pre] (home, optim default) (W2Ksp4) (http://hg.mozilla.org/mozilla-central/rev/b98a20b1e91e) V.Fixed
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 15•16 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/93190f5a8045
Keywords: fixed1.9.1
Updated•15 years ago
|
Keywords: fixed1.9.1 → verified1.9.1
Comment 16•15 years ago
|
||
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h". In Thunderbird 3.0b, you do that as follows: Tools | Message Filters Make sure the correct account is selected. Click "New" Conditions: Body contains places-to-b-and-h Change the action to "Delete Message". Select "Manually Run" from the dropdown at the top. Click OK. Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter. Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•