Closed
Bug 1481084
Opened 6 years ago
Closed 6 years ago
Intermittent GECKO(970) | Assertion failure: OnSocketThread(), at /builds/worker/workspace/build/src/netwerk/protocol/http/HttpBackgroundChannelChild.cpp:184
Categories
(Core :: Networking: HTTP, defect, P5)
Core
Networking: HTTP
Tracking
()
RESOLVED
FIXED
mozilla64
People
(Reporter: intermittent-bug-filer, Assigned: valentin)
Details
(Keywords: assertion, intermittent-failure, Whiteboard: [TV-bf pass:pass][necko-triaged])
Crash Data
Attachments
(1 file)
Filed by: ncsoregi [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=192145380&repo=autoland https://queue.taskcluster.net/v1/task/dhi5DMfaQbCl0-SgNjQ9QA/runs/0/artifacts/public/logs/live_backing.log 08:39:50 INFO - GECKO(970) | Assertion failure: OnSocketThread(), at /builds/worker/workspace/build/src/netwerk/protocol/http/HttpBackgroundChannelChild.cpp:184 08:39:50 INFO - GECKO(970) | #01: mozilla::net::PHttpBackgroundChannelChild::OnMessageReceived(IPC::Message const&) [ipc/glue/ProtocolUtils.h:388] 08:39:50 INFO - 08:39:50 INFO - GECKO(970) | #02: mozilla::ipc::PBackgroundChild::OnMessageReceived(IPC::Message const&) [s3:gecko-generated-sources:c6fe72022e637e29ce88839e10aa83287f7077de3c85453ad54856a5fb20b54071ab5994bac21c74285b6659e98c6043ffb929f5f8580de9f634ff1a7ffd2ba1/ipc/ipdl/PBackgroundChild.cpp::2214] 08:39:50 INFO - 08:39:50 INFO - GECKO(970) | #03: mozilla::ipc::MessageChannel::DispatchAsyncMessage(IPC::Message const&) [ipc/glue/MessageChannel.h:673] 08:39:50 INFO - 08:39:50 INFO - GECKO(970) | #04: mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) [ipc/glue/MessageChannel.cpp:2168] 08:39:50 INFO - 08:39:50 INFO - GECKO(970) | #05: mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) [ipc/glue/MessageChannel.cpp:2015] 08:39:50 INFO - 08:39:50 INFO - GECKO(970) | #06: mozilla::ipc::MessageChannel::MessageTask::Run() [xpcom/threads/Monitor.h:37] 08:39:50 INFO - 08:39:50 INFO - GECKO(970) | #07: nsThread::ProcessNextEvent(bool, bool*) [mfbt/Atomics.h:576] 08:39:50 INFO - 08:39:50 INFO - GECKO(970) | #08: NS_ProcessNextEvent(nsIThread*, bool) [xpcom/threads/nsThreadUtils.cpp:519] 08:39:50 INFO - 08:39:50 INFO - GECKO(970) | #09: mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:364] 08:39:50 INFO - 08:39:50 INFO - GECKO(970) | #10: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:598] 08:39:50 INFO - 08:39:50 INFO - GECKO(970) | #11: nsThread::ThreadFunc(void*) [xpcom/threads/nsThread.cpp:469] 08:39:50 INFO - 08:39:51 INFO - GECKO(970) | #12: _pt_root [nsprpub/pr/src/pthreads/ptthread.c:204] 08:39:51 INFO - 08:39:51 INFO - GECKO(970) | #13: libsystem_pthread.dylib + 0x405a 08:39:51 INFO - 08:39:51 INFO - GECKO(970) | #14: libsystem_pthread.dylib + 0x3fd7 08:39:51 INFO - 08:39:51 INFO - GECKO(970) | *** WIFI GEO: Use request cache:true reason:New req. is GeoIP. 08:39:51 INFO - GECKO(970) | Console message: *** WIFI GEO: Use request cache:true reason:New req. is GeoIP. 08:39:51 INFO - GECKO(970) | MEMORY STAT | vsize 4142MB | residentFast 182MB | heapAllocated 23MB 08:39:51 INFO - Buffered messages logged at 08:39:46 08:39:51 INFO - AddTask.js | Entering test setup 08:39:51 INFO - AddTask.js | Leaving test setup 08:39:51 INFO - AddTask.js | Entering test test_noPermission 08:39:51 INFO - Extension loaded 08:39:51 INFO - TEST-PASS | toolkit/components/extensions/test/mochitest/test_ext_identity.html | No identity api without permission - Expected: undefined, Actual: undefined
Updated•6 years ago
|
Crash Signature: [@ mozilla::net::HttpBackgroundChannelChild::RecvOnStopRequest(nsresult const&, mozilla::net::ResourceTimingStruct const&, mozilla::TimeStamp const&, mozilla::net::nsHttpHeaderArray const&)]
Comment 1•6 years ago
|
||
Could not reproduce in Test-verify mode https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&tochange=6ffbddf32df55a99e7e7a4c0b137bd15f6713007&fromchange=68b0a51e3908ac0ffe41df2ca9540fd905bd4389&filter-searchStr=debug-test-verify-e10s%20(tv-bf)
Whiteboard: [TV-bf pass:pass]
Assignee | ||
Comment 2•6 years ago
|
||
Odds are that the IPC message is received after we shut down the socketTransportService which is why we trigger the assert - if gSocketThread == nullptr then OnSocketThread() will always return false.
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → valentin.gosu
Whiteboard: [TV-bf pass:pass] → [TV-bf pass:pass][necko-triaged]
Assignee | ||
Comment 4•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=bdefb806070522cefced142e2fd28b429964242d
Assignee | ||
Comment 5•6 years ago
|
||
OnSocketTread doesn't work properly during shutdown because nsSocketTransportService2.cpp::gSocketThread is null. We call gSocketTransportService->IsOnCurrentThreadInfallible() instead, just like we already do in HttpBackgroundChannelChild::ActorDestroy()
Comment 6•6 years ago
|
||
Comment on attachment 9006609 [details] Bug 1481084 - Assertion OnSocketThread() in HttpBackgroundChannelChild::RecvOnStopRequest during shutdown r=dragana! Dragana Damjanovic [:dragana] has approved the revision.
Attachment #9006609 -
Flags: review+
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/f8e617bb6473 Assertion OnSocketThread() in HttpBackgroundChannelChild::RecvOnStopRequest during shutdown r=dragana
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f8e617bb6473
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Updated•6 years ago
|
status-firefox62:
--- → wontfix
status-firefox63:
--- → wontfix
status-firefox-esr60:
--- → wontfix
Keywords: assertion
You need to log in
before you can comment on or make changes to this bug.
Description
•