Open Bug 1599584 Opened 3 months ago Updated 1 month ago

Intermittent GECKO(1122) | Assertion failure: !IsShuttingDown(), at /builds/worker/workspace/build/src/dom/ipc/ContentChild.cpp:1876

Categories

(Core :: DOM: Content Processes, defect, P5)

defect

Tracking

()

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure)

Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=278265258&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/as8uG872SmqRcjPnh2Y3jw/runs/0/artifacts/public/logs/live_backing.log


[task 2019-11-26T17:58:03.338Z] 17:58:03 INFO - TEST-START | dom/serviceworkers/test/test_https_origin_after_redirect_cached.html
[task 2019-11-26T17:58:03.460Z] 17:58:03 INFO - GECKO(1122) | [Parent 1122, Main Thread] WARNING: NS_ENSURE_TRUE(aCSP) failed: file /builds/worker/workspace/build/src/dom/security/FramingChecker.cpp, line 176
[task 2019-11-26T17:58:03.475Z] 17:58:03 INFO - GECKO(1122) | [Parent 1122, Main Thread] WARNING: we only accept nsIURI interface type, patch welcome: file /builds/worker/workspace/build/src/dom/ipc/PropertyBagUtils.cpp, line 112
[task 2019-11-26T17:58:03.496Z] 17:58:03 INFO - GECKO(1122) | ++DOMWINDOW == 16 (0x7f8bc418bc00) [pid = 1299] [serial = 113] [outer = 0x7f8bc6fb14c0]
[task 2019-11-26T17:58:03.540Z] 17:58:03 INFO - GECKO(1122) | --DOCSHELL 0x7f921816d000 == 5 [pid = 1122] [id = {e1693466-41c8-44c0-a197-355b3a620df5}] [url = about:blank]
[task 2019-11-26T17:58:03.556Z] 17:58:03 INFO - GECKO(1122) | ++DOCSHELL 0x7f8bc6339000 == 5 [pid = 1299] [id = {982f3761-18ee-40f0-8b09-8d6539eaa6c9}]
[task 2019-11-26T17:58:03.557Z] 17:58:03 INFO - GECKO(1122) | ++DOMWINDOW == 17 (0x7f8bc6fb16a0) [pid = 1299] [serial = 114] [outer = (nil)]
[task 2019-11-26T17:58:03.559Z] 17:58:03 INFO - GECKO(1122) | ++DOMWINDOW == 18 (0x7f8bc639dc00) [pid = 1299] [serial = 115] [outer = 0x7f8bc6fb16a0]
[task 2019-11-26T17:58:03.595Z] 17:58:03 INFO - GECKO(1122) | --DOCSHELL 0x7f8bc632f800 == 4 [pid = 1299] [id = {39b2e1a3-ec9a-4d09-b073-7c2b3ed803a7}] [url = about:blank]
[task 2019-11-26T17:58:03.596Z] 17:58:03 INFO - GECKO(1122) | --DOMWINDOW == 17 (0x7f8bc5b6e000) [pid = 1299] [serial = 104] [outer = (nil)] [url = about:blank]
[task 2019-11-26T17:58:03.596Z] 17:58:03 INFO - GECKO(1122) | --DOMWINDOW == 16 (0x7f8bc413b400) [pid = 1299] [serial = 98] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/serviceworkers/test/test_https_fetch.html]
[task 2019-11-26T17:58:03.597Z] 17:58:03 INFO - GECKO(1122) | --DOMWINDOW == 15 (0x7f8bc413d000) [pid = 1299] [serial = 101] [outer = (nil)] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
[task 2019-11-26T17:58:03.597Z] 17:58:03 INFO - GECKO(1122) | [Parent 1122, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-11-26T17:58:03.597Z] 17:58:03 INFO - GECKO(1122) | [Child 1639, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/workspace/build/src/dom/events/DOMEventTargetHelper.cpp, line 321
[task 2019-11-26T17:58:03.598Z] 17:58:03 INFO - GECKO(1122) | [Child 1639, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/workspace/build/src/dom/events/DOMEventTargetHelper.cpp, line 321
[task 2019-11-26T17:58:03.599Z] 17:58:03 INFO - GECKO(1122) | [Parent 1122, IPDL Background] WARNING: 'aResult.IsReject()', file /builds/worker/workspace/build/src/dom/workers/remoteworkers/RemoteWorkerController.cpp, line 444
[task 2019-11-26T17:58:03.600Z] 17:58:03 INFO - GECKO(1122) | [Parent 1122, IPDL Background] WARNING: 'aResult.IsReject()', file /builds/worker/workspace/build/src/dom/workers/remoteworkers/RemoteWorkerControllerParent.cpp, line 108
[task 2019-11-26T17:58:03.656Z] 17:58:03 INFO - GECKO(1122) | [Child 1299, Main Thread] WARNING: Trying to request nsIHttpChannel from DocumentChannelChild, this is likely broken: file /builds/worker/workspace/build/src/netwerk/ipc/DocumentChannelChild.cpp, line 60
[task 2019-11-26T17:58:03.657Z] 17:58:03 INFO - GECKO(1122) | [Child 1299, Main Thread] WARNING: Trying to request nsIHttpChannel from DocumentChannelChild, this is likely broken: file /builds/worker/workspace/build/src/netwerk/ipc/DocumentChannelChild.cpp, line 60
[task 2019-11-26T17:58:03.658Z] 17:58:03 INFO - GECKO(1122) | [Child 1299, Main Thread] WARNING: NS_ENSURE_TRUE(request) failed: file /builds/worker/workspace/build/src/netwerk/base/nsLoadGroup.cpp, line 575
[task 2019-11-26T17:58:03.660Z] 17:58:03 INFO - GECKO(1122) | Assertion failure: !IsShuttingDown(), at /builds/worker/workspace/build/src/dom/ipc/ContentChild.cpp:1876
[task 2019-11-26T17:58:26.507Z] 17:58:26 INFO - GECKO(1122) | #01: mozilla::dom::PContentChild::OnMessageReceived(IPC::Message const&) [s3:gecko-generated-sources:65518ffd7b57fd1df7143167ed0bada056f671ca93262ea53afdd1cd9af4f7991c73326585ddf9dcd7dc58dce81c40fc4e3784fc15a692f8b3e7ae6e0b9e14a4/ipc/ipdl/PContentChild.cpp::8287]
[task 2019-11-26T17:58:26.508Z] 17:58:26 INFO -
[task 2019-11-26T17:58:26.508Z] 17:58:26 INFO - GECKO(1122) | #02: mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) [ipc/glue/MessageChannel.cpp:2209]
[task 2019-11-26T17:58:26.508Z] 17:58:26 INFO -
[task 2019-11-26T17:58:26.509Z] 17:58:26 INFO - GECKO(1122) | #03: mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) [ipc/glue/MessageChannel.cpp:2133]
[task 2019-11-26T17:58:26.509Z] 17:58:26 INFO -
[task 2019-11-26T17:58:26.510Z] 17:58:26 INFO - GECKO(1122) | #04: mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) [ipc/glue/MessageChannel.cpp:0]
[task 2019-11-26T17:58:26.510Z] 17:58:26 INFO -
[task 2019-11-26T17:58:26.511Z] 17:58:26 INFO - GECKO(1122) | #05: mozilla::ipc::MessageChannel::MessageTask::Run() [ipc/glue/MessageChannel.cpp:2005]
[task 2019-11-26T17:58:26.511Z] 17:58:26 INFO -
[task 2019-11-26T17:58:26.512Z] 17:58:26 INFO - GECKO(1122) | [Parent 1122, Main Thread] WARNING: we only accept nsIURI interface type, patch welcome: file /builds/worker/workspace/build/src/dom/ipc/PropertyBagUtils.cpp, line 112
[task 2019-11-26T17:58:26.513Z] 17:58:26 INFO - GECKO(1122) | #06: mozilla::SchedulerGroup::Runnable::Run() [xpcom/threads/SchedulerGroup.cpp:295]
[task 2019-11-26T17:58:26.513Z] 17:58:26 INFO -
[task 2019-11-26T17:58:26.514Z] 17:58:26 INFO - GECKO(1122) | #07: nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:1250]
[task 2019-11-26T17:58:26.514Z] 17:58:26 INFO -
[task 2019-11-26T17:58:26.516Z] 17:58:26 INFO - GECKO(1122) | #08: NS_ProcessNextEvent(nsIThread*, bool) [xpcom/threads/nsThreadUtils.cpp:486]
[task 2019-11-26T17:58:26.516Z] 17:58:26 INFO -
[task 2019-11-26T17:58:26.517Z] 17:58:26 INFO - GECKO(1122) | #09: nsThread::Shutdown() [xpcom/threads/nsThread.cpp:922]
[task 2019-11-26T17:58:26.518Z] 17:58:26 INFO -

The stack looks different than the assertions I fixed in bug 1585114. For the one failure that has happened so far, we're in PContentChild::OnMessageReceived and then we call ContentChild::RecvShutdown() and start shutting down the content child, which calls into ChildProfilerController::ShutdownAndMaybeGrabShutdownProfileFirst(), which spins the event loop, and then we get another message and we end up in ContentChild::RecvConstructBrowser(), but the content child is shutting down. Maybe this is the same one we're in RecvShutdown for. We'll have to see how much this happens.

The failure here is happening during dom/serviceworkers/test/test_https_origin_after_redirect_cached.html

Looking back in bug 1585114, it looks like a couple of the failures are similar to this one, so presumably I just fixed the most common cause, but this is just continuing to happen.

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