Closed Bug 1620326 Opened 4 years ago Closed 4 years ago

migrate existing linux64 tsan tests to linux1804

Categories

(Core :: Sanitizers, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: egao, Assigned: decoder)

References

(Blocks 1 open bug)

Details

Attachments

(6 files)

This is a tracking bug for the work to migrate over existing linux64 tsan test suites to run on linux1804.

For the main linux1803 tracking bug, also see bug 1565332 (overall tracking bug to set up environment) and bug 1572242 (migration of test suites to linux1804).

For reference, please see https://bugzilla.mozilla.org/show_bug.cgi?id=929478#c1.

So I took a quick look at the failures outlined in your try push (https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&tier=1%2C2%2C3&revision=e41b65c04476a324e12f6699f2bb7b6b3fbed695):

  1. The failures in M4 look like an intermittent timeout. If for some reason they become permanent with this migration, we can just disable the test under TSan.

  2. The X2 failure is a problem caused by the updater binary not having the TSan suppressions linked. I do not know why this is only happening on 18.04 but it could be related to different library versions (in this case, libglib-2 is causing the issues). Disabling the tests might not be the right choice here, we either need to link our suppressions properly or stop building the updater binary with TSan.

  3. TSan+Fission is not run right now as far as I know, so you don't have to look into it for now.

Nathan, what do you think about the second point?I don't know if we have a central point in our codebase that is guaranteed to be linked to all our binaries. If there was such a point, then this would be an easy fix. Otherwise, we could add a custom suppression list for this binary.

Flags: needinfo?(nfroyd)

I think the updater is deliberately not linked with the rest of gecko, and so a custom suppression list is the way to go.

Flags: needinfo?(nfroyd)

:decoder - could I get some help in adding the whitelist to deal with xpcshell-e10s-2?

I attempted to do so here in this push:
https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&selectedJob=292352034&tier=1%2C2%2C3&revision=8c1e164bf9fb133d95e7429b468c170fe2fe5a98

Changes I made in TsanOptions.cpp:

--- a/mozglue/build/TsanOptions.cpp
+++ b/mozglue/build/TsanOptions.cpp
@@ -334,16 +334,19 @@ extern "C" const char* __tsan_default_su
          // Rust library is not instrumented
          "race:/rustc/*.rs\n"
          "deadlock:/rustc/*.rs\n"
          "thread:std::sys::unix::thread::Thread::new\n"
 
          // Logging bug in Mochitests
          "race:mochitest/ssltunnel/ssltunnel.cpp\n"
 
+         // Bug 1620326 - updater
+         "toolkit/mozapps/update/updater/updater.cpp\n"
+
          // Suppress thread leaks for now
          "thread:NS_NewNamedThread\n"
          "thread:nsThread::Init\n"
          "thread:libglib-2\n"
 
          // This thread does not seem to be stopped/joined
          "thread:mozilla::layers::ImageBridgeChild\n"
          "race:mozilla::layers::ImageBridgeChild::ShutDown\n"

But this appears to cause a build bustage.

Looking at the logs from the push linked in Comment 1, there isn't an obvious signature for me to add into the whitelist, unlike in the ASAN case where it was fairly straightforward.

