Closed Bug 1595833 Opened 6 years ago Closed 6 years ago

Correctly send preferences during startup to the connection manager on the socket thread

Categories

(Core :: Networking: HTTP, defect, P1)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mayhemer, Assigned: mayhemer)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 obsolete file)

We don't send preferences to the conn manager at all, ever. When nsHttpHandler::PrefsChanged is called the first time and the last time from:

>	xul.dll!mozilla::net::nsHttpHandler::PrefsChanged(0x0000000000000000) Line 1328	C++
 	xul.dll!mozilla::net::nsHttpHandler::Init() Line 461	C++
 	xul.dll!mozilla::net::nsHttpHandler::GetInstance() Line 181	C++
 	xul.dll!mozCreateComponent<mozilla::net::nsHttpHandler>() Line 67	C++
 	xul.dll!mozilla::xpcom::CreateInstanceImpl(, , {...}, 0x000000ee311fd700) Line 0	C++
 	[Inline Frame] xul.dll!mozilla::xpcom::StaticModule::CreateInstance(, , ) Line 11364	C++
 	[Inline Frame] xul.dll!`anonymous namespace'::EntryWrapper::CreateInstance(, {...}, ) Line 221	C++
 	xul.dll!nsComponentManagerImpl::GetServiceLocked({...}, {...}, {...}, 0x000000ee311fd840) Line 1380	C++
 	xul.dll!nsComponentManagerImpl::GetServiceByContractID(0x00007ff9ebaea263, {...}, 0x000000ee311fd840) Line 1567	C++
 	[Inline Frame] xul.dll!CallGetService(, , ) Line 61	C++
 	[Inline Frame] xul.dll!nsGetServiceByContractID::operator()(, ) Line 243	C++
 	xul.dll!nsCOMPtr_base::assign_from_gs_contractid(, ) Line 82	C++
 	[Inline Frame] xul.dll!nsCOMPtr<nsIProtocolHandler>::nsCOMPtr() Line 607	C++
 	xul.dll!mozilla::net::nsHttpsHandler::Init() Line 2529	C++
 	xul.dll!mozCreateComponent<mozilla::net::nsHttpsHandler>() Line 73	C++
 	xul.dll!mozilla::xpcom::CreateInstanceImpl(, , {...}, 0x000000ee311fd9b0) Line 10444	C++
 	[Inline Frame] xul.dll!mozilla::xpcom::StaticModule::CreateInstance(, , ) Line 11364	C++
 	[Inline Frame] xul.dll!`anonymous namespace'::EntryWrapper::CreateInstance(, {...}, ) Line 221	C++
 	xul.dll!nsComponentManagerImpl::GetServiceLocked({...}, {...}, {...}, 0x000000ee311fdbd0) Line 1380	C++
 	xul.dll!nsComponentManagerImpl::GetServiceByContractID(0x000000ee311fdb2c, {...}, 0x000000ee311fdbd0) Line 1567	C++
 	[Inline Frame] xul.dll!CallGetService(, , 0x000000ee311fdbd0) Line 61	C++
 	[Inline Frame] xul.dll!CallGetService(, 0x000000ee311fdbd0) Line 73	C++
 	xul.dll!mozilla::net::nsIOService::GetProtocolHandler(0x000000ee311fdbf4, 0x000000ee311fdbd0) Line 717	C++
 	xul.dll!mozilla::net::nsIOService::ProtocolHasFlags(0x000002db02fe6820, 16, 0x000000ee311fdd37) Line 1505	C++
 	xul.dll!mozilla::net::nsIOService::URIChainHasFlags(0x000002db02fe6820, 16, 0x000000ee311fdd37) Line 1515	C++
 	[Inline Frame] xul.dll!NS_URIChainHasFlags(, , ) Line 2258	C++
 	xul.dll!mozilla::BasePrincipal::CreateContentPrincipal(0x000002db02fe6820, {...}, {...}) Line 580	C++
 	xul.dll!mozilla::BasePrincipal::CreateContentPrincipal(0x000002db02fe6820, {...}) Line 569	C++
 	xul.dll!`anonymous namespace'::GetPrincipalFromOrigin(, 0x000000ee311fdfb0) Line 233	C++
 	xul.dll!nsPermissionManager::_DoImport(0x000002db05d0a2e0, ) Line 2948	C++
 	xul.dll!nsPermissionManager::ImportDefaults() Line 2874	C++
 	xul.dll!nsPermissionManager::InitDB() Line 1688	C++
 	xul.dll!nsPermissionManager::Observe(, , ) Line 0	C++
 	xul.dll!nsObserverList::NotifyObservers(0x0000000000000000, 0x00007ff9ebb58790, 0x00007ff9eb88a4e0) Line 65	C++
 	xul.dll!nsObserverService::NotifyObservers(0x0000000000000000, 0x00007ff9ebb58790, 0x00007ff9eb88a4e0) Line 294	C++
 	xul.dll!nsXREDirProvider::DoStartup() Line 929	C++
 	xul.dll!XREMain::XRE_mainRun() Line 4401	C++
 	xul.dll!XREMain::XRE_main(, , {...}) Line 4721	C++

...we don't have mConnMgr assigned, because nsHttpHandler::Init() first reads prefs and only then creates the conn manager with InitConnectionMgr.

Fixing this may reveal bugs we even don't know we have and possibly create problems for users having non-standard values for some of the prefs affected - there is a lot of them and those are kinda critical.

I would love to know when this got broken and how we could miss this.

Pushed by honzab.moz@firemni.cz: https://hg.mozilla.org/integration/autoland/rev/1e9b8d8d2c8f Send http preferences correctly to the http connection manager to take actual affect, r=dragana
Backout by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e2ffc40a763f Backed out changeset 1e9b8d8d2c8f for causing linux tsan build bustages. CLOSED TREE

Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&revision=1e9b8d8d2c8f77be3f07676895b073b51a33ee62&selectedJob=277203180

Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=277203180&repo=autoland
https://treeherder.mozilla.org/logviewer.html#?job_id=277214973&repo=autoland

Backout link: https://hg.mozilla.org/integration/autoland/rev/e2ffc40a763fdce74279c6e6d631212bf0d47e87

[task 2019-11-20T16:45:52.660Z] 16:45:52 INFO - check> =================================== FAILURES ===================================
[task 2019-11-20T16:45:52.660Z] 16:45:52 INFO - check> _________________________ XPCShellTestsTests.testChild _________________________
[task 2019-11-20T16:45:52.661Z] 16:45:52 INFO - check>
[task 2019-11-20T16:45:52.661Z] 16:45:52 INFO - check> self = <selftest.XPCShellTestsTests testMethod=testChild>
[task 2019-11-20T16:45:52.662Z] 16:45:52 INFO - check>
[task 2019-11-20T16:45:52.662Z] 16:45:52 INFO - check> def testChild(self):
[task 2019-11-20T16:45:52.662Z] 16:45:52 INFO - check> """
[task 2019-11-20T16:45:52.662Z] 16:45:52 INFO - check> Checks that calling do_load_child_test_harness without run_test_in_child
[task 2019-11-20T16:45:52.662Z] 16:45:52 INFO - check> results in a usable test state. This test has a spurious failure when
[task 2019-11-20T16:45:52.662Z] 16:45:52 INFO - check> run using |mach python-test|. See bug 1103226.
[task 2019-11-20T16:45:52.662Z] 16:45:52 INFO - check> """
[task 2019-11-20T16:45:52.662Z] 16:45:52 INFO - check> self.writeFile("test_child_assertions.js", CHILD_HARNESS_SIMPLE)
[task 2019-11-20T16:45:52.662Z] 16:45:52 INFO - check> self.writeManifest(["test_child_assertions.js"])
[task 2019-11-20T16:45:52.663Z] 16:45:52 INFO - check>
[task 2019-11-20T16:45:52.663Z] 16:45:52 INFO - check> > self.assertTestResult(True)
[task 2019-11-20T16:45:52.663Z] 16:45:52 INFO - check>
[task 2019-11-20T16:45:52.663Z] 16:45:52 INFO - check> ../testing/xpcshell/selftest.py:682:
[task 2019-11-20T16:45:52.663Z] 16:45:52 INFO - check> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2019-11-20T16:45:52.663Z] 16:45:52 INFO - check> ../testing/xpcshell/selftest.py:537: in assertTestResult
[task 2019-11-20T16:45:52.663Z] 16:45:52 INFO - check> """ % ("passed" if expected else "failed", self.log.getvalue()))
[task 2019-11-20T16:45:52.663Z] 16:45:52 INFO - check> E AssertionError: Tests should have passed, log:
[task 2019-11-20T16:45:52.663Z] 16:45:52 INFO - check> E ========
[task 2019-11-20T16:45:52.663Z] 16:45:52 INFO - check> E runxpcshelltests.py | using symbolizer at /builds/worker/workspace/build/src/obj-firefox/dist/bin/llvm-symbolizer
[task 2019-11-20T16:45:52.663Z] 16:45:52 INFO - check> E Found node at /builds/worker/fetches/node/bin/node
[task 2019-11-20T16:45:52.664Z] 16:45:52 INFO - check> E Found moz-http2 at /builds/worker/workspace/build/src/testing/xpcshell/moz-http2/moz-http2.js
[task 2019-11-20T16:45:52.664Z] 16:45:52 INFO - check> E Running tests sequentially.
[task 2019-11-20T16:45:52.664Z] 16:45:52 INFO - check> E SUITE-START | Running 1 tests
[task 2019-11-20T16:45:52.664Z] 16:45:52 INFO - check> E profile dir is /tmp/xpcshell/xpcshellprofile
[task 2019-11-20T16:45:52.664Z] 16:45:52 INFO - check> E TEST-START | test_child_assertions.js
[task 2019-11-20T16:45:52.664Z] 16:45:52 INFO - check> E TEST-UNEXPECTED-FAIL | test_child_assertions.js | xpcshell return code: -6

Flags: needinfo?(honzab.moz)

specifically the issues is:

[task 2019-11-20T16:45:52.666Z] 16:45:52     INFO -  check> E   PID 8794 |   Write of size 8 at 0x7b480000b5e8 by thread T13:
[task 2019-11-20T16:45:52.666Z] 16:45:52     INFO -  check> E   PID 8794 |     #0 mozilla::net::nsHttpConnectionMgr::OnMsgUpdateParam(int, mozilla::net::ARefBase*) /builds/worker/workspace/build/src/netwerk/protocol/http/nsHttpConnectionMgr.cpp:3013:24 (libxul.so+0x1060916)
[task 2019-11-20T16:45:52.666Z] 16:45:52     INFO -  check> E   PID 8794 |     #1 operator()<int &, RefPtr<mozilla::net::ARefBase> &> /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/RefPtr.h:322:14 (libxul.so+0x1084305)
[task 2019-11-20T16:45:52.666Z] 16:45:52     INFO -  check> E   PID 8794 |     #2 mozilla::net::ConnEvent::Run() /builds/worker/workspace/build/src/netwerk/protocol/http/nsHttpConnectionMgr.cpp:261:5 (libxul.so+0x1084305)
[task 2019-11-20T16:45:52.668Z] 16:45:52     INFO -  check> E   PID 8794 |     #3 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp:1250:14 (libxul.so+0xa40e82)
[task 2019-11-20T16:45:52.668Z] 16:45:52     INFO -  check> E   PID 8794 |     #4 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/workspace/build/src/xpcom/threads/nsThreadUtils.cpp:486:10 (libxul.so+0xa449c2)
[task 2019-11-20T16:45:52.668Z] 16:45:52     INFO -  check> E   PID 8794 |     #5 mozilla::net::nsSocketTransportService::Run() /builds/worker/workspace/build/src/netwerk/base/nsSocketTransportService2.cpp:1015:11 (libxul.so+0xba5ac3)
[task 2019-11-20T16:45:52.668Z] 16:45:52     INFO -  check> E   PID 8794 |     #6 non-virtual thunk to mozilla::net::nsSocketTransportService::Run() /builds/worker/workspace/build/src/netwerk/base/nsSocketTransportService2.cpp (libxul.so+0xba6fd9)
[task 2019-11-20T16:45:52.668Z] 16:45:52     INFO -  check> E   PID 8794 |     #7 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp:1250:14 (libxul.so+0xa40e82)
[task 2019-11-20T16:45:52.668Z] 16:45:52     INFO -  check> E   PID 8794 |     #8 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/workspace/build/src/xpcom/threads/nsThreadUtils.cpp:486:10 (libxul.so+0xa449c2)
[task 2019-11-20T16:45:52.668Z] 16:45:52     INFO -  check> E   PID 8794 |     #9 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/workspace/build/src/ipc/glue/MessagePump.cpp:303:20 (libxul.so+0x124e56e)
[task 2019-11-20T16:45:52.668Z] 16:45:52     INFO -  check> E   PID 8794 |     #10 RunInternal /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:315:10 (libxul.so+0x11e84dc)
[task 2019-11-20T16:45:52.669Z] 16:45:52     INFO -  check> E   PID 8794 |     #11 RunHandler /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:308:3 (libxul.so+0x11e84dc)
[task 2019-11-20T16:45:52.669Z] 16:45:52     INFO -  check> E   PID 8794 |     #12 MessageLoop::Run() /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:290:3 (libxul.so+0x11e84dc)
[task 2019-11-20T16:45:52.669Z] 16:45:52     INFO -  check> E   PID 8794 |     #13 nsThread::ThreadFunc(void*) /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp:458:11 (libxul.so+0xa3d405)
[task 2019-11-20T16:45:52.669Z] 16:45:52     INFO -  check> E   PID 8794 |     #14 _pt_root /builds/worker/workspace/build/src/nsprpub/pr/src/pthreads/ptthread.c:201:5 (libnspr4.so+0x4af3d)
[task 2019-11-20T16:45:52.669Z] 16:45:52     INFO -  check> E   PID 8794 |   Previous write of size 8 at 0x7b480000b5e8 by main thread:
[task 2019-11-20T16:45:52.669Z] 16:45:52     INFO -  check> E   PID 8794 |     #0 mozilla::net::nsHttpConnectionMgr::Init(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, bool, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) /builds/worker/workspace/build/src/netwerk/protocol/http/nsHttpConnectionMgr.cpp:199:22 (libxul.so+0x1059f33)
[task 2019-11-20T16:45:52.669Z] 16:45:52     INFO -  check> E   PID 8794 |     #1 InitConnectionMgr /builds/worker/workspace/build/src/netwerk/protocol/http/nsHttpHandler.cpp:613:18 (libxul.so+0xf281fb)
[task 2019-11-20T16:45:52.669Z] 16:45:52     INFO -  check> E   PID 8794 |     #2 mozilla::net::nsHttpHandler::Init() /builds/worker/workspace/build/src/netwerk/protocol/http/nsHttpHandler.cpp:491:8 (libxul.so+0xf281fb)
[task 2019-11-20T16:45:52.670Z] 16:45:52     INFO -  check> E   PID 8794 |     #3 mozilla::net::nsHttpHandler::GetInstance() /builds/worker/workspace/build/src/netwerk/protocol/http/nsHttpHandler.cpp:181:44 (libxul.so+0xf27b78)
[task 2019-11-20T16:45:52.671Z] 16:45:52     INFO -  check> E   PID 8794 |     #4 already_AddRefed<nsISupports> mozCreateComponent<mozilla::net::nsHttpHandler>() /builds/worker/workspace/build/src/netwerk/build/nsNetModule.cpp:67:10 (libxul.so+0x11d97df)
[task 2019-11-20T16:45:52.671Z] 16:45:52     INFO -  check> E   PID 8794 |     #5 mozilla::xpcom::CreateInstanceImpl(mozilla::xpcom::ModuleID, nsISupports*, nsID const&, void**) /builds/worker/workspace/build/src/obj-firefox/xpcom/components/StaticComponents.cpp:9702:36 (libxul.so+0xa0b335)
[task 2019-11-20T16:45:52.671Z] 16:45:52     INFO -  check> E   PID 8794 |     #6 mozilla::xpcom::StaticModule::CreateInstance(nsISupports*, nsID const&, void**) const /builds/worker/workspace/build/src/obj-firefox/xpcom/components/StaticComponents.cpp:11084:10 (libxul.so+0xa05d70)
[task 2019-11-20T16:45:52.671Z] 16:45:52     INFO -  check> E   PID 8794 |     #7 CreateInstance /builds/worker/workspace/build/src/xpcom/components/nsComponentManager.cpp:221:46 (libxul.so+0xa1cd1d)
[task 2019-11-20T16:45:52.671Z] 16:45:52     INFO -  check> E   PID 8794 |     #8 nsComponentManagerImpl::GetServiceLocked((anonymous namespace)::MutexLock&, (anonymous namespace)::EntryWrapper&, nsID const&, void**) /builds/worker/workspace/build/src/xpcom/components/nsComponentManager.cpp:1380:17 (libxul.so+0xa1cd1d)
[task 2019-11-20T16:45:52.671Z] 16:45:52     INFO -  check> E   PID 8794 |     #9 nsComponentManagerImpl::GetServiceByContractID(char const*, nsID const&, void**) /builds/worker/workspace/build/src/xpcom/components/nsComponentManager.cpp:1567:10 (libxul.so+0xa17d55)
[task 2019-11-20T16:45:52.671Z] 16:45:52     INFO -  check> E   PID 8794 |     #10 CallGetService /builds/worker/workspace/build/src/xpcom/components/nsComponentManagerUtils.cpp:61:43 (libxul.so+0xa2021b)
[task 2019-11-20T16:45:52.672Z] 16:45:52     INFO -  check> E   PID 8794 |     #11 nsGetServiceByContractID::operator()(nsID const&, void**) const /builds/worker/workspace/build/src/xpcom/components/nsComponentManagerUtils.cpp:243:21 (libxul.so+0xa2021b)
[task 2019-11-20T16:45:52.672Z] 16:45:52     INFO -  check> E   PID 8794 |     #12 nsCOMPtr_base::assign_from_gs_contractid(nsGetServiceByContractID, nsID const&) /builds/worker/workspace/build/src/xpcom/base/nsCOMPtr.cpp:82:7 (libxul.so+0x96ee60)
[task 2019-11-20T16:45:52.672Z] 16:45:52     INFO -  check> E   PID 8794 |     #13 nsCOMPtr /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr.h:607:5 (libxul.so+0x10f7ca2)
[task 2019-11-20T16:45:52.672Z] 16:45:52     INFO -  check> E   PID 8794 |     #14 mozilla::net::NeckoParent::NeckoParent() /builds/worker/workspace/build/src/netwerk/ipc/NeckoParent.cpp:84:7 (libxul.so+0x10f7ca2)
[task 2019-11-20T16:45:52.672Z] 16:45:52     INFO -  check> E   PID 8794 |     #15 mozilla::dom::ContentParent::AllocPNeckoParent() /builds/worker/workspace/build/src/dom/ipc/ContentParent.cpp:3624:63 (libxul.so+0x40ab88f)
[task 2019-11-20T16:45:52.672Z] 16:45:52     INFO -  check> E   PID 8794 |     #16 mozilla::dom::PContentParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/build/src/obj-firefox/ipc/ipdl/PContentParent.cpp:7026:72 (libxul.so+0x1375f50)
[task 2019-11-20T16:45:52.672Z] 16:45:52     INFO -  check> E   PID 8794 |     #17 mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:2208:25 (libxul.so+0x124a276)
[task 2019-11-20T16:45:52.672Z] 16:45:52     INFO -  check> E   PID 8794 |     #18 mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:2130:9 (libxul.so+0x12484df)
[task 2019-11-20T16:45:52.674Z] 16:45:52     INFO -  check> E   PID 8794 |     #19 mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:1972:3 (libxul.so+0x1249191)
[task 2019-11-20T16:45:52.674Z] 16:45:52     INFO -  check> E   PID 8794 |     #20 mozilla::ipc::MessageChannel::MessageTask::Run() /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:2003:13 (libxul.so+0x12496c9)
[task 2019-11-20T16:45:52.674Z] 16:45:52     INFO -  check> E   PID 8794 |     #21 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp:1250:14 (libxul.so+0xa40e82)
[task 2019-11-20T16:45:52.674Z] 16:45:52     INFO -  check> E   PID 8794 |     #22 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/workspace/build/src/xpcom/threads/nsThreadUtils.cpp:486:10 (libxul.so+0xa449c2)
[task 2019-11-20T16:45:52.674Z] 16:45:52     INFO -  check> E   PID 8794 |     #23 SpinEventLoopUntil<mozilla::ProcessFailureBehavior::ReportToCaller, (lambda at /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp:624:36)> /builds/worker/workspace/build/src/obj-firefox/dist/include/nsThreadUtils.h:348:25 (libxul.so+0xa44442)
[task 2019-11-20T16:45:52.674Z] 16:45:52     INFO -  check> E   PID 8794 |     #24 nsThreadManager::SpinEventLoopUntilInternal(nsINestedEventLoopCondition*, bool) /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp:624:8 (libxul.so+0xa44442)
[task 2019-11-20T16:45:52.674Z] 16:45:52     INFO -  check> E   PID 8794 |     #25 nsThreadManager::SpinEventLoopUntil(nsINestedEventLoopCondition*) /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp:603:10 (libxul.so+0xa442c7)
[task 2019-11-20T16:45:52.674Z] 16:45:52     INFO -  check> E   PID 8794 |     #26 NS_InvokeByIndex /builds/worker/workspace/build/src/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_x86_64_unix.S:106 (libxul.so+0xa5b0b5)
[task 2019-11-20T16:45:52.674Z] 16:45:52     INFO -  check> E   PID 8794 |     #27 XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) /builds/worker/workspace/build/src/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:946:10 (libxul.so+0x17e3751)
[task 2019-11-20T16:45:52.675Z] 16:45:52     INFO -  check> E   PID 8794 |     #28 CallJSNative /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:456:13 (libxul.so+0x61f5976)
[task 2019-11-20T16:45:52.675Z] 16:45:52     INFO -  check> E   PID 8794 |     #29 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:548:12 (libxul.so+0x61f5976)
[task 2019-11-20T16:45:52.675Z] 16:45:52     INFO -  check> E   PID 8794 |     #30 InternalCall(JSContext*, js::AnyInvokeArgs const&, js::CallReason) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:617:10 (libxul.so+0x61f6bdd)
[task 2019-11-20T16:45:52.675Z] 16:45:52     INFO -  check> E   PID 8794 |     #31 CallFromStack /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:621:10 (libxul.so+0x61e8634)
[task 2019-11-20T16:45:52.675Z] 16:45:52     INFO -  check> E   PID 8794 |     #32 Interpret(JSContext*, js::RunState&) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:3119:16 (libxul.so+0x61e8634)
[task 2019-11-20T16:45:52.675Z] 16:45:52     INFO -  check> E   PID 8794 |     #33 js::RunScript(JSContext*, js::RunState&) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:423:10 (libxul.so+0x61d7c61)
[task 2019-11-20T16:45:52.675Z] 16:45:52     INFO -  check> E   PID 8794 |     #34 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:589:13 (libxul.so+0x61f60e8)
[task 2019-11-20T16:45:52.676Z] 16:45:52     INFO -  check> E   PID 8794 |     #35 InternalCall(JSContext*, js::AnyInvokeArgs const&, js::CallReason) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:617:10 (libxul.so+0x61f6bdd)
[task 2019-11-20T16:45:52.677Z] 16:45:52     INFO -  check> E   PID 8794 |     #36 js::CallFromStack(JSContext*, JS::CallArgs const&) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:621:10 (libxul.so+0x61f6ae0)
[task 2019-11-20T16:45:52.677Z] 16:45:52     INFO -  check> E   PID 8794 |     #37 js::jit::DoCallFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICCall_Fallback*, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>) /builds/worker/workspace/build/src/js/src/jit/BaselineIC.cpp:2940:10 (libxul.so+0x6a34fd9)
[task 2019-11-20T16:45:52.677Z] 16:45:52     INFO -  check> E   PID 8794 |     #38 <null> <null> (0x7f6232922f58)
[task 2019-11-20T16:45:52.677Z] 16:45:52     INFO -  check> E   PID 8794 |     #39 Interpret(JSContext*, js::RunState&) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:2015:17 (libxul.so+0x61d958a)
[task 2019-11-20T16:45:52.677Z] 16:45:52     INFO -  check> E   PID 8794 |     #40 js::RunScript(JSContext*, js::RunState&) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:423:10 (libxul.so+0x61d7c61)
[task 2019-11-20T16:45:52.677Z] 16:45:52     INFO -  check> E   PID 8794 |     #41 js::ExecuteKernel(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value const&, js::AbstractFramePtr, JS::Value*) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:810:13 (libxul.so+0x61f83e7)
[task 2019-11-20T16:45:52.677Z] 16:45:52     INFO -  check> E   PID 8794 |     #42 js::Execute(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value*) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:843:10 (libxul.so+0x61f86c0)
[task 2019-11-20T16:45:52.677Z] 16:45:52     INFO -  check> E   PID 8794 |     #43 EvaluateSourceBuffer<mozilla::Utf8Unit> /builds/worker/workspace/build/src/js/src/vm/CompilationAndEvaluation.cpp:562:10 (libxul.so+0x6385957)
[task 2019-11-20T16:45:52.678Z] 16:45:52     INFO -  check> E   PID 8794 |     #44 JS::EvaluateDontInflate(JSContext*, JS::ReadOnlyCompileOptions const&, JS::SourceText<mozilla::Utf8Unit>&, JS::MutableHandle<JS::Value>) /builds/worker/workspace/build/src/js/src/vm/CompilationAndEvaluation.cpp:594:10 (libxul.so+0x6385957)
[task 2019-11-20T16:45:52.678Z] 16:45:52     INFO -  check> E   PID 8794 |     #45 ProcessArgs /builds/worker/workspace/build/src/js/xpconnect/src/XPCShellImpl.cpp:1000:11 (libxul.so+0x17cfdb3)
[task 2019-11-20T16:45:52.678Z] 16:45:52     INFO -  check> E   PID 8794 |     #46 XRE_XPCShellMain(int, char**, char**, XREShellData const*) /builds/worker/workspace/build/src/js/xpconnect/src/XPCShellImpl.cpp:1399:14 (libxul.so+0x17cfdb3)
[task 2019-11-20T16:45:52.678Z] 16:45:52     INFO -  check> E   PID 8794 |     #47 mozilla::BootstrapImpl::XRE_XPCShellMain(int, char**, char**, XREShellData const*) /builds/worker/workspace/build/src/toolkit/xre/Bootstrap.cpp:54:12 (libxul.so+0x60cfd3b)
[task 2019-11-20T16:45:52.678Z] 16:45:52     INFO -  check> E   PID 8794 |     #48 main /builds/worker/workspace/build/src/js/xpconnect/shell/xpcshell.cpp:66:27 (xpcshell+0xc8416)
[task 2019-11-20T16:45:52.678Z] 16:45:52     INFO -  check> E   PID 8794 |   Location is heap block of size 376 at 0x7b480000b580 allocated by main thread:
[task 2019-11-20T16:45:52.678Z] 16:45:52     INFO -  check> E   PID 8794 |     #0 malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:650:5 (xpcshell+0x559a4)
[task 2019-11-20T16:45:52.679Z] 16:45:52     INFO -  check> E   PID 8794 |     #1 moz_xmalloc /builds/worker/workspace/build/src/memory/mozalloc/mozalloc.cpp:52:15 (xpcshell+0xc86c8)
[task 2019-11-20T16:45:52.679Z] 16:45:52     INFO -  check> E   PID 8794 |     #2 operator new /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/cxxalloc.h:33:10 (libxul.so+0xf2a3e2)
[task 2019-11-20T16:45:52.679Z] 16:45:52     INFO -  check> E   PID 8794 |     #3 mozilla::net::nsHttpHandler::EnsureConnectionMgr() /builds/worker/workspace/build/src/netwerk/protocol/http/nsHttpHandler.cpp:599:16 (libxul.so+0xf2a3e2)
[task 2019-11-20T16:45:52.679Z] 16:45:52     INFO -  check> E   PID 8794 |     #4 mozilla::net::nsHttpHandler::Init() /builds/worker/workspace/build/src/netwerk/protocol/http/nsHttpHandler.cpp:458:3 (libxul.so+0xf27e71)
[task 2019-11-20T16:45:52.679Z] 16:45:52     INFO -  check> E   PID 8794 |     #5 mozilla::net::nsHttpHandler::GetInstance() /builds/worker/workspace/build/src/netwerk/protocol/http/nsHttpHandler.cpp:181:44 (libxul.so+0xf27b78)
[task 2019-11-20T16:45:52.680Z] 16:45:52     INFO -  check> E   PID 8794 |     #6 already_AddRefed<nsISupports> mozCreateComponent<mozilla::net::nsHttpHandler>() /builds/worker/workspace/build/src/netwerk/build/nsNetModule.cpp:67:10 (libxul.so+0x11d97df)
[task 2019-11-20T16:45:52.680Z] 16:45:52     INFO -  check> E   PID 8794 |     #7 mozilla::xpcom::CreateInstanceImpl(mozilla::xpcom::ModuleID, nsISupports*, nsID const&, void**) /builds/worker/workspace/build/src/obj-firefox/xpcom/components/StaticComponents.cpp:9702:36 (libxul.so+0xa0b335)
[task 2019-11-20T16:45:52.680Z] 16:45:52     INFO -  check> E   PID 8794 |     #8 mozilla::xpcom::StaticModule::CreateInstance(nsISupports*, nsID const&, void**) const /builds/worker/workspace/build/src/obj-firefox/xpcom/components/StaticComponents.cpp:11084:10 (libxul.so+0xa05d70)
[task 2019-11-20T16:45:52.680Z] 16:45:52     INFO -  check> E   PID 8794 |     #9 CreateInstance /builds/worker/workspace/build/src/xpcom/components/nsComponentManager.cpp:221:46 (libxul.so+0xa1cd1d)
[task 2019-11-20T16:45:52.680Z] 16:45:52     INFO -  check> E   PID 8794 |     #10 nsComponentManagerImpl::GetServiceLocked((anonymous namespace)::MutexLock&, (anonymous namespace)::EntryWrapper&, nsID const&, void**) /builds/worker/workspace/build/src/xpcom/components/nsComponentManager.cpp:1380:17 (libxul.so+0xa1cd1d)
[task 2019-11-20T16:45:52.680Z] 16:45:52     INFO -  check> E   PID 8794 |     #11 nsComponentManagerImpl::GetServiceByContractID(char const*, nsID const&, void**) /builds/worker/workspace/build/src/xpcom/components/nsComponentManager.cpp:1567:10 (libxul.so+0xa17d55)
[task 2019-11-20T16:45:52.680Z] 16:45:52     INFO -  check> E   PID 8794 |     #12 CallGetService /builds/worker/workspace/build/src/xpcom/components/nsComponentManagerUtils.cpp:61:43 (libxul.so+0xa2021b)
[task 2019-11-20T16:45:52.680Z] 16:45:52     INFO -  check> E   PID 8794 |     #13 nsGetServiceByContractID::operator()(nsID const&, void**) const /builds/worker/workspace/build/src/xpcom/components/nsComponentManagerUtils.cpp:243:21 (libxul.so+0xa2021b)
[task 2019-11-20T16:45:52.680Z] 16:45:52     INFO -  check> E   PID 8794 |     #14 nsCOMPtr_base::assign_from_gs_contractid(nsGetServiceByContractID, nsID const&) /builds/worker/workspace/build/src/xpcom/base/nsCOMPtr.cpp:82:7 (libxul.so+0x96ee60)
[task 2019-11-20T16:45:52.680Z] 16:45:52     INFO -  check> E   PID 8794 |     #15 nsCOMPtr /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr.h:607:5 (libxul.so+0x10f7ca2)
[task 2019-11-20T16:45:52.681Z] 16:45:52     INFO -  check> E   PID 8794 |     #16 mozilla::net::NeckoParent::NeckoParent() /builds/worker/workspace/build/src/netwerk/ipc/NeckoParent.cpp:84:7 (libxul.so+0x10f7ca2)
[task 2019-11-20T16:45:52.682Z] 16:45:52     INFO -  check> E   PID 8794 |     #17 mozilla::dom::ContentParent::AllocPNeckoParent() /builds/worker/workspace/build/src/dom/ipc/ContentParent.cpp:3624:63 (libxul.so+0x40ab88f)
[task 2019-11-20T16:45:52.682Z] 16:45:52     INFO -  check> E   PID 8794 |     #18 mozilla::dom::PContentParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/build/src/obj-firefox/ipc/ipdl/PContentParent.cpp:7026:72 (libxul.so+0x1375f50)
[task 2019-11-20T16:45:52.682Z] 16:45:52     INFO -  check> E   PID 8794 |     #19 mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:2208:25 (libxul.so+0x124a276)
[task 2019-11-20T16:45:52.682Z] 16:45:52     INFO -  check> E   PID 8794 |     #20 mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:2130:9 (libxul.so+0x12484df)
[task 2019-11-20T16:45:52.682Z] 16:45:52     INFO -  check> E   PID 8794 |     #21 mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:1972:3 (libxul.so+0x1249191)
[task 2019-11-20T16:45:52.682Z] 16:45:52     INFO -  check> E   PID 8794 |     #22 mozilla::ipc::MessageChannel::MessageTask::Run() /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:2003:13 (libxul.so+0x12496c9)
[task 2019-11-20T16:45:52.682Z] 16:45:52     INFO -  check> E   PID 8794 |     #23 nsThread::ProcessNextEvent(bool, bool*) /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp:1250:14 (libxul.so+0xa40e82)
[task 2019-11-20T16:45:52.682Z] 16:45:52     INFO -  check> E   PID 8794 |     #24 NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/workspace/build/src/xpcom/threads/nsThreadUtils.cpp:486:10 (libxul.so+0xa449c2)
[task 2019-11-20T16:45:52.682Z] 16:45:52     INFO -  check> E   PID 8794 |     #25 SpinEventLoopUntil<mozilla::ProcessFailureBehavior::ReportToCaller, (lambda at /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp:624:36)> /builds/worker/workspace/build/src/obj-firefox/dist/include/nsThreadUtils.h:348:25 (libxul.so+0xa44442)
[task 2019-11-20T16:45:52.682Z] 16:45:52     INFO -  check> E   PID 8794 |     #26 nsThreadManager::SpinEventLoopUntilInternal(nsINestedEventLoopCondition*, bool) /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp:624:8 (libxul.so+0xa44442)
[task 2019-11-20T16:45:52.682Z] 16:45:52     INFO -  check> E   PID 8794 |     #27 nsThreadManager::SpinEventLoopUntil(nsINestedEventLoopCondition*) /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp:603:10 (libxul.so+0xa442c7)
[task 2019-11-20T16:45:52.683Z] 16:45:52     INFO -  check> E   PID 8794 |     #28 NS_InvokeByIndex /builds/worker/workspace/build/src/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_x86_64_unix.S:106 (libxul.so+0xa5b0b5)
[task 2019-11-20T16:45:52.683Z] 16:45:52     INFO -  check> E   PID 8794 |     #29 XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) /builds/worker/workspace/build/src/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:946:10 (libxul.so+0x17e3751)
[task 2019-11-20T16:45:52.684Z] 16:45:52     INFO -  check> E   PID 8794 |     #30 CallJSNative /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:456:13 (libxul.so+0x61f5976)
[task 2019-11-20T16:45:52.684Z] 16:45:52     INFO -  check> E   PID 8794 |     #31 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:548:12 (libxul.so+0x61f5976)
[task 2019-11-20T16:45:52.684Z] 16:45:52     INFO -  check> E   PID 8794 |     #32 InternalCall(JSContext*, js::AnyInvokeArgs const&, js::CallReason) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:617:10 (libxul.so+0x61f6bdd)
[task 2019-11-20T16:45:52.684Z] 16:45:52     INFO -  check> E   PID 8794 |     #33 CallFromStack /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:621:10 (libxul.so+0x61e8634)
[task 2019-11-20T16:45:52.684Z] 16:45:52     INFO -  check> E   PID 8794 |     #34 Interpret(JSContext*, js::RunState&) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:3119:16 (libxul.so+0x61e8634)
[task 2019-11-20T16:45:52.684Z] 16:45:52     INFO -  check> E   PID 8794 |     #35 js::RunScript(JSContext*, js::RunState&) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:423:10 (libxul.so+0x61d7c61)
[task 2019-11-20T16:45:52.684Z] 16:45:52     INFO -  check> E   PID 8794 |     #36 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:589:13 (libxul.so+0x61f60e8)
[task 2019-11-20T16:45:52.685Z] 16:45:52     INFO -  check> E   PID 8794 |     #37 InternalCall(JSContext*, js::AnyInvokeArgs const&, js::CallReason) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:617:10 (libxul.so+0x61f6bdd)
[task 2019-11-20T16:45:52.685Z] 16:45:52     INFO -  check> E   PID 8794 |     #38 js::CallFromStack(JSContext*, JS::CallArgs const&) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:621:10 (libxul.so+0x61f6ae0)
[task 2019-11-20T16:45:52.685Z] 16:45:52     INFO -  check> E   PID 8794 |     #39 js::jit::DoCallFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICCall_Fallback*, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>) /builds/worker/workspace/build/src/js/src/jit/BaselineIC.cpp:2940:10 (libxul.so+0x6a34fd9)
[task 2019-11-20T16:45:52.685Z] 16:45:52     INFO -  check> E   PID 8794 |     #40 <null> <null> (0x7f6232922f58)
[task 2019-11-20T16:45:52.685Z] 16:45:52     INFO -  check> E   PID 8794 |     #41 Interpret(JSContext*, js::RunState&) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:2015:17 (libxul.so+0x61d958a)
[task 2019-11-20T16:45:52.685Z] 16:45:52     INFO -  check> E   PID 8794 |     #42 js::RunScript(JSContext*, js::RunState&) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:423:10 (libxul.so+0x61d7c61)
[task 2019-11-20T16:45:52.685Z] 16:45:52     INFO -  check> E   PID 8794 |     #43 js::ExecuteKernel(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value const&, js::AbstractFramePtr, JS::Value*) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:810:13 (libxul.so+0x61f83e7)
[task 2019-11-20T16:45:52.685Z] 16:45:52     INFO -  check> E   PID 8794 |     #44 js::Execute(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value*) /builds/worker/workspace/build/src/js/src/vm/Interpreter.cpp:843:10 (libxul.so+0x61f86c0)
[task 2019-11-20T16:45:52.685Z] 16:45:52     INFO -  check> E   PID 8794 |     #45 EvaluateSourceBuffer<mozilla::Utf8Unit> /builds/worker/workspace/build/src/js/src/vm/CompilationAndEvaluation.cpp:562:10 (libxul.so+0x6385957)
[task 2019-11-20T16:45:52.686Z] 16:45:52     INFO -  check> E   PID 8794 |     #46 JS::EvaluateDontInflate(JSContext*, JS::ReadOnlyCompileOptions const&, JS::SourceText<mozilla::Utf8Unit>&, JS::MutableHandle<JS::Value>) /builds/worker/workspace/build/src/js/src/vm/CompilationAndEvaluation.cpp:594:10 (libxul.so+0x6385957)
[task 2019-11-20T16:45:52.687Z] 16:45:52     INFO -  check> E   PID 8794 |     #47 ProcessArgs /builds/worker/workspace/build/src/js/xpconnect/src/XPCShellImpl.cpp:1000:11 (libxul.so+0x17cfdb3)
[task 2019-11-20T16:45:52.687Z] 16:45:52     INFO -  check> E   PID 8794 |     #48 XRE_XPCShellMain(int, char**, char**, XREShellData const*) /builds/worker/workspace/build/src/js/xpconnect/src/XPCShellImpl.cpp:1399:14 (libxul.so+0x17cfdb3)
[task 2019-11-20T16:45:52.687Z] 16:45:52     INFO -  check> E   PID 8794 |     #49 mozilla::BootstrapImpl::XRE_XPCShellMain(int, char**, char**, XREShellData const*) /builds/worker/workspace/build/src/toolkit/xre/Bootstrap.cpp:54:12 (libxul.so+0x60cfd3b)
[task 2019-11-20T16:45:52.687Z] 16:45:52     INFO -  check> E   PID 8794 |     #50 main /builds/worker/workspace/build/src/js/xpconnect/shell/xpcshell.cpp:66:27 (xpcshell+0xc8416)
[task 2019-11-20T16:45:52.687Z] 16:45:52     INFO -  check> E   PID 8794 |   Thread T13 'Socket Thread' (tid=8810, running) created by main thread at:
[task 2019-11-20T16:45:52.687Z] 16:45:52     INFO -  check> E   PID 8794 |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (xpcshell+0x5728b)
[task 2019-11-20T16:45:52.687Z] 16:45:52     INFO -  check> E   PID 8794 |     #1 _PR_CreateThread /builds/worker/workspace/build/src/nsprpub/pr/src/pthreads/ptthread.c:458:14 (libnspr4.so+0x444c3)
[task 2019-11-20T16:45:52.687Z] 16:45:52     INFO -  check> E   PID 8794 |     #2 PR_CreateThread /builds/worker/workspace/build/src/nsprpub/pr/src/pthreads/ptthread.c:533:12 (libnspr4.so+0x35b92)
[task 2019-11-20T16:45:52.687Z] 16:45:52     INFO -  check> E   PID 8794 |     #3 nsThread::Init(nsTSubstring<char> const&) /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp:673:8 (libxul.so+0xa3e89d)
[task 2019-11-20T16:45:52.687Z] 16:45:52     INFO -  check> E   PID 8794 |     #4 nsThreadManager::NewNamedThread(nsTSubstring<char> const&, unsigned int, nsIThread**) /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp:551:12 (libxul.so+0xa440c5)
[task 2019-11-20T16:45:52.687Z] 16:45:52     INFO -  check> E   PID 8794 |     #5 NS_NewNamedThread(nsTSubstring<char> const&, nsIThread**, nsIRunnable*, unsigned int) /builds/worker/workspace/build/src/xpcom/threads/nsThreadUtils.cpp:139:57 (libxul.so+0xa463e8)
[task 2019-11-20T16:45:52.688Z] 16:45:52     INFO -  check> E   PID 8794 |     #6 NS_NewNamedThread<14> /builds/worker/workspace/build/src/obj-firefox/dist/include/nsThreadUtils.h:71:10 (libxul.so+0xba4506)
[task 2019-11-20T16:45:52.688Z] 16:45:52     INFO -  check> E   PID 8794 |     #7 mozilla::net::nsSocketTransportService::Init() /builds/worker/workspace/build/src/netwerk/base/nsSocketTransportService2.cpp:608:7 (libxul.so+0xba4506)
[task 2019-11-20T16:45:52.688Z] 16:45:52     INFO -  check> E   PID 8794 |     #8 mozilla::xpcom::CreateInstanceImpl(mozilla::xpcom::ModuleID, nsISupports*, nsID const&, void**) /builds/worker/workspace/build/src/obj-firefox/xpcom/components/StaticComponents.cpp:8029:7 (libxul.so+0xa0f722)
[task 2019-11-20T16:45:52.688Z] 16:45:52     INFO -  check> E   PID 8794 |     #9 mozilla::xpcom::StaticModule::CreateInstance(nsISupports*, nsID const&, void**) const /builds/worker/workspace/build/src/obj-firefox/xpcom/components/StaticComponents.cpp:11084:10 (libxul.so+0xa05d70)
[task 2019-11-20T16:45:52.689Z] 16:45:52     INFO -  check> E   PID 8794 |     #10 CreateInstance /builds/worker/workspace/build/src/xpcom/components/nsComponentManager.cpp:221:46 (libxul.so+0xa1cd1d)
[task 2019-11-20T16:45:52.689Z] 16:45:52     INFO -  check> E   PID 8794 |     #11 nsComponentManagerImpl::GetServiceLocked((anonymous namespace)::MutexLock&, (anonymous namespace)::EntryWrapper&, nsID const&, void**) /builds/worker/workspace/build/src/xpcom/components/nsComponentManager.cpp:1380:17 (libxul.so+0xa1cd1d)
[task 2019-11-20T16:45:52.689Z] 16:45:52     INFO -  check> E   PID 8794 |     #12 nsComponentManagerImpl::GetServiceByContractID(char const*, nsID const&, void**) /builds/worker/workspace/build/src/xpcom/components/nsComponentManager.cpp:1567:10 (libxul.so+0xa17d55)
[task 2019-11-20T16:45:52.689Z] 16:45:52     INFO -  check> E   PID 8794 |     #13 CallGetService /builds/worker/workspace/build/src/xpcom/components/nsComponentManagerUtils.cpp:61:43 (libxul.so+0xa2029a)
[task 2019-11-20T16:45:52.689Z] 16:45:52     INFO -  check> E   PID 8794 |     #14 nsGetServiceByContractIDWithError::operator()(nsID const&, void**) const /builds/worker/workspace/build/src/xpcom/components/nsComponentManagerUtils.cpp:253:21 (libxul.so+0xa2029a)
[task 2019-11-20T16:45:52.689Z] 16:45:52     INFO -  check> E   PID 8794 |     #15 nsCOMPtr_base::assign_from_gs_contractid_with_error(nsGetServiceByContractIDWithError const&, nsID const&) /builds/worker/workspace/build/src/xpcom/base/nsCOMPtr.cpp:91:7 (libxul.so+0x96ef17)
[task 2019-11-20T16:45:52.689Z] 16:45:52     INFO -  check> E   PID 8794 |     #16 operator= /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr.h:746:5 (libxul.so+0xb4cdd9)
[task 2019-11-20T16:45:52.689Z] 16:45:52     INFO -  check> E   PID 8794 |     #17 InitializeSocketTransportService /builds/worker/workspace/build/src/netwerk/base/nsIOService.cpp:311:29 (libxul.so+0xb4cdd9)
[task 2019-11-20T16:45:52.690Z] 16:45:52     INFO -  check> E   PID 8794 |     #18 mozilla::net::nsIOService::SetOffline(bool) /builds/worker/workspace/build/src/netwerk/base/nsIOService.cpp:1122:7 (libxul.so+0xb4cdd9)
[task 2019-11-20T16:45:52.690Z] 16:45:52     INFO -  check> E   PID 8794 |     #19 mozilla::net::nsIOService::Init() /builds/worker/workspace/build/src/netwerk/base/nsIOService.cpp:276:3 (libxul.so+0xb4c7af)
[task 2019-11-20T16:45:52.690Z] 16:45:52     INFO -  check> E   PID 8794 |     #20 mozilla::net::nsIOService::GetInstance() /builds/worker/workspace/build/src/netwerk/base/nsIOService.cpp:367:9 (libxul.so+0xb4dd1e)
[task 2019-11-20T16:45:52.691Z] 16:45:52     INFO -  check> E   PID 8794 |     #21 mozilla::xpcom::CreateInstanceImpl(mozilla::xpcom::ModuleID, nsISupports*, nsID const&, void**) /builds/worker/workspace/build/src/obj-firefox/xpcom/components/StaticComponents.cpp:9989:48 (libxul.so+0xa0becd)
[task 2019-11-20T16:45:52.691Z] 16:45:52     INFO -  check> E   PID 8794 |     #22 mozilla::xpcom::StaticModule::CreateInstance(nsISupports*, nsID const&, void**) const /builds/worker/workspace/build/src/obj-firefox/xpcom/components/StaticComponents.cpp:11084:10 (libxul.so+0xa05d70)
[task 2019-11-20T16:45:52.691Z] 16:45:52     INFO -  check> E   PID 8794 |     #23 CreateInstance /builds/worker/workspace/build/src/xpcom/components/nsComponentManager.cpp:221:46 (libxul.so+0xa1cd1d)
[task 2019-11-20T16:45:52.691Z] 16:45:52     INFO -  check> E   PID 8794 |     #24 nsComponentManagerImpl::GetServiceLocked((anonymous namespace)::MutexLock&, (anonymous namespace)::EntryWrapper&, nsID const&, void**) /builds/worker/workspace/build/src/xpcom/components/nsComponentManager.cpp:1380:17 (libxul.so+0xa1cd1d)
[task 2019-11-20T16:45:52.691Z] 16:45:52     INFO -  check> E   PID 8794 |     #25 nsComponentManagerImpl::GetServiceByContractID(char const*, nsID const&, void**) /builds/worker/workspace/build/src/xpcom/components/nsComponentManager.cpp:1567:10 (libxul.so+0xa17d55)
[task 2019-11-20T16:45:52.691Z] 16:45:52     INFO -  check> E   PID 8794 |     #26 CallGetService(char const*, nsID const&, void**) /builds/worker/workspace/build/src/xpcom/components/nsComponentManagerUtils.cpp:61:43 (libxul.so+0xa1fdad)
[task 2019-11-20T16:45:52.691Z] 16:45:52     INFO -  check> E   PID 8794 |     #27 CallGetService<nsIIOService> /builds/worker/workspace/build/src/obj-firefox/dist/include/nsServiceManagerUtils.h:73:10 (libxul.so+0x1ad3cca)
[task 2019-11-20T16:45:52.692Z] 16:45:52     INFO -  check> E   PID 8794 |     #28 nsScriptSecurityManager::Init() /builds/worker/workspace/build/src/caps/nsScriptSecurityManager.cpp:1364:17 (libxul.so+0x1ad3cca)
[task 2019-11-20T16:45:52.692Z] 16:45:52     INFO -  check> E   PID 8794 |     #29 nsScriptSecurityManager::InitStatics() /builds/worker/workspace/build/src/caps/nsScriptSecurityManager.cpp:1424:28 (libxul.so+0x1ad4521)
[task 2019-11-20T16:45:52.692Z] 16:45:52     INFO -  check> E   PID 8794 |     #30 nsXPConnect::InitStatics() /builds/worker/workspace/build/src/js/xpconnect/src/nsXPConnect.cpp:135:3 (libxul.so+0x17eba88)
[task 2019-11-20T16:45:52.692Z] 16:45:52     INFO -  check> E   PID 8794 |     #31 xpcModuleCtor() /builds/worker/workspace/build/src/js/xpconnect/src/XPCModule.cpp:11:3 (libxul.so+0x17c0d5f)
[task 2019-11-20T16:45:52.692Z] 16:45:52     INFO -  check> E   PID 8794 |     #32 nsLayoutModuleInitialize() /builds/worker/workspace/build/src/layout/build/nsLayoutModule.cpp:109:7 (libxul.so+0x4c2bf97)
[task 2019-11-20T16:45:52.693Z] 16:45:52     INFO -  check> E   PID 8794 |     #33 nsComponentManagerImpl::Init() /builds/worker/workspace/build/src/xpcom/components/nsComponentManager.cpp:490:5 (libxul.so+0xa187c1)
[task 2019-11-20T16:45:52.693Z] 16:45:52     INFO -  check> E   PID 8794 |     #34 NS_InitXPCOM /builds/worker/workspace/build/src/xpcom/build/XPCOMInit.cpp:446:51 (libxul.so+0xa6dbdc)
[task 2019-11-20T16:45:52.693Z] 16:45:52     INFO -  check> E   PID 8794 |     #35 XRE_XPCShellMain(int, char**, char**, XREShellData const*) /builds/worker/workspace/build/src/js/xpconnect/src/XPCShellImpl.cpp:1250:10 (libxul.so+0x17cf009)
[task 2019-11-20T16:45:52.693Z] 16:45:52     INFO -  check> E   PID 8794 |     #36 mozilla::BootstrapImpl::XRE_XPCShellMain(int, char**, char**, XREShellData const*) /builds/worker/workspace/build/src/toolkit/xre/Bootstrap.cpp:54:12 (libxul.so+0x60cfd3b)
[task 2019-11-20T16:45:52.693Z] 16:45:52     INFO -  check> E   PID 8794 |     #37 main /builds/worker/workspace/build/src/js/xpconnect/shell/xpcshell.cpp:66:27 (xpcshell+0xc8416)
[task 2019-11-20T16:45:52.694Z] 16:45:52     INFO -  check> E   PID 8794 | SUMMARY: ThreadSanitizer: data race /builds/worker/workspace/build/src/netwerk/protocol/http/nsHttpConnectionMgr.cpp:3013:24 in mozilla::net::nsHttpConnectionMgr::OnMsgUpdateParam(int, mozilla::net::ARefBase*)

we set the parameters under the mReentrantMonitor in nsHttpConnectionMgr::Init (the first write) and then send the messages to the socket thread to update the "param" (second write). This is an existing problem, undetected by TSan because we don't change preferences during the TSan run.

I totally forgot that the correct (pretty archaic) way is to pass any newly added prefs through the Init method of the connection manager. I will update the patch in bug 1592628.

This is actually a WFM!

Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(honzab.moz)
Resolution: --- → WORKSFORME

Thunderbird debug bustage logs look pretty much like the above. So bug 1592628 will resolve it? https://treeherder.mozilla.org/logviewer.html#?job_id=277305006&repo=comm-central

(In reply to Magnus Melin [:mkmelin] from comment #9)

Thunderbird debug bustage logs look pretty much like the above. So bug 1592628 will resolve it? https://treeherder.mozilla.org/logviewer.html#?job_id=277305006&repo=comm-central

Can you paste the failure here? The log doesn't list errors. And only thing that I can see in the raw log is definitely not this - are you on the right bug? This has nothing to do with TB. note that the patch only landed on autoland, not anywhere else.

So I think the answer is NO.

Hmm, strange, I got to here from https://hg.mozilla.org/mozilla-central/rev/1e9b8d8d2c8f so AFAIKT this was on mozilla-central and that was in the regression range for tb debug builds.

Anyway, that patch was backed out (https://hg.mozilla.org/mozilla-central/rev/e2ffc40a763fdce74279c6e6d631212bf0d47e87) and tb debug is back in operation so nothing more to do here.

Attachment #9108151 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: