Last Comment Bug 734554 - Windows and Mac intermittently "ShutdownLeaks | leaked 20 DOMWindow(s) and 2 DocShell(s) until shutdown"
: Windows and Mac intermittently "ShutdownLeaks | leaked 20 DOMWindow(s) and 2 ...
Status: RESOLVED FIXED
: intermittent-failure
Product: Firefox
Classification: Client Software
Component: Session Restore (show other bugs)
: Trunk
: x86 Windows XP
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
Depends on: 752467 731902 747919 751086
Blocks: 438871 bc-leaks 730797
  Show dependency treegraph
 
Reported: 2012-03-09 19:40 PST by Phil Ringnalda (:philor, back in August)
Modified: 2015-03-05 01:38 PST (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---
affected


Attachments

Description Phil Ringnalda (:philor, back in August) 2012-03-09 19:40:31 PST
+++ This bug was initially created as a clone of Bug #731902 +++

Apparently the threshold isn't quite high enough to catch the once or twice a day maximum.

https://tbpl.mozilla.org/php/getParsedLog.php?id=9959916&tree=Maple
https://tbpl.mozilla.org/php/getParsedLog.php?id=9948382&tree=Maple
https://tbpl.mozilla.org/php/getParsedLog.php?id=9958067&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=9956188&tree=Firefox
Comment 2 Phil Ringnalda (:philor, back in August) 2012-03-09 22:17:37 PST
https://tbpl.mozilla.org/php/getParsedLog.php?id=9961932&tree=Mozilla-Inbound
Comment 3 Phil Ringnalda (:philor, back in August) 2012-03-10 07:17:27 PST
https://tbpl.mozilla.org/php/getParsedLog.php?id=9968223&tree=Firefox
Comment 8 Phil Ringnalda (:philor, back in August) 2012-03-10 21:24:39 PST
https://tbpl.mozilla.org/php/getParsedLog.php?id=9982460&tree=Mozilla-Inbound
Comment 9 Phil Ringnalda (:philor, back in August) 2012-03-10 22:23:06 PST
https://tbpl.mozilla.org/php/getParsedLog.php?id=9979979&tree=Try
Comment 10 Phil Ringnalda (:philor, back in August) 2012-03-11 17:01:27 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=9990240&tree=Mozilla-Inbound
Comment 11 Phil Ringnalda (:philor, back in August) 2012-03-11 17:02:22 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=9990271&tree=Mozilla-Inbound
Comment 12 Phil Ringnalda (:philor, back in August) 2012-03-11 19:29:41 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=9992192&tree=Mozilla-Inbound
Comment 13 Tim Taubert [:ttaubert] 2012-03-12 03:57:43 PDT
I think this is caused by http://hg.mozilla.org/mozilla-central/rev/3dcb40ebd487 which reduced the threshold to 123 leaks per test-run.
Comment 14 Dão Gottwald [:dao] 2012-03-12 05:24:06 PDT
(In reply to Tim Taubert [:ttaubert] from comment #13)
> I think this is caused by
> http://hg.mozilla.org/mozilla-central/rev/3dcb40ebd487 which reduced the
> threshold to 123 leaks per test-run.

Why would this trigger the failure when leaking 119 windows and 2 docshells?
Comment 15 Dão Gottwald [:dao] 2012-03-12 05:29:03 PDT
Err, the current threshold is in fact 120.
Comment 16 Phil Ringnalda (:philor, back in August) 2012-03-12 07:30:05 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10000471&tree=Mozilla-Inbound
Comment 17 Phil Ringnalda (:philor, back in August) 2012-03-12 12:51:52 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10007576&tree=Mozilla-Inbound
Comment 18 Phil Ringnalda (:philor, back in August) 2012-03-12 12:53:22 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10007912&tree=Mozilla-Inbound
Comment 19 Phil Ringnalda (:philor, back in August) 2012-03-12 13:25:05 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10008787&tree=Mozilla-Inbound
Comment 20 Phil Ringnalda (:philor, back in August) 2012-03-12 15:01:51 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10011465&tree=Mozilla-Inbound
Comment 21 Phil Ringnalda (:philor, back in August) 2012-03-12 15:16:02 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10005032&tree=Maple
Comment 22 Phil Ringnalda (:philor, back in August) 2012-03-12 15:46:47 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10012045&tree=Mozilla-Inbound
Comment 23 Phil Ringnalda (:philor, back in August) 2012-03-12 15:47:40 PDT
And the downside of crying wolf is that I'll just ignore a regression and keep on starring. I might even be doing it now, dunno.

https://tbpl.mozilla.org/php/getParsedLog.php?id=10012155&tree=Mozilla-Inbound
Comment 24 Phil Ringnalda (:philor, back in August) 2012-03-12 15:48:10 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10012386&tree=Mozilla-Inbound
Comment 25 Dão Gottwald [:dao] 2012-03-12 16:07:08 PDT
(In reply to Phil Ringnalda (:philor) from comment #23)
> And the downside of crying wolf is that I'll just ignore a regression and
> keep on starring. I might even be doing it now, dunno.

The downside of a higher threshold would be that we wouldn't even get orange on a regression. If you think you see an increasing volume of failures, please don't ignore it.
Comment 26 Phil Ringnalda (:philor, back in August) 2012-03-12 16:26:31 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10013963&tree=Mozilla-Inbound
Comment 28 Phil Ringnalda (:philor, back in August) 2012-03-12 20:45:06 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10020614&tree=Firefox
Comment 29 Phil Ringnalda (:philor, back in August) 2012-03-12 20:54:04 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10017429&tree=Mozilla-Inbound
Comment 30 Phil Ringnalda (:philor, back in August) 2012-03-13 00:22:58 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10024747&tree=Firefox
Comment 31 Marco Bonardo [::mak] (Away 6-20 Aug) 2012-03-13 02:32:41 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10026577&tree=Firefox
Comment 32 Dão Gottwald [:dao] 2012-03-13 05:53:56 PDT
http://hg.mozilla.org/mozilla-central/rev/4b9fb42c0d52

This should avoid the "119 DOMWindow(s) and 2 DocShell(s)" failure, which I think was the most frequent one.
Comment 33 Phil Ringnalda (:philor, back in August) 2012-03-13 18:03:51 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10041091&tree=Firefox
Comment 34 Phil Ringnalda (:philor, back in August) 2012-03-14 17:12:04 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10075307&tree=Firefox
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 35 Marco Bonardo [::mak] (Away 6-20 Aug) 2012-03-15 03:56:26 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10089043&tree=Mozilla-Inbound
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 36 Phil Ringnalda (:philor, back in August) 2012-03-15 15:50:39 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10101569&tree=Mozilla-Inbound
leaked 120 DOMWindow(s) and 2 DocShell(s)
Comment 37 Phil Ringnalda (:philor, back in August) 2012-03-15 21:32:28 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10112430&tree=Mozilla-Aurora
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 38 Phil Ringnalda (:philor, back in August) 2012-03-15 21:38:11 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10111956&tree=Mozilla-Aurora
leaked 120 DOMWindow(s) and 2 DocShell(s)
Comment 39 Phil Ringnalda (:philor, back in August) 2012-03-15 22:41:09 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10114689&tree=Mozilla-Inbound
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 40 Phil Ringnalda (:philor, back in August) 2012-03-19 12:50:46 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10183537&tree=Mozilla-Inbound
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 41 Phil Ringnalda (:philor, back in August) 2012-03-19 20:48:51 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10199230&tree=Mozilla-Inbound
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 42 Phil Ringnalda (:philor, back in August) 2012-03-21 08:33:33 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10236431&tree=Mozilla-Inbound
leaked 120 DOMWindow(s) and 2 DocShell(s)
Comment 43 Phil Ringnalda (:philor, back in August) 2012-03-21 12:08:02 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10245923&tree=Mozilla-Inbound
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 44 Phil Ringnalda (:philor, back in August) 2012-03-21 19:13:17 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10261368&tree=Mozilla-Inbound
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 45 Phil Ringnalda (:philor, back in August) 2012-03-23 10:33:25 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10317292&tree=Mozilla-Aurora
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 48 Phil Ringnalda (:philor, back in August) 2012-03-23 20:18:54 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10335542&tree=Firefox
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 49 Phil Ringnalda (:philor, back in August) 2012-03-25 13:44:41 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10359962&tree=Firefox
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 50 Phil Ringnalda (:philor, back in August) 2012-03-26 07:57:47 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10369561&tree=Mozilla-Inbound
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 51 Phil Ringnalda (:philor, back in August) 2012-03-26 16:05:59 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10383640&tree=Mozilla-Inbound
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 52 Phil Ringnalda (:philor, back in August) 2012-03-26 20:30:00 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10390214&tree=Mozilla-Inbound
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 53 Phil Ringnalda (:philor, back in August) 2012-03-28 11:47:21 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10444848&tree=Mozilla-Inbound
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 54 Phil Ringnalda (:philor, back in August) 2012-03-28 15:23:42 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10450913&tree=Mozilla-Inbound
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 56 Phil Ringnalda (:philor, back in August) 2012-04-05 20:17:43 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10685689&tree=Mozilla-Inbound
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 57 Daniel Holbert [:dholbert] (mostly OOTO until Aug 9th) 2012-04-06 16:12:04 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10711641&tree=Mozilla-Inbound
leaked 121 DOMWindow(s) and 2 DocShell(s) until shutdown
Comment 58 Daniel Holbert [:dholbert] (mostly OOTO until Aug 9th) 2012-04-06 16:13:17 PDT
When I clicked "analyze the leak" on TBPL entry for comment 57, it said:
> chrome://mochitests/content/chrome/dom/ipc/tests/test_process_error.xul leaked 1 DOMWINDOW(s)
Not sure if that's relevant...
Comment 59 Phil Ringnalda (:philor, back in August) 2012-04-06 16:15:18 PDT
Only to bug 726514.
Comment 60 Phil Ringnalda (:philor, back in August) 2012-04-11 16:57:42 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=10825910&tree=Mozilla-Inbound
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 63 Ryan VanderMeulen [:RyanVM] 2012-04-21 05:24:08 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11088015&tree=Firefox
Comment 64 Phil Ringnalda (:philor, back in August) 2012-04-21 07:57:10 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11092410&tree=Firefox
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 65 Phil Ringnalda (:philor, back in August) 2012-04-21 23:59:15 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11102023&tree=Firefox
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 66 Phil Ringnalda (:philor, back in August) 2012-04-22 03:01:14 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11104091&tree=Mozilla-Inbound
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 69 Phil Ringnalda (:philor, back in August) 2012-04-22 19:26:48 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11114311&tree=Mozilla-Inbound
leaked 121 DOMWindow(s) and 2 DocShell(s)
Comment 70 Ed Morley [:emorley] 2012-04-23 05:57:56 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11116325&tree=Mozilla-Inbound
TEST-UNEXPECTED-FAIL | ShutdownLeaks | leaked 121 DOMWindow(s) and 2 DocShell(s) until shutdown

https://tbpl.mozilla.org/php/getParsedLog.php?id=11119645&tree=Mozilla-Inbound
TEST-UNEXPECTED-FAIL | ShutdownLeaks | leaked 121 DOMWindow(s) and 2 DocShell(s) until shutdown 

https://tbpl.mozilla.org/php/getParsedLog.php?id=11119299&tree=Mozilla-Inbound
TEST-UNEXPECTED-FAIL | ShutdownLeaks | leaked 121 DOMWindow(s) and 2 DocShell(s) until shutdown

https://tbpl.mozilla.org/php/getParsedLog.php?id=11122185&tree=Mozilla-Inbound
TEST-UNEXPECTED-FAIL | ShutdownLeaks | leaked 121 DOMWindow(s) and 2 DocShell(s) until shutdown 

https://tbpl.mozilla.org/php/getParsedLog.php?id=11119697&tree=Mozilla-Inbound
TEST-UNEXPECTED-FAIL | ShutdownLeaks | leaked 121 DOMWindow(s) and 2 DocShell(s) until shutdown
Comment 71 Phil Ringnalda (:philor, back in August) 2012-04-23 07:38:47 PDT
And given that several of those aren't even Windows, someone's landed bustage.
Comment 72 Dão Gottwald [:dao] 2012-04-23 08:01:26 PDT
(In reply to Phil Ringnalda (:philor) from comment #71)
> And given that several of those aren't even Windows, someone's landed
> bustage.

Thanks for the notice. Do you already have a regression range, even if a large one?
Comment 73 Dão Gottwald [:dao] 2012-04-23 08:06:59 PDT
There are new persistent leaks, apparently all from browser/devtools/layoutview/test/browser_layoutview.js (bug 683954).
Comment 74 Ed Morley [:emorley] 2012-04-23 11:05:04 PDT
(In reply to Phil Ringnalda (:philor) from comment #71)
> And given that several of those aren't even Windows, someone's landed
> bustage.

Whoops missed Windows in bug summary, my bad.
Comment 81 Phil Ringnalda (:philor, back in August) 2012-04-24 22:10:57 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11182436&tree=Firefox
Comment 91 Dão Gottwald [:dao] 2012-04-27 08:46:48 PDT
The test intermittently leaking appears to be browser/components/sessionstore/test/browser_461634.js
Comment 92 Dão Gottwald [:dao] 2012-04-27 08:47:27 PDT
[browser/components/sessionstore/test/browser_461634.js]
  1 window(s) [url = chrome://browser/content/browser.xul]
  1 window(s) [url = about:blank]
Comment 93 Ed Morley [:emorley] 2012-04-27 08:48:45 PDT
TEST-UNEXPECTED-FAIL | ShutdownLeaks | leaked 22 DOMWindow(s) and 2 DocShell(s) until shutdown

Rev3 MacOSX Leopard 10.5.8 mozilla-inbound debug test mochitest-other on 2012-04-27 02:03:10 PDT for push eb4b76b2840f

slave: talos-r3-leopard-011

https://tbpl.mozilla.org/php/getParsedLog.php?id=11260585&tree=Mozilla-Inbound
Comment 95 Phil Ringnalda (:philor, back in August) 2012-04-27 21:06:00 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11275981&tree=Mozilla-Inbound
Comment 96 Phil Ringnalda (:philor, back in August) 2012-04-27 22:05:52 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11284247&tree=Firefox
Comment 97 Ryan VanderMeulen [:RyanVM] 2012-04-28 06:10:37 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11290385&tree=Firefox
Comment 99 Phil Ringnalda (:philor, back in August) 2012-04-28 13:38:40 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11294197&tree=Firefox

WinXP at 25 DOMWindow(s) and 2 DocShell(s) from browser_bug435788.js having 3 about:blank and 3 pluginInstallerWizard.xul rather than the usual 1 and 1, plus an intermittent 1 from browser_461634.js.
Comment 100 Phil Ringnalda (:philor, back in August) 2012-04-28 14:56:34 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11298806&tree=Mozilla-Inbound
Comment 101 Phil Ringnalda (:philor, back in August) 2012-04-28 15:34:21 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11299227&tree=Mozilla-Inbound
Comment 102 Phil Ringnalda (:philor, back in August) 2012-04-28 20:22:57 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11301319&tree=Mozilla-Inbound
Comment 103 Phil Ringnalda (:philor, back in August) 2012-04-29 05:46:28 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11304766&tree=Firefox
Comment 106 Phil Ringnalda (:philor, back in August) 2012-04-29 22:55:26 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11316082&tree=Mozilla-Inbound
Comment 111 Phil Ringnalda (:philor, back in August) 2012-04-30 11:45:45 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11329906&tree=Mozilla-Inbound
Comment 112 Phil Ringnalda (:philor, back in August) 2012-04-30 20:51:37 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11347672&tree=Mozilla-Inbound
Comment 113 Phil Ringnalda (:philor, back in August) 2012-04-30 21:02:00 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11346788&tree=Mozilla-Inbound
Comment 114 Phil Ringnalda (:philor, back in August) 2012-05-01 18:12:01 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11371139&tree=Fx-Team
Comment 115 Phil Ringnalda (:philor, back in August) 2012-05-02 12:19:06 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=11396366&tree=Firefox
Comment 119 Phil Ringnalda (:philor, back in August) 2012-06-28 15:18:00 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=13082837&tree=Mozilla-Beta
Comment 121 Treeherder Robot 2015-03-05 01:38:02 PST
log: https://treeherder.mozilla.org/logviewer.html#?repo=mozilla-inbound&job_id=7227018
repository: mozilla-inbound
start_time: 2015-03-04T16:59:28
who: tomcat[at]mozilla[dot]com
machine: t-w864-ix-090
buildname: Windows 8 64-bit mozilla-inbound debug test mochitest-devtools-chrome-4
revision: f8d927b5aed3

TEST-UNEXPECTED-FAIL | ShutdownLeaks | process() called before end of test suite
442 ERROR TEST-UNEXPECTED-FAIL | browser/devtools/webconsole/test/browser_webconsole_output_06.js | application terminated with exit code 3221225477
PROCESS-CRASH | browser/devtools/webconsole/test/browser_webconsole_output_06.js | application crashed [None]
TEST-UNEXPECTED-FAIL | leakcheck | default process: missing output line for total leaks!
Return code: 1

Note You need to log in before you can comment on or make changes to this bug.