[task 2020-03-04T01:40:24.563Z] 01:40:24     INFO -  "01:40:21:996 | TEST-INFO | xpcshellUtilsAUS.js | [setEnvironment : 4653] setting the XPCOM_DEBUG_BREAK environment variable to warn... previous value stack-and-abort"
[task 2020-03-04T01:40:24.563Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.563Z] 01:40:24     INFO -  PID 13433 | WARNING: ThreadSanitizer: data race (pid=13457)
[task 2020-03-04T01:40:24.564Z] 01:40:24     INFO -  PID 13433 |   Read of size 1 at 0x7b0400003e30 by thread T1:
[task 2020-03-04T01:40:24.564Z] 01:40:24     INFO -  PID 13433 |     #0 strlen /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:362:3 (updater+0x56b0d)
[task 2020-03-04T01:40:24.565Z] 01:40:24     INFO -  PID 13433 |     #1 pthread_setname_np <null> (libpthread.so.0+0x1391c)
[task 2020-03-04T01:40:24.565Z] 01:40:24     INFO -  PID 13433 |     #2 <null> <null> (libglib-2.0.so.0+0x7417d)
[task 2020-03-04T01:40:24.565Z] 01:40:24     INFO -  PID 13433 |   Previous write of size 8 at 0x7b0400003e30 by main thread (mutexes: write M178):
[task 2020-03-04T01:40:24.566Z] 01:40:24     INFO -  PID 13433 |     #0 malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:650:5 (updater+0x4d914)
[task 2020-03-04T01:40:24.566Z] 01:40:24     INFO -  PID 13433 |     #1 g_malloc <null> (libglib-2.0.so.0+0x51ab8)
[task 2020-03-04T01:40:24.567Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.567Z] 01:40:24     INFO -  PID 13433 |   Location is heap block of size 6 at 0x7b0400003e30 allocated by main thread:
[task 2020-03-04T01:40:24.567Z] 01:40:24     INFO -  PID 13433 |     #0 malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:650:5 (updater+0x4d914)
[task 2020-03-04T01:40:24.568Z] 01:40:24     INFO -  PID 13433 |     #1 g_malloc <null> (libglib-2.0.so.0+0x51ab8)
[task 2020-03-04T01:40:24.569Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.569Z] 01:40:24     INFO -  PID 13433 |   Mutex M178 (0x7b0c000029d0) created at:
[task 2020-03-04T01:40:24.570Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_mutex_init /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1225:3 (updater+0x506dd)
[task 2020-03-04T01:40:24.570Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x91e4c)
[task 2020-03-04T01:40:24.570Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.570Z] 01:40:24     INFO -  PID 13433 |   Thread T1 'gmain' (tid=13459, running) created by main thread at:
[task 2020-03-04T01:40:24.571Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (updater+0x4f1fb)
[task 2020-03-04T01:40:24.571Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x9242f)
[task 2020-03-04T01:40:24.572Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.572Z] 01:40:24     INFO -  PID 13433 | SUMMARY: ThreadSanitizer: data race (/lib/x86_64-linux-gnu/libpthread.so.0+0x1391c) in pthread_setname_np
[task 2020-03-04T01:40:24.572Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.573Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.573Z] 01:40:24     INFO -  PID 13433 | WARNING: ThreadSanitizer: data race (pid=13457)
[task 2020-03-04T01:40:24.574Z] 01:40:24     INFO -  PID 13433 |   Read of size 1 at 0x7b0400004dc0 by thread T2:
[task 2020-03-04T01:40:24.574Z] 01:40:24     INFO -  PID 13433 |     #0 strlen /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:362:3 (updater+0x56b0d)
[task 2020-03-04T01:40:24.574Z] 01:40:24     INFO -  PID 13433 |     #1 pthread_setname_np <null> (libpthread.so.0+0x1391c)
[task 2020-03-04T01:40:24.575Z] 01:40:24     INFO -  PID 13433 |     #2 <null> <null> (libglib-2.0.so.0+0x7417d)
[task 2020-03-04T01:40:24.575Z] 01:40:24     INFO -  PID 13433 |   Previous write of size 1 at 0x7b0400004dc0 by main thread (mutexes: write M178):
[task 2020-03-04T01:40:24.576Z] 01:40:24     INFO -  PID 13433 |     #0 memcpy /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:801:5 (updater+0x592c7)
[task 2020-03-04T01:40:24.576Z] 01:40:24     INFO -  PID 13433 |     #1 g_strdup <null> (libglib-2.0.so.0+0x6b44c)
[task 2020-03-04T01:40:24.576Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.577Z] 01:40:24     INFO -  PID 13433 |   Location is heap block of size 6 at 0x7b0400004dc0 allocated by main thread:
[task 2020-03-04T01:40:24.577Z] 01:40:24     INFO -  PID 13433 |     #0 malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:650:5 (updater+0x4d914)
[task 2020-03-04T01:40:24.577Z] 01:40:24     INFO -  PID 13433 |     #1 g_malloc <null> (libglib-2.0.so.0+0x51ab8)
[task 2020-03-04T01:40:24.578Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.585Z] 01:40:24     INFO -  PID 13433 |   Mutex M178 (0x7b0c000029d0) created at:
[task 2020-03-04T01:40:24.585Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_mutex_init /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1225:3 (updater+0x506dd)
[task 2020-03-04T01:40:24.586Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x91e4c)
[task 2020-03-04T01:40:24.586Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.586Z] 01:40:24     INFO -  PID 13433 |   Thread T2 'gdbus' (tid=13460, running) created by main thread at:
[task 2020-03-04T01:40:24.587Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (updater+0x4f1fb)
[task 2020-03-04T01:40:24.587Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x9242f)
[task 2020-03-04T01:40:24.587Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.588Z] 01:40:24     INFO -  PID 13433 | SUMMARY: ThreadSanitizer: data race (/lib/x86_64-linux-gnu/libpthread.so.0+0x1391c) in pthread_setname_np
[task 2020-03-04T01:40:24.588Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.589Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.589Z] 01:40:24     INFO -  PID 13433 | WARNING: ThreadSanitizer: data race (pid=13457)
[task 2020-03-04T01:40:24.589Z] 01:40:24     INFO -  PID 13433 |   Write of size 8 at 0x7b700000c5d0 by thread T2:
[task 2020-03-04T01:40:24.590Z] 01:40:24     INFO -  PID 13433 |     #0 memset /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:773:3 (updater+0x58f62)
[task 2020-03-04T01:40:24.591Z] 01:40:24     INFO -  PID 13433 |     #1 g_slice_alloc0 <null> (libglib-2.0.so.0+0x69e3d)
[task 2020-03-04T01:40:24.591Z] 01:40:24     INFO -  PID 13433 |   Previous write of size 8 at 0x7b700000c5d0 by main thread (mutexes: write M178):
[task 2020-03-04T01:40:24.591Z] 01:40:24     INFO -  PID 13433 |     #0 posix_memalign /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:840:3 (updater+0x4ecb1)
[task 2020-03-04T01:40:24.591Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x69106)
[task 2020-03-04T01:40:24.592Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.592Z] 01:40:24     INFO -  PID 13433 |   Location is heap block of size 2032 at 0x7b700000c000 allocated by main thread:
[task 2020-03-04T01:40:24.593Z] 01:40:24     INFO -  PID 13433 |     #0 posix_memalign /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:840:3 (updater+0x4ecb1)
[task 2020-03-04T01:40:24.593Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x69106)
[task 2020-03-04T01:40:24.594Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.594Z] 01:40:24     INFO -  PID 13433 |   Mutex M178 (0x7b0c000029d0) created at:
[task 2020-03-04T01:40:24.595Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_mutex_init /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1225:3 (updater+0x506dd)
[task 2020-03-04T01:40:24.595Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x91e4c)
[task 2020-03-04T01:40:24.595Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.595Z] 01:40:24     INFO -  PID 13433 |   Thread T2 'gdbus' (tid=13460, running) created by main thread at:
[task 2020-03-04T01:40:24.595Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (updater+0x4f1fb)
[task 2020-03-04T01:40:24.596Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x9242f)
[task 2020-03-04T01:40:24.596Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.596Z] 01:40:24     INFO -  PID 13433 | SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x69e3d) in g_slice_alloc0
[task 2020-03-04T01:40:24.596Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.596Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.596Z] 01:40:24     INFO -  PID 13433 | WARNING: ThreadSanitizer: data race (pid=13457)
[task 2020-03-04T01:40:24.597Z] 01:40:24     INFO -  PID 13433 |   Write of size 8 at 0x7b08000093c0 by thread T2:
[task 2020-03-04T01:40:24.597Z] 01:40:24     INFO -  PID 13433 |     #0 free /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:706:3 (updater+0x4df68)
[task 2020-03-04T01:40:24.597Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x496eb)
[task 2020-03-04T01:40:24.599Z] 01:40:24     INFO -  PID 13433 |   Previous write of size 8 at 0x7b08000093c0 by main thread (mutexes: write M178):
[task 2020-03-04T01:40:24.599Z] 01:40:24     INFO -  PID 13433 |     #0 malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:650:5 (updater+0x4d914)
[task 2020-03-04T01:40:24.599Z] 01:40:24     INFO -  PID 13433 |     #1 g_malloc <null> (libglib-2.0.so.0+0x51ab8)
[task 2020-03-04T01:40:24.600Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.600Z] 01:40:24     INFO -  PID 13433 |   Mutex M178 (0x7b0c000029d0) created at:
[task 2020-03-04T01:40:24.601Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_mutex_init /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1225:3 (updater+0x506dd)
[task 2020-03-04T01:40:24.601Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x91e4c)
[task 2020-03-04T01:40:24.602Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.602Z] 01:40:24     INFO -  PID 13433 |   Thread T2 'gdbus' (tid=13460, running) created by main thread at:
[task 2020-03-04T01:40:24.603Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (updater+0x4f1fb)
[task 2020-03-04T01:40:24.603Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x9242f)
[task 2020-03-04T01:40:24.603Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.604Z] 01:40:24     INFO -  PID 13433 | SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x496eb)
[task 2020-03-04T01:40:24.604Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.605Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.605Z] 01:40:24     INFO -  PID 13433 | WARNING: ThreadSanitizer: data race (pid=13457)
[task 2020-03-04T01:40:24.606Z] 01:40:24     INFO -  PID 13433 |   Write of size 8 at 0x7b0c000036f0 by thread T2:
[task 2020-03-04T01:40:24.606Z] 01:40:24     INFO -  PID 13433 |     #0 free /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:706:3 (updater+0x4df68)
[task 2020-03-04T01:40:24.606Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x4936b)
[task 2020-03-04T01:40:24.607Z] 01:40:24     INFO -  PID 13433 |   Previous write of size 8 at 0x7b0c000036f0 by main thread (mutexes: write M178):
[task 2020-03-04T01:40:24.607Z] 01:40:24     INFO -  PID 13433 |     #0 malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:650:5 (updater+0x4d914)
[task 2020-03-04T01:40:24.608Z] 01:40:24     INFO -  PID 13433 |     #1 g_malloc <null> (libglib-2.0.so.0+0x51ab8)
[task 2020-03-04T01:40:24.608Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.608Z] 01:40:24     INFO -  PID 13433 |   Mutex M178 (0x7b0c000029d0) created at:
[task 2020-03-04T01:40:24.609Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_mutex_init /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1225:3 (updater+0x506dd)
[task 2020-03-04T01:40:24.609Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x91e4c)
[task 2020-03-04T01:40:24.610Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.610Z] 01:40:24     INFO -  PID 13433 |   Thread T2 'gdbus' (tid=13460, running) created by main thread at:
[task 2020-03-04T01:40:24.610Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (updater+0x4f1fb)
[task 2020-03-04T01:40:24.611Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x9242f)
[task 2020-03-04T01:40:24.611Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.612Z] 01:40:24     INFO -  PID 13433 | SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4936b)
[task 2020-03-04T01:40:24.612Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.612Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.613Z] 01:40:24     INFO -  PID 13433 | WARNING: ThreadSanitizer: data race (pid=13457)
[task 2020-03-04T01:40:24.613Z] 01:40:24     INFO -  PID 13433 |   Write of size 8 at 0x7b18000098a0 by thread T2:
[task 2020-03-04T01:40:24.614Z] 01:40:24     INFO -  PID 13433 |     #0 free /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:706:3 (updater+0x4df68)
[task 2020-03-04T01:40:24.614Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x493f8)
[task 2020-03-04T01:40:24.614Z] 01:40:24     INFO -  PID 13433 |   Previous write of size 8 at 0x7b18000098a0 by main thread (mutexes: write M178):
[task 2020-03-04T01:40:24.615Z] 01:40:24     INFO -  PID 13433 |     #0 calloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:667:5 (updater+0x4db90)
[task 2020-03-04T01:40:24.615Z] 01:40:24     INFO -  PID 13433 |     #1 g_malloc0 <null> (libglib-2.0.so.0+0x51b10)
[task 2020-03-04T01:40:24.616Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.616Z] 01:40:24     INFO -  PID 13433 |   Mutex M178 (0x7b0c000029d0) created at:
[task 2020-03-04T01:40:24.617Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_mutex_init /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1225:3 (updater+0x506dd)
[task 2020-03-04T01:40:24.617Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x91e4c)
[task 2020-03-04T01:40:24.617Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.618Z] 01:40:24     INFO -  PID 13433 |   Thread T2 'gdbus' (tid=13460, running) created by main thread at:
[task 2020-03-04T01:40:24.618Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (updater+0x4f1fb)
[task 2020-03-04T01:40:24.619Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x9242f)
[task 2020-03-04T01:40:24.619Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.619Z] 01:40:24     INFO -  PID 13433 | SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x493f8)
[task 2020-03-04T01:40:24.620Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.620Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.621Z] 01:40:24     INFO -  PID 13433 | WARNING: ThreadSanitizer: data race (pid=13457)
[task 2020-03-04T01:40:24.621Z] 01:40:24     INFO -  PID 13433 |   Read of size 8 at 0x7b2000001900 by thread T2:
[task 2020-03-04T01:40:24.621Z] 01:40:24     INFO -  PID 13433 |     #0 sendmsg /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:3047:3 (updater+0x67ca5)
[task 2020-03-04T01:40:24.622Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libgio-2.0.so.0+0x7fc09)
[task 2020-03-04T01:40:24.622Z] 01:40:24     INFO -  PID 13433 |   Previous write of size 8 at 0x7b2000001900 by main thread (mutexes: write M178):
[task 2020-03-04T01:40:24.623Z] 01:40:24     INFO -  PID 13433 |     #0 malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:650:5 (updater+0x4d914)
[task 2020-03-04T01:40:24.623Z] 01:40:24     INFO -  PID 13433 |     #1 g_malloc <null> (libglib-2.0.so.0+0x51ab8)
[task 2020-03-04T01:40:24.623Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.624Z] 01:40:24     INFO -  PID 13433 |   Location is heap block of size 128 at 0x7b2000001900 allocated by main thread:
[task 2020-03-04T01:40:24.624Z] 01:40:24     INFO -  PID 13433 |     #0 malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:650:5 (updater+0x4d914)
[task 2020-03-04T01:40:24.625Z] 01:40:24     INFO -  PID 13433 |     #1 g_malloc <null> (libglib-2.0.so.0+0x51ab8)
[task 2020-03-04T01:40:24.625Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.625Z] 01:40:24     INFO -  PID 13433 |   Mutex M178 (0x7b0c000029d0) created at:
[task 2020-03-04T01:40:24.626Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_mutex_init /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1225:3 (updater+0x506dd)
[task 2020-03-04T01:40:24.626Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x91e4c)
[task 2020-03-04T01:40:24.627Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.627Z] 01:40:24     INFO -  PID 13433 |   Thread T2 'gdbus' (tid=13460, running) created by main thread at:
[task 2020-03-04T01:40:24.627Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (updater+0x4f1fb)
[task 2020-03-04T01:40:24.628Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x9242f)
[task 2020-03-04T01:40:24.628Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.629Z] 01:40:24     INFO -  PID 13433 | SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0+0x7fc09)
[task 2020-03-04T01:40:24.629Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.630Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.630Z] 01:40:24     INFO -  PID 13433 | WARNING: ThreadSanitizer: data race (pid=13457)
[task 2020-03-04T01:40:24.630Z] 01:40:24     INFO -  PID 13433 |   Read of size 8 at 0x7b2000001910 by thread T2:
[task 2020-03-04T01:40:24.631Z] 01:40:24     INFO -  PID 13433 |     #0 sendmsg /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:3047:3 (updater+0x67ca5)
[task 2020-03-04T01:40:24.631Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libgio-2.0.so.0+0x7fc09)
[task 2020-03-04T01:40:24.631Z] 01:40:24     INFO -  PID 13433 |   Previous write of size 1 at 0x7b2000001917 by main thread (mutexes: write M178):
[task 2020-03-04T01:40:24.632Z] 01:40:24     INFO -  PID 13433 |     #0 memcpy /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:801:5 (updater+0x592c7)
[task 2020-03-04T01:40:24.632Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libgio-2.0.so.0+0xc5012)
[task 2020-03-04T01:40:24.633Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.633Z] 01:40:24     INFO -  PID 13433 |   Location is heap block of size 128 at 0x7b2000001900 allocated by main thread:
[task 2020-03-04T01:40:24.634Z] 01:40:24     INFO -  PID 13433 |     #0 malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:650:5 (updater+0x4d914)
[task 2020-03-04T01:40:24.634Z] 01:40:24     INFO -  PID 13433 |     #1 g_malloc <null> (libglib-2.0.so.0+0x51ab8)
[task 2020-03-04T01:40:24.634Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.635Z] 01:40:24     INFO -  PID 13433 |   Mutex M178 (0x7b0c000029d0) created at:
[task 2020-03-04T01:40:24.635Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_mutex_init /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1225:3 (updater+0x506dd)
[task 2020-03-04T01:40:24.636Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x91e4c)
[task 2020-03-04T01:40:24.636Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.636Z] 01:40:24     INFO -  PID 13433 |   Thread T2 'gdbus' (tid=13460, running) created by main thread at:
[task 2020-03-04T01:40:24.637Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (updater+0x4f1fb)
[task 2020-03-04T01:40:24.637Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x9242f)
[task 2020-03-04T01:40:24.638Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.638Z] 01:40:24     INFO -  PID 13433 | SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0+0x7fc09)
[task 2020-03-04T01:40:24.638Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.639Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.639Z] 01:40:24     INFO -  PID 13433 | WARNING: ThreadSanitizer: data race (pid=13457)
[task 2020-03-04T01:40:24.640Z] 01:40:24     INFO -  PID 13433 |   Write of size 8 at 0x7b1000006e00 by thread T2:
[task 2020-03-04T01:40:24.640Z] 01:40:24     INFO -  PID 13433 |     #0 free /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:706:3 (updater+0x4df68)
[task 2020-03-04T01:40:24.640Z] 01:40:24     INFO -  PID 13433 |     #1 g_hash_table_unref <null> (libglib-2.0.so.0+0x3a939)
[task 2020-03-04T01:40:24.641Z] 01:40:24     INFO -  PID 13433 |   Previous write of size 8 at 0x7b1000006e00 by main thread (mutexes: write M178):
[task 2020-03-04T01:40:24.641Z] 01:40:24     INFO -  PID 13433 |     #0 malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:650:5 (updater+0x4d914)
[task 2020-03-04T01:40:24.641Z] 01:40:24     INFO -  PID 13433 |     #1 g_malloc <null> (libglib-2.0.so.0+0x51ab8)
[task 2020-03-04T01:40:24.642Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.643Z] 01:40:24     INFO -  PID 13433 |   Mutex M178 (0x7b0c000029d0) created at:
[task 2020-03-04T01:40:24.643Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_mutex_init /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1225:3 (updater+0x506dd)
[task 2020-03-04T01:40:24.644Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x91e4c)
[task 2020-03-04T01:40:24.644Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.644Z] 01:40:24     INFO -  PID 13433 |   Thread T2 'gdbus' (tid=13460, running) created by main thread at:
[task 2020-03-04T01:40:24.645Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (updater+0x4f1fb)
[task 2020-03-04T01:40:24.645Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x9242f)
[task 2020-03-04T01:40:24.646Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.646Z] 01:40:24     INFO -  PID 13433 | SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x3a939) in g_hash_table_unref
[task 2020-03-04T01:40:24.646Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.647Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.647Z] 01:40:24     INFO -  PID 13433 | WARNING: ThreadSanitizer: data race (pid=13457)
[task 2020-03-04T01:40:24.648Z] 01:40:24     INFO -  PID 13433 |   Write of size 8 at 0x7b1000006d40 by thread T2:
[task 2020-03-04T01:40:24.648Z] 01:40:24     INFO -  PID 13433 |     #0 free /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:706:3 (updater+0x4df68)
[task 2020-03-04T01:40:24.649Z] 01:40:24     INFO -  PID 13433 |     #1 g_hash_table_unref <null> (libglib-2.0.so.0+0x3a942)
[task 2020-03-04T01:40:24.649Z] 01:40:24     INFO -  PID 13433 |   Previous read of size 8 at 0x7b1000006d40 by main thread (mutexes: write M178):
[task 2020-03-04T01:40:24.649Z] 01:40:24     INFO -  PID 13433 |     #0 memcpy /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:801:5 (updater+0x592c7)
[task 2020-03-04T01:40:24.650Z] 01:40:24     INFO -  PID 13433 |     #1 g_memdup <null> (libglib-2.0.so.0+0x6b489)
[task 2020-03-04T01:40:24.651Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.651Z] 01:40:24     INFO -  PID 13433 |   Mutex M178 (0x7b0c000029d0) created at:
[task 2020-03-04T01:40:24.651Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_mutex_init /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1225:3 (updater+0x506dd)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x91e4c)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |   Thread T2 'gdbus' (tid=13460, running) created by main thread at:
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (updater+0x4f1fb)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x9242f)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 | SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x3a942) in g_hash_table_unref
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 | WARNING: ThreadSanitizer: data race (pid=13457)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |   Write of size 8 at 0x7b2000001980 by thread T2:
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #0 free /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:706:3 (updater+0x4df68)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x1f107)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |   Previous write of size 8 at 0x7b2000001980 by main thread (mutexes: write M178):
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #0 realloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:680:5 (updater+0x4dcdf)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #1 g_realloc <null> (libglib-2.0.so.0+0x51b6f)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |   Mutex M178 (0x7b0c000029d0) created at:
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_mutex_init /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1225:3 (updater+0x506dd)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x91e4c)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |   Thread T2 'gdbus' (tid=13460, running) created by main thread at:
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (updater+0x4f1fb)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x9242f)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 | SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x1f107)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 | WARNING: ThreadSanitizer: data race (pid=13457)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |   Write of size 8 at 0x7b0400004f30 by thread T2:
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #0 free /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:706:3 (updater+0x4df68)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #1 g_main_context_unref <null> (libglib-2.0.so.0+0x49b12)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |   Previous read of size 1 at 0x7b0400004f32 by main thread (mutexes: write M178):
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #0 poll /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:3893:3 (updater+0x6bba1)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x4c5c8)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |   Mutex M178 (0x7b0c000029d0) created at:
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_mutex_init /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1225:3 (updater+0x506dd)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x91e4c)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |   Thread T2 'gdbus' (tid=13460, running) created by main thread at:
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (updater+0x4f1fb)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x9242f)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 | SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x49b12) in g_main_context_unref
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.652Z] 01:40:24     INFO -  PID 13433 | WARNING: ThreadSanitizer: data race (pid=13457)
[task 2020-03-04T01:40:24.657Z] 01:40:24     INFO -  PID 13433 |   Write of size 8 at 0x7ba0000040c0 by thread T2:
[task 2020-03-04T01:40:24.657Z] 01:40:24     INFO -  PID 13433 |     #0 close /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1680:3 (updater+0x54051)
[task 2020-03-04T01:40:24.658Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x913aa)
[task 2020-03-04T01:40:24.659Z] 01:40:24     INFO -  PID 13433 |   Previous read of size 8 at 0x7ba0000040c0 by main thread (mutexes: write M178):
[task 2020-03-04T01:40:24.660Z] 01:40:24     INFO -  PID 13433 |     #0 read /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:996:3 (updater+0x5a090)
[task 2020-03-04T01:40:24.661Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x912cf)
[task 2020-03-04T01:40:24.662Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.662Z] 01:40:24     INFO -  PID 13433 |   Location is file descriptor 12 created by main thread at:
[task 2020-03-04T01:40:24.663Z] 01:40:24     INFO -  PID 13433 |     #0 eventfd /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1586:3 (updater+0x533c8)
[task 2020-03-04T01:40:24.664Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x911b6)
[task 2020-03-04T01:40:24.664Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.664Z] 01:40:24     INFO -  PID 13433 |   Mutex M178 (0x7b0c000029d0) created at:
[task 2020-03-04T01:40:24.664Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_mutex_init /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1225:3 (updater+0x506dd)
[task 2020-03-04T01:40:24.664Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x91e4c)
[task 2020-03-04T01:40:24.664Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.664Z] 01:40:24     INFO -  PID 13433 |   Thread T2 'gdbus' (tid=13460, running) created by main thread at:
[task 2020-03-04T01:40:24.665Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (updater+0x4f1fb)
[task 2020-03-04T01:40:24.665Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x9242f)
[task 2020-03-04T01:40:24.665Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.665Z] 01:40:24     INFO -  PID 13433 | SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x913aa)
[task 2020-03-04T01:40:24.665Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.665Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.665Z] 01:40:24     INFO -  PID 13433 | WARNING: ThreadSanitizer: data race (pid=13457)
[task 2020-03-04T01:40:24.665Z] 01:40:24     INFO -  PID 13433 |   Write of size 8 at 0x7b08000096e0 by thread T2:
[task 2020-03-04T01:40:24.665Z] 01:40:24     INFO -  PID 13433 |     #0 free /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:706:3 (updater+0x4df68)
[task 2020-03-04T01:40:24.665Z] 01:40:24     INFO -  PID 13433 |     #1 g_bytes_unref <null> (libglib-2.0.so.0+0x25b82)
[task 2020-03-04T01:40:24.665Z] 01:40:24     INFO -  PID 13433 |   Previous read of size 8 at 0x7b08000096e0 by main thread (mutexes: write M178):
[task 2020-03-04T01:40:24.665Z] 01:40:24     INFO -  PID 13433 |     #0 strlen /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:362:3 (updater+0x56b0d)
[task 2020-03-04T01:40:24.665Z] 01:40:24     INFO -  PID 13433 |     #1 g_strdup <null> (libglib-2.0.so.0+0x6b432)
[task 2020-03-04T01:40:24.666Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.666Z] 01:40:24     INFO -  PID 13433 |   Mutex M178 (0x7b0c000029d0) created at:
[task 2020-03-04T01:40:24.666Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_mutex_init /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1225:3 (updater+0x506dd)
[task 2020-03-04T01:40:24.666Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x91e4c)
[task 2020-03-04T01:40:24.666Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.666Z] 01:40:24     INFO -  PID 13433 |   Thread T2 'gdbus' (tid=13460, running) created by main thread at:
[task 2020-03-04T01:40:24.666Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (updater+0x4f1fb)
[task 2020-03-04T01:40:24.666Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x9242f)
[task 2020-03-04T01:40:24.666Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.666Z] 01:40:24     INFO -  PID 13433 | SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x25b82) in g_bytes_unref
[task 2020-03-04T01:40:24.666Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.666Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.666Z] 01:40:24     INFO -  PID 13433 | WARNING: ThreadSanitizer: data race (pid=13457)
[task 2020-03-04T01:40:24.666Z] 01:40:24     INFO -  PID 13433 |   Write of size 8 at 0x7b08000096f0 by thread T2:
[task 2020-03-04T01:40:24.667Z] 01:40:24     INFO -  PID 13433 |     #0 free /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:706:3 (updater+0x4df68)
[task 2020-03-04T01:40:24.667Z] 01:40:24     INFO -  PID 13433 |     #1 g_bytes_unref <null> (libglib-2.0.so.0+0x25b82)
[task 2020-03-04T01:40:24.667Z] 01:40:24     INFO -  PID 13433 |   Previous read of size 1 at 0x7b08000096f5 by main thread (mutexes: write M178):
[task 2020-03-04T01:40:24.667Z] 01:40:24     INFO -  PID 13433 |     #0 memcpy /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:801:5 (updater+0x592c7)
[task 2020-03-04T01:40:24.667Z] 01:40:24     INFO -  PID 13433 |     #1 g_strdup <null> (libglib-2.0.so.0+0x6b44c)
[task 2020-03-04T01:40:24.667Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.667Z] 01:40:24     INFO -  PID 13433 |   Mutex M178 (0x7b0c000029d0) created at:
[task 2020-03-04T01:40:24.667Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_mutex_init /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1225:3 (updater+0x506dd)
[task 2020-03-04T01:40:24.667Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x91e4c)
[task 2020-03-04T01:40:24.667Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.668Z] 01:40:24     INFO -  PID 13433 |   Thread T2 'gdbus' (tid=13460, running) created by main thread at:
[task 2020-03-04T01:40:24.668Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (updater+0x4f1fb)
[task 2020-03-04T01:40:24.668Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x9242f)
[task 2020-03-04T01:40:24.668Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.668Z] 01:40:24     INFO -  PID 13433 | SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x25b82) in g_bytes_unref
[task 2020-03-04T01:40:24.668Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.668Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.668Z] 01:40:24     INFO -  PID 13433 | WARNING: ThreadSanitizer: data race (pid=13457)
[task 2020-03-04T01:40:24.668Z] 01:40:24     INFO -  PID 13433 |   Write of size 8 at 0x7b5800000550 by thread T2:
[task 2020-03-04T01:40:24.668Z] 01:40:24     INFO -  PID 13433 |     #0 free /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:706:3 (updater+0x4df68)
[task 2020-03-04T01:40:24.669Z] 01:40:24     INFO -  PID 13433 |     #1 g_bytes_unref <null> (libglib-2.0.so.0+0x25b82)
[task 2020-03-04T01:40:24.669Z] 01:40:24     INFO -  PID 13433 |   Previous read of size 1 at 0x7b5800000552 by main thread (mutexes: write M178):
[task 2020-03-04T01:40:24.669Z] 01:40:24     INFO -  PID 13433 |     #0 strcmp /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:433:3 (updater+0x57322)
[task 2020-03-04T01:40:24.669Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libgvfsdbus.so+0x1cd77)
[task 2020-03-04T01:40:24.669Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.669Z] 01:40:24     INFO -  PID 13433 |   Mutex M178 (0x7b0c000029d0) created at:
[task 2020-03-04T01:40:24.669Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_mutex_init /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1225:3 (updater+0x506dd)
[task 2020-03-04T01:40:24.669Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x91e4c)
[task 2020-03-04T01:40:24.669Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.669Z] 01:40:24     INFO -  PID 13433 |   Thread T2 'gdbus' (tid=13460, running) created by main thread at:
[task 2020-03-04T01:40:24.669Z] 01:40:24     INFO -  PID 13433 |     #0 pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:967:3 (updater+0x4f1fb)
[task 2020-03-04T01:40:24.670Z] 01:40:24     INFO -  PID 13433 |     #1 <null> <null> (libglib-2.0.so.0+0x9242f)
[task 2020-03-04T01:40:24.670Z] 01:40:24     INFO -  PID 13433 |     #2 main /builds/worker/workspace/build/src/toolkit/mozapps/update/updater/updater.cpp:2729:5 (updater+0xc52fd)
[task 2020-03-04T01:40:24.670Z] 01:40:24     INFO -  PID 13433 | SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x25b82) in g_bytes_unref
[task 2020-03-04T01:40:24.670Z] 01:40:24     INFO -  PID 13433 | ==================
[task 2020-03-04T01:40:24.670Z] 01:40:24     INFO -  PID 13433 | The callback file must be located in the installation directory (/builds/worker/workspace/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/data/TestAUSHelper)
[task 2020-03-04T01:40:24.670Z] 01:40:24     INFO -  PID 13433 | ThreadSanitizer: reported 16 warnings
[task 2020-03-04T01:40:24.670Z] 01:40:24     INFO -  "01:40:23:335 | TEST-INFO | xpcshellUtilsAUS.js | [resetEnvironment : 4694] setting the XPCOM_DEBUG_BREAK environment variable back to stack-and-abort"
[task 2020-03-04T01:40:24.670Z] 01:40:24     INFO -  "01:40:23:343 | TEST-INFO | xpcshellUtilsAUS.js | [runUpdate : 2045] updater exited with unexpected value! Got: 66, Expected: 1"
[task 2020-03-04T01:40:24.671Z] 01:40:24     INFO -  "01:40:23:346 | TEST-INFO | xpcshellUtilsAUS.js | [logUpdateLog : 1872] update log doesn't exist, path: /builds/worker/workspace/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/unit_base_updater/invalidArgCallbackFileNotInInstallDirFailure/dir.app/updates/last-update.log"
Flags: needinfo?(choller)

(In reply to Edwin Takahashi (:egao) from comment #3)

:decoder - could I get some help in adding the whitelist to deal with xpcshell-e10s-2?

  •     // Bug 1620326 - updater
    
  •     "toolkit/mozapps/update/updater/updater.cpp\n"
    

Sorry for the delay here. The problem with your change is that you missed the prefix (e.g. "race:toolkit..."). But that won't solve the problem, because apparently this suppression list (and all of mozglue) is not even linked to the updater binary. Instead, we need to add a second suppression list in the updater. I'll draft something up in a few and ping you when I have it :)

Flags: needinfo?(choller)
Depends on: 1623034
Assignee: nobody → choller
Status: NEW → ASSIGNED
Pushed by choller@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3e4ba5c063d6
Add a separate TSan suppression list for the updater. r=froydnj
Pushed by egao@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5cbd560d875d
migrate linux64 tsan tests to run on linux1804 r=jmaher
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: