And another one: https://treeherder.mozilla.org/logviewer?job_id=456516966&repo=try&lineNumber=44824 ``` TEST-START | TimerTest.SimpleTimer Timer fired ================== WARNING: ThreadSanitizer: data race (pid=992) Write of size 1 at 0x7b1800096598 by thread T5: #0 (anonymous namespace)::TimerTest::cb(void*, int, void*) /checkouts/gecko/dom/media/webrtc/transport/test/nrappkit_unittest.cpp:93:15 (libxul.so+0x4f9f1fe) #1 Notify /checkouts/gecko/dom/media/webrtc/transport/nr_timer.cpp:128:3 (libxul.so+0x62a6589) #2 non-virtual thunk to mozilla::nrappkitTimerCallback::Notify(nsITimer*) /checkouts/gecko/dom/media/webrtc/transport/nr_timer.cpp (libxul.so+0x62a6589) #3 operator() /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:677:44 (libxul.so+0x5536a34) #4 matchN<mozilla::Variant<nsTimerImpl::UnknownCallback, nsCOMPtr<nsITimerCallback>, nsCOMPtr<nsIObserver>, nsTimerImpl::FuncCallback, nsTimerImpl::ClosureCallback> &, (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:677:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:678:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:681:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:682:7)> /workspace/obj-build/dist/include/mozilla/Variant.h:309:16 (libxul.so+0x5536a34) #5 matchN<mozilla::Variant<nsTimerImpl::UnknownCallback, nsCOMPtr<nsITimerCallback>, nsCOMPtr<nsIObserver>, nsTimerImpl::FuncCallback, nsTimerImpl::ClosureCallback> &, (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:676:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:677:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:678:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:681:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:682:7)> /workspace/obj-build/dist/include/mozilla/Variant.h:318:14 (libxul.so+0x5536a34) #6 matchN<mozilla::Variant<nsTimerImpl::UnknownCallback, nsCOMPtr<nsITimerCallback>, nsCOMPtr<nsIObserver>, nsTimerImpl::FuncCallback, nsTimerImpl::ClosureCallback> &, (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:676:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:677:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:678:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:681:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:682:7)> /workspace/obj-build/dist/include/mozilla/Variant.h:902:12 (libxul.so+0x5536a34) #7 match<(lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:676:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:677:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:678:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:681:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:682:7)> /workspace/obj-build/dist/include/mozilla/Variant.h:857:12 (libxul.so+0x5536a34) #8 nsTimerImpl::Fire(int) /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:675:22 (libxul.so+0x5536a34) #9 nsTimerEvent::Run() /checkouts/gecko/xpcom/threads/TimerThread.cpp:515:11 (libxul.so+0x5535887) #10 nsThread::ProcessNextEvent(bool, bool*) /checkouts/gecko/xpcom/threads/nsThread.cpp:1193:16 (libxul.so+0x5543e4e) #11 NS_ProcessNextEvent(nsIThread*, bool) /checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x554a3e4) #12 mozilla::net::nsSocketTransportService::Run() /checkouts/gecko/netwerk/base/nsSocketTransportService2.cpp:1203:11 (libxul.so+0x5777a7c) #13 non-virtual thunk to mozilla::net::nsSocketTransportService::Run() /checkouts/gecko/netwerk/base/nsSocketTransportService2.cpp (libxul.so+0x57798f9) #14 nsThread::ProcessNextEvent(bool, bool*) /checkouts/gecko/xpcom/threads/nsThread.cpp:1193:16 (libxul.so+0x5543e4e) #15 NS_ProcessNextEvent(nsIThread*, bool) /checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x554a3e4) #16 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /checkouts/gecko/ipc/glue/MessagePump.cpp:300:20 (libxul.so+0x609034e) #17 RunInternal /checkouts/gecko/ipc/chromium/src/base/message_loop.cc:370:10 (libxul.so+0x60033f8) #18 RunHandler /checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363:3 (libxul.so+0x60033f8) #19 MessageLoop::Run() /checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345:3 (libxul.so+0x60033f8) #20 nsThread::ThreadFunc(void*) /checkouts/gecko/xpcom/threads/nsThread.cpp:370:10 (libxul.so+0x553f6d3) #21 _pt_root /checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5 (libnspr4.so+0x4ba79) Previous read of size 1 at 0x7b1800096598 by main thread: #0 TimerTest_SimpleTimer_Test::TestBody() /checkouts/gecko/dom/media/webrtc/transport/test/nrappkit_unittest.cpp:104:3 (libxul.so+0x4f9e1c1) #1 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc (libxul.so+0x4254c6d) #2 testing::Test::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2688:5 (libxul.so+0x4254ad9) #3 testing::TestInfo::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2837:11 (libxul.so+0x42564e8) #4 testing::TestSuite::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:3016:30 (libxul.so+0x4257ae4) #5 testing::internal::UnitTestImpl::RunAllTests() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5922:44 (libxul.so+0x4275579) #6 libvpx_test_cases_Test::TestBody() /checkouts/gecko/dom/media/gtest/TestVPXDecoding.cpp:89:9 (libxul.so+0x4a7b7a7) #7 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc (libxul.so+0x4254c6d) #8 testing::Test::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2688:5 (libxul.so+0x4254ad9) #9 testing::TestInfo::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2837:11 (libxul.so+0x42564e8) #10 testing::TestSuite::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:3016:30 (libxul.so+0x4257ae4) #11 testing::internal::UnitTestImpl::RunAllTests() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5922:44 (libxul.so+0x4275579) #12 testing::Test::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2688:5 (libxul.so+0x4254ad9) #13 testing::TestInfo::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2837:11 (libxul.so+0x42564e8) #14 testing::TestSuite::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:3016:30 (libxul.so+0x4257ae4) #15 testing::internal::UnitTestImpl::RunAllTests() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5922:44 (libxul.so+0x4275579) #16 testing::Test::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2688:5 (libxul.so+0x4254ad9) #17 testing::TestInfo::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2837:11 (libxul.so+0x42564e8) #18 testing::TestSuite::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:3016:30 (libxul.so+0x4257ae4) #19 testing::internal::UnitTestImpl::RunAllTests() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5922:44 (libxul.so+0x4275579) #20 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc (libxul.so+0x4274d1d) #21 testing::UnitTest::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5486:10 (libxul.so+0x4274ac0) #22 RUN_ALL_TESTS /workspace/obj-build/dist/include/gtest/gtest.h:2319:73 (libxul.so+0x422a47f) #23 mozilla::RunGTestFunc(int*, char**) /checkouts/gecko/testing/gtest/mozilla/GTestRunner.cpp:167:10 (libxul.so+0x422a47f) #24 XREMain::XRE_mainStartup(bool*) /checkouts/gecko/toolkit/xre/nsAppRunner.cpp:4686:16 (libxul.so+0xbfe5529) #25 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5946:12 (libxul.so+0xbfed252) #26 XRE_main(int, char**, mozilla::BootstrapConfig const&) /checkouts/gecko/toolkit/xre/nsAppRunner.cpp:6015:21 (libxul.so+0xbfed991) #27 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) /checkouts/gecko/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0xbffc9e2) #28 do_main /checkouts/gecko/browser/app/nsBrowserApp.cpp:227:22 (firefox-bin+0x14ea00) #29 main /checkouts/gecko/browser/app/nsBrowserApp.cpp:445:16 (firefox-bin+0x14ea00) Location is heap block of size 96 at 0x7b1800096540 allocated by main thread: #0 malloc /fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:663:5 (firefox-bin+0xc3ddc) #1 moz_xmalloc /checkouts/gecko/memory/mozalloc/mozalloc.cpp:52:15 (firefox-bin+0x150a08) #2 operator new /workspace/obj-build/dist/include/mozilla/cxxalloc.h:33:10 (libxul.so+0x4f9efe7) #3 testing::internal::TestFactoryImpl<TimerTest_SimpleTimer_Test>::CreateTest() /workspace/obj-build/dist/include/gtest/internal/gtest-internal.h:456:40 (libxul.so+0x4f9efe7) #4 testing::Test* testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test*>(testing::internal::TestFactoryBase*, testing::Test* (testing::internal::TestFactoryBase::*)(), char const*) /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc (libxul.so+0x425685d) #5 testing::TestInfo::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2827:22 (libxul.so+0x42564cb) #6 testing::TestSuite::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:3016:30 (libxul.so+0x4257ae4) #7 testing::internal::UnitTestImpl::RunAllTests() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5922:44 (libxul.so+0x4275579) #8 libvpx_test_cases_Test::TestBody() /checkouts/gecko/dom/media/gtest/TestVPXDecoding.cpp:89:9 (libxul.so+0x4a7b7a7) #9 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc (libxul.so+0x4254c6d) #10 testing::Test::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2688:5 (libxul.so+0x4254ad9) #11 testing::TestInfo::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2837:11 (libxul.so+0x42564e8) #12 testing::TestSuite::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:3016:30 (libxul.so+0x4257ae4) #13 testing::internal::UnitTestImpl::RunAllTests() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5922:44 (libxul.so+0x4275579) #14 testing::Test::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2688:5 (libxul.so+0x4254ad9) #15 testing::TestInfo::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2837:11 (libxul.so+0x42564e8) #16 testing::TestSuite::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:3016:30 (libxul.so+0x4257ae4) #17 testing::internal::UnitTestImpl::RunAllTests() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5922:44 (libxul.so+0x4275579) #18 testing::Test::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2688:5 (libxul.so+0x4254ad9) #19 testing::TestInfo::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2837:11 (libxul.so+0x42564e8) #20 testing::TestSuite::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:3016:30 (libxul.so+0x4257ae4) #21 testing::internal::UnitTestImpl::RunAllTests() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5922:44 (libxul.so+0x4275579) #22 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc (libxul.so+0x4274d1d) #23 testing::UnitTest::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5486:10 (libxul.so+0x4274ac0) #24 RUN_ALL_TESTS /workspace/obj-build/dist/include/gtest/gtest.h:2319:73 (libxul.so+0x422a47f) #25 mozilla::RunGTestFunc(int*, char**) /checkouts/gecko/testing/gtest/mozilla/GTestRunner.cpp:167:10 (libxul.so+0x422a47f) #26 XREMain::XRE_mainStartup(bool*) /checkouts/gecko/toolkit/xre/nsAppRunner.cpp:4686:16 (libxul.so+0xbfe5529) #27 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5946:12 (libxul.so+0xbfed252) #28 XRE_main(int, char**, mozilla::BootstrapConfig const&) /checkouts/gecko/toolkit/xre/nsAppRunner.cpp:6015:21 (libxul.so+0xbfed991) #29 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) /checkouts/gecko/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0xbffc9e2) #30 do_main /checkouts/gecko/browser/app/nsBrowserApp.cpp:227:22 (firefox-bin+0x14ea00) #31 main /checkouts/gecko/browser/app/nsBrowserApp.cpp:445:16 (firefox-bin+0x14ea00) Thread T5 'Socket Thread' (tid=1000, running) created by main thread at: #0 pthread_create /fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1020:3 (firefox-bin+0xc59bb) #1 _PR_CreateThread /checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:458:14 (libnspr4.so+0x42cee) #2 PR_CreateThread /checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:533:12 (libnspr4.so+0x37f84) #3 nsThread::Init(nsTSubstring<char> const&) /checkouts/gecko/xpcom/threads/nsThread.cpp:620:20 (libxul.so+0x5540e77) #4 nsThreadManager::NewNamedThread(nsTSubstring<char> const&, nsIThreadManager::ThreadCreationOptions, nsIThread**) /checkouts/gecko/xpcom/threads/nsThreadManager.cpp:602:22 (libxul.so+0x5548f1d) #5 NS_NewNamedThread(nsTSubstring<char> const&, nsIThread**, already_AddRefed<nsIRunnable>, nsIThreadManager::ThreadCreationOptions) /checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:176:57 (libxul.so+0x5551bd3) #6 NS_NewNamedThread<14UL> /workspace/obj-build/dist/include/nsThreadUtils.h:87:10 (libxul.so+0x5775f3b) #7 mozilla::net::nsSocketTransportService::Init() /checkouts/gecko/netwerk/base/nsSocketTransportService2.cpp:748:19 (libxul.so+0x5775f3b) #8 mozilla::xpcom::CreateInstanceImpl(mozilla::xpcom::ModuleID, nsID const&, void**) /workspace/obj-build/xpcom/components/StaticComponents.cpp:9683:7 (libxul.so+0x54fafca) #9 mozilla::xpcom::StaticModule::CreateInstance(nsID const&, void**) const /workspace/obj-build/xpcom/components/StaticComponents.cpp:12981:10 (libxul.so+0x5506baa) #10 CreateInstance /checkouts/gecko/xpcom/components/nsComponentManager.cpp:189:46 (libxul.so+0x55115c7) #11 nsComponentManagerImpl::GetServiceLocked(mozilla::Maybe<mozilla::detail::BaseMonitorAutoLock<mozilla::Monitor>>&, (anonymous namespace)::EntryWrapper&, nsID const&, void**) /checkouts/gecko/xpcom/components/nsComponentManager.cpp:987:17 (libxul.so+0x55115c7) #12 nsComponentManagerImpl::GetServiceByContractID(char const*, nsID const&, void**) /checkouts/gecko/xpcom/components/nsComponentManager.cpp:1176:10 (libxul.so+0x551223d) #13 CallGetService /checkouts/gecko/xpcom/components/nsComponentManagerUtils.cpp:63:43 (libxul.so+0x5514cbb) #14 nsGetServiceByContractIDWithError::operator()(nsID const&, void**) const /checkouts/gecko/xpcom/components/nsComponentManagerUtils.cpp:250:21 (libxul.so+0x5514cbb) #15 assign_from_gs_contractid_with_error /workspace/obj-build/dist/include/nsCOMPtr.h:881:7 (libxul.so+0x570eef0) #16 operator= /workspace/obj-build/dist/include/nsCOMPtr.h:665:5 (libxul.so+0x570eef0) #17 mozilla::net::nsIOService::InitializeSocketTransportService() /checkouts/gecko/netwerk/base/nsIOService.cpp:439:29 (libxul.so+0x570eef0) #18 mozilla::net::nsIOService::SetOfflineInternal(bool, bool) /checkouts/gecko/netwerk/base/nsIOService.cpp:1303:7 (libxul.so+0x571361f) #19 SetOffline /checkouts/gecko/netwerk/base/nsIOService.cpp:1242:48 (libxul.so+0x570d4dc) #20 mozilla::net::nsIOService::Init() /checkouts/gecko/netwerk/base/nsIOService.cpp:311:3 (libxul.so+0x570d4dc) #21 mozilla::net::nsIOService::GetInstance() /checkouts/gecko/netwerk/base/nsIOService.cpp:496:9 (libxul.so+0x570f511) #22 mozilla::xpcom::CreateInstanceImpl(mozilla::xpcom::ModuleID, nsID const&, void**) /workspace/obj-build/xpcom/components/StaticComponents.cpp:12089:48 (libxul.so+0x5502743) #23 mozilla::xpcom::StaticModule::CreateInstance(nsID const&, void**) const /workspace/obj-build/xpcom/components/StaticComponents.cpp:12981:10 (libxul.so+0x5506baa) #24 CreateInstance /checkouts/gecko/xpcom/components/nsComponentManager.cpp:189:46 (libxul.so+0x55115c7) #25 nsComponentManagerImpl::GetServiceLocked(mozilla::Maybe<mozilla::detail::BaseMonitorAutoLock<mozilla::Monitor>>&, (anonymous namespace)::EntryWrapper&, nsID const&, void**) /checkouts/gecko/xpcom/components/nsComponentManager.cpp:987:17 (libxul.so+0x55115c7) #26 nsComponentManagerImpl::GetService(mozilla::xpcom::ModuleID, nsID const&, void**) /checkouts/gecko/xpcom/components/nsComponentManager.cpp:1077:10 (libxul.so+0x5511b53) #27 mozilla::xpcom::GetServiceHelper::operator()(nsID const&, void**) const /workspace/obj-build/xpcom/components/StaticComponents.cpp:13127:50 (libxul.so+0x55077a8) #28 RefPtr /workspace/obj-build/dist/include/nsCOMPtr.h:1111:7 (libxul.so+0x6372cae) #29 nsScriptSecurityManager::Init() /checkouts/gecko/caps/nsScriptSecurityManager.cpp:1565:29 (libxul.so+0x6372cae) #30 nsScriptSecurityManager::InitStatics() /checkouts/gecko/caps/nsScriptSecurityManager.cpp:1627:28 (libxul.so+0x6373219) #31 nsXPConnect::InitStatics() /checkouts/gecko/js/xpconnect/src/nsXPConnect.cpp:165:3 (libxul.so+0x62157e0) #32 xpcModuleCtor() /checkouts/gecko/js/xpconnect/src/XPCModule.cpp:11:3 (libxul.so+0x61e390f) #33 nsLayoutModuleInitialize() /checkouts/gecko/layout/build/nsLayoutModule.cpp:97:7 (libxul.so+0xa93958b) #34 nsComponentManagerImpl::Init() /checkouts/gecko/xpcom/components/nsComponentManager.cpp:387:5 (libxul.so+0x550e86f) #35 NS_InitXPCOM /checkouts/gecko/xpcom/build/XPCOMInit.cpp:448:51 (libxul.so+0x5580c60) #36 ScopedXPCOM /workspace/obj-build/dist/include/testing/TestHarness.h:84:15 (libxul.so+0x422a3de) #37 mozilla::RunGTestFunc(int*, char**) /checkouts/gecko/testing/gtest/mozilla/GTestRunner.cpp:114:15 (libxul.so+0x422a3de) #38 XREMain::XRE_mainStartup(bool*) /checkouts/gecko/toolkit/xre/nsAppRunner.cpp:4686:16 (libxul.so+0xbfe5529) #39 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5946:12 (libxul.so+0xbfed252) #40 XRE_main(int, char**, mozilla::BootstrapConfig const&) /checkouts/gecko/toolkit/xre/nsAppRunner.cpp:6015:21 (libxul.so+0xbfed991) #41 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) /checkouts/gecko/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0xbffc9e2) #42 do_main /checkouts/gecko/browser/app/nsBrowserApp.cpp:227:22 (firefox-bin+0x14ea00) #43 main /checkouts/gecko/browser/app/nsBrowserApp.cpp:445:16 (firefox-bin+0x14ea00) SUMMARY: ThreadSanitizer: data race /checkouts/gecko/dom/media/webrtc/transport/test/nrappkit_unittest.cpp:93:15 in (anonymous namespace)::TimerTest::cb(void*, int, void*) ```
Bug 1894419 Comment 1 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
And another one: `ThreadSanitizer: data race nrappkit_unittest.cpp:93:15 in (anonymous namespace)::TimerTest::cb(void*, int, void*)` https://treeherder.mozilla.org/logviewer?job_id=456516966&repo=try&lineNumber=44824 ``` TEST-START | TimerTest.SimpleTimer Timer fired ================== WARNING: ThreadSanitizer: data race (pid=992) Write of size 1 at 0x7b1800096598 by thread T5: #0 (anonymous namespace)::TimerTest::cb(void*, int, void*) /checkouts/gecko/dom/media/webrtc/transport/test/nrappkit_unittest.cpp:93:15 (libxul.so+0x4f9f1fe) #1 Notify /checkouts/gecko/dom/media/webrtc/transport/nr_timer.cpp:128:3 (libxul.so+0x62a6589) #2 non-virtual thunk to mozilla::nrappkitTimerCallback::Notify(nsITimer*) /checkouts/gecko/dom/media/webrtc/transport/nr_timer.cpp (libxul.so+0x62a6589) #3 operator() /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:677:44 (libxul.so+0x5536a34) #4 matchN<mozilla::Variant<nsTimerImpl::UnknownCallback, nsCOMPtr<nsITimerCallback>, nsCOMPtr<nsIObserver>, nsTimerImpl::FuncCallback, nsTimerImpl::ClosureCallback> &, (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:677:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:678:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:681:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:682:7)> /workspace/obj-build/dist/include/mozilla/Variant.h:309:16 (libxul.so+0x5536a34) #5 matchN<mozilla::Variant<nsTimerImpl::UnknownCallback, nsCOMPtr<nsITimerCallback>, nsCOMPtr<nsIObserver>, nsTimerImpl::FuncCallback, nsTimerImpl::ClosureCallback> &, (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:676:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:677:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:678:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:681:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:682:7)> /workspace/obj-build/dist/include/mozilla/Variant.h:318:14 (libxul.so+0x5536a34) #6 matchN<mozilla::Variant<nsTimerImpl::UnknownCallback, nsCOMPtr<nsITimerCallback>, nsCOMPtr<nsIObserver>, nsTimerImpl::FuncCallback, nsTimerImpl::ClosureCallback> &, (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:676:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:677:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:678:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:681:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:682:7)> /workspace/obj-build/dist/include/mozilla/Variant.h:902:12 (libxul.so+0x5536a34) #7 match<(lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:676:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:677:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:678:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:681:7), (lambda at /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:682:7)> /workspace/obj-build/dist/include/mozilla/Variant.h:857:12 (libxul.so+0x5536a34) #8 nsTimerImpl::Fire(int) /checkouts/gecko/xpcom/threads/nsTimerImpl.cpp:675:22 (libxul.so+0x5536a34) #9 nsTimerEvent::Run() /checkouts/gecko/xpcom/threads/TimerThread.cpp:515:11 (libxul.so+0x5535887) #10 nsThread::ProcessNextEvent(bool, bool*) /checkouts/gecko/xpcom/threads/nsThread.cpp:1193:16 (libxul.so+0x5543e4e) #11 NS_ProcessNextEvent(nsIThread*, bool) /checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x554a3e4) #12 mozilla::net::nsSocketTransportService::Run() /checkouts/gecko/netwerk/base/nsSocketTransportService2.cpp:1203:11 (libxul.so+0x5777a7c) #13 non-virtual thunk to mozilla::net::nsSocketTransportService::Run() /checkouts/gecko/netwerk/base/nsSocketTransportService2.cpp (libxul.so+0x57798f9) #14 nsThread::ProcessNextEvent(bool, bool*) /checkouts/gecko/xpcom/threads/nsThread.cpp:1193:16 (libxul.so+0x5543e4e) #15 NS_ProcessNextEvent(nsIThread*, bool) /checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 (libxul.so+0x554a3e4) #16 mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /checkouts/gecko/ipc/glue/MessagePump.cpp:300:20 (libxul.so+0x609034e) #17 RunInternal /checkouts/gecko/ipc/chromium/src/base/message_loop.cc:370:10 (libxul.so+0x60033f8) #18 RunHandler /checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363:3 (libxul.so+0x60033f8) #19 MessageLoop::Run() /checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345:3 (libxul.so+0x60033f8) #20 nsThread::ThreadFunc(void*) /checkouts/gecko/xpcom/threads/nsThread.cpp:370:10 (libxul.so+0x553f6d3) #21 _pt_root /checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5 (libnspr4.so+0x4ba79) Previous read of size 1 at 0x7b1800096598 by main thread: #0 TimerTest_SimpleTimer_Test::TestBody() /checkouts/gecko/dom/media/webrtc/transport/test/nrappkit_unittest.cpp:104:3 (libxul.so+0x4f9e1c1) #1 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc (libxul.so+0x4254c6d) #2 testing::Test::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2688:5 (libxul.so+0x4254ad9) #3 testing::TestInfo::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2837:11 (libxul.so+0x42564e8) #4 testing::TestSuite::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:3016:30 (libxul.so+0x4257ae4) #5 testing::internal::UnitTestImpl::RunAllTests() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5922:44 (libxul.so+0x4275579) #6 libvpx_test_cases_Test::TestBody() /checkouts/gecko/dom/media/gtest/TestVPXDecoding.cpp:89:9 (libxul.so+0x4a7b7a7) #7 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc (libxul.so+0x4254c6d) #8 testing::Test::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2688:5 (libxul.so+0x4254ad9) #9 testing::TestInfo::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2837:11 (libxul.so+0x42564e8) #10 testing::TestSuite::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:3016:30 (libxul.so+0x4257ae4) #11 testing::internal::UnitTestImpl::RunAllTests() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5922:44 (libxul.so+0x4275579) #12 testing::Test::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2688:5 (libxul.so+0x4254ad9) #13 testing::TestInfo::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2837:11 (libxul.so+0x42564e8) #14 testing::TestSuite::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:3016:30 (libxul.so+0x4257ae4) #15 testing::internal::UnitTestImpl::RunAllTests() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5922:44 (libxul.so+0x4275579) #16 testing::Test::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2688:5 (libxul.so+0x4254ad9) #17 testing::TestInfo::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2837:11 (libxul.so+0x42564e8) #18 testing::TestSuite::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:3016:30 (libxul.so+0x4257ae4) #19 testing::internal::UnitTestImpl::RunAllTests() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5922:44 (libxul.so+0x4275579) #20 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc (libxul.so+0x4274d1d) #21 testing::UnitTest::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5486:10 (libxul.so+0x4274ac0) #22 RUN_ALL_TESTS /workspace/obj-build/dist/include/gtest/gtest.h:2319:73 (libxul.so+0x422a47f) #23 mozilla::RunGTestFunc(int*, char**) /checkouts/gecko/testing/gtest/mozilla/GTestRunner.cpp:167:10 (libxul.so+0x422a47f) #24 XREMain::XRE_mainStartup(bool*) /checkouts/gecko/toolkit/xre/nsAppRunner.cpp:4686:16 (libxul.so+0xbfe5529) #25 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5946:12 (libxul.so+0xbfed252) #26 XRE_main(int, char**, mozilla::BootstrapConfig const&) /checkouts/gecko/toolkit/xre/nsAppRunner.cpp:6015:21 (libxul.so+0xbfed991) #27 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) /checkouts/gecko/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0xbffc9e2) #28 do_main /checkouts/gecko/browser/app/nsBrowserApp.cpp:227:22 (firefox-bin+0x14ea00) #29 main /checkouts/gecko/browser/app/nsBrowserApp.cpp:445:16 (firefox-bin+0x14ea00) Location is heap block of size 96 at 0x7b1800096540 allocated by main thread: #0 malloc /fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:663:5 (firefox-bin+0xc3ddc) #1 moz_xmalloc /checkouts/gecko/memory/mozalloc/mozalloc.cpp:52:15 (firefox-bin+0x150a08) #2 operator new /workspace/obj-build/dist/include/mozilla/cxxalloc.h:33:10 (libxul.so+0x4f9efe7) #3 testing::internal::TestFactoryImpl<TimerTest_SimpleTimer_Test>::CreateTest() /workspace/obj-build/dist/include/gtest/internal/gtest-internal.h:456:40 (libxul.so+0x4f9efe7) #4 testing::Test* testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test*>(testing::internal::TestFactoryBase*, testing::Test* (testing::internal::TestFactoryBase::*)(), char const*) /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc (libxul.so+0x425685d) #5 testing::TestInfo::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2827:22 (libxul.so+0x42564cb) #6 testing::TestSuite::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:3016:30 (libxul.so+0x4257ae4) #7 testing::internal::UnitTestImpl::RunAllTests() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5922:44 (libxul.so+0x4275579) #8 libvpx_test_cases_Test::TestBody() /checkouts/gecko/dom/media/gtest/TestVPXDecoding.cpp:89:9 (libxul.so+0x4a7b7a7) #9 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc (libxul.so+0x4254c6d) #10 testing::Test::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2688:5 (libxul.so+0x4254ad9) #11 testing::TestInfo::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2837:11 (libxul.so+0x42564e8) #12 testing::TestSuite::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:3016:30 (libxul.so+0x4257ae4) #13 testing::internal::UnitTestImpl::RunAllTests() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5922:44 (libxul.so+0x4275579) #14 testing::Test::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2688:5 (libxul.so+0x4254ad9) #15 testing::TestInfo::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2837:11 (libxul.so+0x42564e8) #16 testing::TestSuite::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:3016:30 (libxul.so+0x4257ae4) #17 testing::internal::UnitTestImpl::RunAllTests() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5922:44 (libxul.so+0x4275579) #18 testing::Test::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2688:5 (libxul.so+0x4254ad9) #19 testing::TestInfo::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2837:11 (libxul.so+0x42564e8) #20 testing::TestSuite::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:3016:30 (libxul.so+0x4257ae4) #21 testing::internal::UnitTestImpl::RunAllTests() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5922:44 (libxul.so+0x4275579) #22 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc (libxul.so+0x4274d1d) #23 testing::UnitTest::Run() /checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5486:10 (libxul.so+0x4274ac0) #24 RUN_ALL_TESTS /workspace/obj-build/dist/include/gtest/gtest.h:2319:73 (libxul.so+0x422a47f) #25 mozilla::RunGTestFunc(int*, char**) /checkouts/gecko/testing/gtest/mozilla/GTestRunner.cpp:167:10 (libxul.so+0x422a47f) #26 XREMain::XRE_mainStartup(bool*) /checkouts/gecko/toolkit/xre/nsAppRunner.cpp:4686:16 (libxul.so+0xbfe5529) #27 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5946:12 (libxul.so+0xbfed252) #28 XRE_main(int, char**, mozilla::BootstrapConfig const&) /checkouts/gecko/toolkit/xre/nsAppRunner.cpp:6015:21 (libxul.so+0xbfed991) #29 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) /checkouts/gecko/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0xbffc9e2) #30 do_main /checkouts/gecko/browser/app/nsBrowserApp.cpp:227:22 (firefox-bin+0x14ea00) #31 main /checkouts/gecko/browser/app/nsBrowserApp.cpp:445:16 (firefox-bin+0x14ea00) Thread T5 'Socket Thread' (tid=1000, running) created by main thread at: #0 pthread_create /fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1020:3 (firefox-bin+0xc59bb) #1 _PR_CreateThread /checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:458:14 (libnspr4.so+0x42cee) #2 PR_CreateThread /checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:533:12 (libnspr4.so+0x37f84) #3 nsThread::Init(nsTSubstring<char> const&) /checkouts/gecko/xpcom/threads/nsThread.cpp:620:20 (libxul.so+0x5540e77) #4 nsThreadManager::NewNamedThread(nsTSubstring<char> const&, nsIThreadManager::ThreadCreationOptions, nsIThread**) /checkouts/gecko/xpcom/threads/nsThreadManager.cpp:602:22 (libxul.so+0x5548f1d) #5 NS_NewNamedThread(nsTSubstring<char> const&, nsIThread**, already_AddRefed<nsIRunnable>, nsIThreadManager::ThreadCreationOptions) /checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:176:57 (libxul.so+0x5551bd3) #6 NS_NewNamedThread<14UL> /workspace/obj-build/dist/include/nsThreadUtils.h:87:10 (libxul.so+0x5775f3b) #7 mozilla::net::nsSocketTransportService::Init() /checkouts/gecko/netwerk/base/nsSocketTransportService2.cpp:748:19 (libxul.so+0x5775f3b) #8 mozilla::xpcom::CreateInstanceImpl(mozilla::xpcom::ModuleID, nsID const&, void**) /workspace/obj-build/xpcom/components/StaticComponents.cpp:9683:7 (libxul.so+0x54fafca) #9 mozilla::xpcom::StaticModule::CreateInstance(nsID const&, void**) const /workspace/obj-build/xpcom/components/StaticComponents.cpp:12981:10 (libxul.so+0x5506baa) #10 CreateInstance /checkouts/gecko/xpcom/components/nsComponentManager.cpp:189:46 (libxul.so+0x55115c7) #11 nsComponentManagerImpl::GetServiceLocked(mozilla::Maybe<mozilla::detail::BaseMonitorAutoLock<mozilla::Monitor>>&, (anonymous namespace)::EntryWrapper&, nsID const&, void**) /checkouts/gecko/xpcom/components/nsComponentManager.cpp:987:17 (libxul.so+0x55115c7) #12 nsComponentManagerImpl::GetServiceByContractID(char const*, nsID const&, void**) /checkouts/gecko/xpcom/components/nsComponentManager.cpp:1176:10 (libxul.so+0x551223d) #13 CallGetService /checkouts/gecko/xpcom/components/nsComponentManagerUtils.cpp:63:43 (libxul.so+0x5514cbb) #14 nsGetServiceByContractIDWithError::operator()(nsID const&, void**) const /checkouts/gecko/xpcom/components/nsComponentManagerUtils.cpp:250:21 (libxul.so+0x5514cbb) #15 assign_from_gs_contractid_with_error /workspace/obj-build/dist/include/nsCOMPtr.h:881:7 (libxul.so+0x570eef0) #16 operator= /workspace/obj-build/dist/include/nsCOMPtr.h:665:5 (libxul.so+0x570eef0) #17 mozilla::net::nsIOService::InitializeSocketTransportService() /checkouts/gecko/netwerk/base/nsIOService.cpp:439:29 (libxul.so+0x570eef0) #18 mozilla::net::nsIOService::SetOfflineInternal(bool, bool) /checkouts/gecko/netwerk/base/nsIOService.cpp:1303:7 (libxul.so+0x571361f) #19 SetOffline /checkouts/gecko/netwerk/base/nsIOService.cpp:1242:48 (libxul.so+0x570d4dc) #20 mozilla::net::nsIOService::Init() /checkouts/gecko/netwerk/base/nsIOService.cpp:311:3 (libxul.so+0x570d4dc) #21 mozilla::net::nsIOService::GetInstance() /checkouts/gecko/netwerk/base/nsIOService.cpp:496:9 (libxul.so+0x570f511) #22 mozilla::xpcom::CreateInstanceImpl(mozilla::xpcom::ModuleID, nsID const&, void**) /workspace/obj-build/xpcom/components/StaticComponents.cpp:12089:48 (libxul.so+0x5502743) #23 mozilla::xpcom::StaticModule::CreateInstance(nsID const&, void**) const /workspace/obj-build/xpcom/components/StaticComponents.cpp:12981:10 (libxul.so+0x5506baa) #24 CreateInstance /checkouts/gecko/xpcom/components/nsComponentManager.cpp:189:46 (libxul.so+0x55115c7) #25 nsComponentManagerImpl::GetServiceLocked(mozilla::Maybe<mozilla::detail::BaseMonitorAutoLock<mozilla::Monitor>>&, (anonymous namespace)::EntryWrapper&, nsID const&, void**) /checkouts/gecko/xpcom/components/nsComponentManager.cpp:987:17 (libxul.so+0x55115c7) #26 nsComponentManagerImpl::GetService(mozilla::xpcom::ModuleID, nsID const&, void**) /checkouts/gecko/xpcom/components/nsComponentManager.cpp:1077:10 (libxul.so+0x5511b53) #27 mozilla::xpcom::GetServiceHelper::operator()(nsID const&, void**) const /workspace/obj-build/xpcom/components/StaticComponents.cpp:13127:50 (libxul.so+0x55077a8) #28 RefPtr /workspace/obj-build/dist/include/nsCOMPtr.h:1111:7 (libxul.so+0x6372cae) #29 nsScriptSecurityManager::Init() /checkouts/gecko/caps/nsScriptSecurityManager.cpp:1565:29 (libxul.so+0x6372cae) #30 nsScriptSecurityManager::InitStatics() /checkouts/gecko/caps/nsScriptSecurityManager.cpp:1627:28 (libxul.so+0x6373219) #31 nsXPConnect::InitStatics() /checkouts/gecko/js/xpconnect/src/nsXPConnect.cpp:165:3 (libxul.so+0x62157e0) #32 xpcModuleCtor() /checkouts/gecko/js/xpconnect/src/XPCModule.cpp:11:3 (libxul.so+0x61e390f) #33 nsLayoutModuleInitialize() /checkouts/gecko/layout/build/nsLayoutModule.cpp:97:7 (libxul.so+0xa93958b) #34 nsComponentManagerImpl::Init() /checkouts/gecko/xpcom/components/nsComponentManager.cpp:387:5 (libxul.so+0x550e86f) #35 NS_InitXPCOM /checkouts/gecko/xpcom/build/XPCOMInit.cpp:448:51 (libxul.so+0x5580c60) #36 ScopedXPCOM /workspace/obj-build/dist/include/testing/TestHarness.h:84:15 (libxul.so+0x422a3de) #37 mozilla::RunGTestFunc(int*, char**) /checkouts/gecko/testing/gtest/mozilla/GTestRunner.cpp:114:15 (libxul.so+0x422a3de) #38 XREMain::XRE_mainStartup(bool*) /checkouts/gecko/toolkit/xre/nsAppRunner.cpp:4686:16 (libxul.so+0xbfe5529) #39 XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5946:12 (libxul.so+0xbfed252) #40 XRE_main(int, char**, mozilla::BootstrapConfig const&) /checkouts/gecko/toolkit/xre/nsAppRunner.cpp:6015:21 (libxul.so+0xbfed991) #41 mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) /checkouts/gecko/toolkit/xre/Bootstrap.cpp:45:12 (libxul.so+0xbffc9e2) #42 do_main /checkouts/gecko/browser/app/nsBrowserApp.cpp:227:22 (firefox-bin+0x14ea00) #43 main /checkouts/gecko/browser/app/nsBrowserApp.cpp:445:16 (firefox-bin+0x14ea00) SUMMARY: ThreadSanitizer: data race /checkouts/gecko/dom/media/webrtc/transport/test/nrappkit_unittest.cpp:93:15 in (anonymous namespace)::TimerTest::cb(void*, int, void*) ```