Closed Bug 1628536 Opened 5 years ago Closed 4 years ago

Intermittent Assertion failure: !mDocuments.IsEmpty(), at /builds/worker/checkouts/gecko/dom/base/DocGroup.cpp:280

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1645219

People

(Reporter: intermittent-bug-filer, Assigned: bwc)

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell fixed:other])

Filed by: cbrindusan [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=296874429&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bAyzBvETQxGyQwEMgmCVhg/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bAyzBvETQxGyQwEMgmCVhg/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2020-04-09T00:15:39.528Z] 00:15:39 INFO - REFTEST TEST-START | layout/reftests/w3c-css/submitted/ruby/nested-ruby-pairing-001.html == layout/reftests/w3c-css/submitted/ruby/nested-ruby-pairing-001-ref.html
[task 2020-04-09T00:15:39.529Z] 00:15:39 INFO - REFTEST TEST-LOAD | file:///Z:/task_1586387720/build/tests/reftest/tests/layout/reftests/w3c-css/submitted/ruby/nested-ruby-pairing-001.html | 13 / 14 (92%)
[task 2020-04-09T00:15:39.649Z] 00:15:39 INFO - REFTEST TEST-LOAD | file:///Z:/task_1586387720/build/tests/reftest/tests/layout/reftests/w3c-css/submitted/ruby/nested-ruby-pairing-001-ref.html | 13 / 14 (92%)
[task 2020-04-09T00:15:39.754Z] 00:15:39 INFO - REFTEST TEST-PASS | layout/reftests/w3c-css/submitted/ruby/nested-ruby-pairing-001.html == layout/reftests/w3c-css/submitted/ruby/nested-ruby-pairing-001-ref.html | image comparison, max difference: 0, number of differing pixels: 0
[task 2020-04-09T00:15:39.754Z] 00:15:39 INFO - REFTEST TEST-END | layout/reftests/w3c-css/submitted/ruby/nested-ruby-pairing-001.html == layout/reftests/w3c-css/submitted/ruby/nested-ruby-pairing-001-ref.html
[task 2020-04-09T00:15:39.795Z] 00:15:39 INFO - REFTEST INFO | Slowest test took 847ms (file:///Z:/task_1586387720/build/tests/reftest/tests/layout/reftests/w3c-css/submitted/ruby/ruby-text-combine-upright-001a.html)
[task 2020-04-09T00:15:39.796Z] 00:15:39 INFO - REFTEST INFO | Total canvas count = 3
[task 2020-04-09T00:15:40.810Z] 00:15:40 INFO - ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-04-09T00:15:40.852Z] 00:15:40 INFO - [Parent 1104, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /builds/worker/checkouts/gecko/netwerk/cache/nsCacheService.cpp, line 853
[task 2020-04-09T00:15:40.853Z] 00:15:40 INFO - [Parent 1104, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /builds/worker/checkouts/gecko/netwerk/cache/nsCacheService.cpp, line 816
[task 2020-04-09T00:15:40.853Z] 00:15:40 INFO - [Parent 1104, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /builds/worker/checkouts/gecko/netwerk/cache/nsApplicationCacheService.cpp, line 161
[task 2020-04-09T00:15:41.099Z] 00:15:41 INFO - [Child 4752, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/worker/checkouts/gecko/netwerk/base/nsNetUtil.cpp, line 2307
[task 2020-04-09T00:15:41.101Z] 00:15:41 INFO - [Child 4752, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/caps/ContentPrincipal.cpp, line 398
[task 2020-04-09T00:15:41.101Z] 00:15:41 INFO - [Child 4752, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/worker/checkouts/gecko/caps/ContentPrincipal.cpp, line 423
[task 2020-04-09T00:15:41.101Z] 00:15:41 INFO - [Child 4752, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/worker/checkouts/gecko/netwerk/base/nsNetUtil.cpp, line 2307
[task 2020-04-09T00:15:41.102Z] 00:15:41 INFO - [Child 4752, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/caps/ContentPrincipal.cpp, line 398
[task 2020-04-09T00:15:41.102Z] 00:15:41 INFO - [Child 4752, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/worker/checkouts/gecko/caps/ContentPrincipal.cpp, line 423
[task 2020-04-09T00:15:41.102Z] 00:15:41 INFO - [Child 4752, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/worker/checkouts/gecko/netwerk/base/nsNetUtil.cpp, line 2307
[task 2020-04-09T00:15:41.109Z] 00:15:41 INFO - [Child 4752, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/caps/ContentPrincipal.cpp, line 398
[task 2020-04-09T00:15:41.110Z] 00:15:41 INFO - [Child 4752, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/worker/checkouts/gecko/caps/ContentPrincipal.cpp, line 423
[task 2020-04-09T00:15:41.110Z] 00:15:41 INFO - [Child 4752, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/worker/checkouts/gecko/netwerk/base/nsNetUtil.cpp, line 2307
[task 2020-04-09T00:15:41.111Z] 00:15:41 INFO - [Child 4752, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/caps/ContentPrincipal.cpp, line 398
[task 2020-04-09T00:15:41.117Z] 00:15:41 INFO - [Child 4752, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/worker/checkouts/gecko/caps/ContentPrincipal.cpp, line 423
[task 2020-04-09T00:15:41.117Z] 00:15:41 INFO - [Child 4752, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/worker/checkouts/gecko/netwerk/base/nsNetUtil.cpp, line 2307
[task 2020-04-09T00:15:41.117Z] 00:15:41 INFO - [Child 4752, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/caps/ContentPrincipal.cpp, line 398
[task 2020-04-09T00:15:41.119Z] 00:15:41 INFO - [Child 4752, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/worker/checkouts/gecko/caps/ContentPrincipal.cpp, line 423
[task 2020-04-09T00:15:41.149Z] 00:15:41 INFO - [Child 4752, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp, line 3352
[task 2020-04-09T00:15:41.190Z] 00:15:41 INFO - nsStringStats[task 2020-04-09T00:15:41.190Z] 00:15:41 INFO - => mAllocCount: 23862
[task 2020-04-09T00:15:41.191Z] 00:15:41 INFO - => mReallocCount: 0
[task 2020-04-09T00:15:41.191Z] 00:15:41 INFO - => mFreeCount: 23862
[task 2020-04-09T00:15:41.191Z] 00:15:41 INFO - => mShareCount: 11712
[task 2020-04-09T00:15:41.192Z] 00:15:41 INFO - => mAdoptCount: 449
[task 2020-04-09T00:15:41.192Z] 00:15:41 INFO - => mAdoptFreeCount: 481
[task 2020-04-09T00:15:41.193Z] 00:15:41 INFO - => Process ID: 4752, Thread ID: 10088
[task 2020-04-09T00:15:41.786Z] 00:15:41 INFO - Assertion failure: !mDocuments.IsEmpty(), at /builds/worker/checkouts/gecko/dom/base/DocGroup.cpp:280

See Also: → 1643532

Tom can the increase here be from bug 1601594?

Flags: needinfo?(ttung)

The main change in bug 1601594 is to when it's cross-origin-isolated, we use "origin" as the key of the DocGroup. I don't think we have tested that other than WPT tests for SharedArrayBuffer, COOP, and COEP. (in the failure log, they are reftests for layout, wpt test for webrtc).

The only thing might be related is that I only change the key of DocGroup from BaseDomain to SiteOrigin, but they shouldn't cause these test to hit the assertion for checking the number of documents in a DocGroup.

The elaborate more, my understanding for bug 1601594 is that it can cause a Document to get an incorrect DocGroup when unexpected/unhandled things happen (e.g. a pref is flip during runtime and that should be fixed in Bug 1641874) rather than DocGroup cannot find the Document.

Flags: needinfo?(ttung)

Looks like an intermittent crash in a WebRTC test. I am somewhat reminded of bug 1641974 so maybe bwc could look?

Flags: needinfo?(james) → needinfo?(docfaraday)

Seems to be happening when we delete DataChannelConnections. Bug 1645219 is cleaning up that code quite a bit, maybe it will help?

Flags: needinfo?(docfaraday)
See Also: → 1645219
Assignee: nobody → docfaraday

Not reproducing with rebuild=20. Retriggering some more.

Yeah, this does not seem to reproduce with the patch from bug 1645219.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Whiteboard: [stockwell disable-recommended] → [stockwell fixed: other]
Whiteboard: [stockwell fixed: other] → [stockwell fixed:other]
You need to log in before you can comment on or make changes to this bug.