Open Bug 1456325 Opened 5 years ago Updated 6 months ago

Intermittent dom/indexedDB/test/browser_private_idb.js | leaked 2 window(s) until shutdown [url = about:newtab]

Categories

(Core :: Storage: IndexedDB, defect, P2)

defect

Tracking

()

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, leave-open, Whiteboard: [stockwell disabled], DWS_NEXT)

Attachments

(1 file, 2 obsolete files)

Filed by: btara [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=175165384&repo=mozilla-inbound

https://queue.taskcluster.net/v1/task/BB1vZ1rlQRS9rZ30rlGENg/runs/0/artifacts/public/logs/live_backing.log

12:20:45     INFO - GECKO(1001) | [Parent 1001, Main Thread] WARNING: NS_ENSURE_TRUE(maybeContext) failed: file /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp, line 809
12:20:46     INFO - GECKO(1001) | --DOMWINDOW == 7 (0x119a45400) [pid = 1001] [serial = 2] [outer = 0x0] [url = about:blank]
12:20:46     INFO - GECKO(1001) | --DOMWINDOW == 6 (0x118ecc800) [pid = 1001] [serial = 4] [outer = 0x0] [url = about:blank]
12:20:46     INFO - GECKO(1001) | --DOMWINDOW == 5 (0x1182a0c00) [pid = 1001] [serial = 3] [outer = 0x0] [url = chrome://browser/content/browser.xul]
12:20:46     INFO - GECKO(1001) | --DOMWINDOW == 4 (0x12bc0b800) [pid = 1001] [serial = 9] [outer = 0x0] [url = chrome://mochikit/content/browser-harness.xul]
12:20:46     INFO - GECKO(1001) | --DOMWINDOW == 3 (0x12bc0cc00) [pid = 1001] [serial = 10] [outer = 0x0] [url = about:blank]
12:20:46     INFO - GECKO(1001) | --DOMWINDOW == 2 (0x119a44400) [pid = 1001] [serial = 1] [outer = 0x0] [url = chrome://browser/content/hiddenWindow.xul]
12:20:46     INFO - GECKO(1001) | --DOMWINDOW == 1 (0x124a0ec00) [pid = 1001] [serial = 5] [outer = 0x0] [url = about:blank]
12:20:46     INFO - GECKO(1001) | --DOMWINDOW == 0 (0x118ec4800) [pid = 1001] [serial = 48] [outer = 0x0] [url = about:blank]
12:20:47     INFO - GECKO(1001) | nsStringStats
12:20:47     INFO - GECKO(1001) |  => mAllocCount:         137212
12:20:47     INFO - GECKO(1001) |  => mReallocCount:         9755
12:20:47     INFO - GECKO(1001) |  => mFreeCount:          137212
12:20:47     INFO - GECKO(1001) |  => mShareCount:         167065
12:20:47     INFO - GECKO(1001) |  => mAdoptCount:           5205
12:20:47     INFO - GECKO(1001) |  => mAdoptFreeCount:       5321
12:20:47     INFO - GECKO(1001) |  => Process ID: 1001, Thread ID: 140735271596800
12:20:47     INFO - TEST-INFO | Main app process: exit 0
12:20:47    ERROR - TEST-UNEXPECTED-FAIL | dom/indexedDB/test/browser_private_idb.js | leaked 2 window(s) until shutdown [url = about:newtab]
12:20:47     INFO - TEST-INFO | dom/indexedDB/test/browser_private_idb.js | windows(s) leaked: [pid = 1003] [serial = 26], [pid = 1003] [serial = 24]
12:20:47     INFO - runtests.py | Application ran for: 0:00:41.712473
12:20:47     INFO - zombiecheck | Reading PID log: /var/folders/4k/f2lfh12s0jz3yt1mk7w66y2400000w/T/tmpFqoRo6pidlog
12:20:47     INFO - ==> process 1001 launched child process 1002
12:20:47     INFO - ==> process 1001 launched child process 1003
12:20:47     INFO - ==> process 1001 launched child process 1004
12:20:47     INFO - ==> process 1001 launched child process 1005
12:20:47     INFO - ==> process 1001 launched child process 1006
12:20:47     INFO - zombiecheck | Checking for orphan process with PID: 1002
12:20:47     INFO - zombiecheck | Checking for orphan process with PID: 1003
12:20:47     INFO - zombiecheck | Checking for orphan process with PID: 1004
12:20:47     INFO - zombiecheck | Checking for orphan process with PID: 1005
12:20:47     INFO - zombiecheck | Checking for orphan process with PID: 1006
12:20:47     INFO - Stopping web server
12:20:47     INFO - Stopping web socket server
12:20:47     INFO - Stopping ssltunnel
12:20:47     INFO - TEST-INFO | leakcheck | default process: leak threshold set at 0 bytes
12:20:47     INFO - TEST-INFO | leakcheck | plugin process: leak threshold set at 0 bytes
12:20:47     INFO - TEST-INFO | leakcheck | tab process: leak threshold set at 0 bytes
12:20:47     INFO - TEST-INFO | leakcheck | geckomediaplugin process: leak threshold set at 20000 bytes
12:20:47     INFO - TEST-INFO | leakcheck | gpu process: leak threshold set at 0 bytes
12:20:47     INFO - 
12:20:47     INFO - == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, default process 1001
12:20:47     INFO - 
12:20:47     INFO -      |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
12:20:47     INFO -      |                                      | Per-Inst   Leaked|   Total      Rem|
12:20:47     INFO -    0 |TOTAL                                 |       39        0|17525056        0|
12:20:47     INFO - 
12:20:47     INFO - nsTraceRefcnt::DumpStatistics: 1923 entries
12:20:47     INFO - 
12:20:47     INFO - TEST-PASS | leakcheck | default process: no leaks detected!
Hi! I did some retriggers to find the culprit for this bug and worked on this range http://tinyurl.com/ya4jdvf7

It seems this started from this push http://tinyurl.com/y76ukyzh where it was worked on dom/indexedDB/test/browser_private_idb.js (https://hg.mozilla.org/integration/mozilla-inbound/rev/9e2f70627e79a22bcacd41d97f671bbeb9bd98ea) and has a failure rate 4-6 fails from 40 jobs.

Andrew could you please take a look at this one? Thank you.
Flags: needinfo?(bugmail)
Assignee: nobody → bugmail
Status: NEW → ASSIGNED
Summary: Intermittent OS X dom/indexedDB/test/browser_private_idb.js | leaked 2 window(s) until shutdown [url = about:newtab] → Intermittent dom/indexedDB/test/browser_private_idb.js | leaked 2 window(s) until shutdown [url = about:newtab]
Priority: -- → P2
Update:
There have been 46 failures in the last 7 days.
This fails only on debug.

Failures per platform:

- OS X 10.10: 32
- Windows 7: 11
- windows10-64: 3

Recent log file and snippet with the failure:
https://treeherder.mozilla.org/logviewer.html#?repo=mozilla-inbound&job_id=177328734&lineNumber=27870

14:15:35     INFO - GECKO(1020) | nsStringStats
14:15:35     INFO - GECKO(1020) |  => mAllocCount:         141075
14:15:35     INFO - GECKO(1020) |  => mReallocCount:         9870
14:15:35     INFO - GECKO(1020) |  => mFreeCount:          141075
14:15:35     INFO - GECKO(1020) |  => mShareCount:         171107
14:15:35     INFO - GECKO(1020) |  => mAdoptCount:           4728
14:15:35     INFO - GECKO(1020) |  => mAdoptFreeCount:       4850
14:15:35     INFO - GECKO(1020) |  => Process ID: 1020, Thread ID: 140735196304128
14:15:35     INFO - TEST-INFO | Main app process: exit 0
14:15:35    ERROR - TEST-UNEXPECTED-FAIL | dom/indexedDB/test/browser_private_idb.js | leaked 2 window(s) until shutdown [url = about:newtab]
14:15:35     INFO - TEST-INFO | dom/indexedDB/test/browser_private_idb.js | windows(s) leaked: [pid = 1023] [serial = 26], [pid = 1023] [serial = 24]
14:15:35     INFO - runtests.py | Application ran for: 0:00:40.964609
14:15:35     INFO - zombiecheck | Reading PID log: /var/folders/lj/tpqlb56s0yn72h2k17l791s000000w/T/tmpj90Fb7pidlog
14:15:35     INFO - ==> process 1020 launched child process 1021
14:15:35     INFO - ==> process 1020 launched child process 1022
14:15:35     INFO - ==> process 1020 launched child process 1023
14:15:35     INFO - ==> process 1020 launched child process 1024
14:15:35     INFO - ==> process 1020 launched child process 1025
14:15:35     INFO - ==> process 1020 launched child process 1026
14:15:35     INFO - zombiecheck | Checking for orphan process with PID: 1024
14:15:35     INFO - zombiecheck | Checking for orphan process with PID: 1025
14:15:35     INFO - zombiecheck | Checking for orphan process with PID: 1026
14:15:35     INFO - zombiecheck | Checking for orphan process with PID: 1021
14:15:35     INFO - zombiecheck | Checking for orphan process with PID: 1022
14:15:35     INFO - zombiecheck | Checking for orphan process with PID: 1023
14:15:35     INFO - Stopping web server
14:15:35     INFO - Stopping web socket server
14:15:35     INFO - Stopping ssltunnel
Did a patch to disable this test in case we consider this a better option.
:jmaher, do we have to disable this on Windows 7 debug as well?
Flags: needinfo?(jmaher)
Attachment #8975399 - Flags: review?(jmaher)
Comment on attachment 8975399 [details] [diff] [review]
Skipped browser_private_idb.js on OS X debug for frequent failures

Review of attachment 8975399 [details] [diff] [review]:
-----------------------------------------------------------------

really close, osx/win + debug would be what we need.  The few linux failures are ok to leave there.

::: dom/indexedDB/test/browser.ini
@@ +23,4 @@
>  [browser_perwindow_privateBrowsing.js]
>  skip-if = os == 'linux' && debug # bug 1394671
>  [browser_private_idb.js]
> +skip-if = (os == 'osx' && debug) # Bug 1456325

please include windows in here as well.
Attachment #8975399 - Flags: review?(jmaher) → review-
Flags: needinfo?(jmaher)
Attachment #8975399 - Attachment is obsolete: true
Flags: needinfo?(jmaher)
Attachment #8975479 - Flags: review?(jmaher)
Comment on attachment 8975479 [details] [diff] [review]
Skipped browser_private_idb.js on OS X and Windows for frequent failures

Review of attachment 8975479 [details] [diff] [review]:
-----------------------------------------------------------------

thanks!
Attachment #8975479 - Flags: review?(jmaher) → review+
Flags: needinfo?(jmaher)
Whiteboard: [stockwell disable-recommended] → [stockwell disabled]
Pushed by ebalazs@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/63ae4d82267b
disable browser_private_idb.js on OS X and Windows for frequently failing. r=jmaher
Keywords: checkin-needed
Attachment #8975479 - Attachment is obsolete: true
Attachment #8979236 - Flags: review?(jmaher)
Comment on attachment 8979236 [details] [diff] [review]
updated OSX reference

Review of attachment 8979236 [details] [diff] [review]:
-----------------------------------------------------------------

thanks for fixing this up!
Attachment #8979236 - Flags: review?(jmaher) → review+
Pushed by apavel@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f7b8d0d06d29
disable browser_private_idb.js on OS X and Windows for frequently failing. r=jmaher
Keywords: checkin-needed
asuth: Should we kick this back to the backlog?
yeah, this is only on mozilla-release, I don't see this as a priority.
Assignee: bugmail → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(bugmail)
Whiteboard: [stockwell disabled] → [stockwell disabled], DWS_NEXT
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.