Граф коммитов

169 Коммитов

Автор SHA1 Сообщение Дата
Alexei Svitkine 65863a60d6 Expand TSAN suppression related to debug code.
Apparently some bots, such as Linux GPU TSAN have TSAN stack
traces where base::Histogram::AddCount appears as just
AddCount (while other functions are fully qualified.)

So this adds to the suppression added in
https://chromium-review.googlesource.com/c/581418 to ignore
these errors.

BUG=744734

Change-Id: I1e353894193cd3992c3a965013891bcb9f9105a8
Reviewed-on: https://chromium-review.googlesource.com/583227
Reviewed-by: Robert Kaplow <rkaplow@chromium.org>
Commit-Queue: Alexei Svitkine (slow) <asvitkine@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#488971}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9773bf1cbf291511a4aef6ec782bb20a4ebc6b7d
2017-07-24 15:14:45 +00:00
Alexei Svitkine 277effef1f Add more instrumentation to diagnose an Android memory corruption.
This change:
  - Does a separate pass on all histograms, validating them, before
    starting to prepare their deltas. This will confirm that data is
    bad already before we start processing them (i.e. verify that it's
    not the processing code having some side effect).
  - Counts the number of corrupted histograms to tell us if it's a single
    bad value or more widespread corruption.
  - Keeps track of the last histogram that someone logged something to,
    so that we could have a trail of the last thing that happened before
    corruption.
  - Moves a previously added instrumentation call to within the correct if
    block.

BUG=736675,744734

Change-Id: I4b860ad6e977c1555409bd628f9e4e5147e61654
Reviewed-on: https://chromium-review.googlesource.com/581418
Commit-Queue: Alexei Svitkine (slow) <asvitkine@chromium.org>
Reviewed-by: Robert Kaplow <rkaplow@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#488815}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2e8a3a3bbec7e6f3876a33baa9124213a82371b0
2017-07-22 00:04:05 +00:00
Fernando Serboncini 3654e981bc Adds TextIntercepts multi threaded tests
Also, disabes HarfBuzz's atomic refptr TSan warning

Bug: 730692
Change-Id: I69c7fd5ab20896b6abd864506ae394732f8aa6e1
Reviewed-on: https://chromium-review.googlesource.com/544625
Commit-Queue: Fernando Serboncini <fserb@chromium.org>
Reviewed-by: Justin Novosad <junov@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#487953}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: de5a958df5a58664d436ad931d23e6cd25c71f9e
2017-07-19 20:24:57 +00:00
gab a055d2ec5f Take #2 at suppressing TSAN race from TimerSequenceTest
Same goal as https://codereview.chromium.org/2921463003

I think that one didn't suppress properly because the TestBody itself
isn't in the racy stacks (merely in the spawning stacks which might
not count in the suppression rules)...

Unsuppressed race report @
https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.memory%2FLinux_TSan_Tests%2F6818%2F%2B%2Frecipes%2Fsteps%2Fbase_unittests%2F0%2Flogs%2FTimerSequenceTest.OneShotTimerUsedAndTaskedOnDifferentPools%2F0

BUG=552633
TBR=danakj@chromium.org
NOTRY=True

Review-Url: https://codereview.chromium.org/2921623005
Cr-Original-Commit-Position: refs/heads/master@{#476400}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f6d250552b949fadd00a4ddb42063e93411df272
2017-06-01 20:03:24 +00:00
gab 46f1b077bc Suppress one more TimerSequenceTest race per known pre-existing race.
Missed one in https://codereview.chromium.org/2491613004/ (CQ didn't catch it?)

Caught by findit @ https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyRAsSDVdmU3VzcGVjdGVkQ0wiMWNocm9taXVtLzRlODQ0YmI1ZjY4NmRiZDNhMDYyYzZhYWY4M2M4YTFkZjE3MWEwOGEM

BUG=587199, 552633
TBR=danakj
NOTRY=True

Review-Url: https://codereview.chromium.org/2921463003
Cr-Original-Commit-Position: refs/heads/master@{#476357}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4dc3eafa33faa138cf508bdcea933813c4a042dd
2017-06-01 18:21:49 +00:00
gab 96e08bc7f5 Make base::Timer sequence-friendly.
This CL was also going to fix a race condition in the existing implementation when SetTaskRunner() was used but the test-only failures caused by tests having long-lived
with the status quo are proving hard than expected to fix. The race is no worse than
before by making this code sequence-friendly (and generally healthier). Will fix
race in a follow-up CL.

Of note in this CL:
 - Patch set 1 is https://codereview.chromium.org/1433373003
   so looking at diff from 1 might be less work (especially for tests).
 - (not true anymore, postponed to race fix CL:)
   The Timer's delayed task now always lives on the sequence it was started from
   (and even SetTaskRunner() was used, a task is posted to it when the delay
    expires instead of having the Timer's delayed task live on it -- this solves
    the aforementioned race condition).
   - This required adapting tests for MediaCodecLoop and UploadProgressTracker.

BUG=587199, 552633, 678592, 684640, 675631

Review-Url: https://codereview.chromium.org/2491613004
Cr-Original-Commit-Position: refs/heads/master@{#476317}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4e844bb5f686dbd3a062c6aaf83c8a1df171a08a
2017-06-01 16:23:36 +00:00
thomasanderson 358b868b28 Partition libcxx build code from build/config/sanitizers
This CL:
* Removes the last dependency on sanitizers:deps_no_options and replaces it
  with exe_and_shlib_deps
* Merges sanitizers:deps and sanitizers:deps_no_options
* Adds a weak symbol for NaCl to override the default sanitizer options

BUG=593874
R=thakis@chromium.org,bradnelson@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_msan_rel_ng;master.tryserver.chromium.linux:linux_chromium_ubsan_rel_ng;master.tryserver.chromium.mac:mac_chromium_asan_rel_ng

Review-Url: https://codereview.chromium.org/2911513002
Cr-Original-Commit-Position: refs/heads/master@{#475093}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f59081471b68cb0a0c484fe9c9c3b8a1f7f2d122
2017-05-26 20:01:39 +00:00
Mike Bjorge 63fb52bdf7 [TSAN] Temporarily suppress data race in ICUIsRTL.
It's harder to see if new errors come up since this triggers
TSAN failures in so many places. Suppress for now until a there is a
solution.

BUG=695929

Change-Id: I2729c069a29ab595208f8f04695cace3877c1083
Reviewed-on: https://chromium-review.googlesource.com/503790
Reviewed-by: Jungshik Shin <jshin@chromium.org>
Commit-Queue: Mike Bjorge <mbjorge@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#471622}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 80429170bb3de6b4639f42fc630a2d1f8b8a7117
2017-05-14 08:23:31 +00:00
primiano e7a23c4278 Reland of Linux: Disable DBus auto-launch (patchset #1 id:1 of https://codereview.chromium.org/2869843003/ )
Reason for reland:
Adding TSan suppression. The race is independent of this CL, see crbug.com/719633

Original issue's description:
> Revert of Linux: Disable DBus auto-launch (patchset #1 id:1 of https://codereview.chromium.org/2861163002/ )
>
> Reason for revert:
> Speculative revert -- the TSan bots have been reporting a data race when setting Envvars (in this case, appending to the python path to start a websocket server). The race appeared immediately after this patch landed, so it may be legitimate. Reverting this to see if it clears the failures up; if so, we'll probably just have to serialize the calls to setenv.
>
> Filed crbug.com/719633 for this as well.
>
> Original issue's description:
> > Linux: Disable DBus auto-launch
> >
> > This is a workaround (ETA ~ 2-3 years) for libdbus not being multi-threading
> > friendly and causing random hangs when running chrome outside of Linux
> > desktop environments.
> >
> > Background:
> > -----------
> > Typically, Linux desktop environments set the DBUS_SESSION_BUS_ADDRESS
> > environment variable. This variable allows the dbus client library to
> > directly connect to the existing bus, which is started by the desktop
> > environment or systemd.
> > When this variable is missing, the dbus client library will fallback
> > to auto-launch mode [1], which causes 4 nested fork() + exec() calls.
> > Doing this has two problems: (i) slows down startup; (ii) can hang
> > the browser if the fork() happens while another thread is in a malloc()
> > (Chrome's tcmalloc has no at-fork handlers).
> > This situation (no env variable) is very common in test scenarios
> > (browsertests, chromedriver, etc).
> >
> > Change introduced by this CL:
> > -----------------------------
> > This CL sets the bus address env variable to "disabled:" if not set.
> > This effectively shuts down the dbus auto-launch. If necessary, this
> > behavior can be restored by setting, before launching chrome,
> > DBUS_SESSION_BUS_ADDRESS="autolaunch:" .
> > This workaround will be necessary until libdbus and gspawn are fixed
> > to be multi-threading friendly [2,3] and that fix rolls into the
> > various distributions.
> > The change is introduced in the main embedder rather than in the
> > google-chrome wrapper, as several binaries can be affected by this,
> > for instance:
> > - browser tests (http://crbug.com/693668)
> > - chrome --headless
> > - webdriver/selenium which seem to directly invoke "chrome"
> >    see https://github.com/SeleniumHQ/docker-selenium/issues/87
> >
> > [1] https://dbus.freedesktop.org/doc/dbus-launch.1.html
> > [2] https://bugs.freedesktop.org/show_bug.cgi?id=100843
> > [3] https://bugs.chromium.org/p/chromedriver/issues/detail?id=1699
> >
> > BUG=715658,695643,713947
> > TEST=strace -ff -o trace chrome; grep dbus-launch trace*
> >
> > Review-Url: https://codereview.chromium.org/2861163002
> > Cr-Commit-Position: refs/heads/master@{#469987}
> > Committed: 8511820ec8

> Review-Url: https://codereview.chromium.org/2869843003
> Cr-Commit-Position: refs/heads/master@{#470059}
> Committed: 1e78cb7863

BUG=715658,695643,713947,719633
TBR=satorux@google.com,thestig@chromium.org,jam@chromium.org

Review-Url: https://codereview.chromium.org/2865283002
Cr-Original-Commit-Position: refs/heads/master@{#470301}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2fc330d0b93d4bfd7bd04b9fdd3102e529901f91
2017-05-09 13:07:12 +00:00
jbauman 3e95643700 Add TSAN suppression for deadlocks in libGLX.so
This software isn't under our control, so suppress deadlock warnings we
can't fix.

BUG=691029

Review-Url: https://codereview.chromium.org/2807523002
Cr-Original-Commit-Position: refs/heads/master@{#462960}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b3d846d907794a018dca0793f45320064dc882f8
2017-04-07 19:28:17 +00:00
rockot 7d7e53f565 Move some basic early process init into Service Manager
Introduces the beginnings of an embedder API for the Service Manager,
consisting of a single entry point (service_manager::Main) which in
turn delegates to its embedder for arbitrary initialization and
process execution logic.

This is the first of several incremental steps to remove content from
the generic process startup flow. Future patches will rework various
main entry points to go through service_manager::Main directly, rather
than going ContentMain -> service_manager::Main.

This will also allow us to introduce new process types which run the
Service Manager or arbitrary services directly without touching any
part of content.

BUG=654986

Review-Url: https://codereview.chromium.org/2613653003
Review-Url: https://codereview.chromium.org/2613653003
Cr-Original-Commit-Position: refs/heads/master@{#458331}
Committed: c6026704ff
Cr-Original-Original-Commit-Position: refs/heads/master@{#458252}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 60d92c2f3ff60c2fcc0b3cddd05738403fb1f0c3
2017-03-21 06:44:43 +00:00
horo 9e7f0b1fae Revert of Move some basic early process init into Service Manager (patchset #5 id:220001 of https://codereview.chromium.org/2613653003/ )
Reason for revert:
Introduced crashes of webkit_tests on Mac.

BUG=703465

Original issue's description:
> Move some basic early process init into Service Manager
>
> Introduces the beginnings of an embedder API for the Service Manager,
> consisting of a single entry point (service_manager::Main) which in
> turn delegates to its embedder for arbitrary initialization and
> process execution logic.
>
> This is the first of several incremental steps to remove content from
> the generic process startup flow. Future patches will rework various
> main entry points to go through service_manager::Main directly, rather
> than going ContentMain -> service_manager::Main.
>
> This will also allow us to introduce new process types which run the
> Service Manager or arbitrary services directly without touching any
> part of content.
>
> BUG=654986
>
> Review-Url: https://codereview.chromium.org/2613653003
> Cr-Commit-Position: refs/heads/master@{#458252}
> Committed: c6026704ff

TBR=jam@chromium.org,rockot@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=654986

Review-Url: https://codereview.chromium.org/2763883002
Cr-Original-Commit-Position: refs/heads/master@{#458278}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1c92dd551abe4a1581981b945076719dff7b4422
2017-03-21 02:11:12 +00:00
rockot 068550ee95 Move some basic early process init into Service Manager
Introduces the beginnings of an embedder API for the Service Manager,
consisting of a single entry point (service_manager::Main) which in
turn delegates to its embedder for arbitrary initialization and
process execution logic.

This is the first of several incremental steps to remove content from
the generic process startup flow. Future patches will rework various
main entry points to go through service_manager::Main directly, rather
than going ContentMain -> service_manager::Main.

This will also allow us to introduce new process types which run the
Service Manager or arbitrary services directly without touching any
part of content.

BUG=654986

Review-Url: https://codereview.chromium.org/2613653003
Cr-Original-Commit-Position: refs/heads/master@{#458252}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c6026704ff452d402924ce2d88b0168baf227b1e
2017-03-21 00:29:35 +00:00
maxmorin dc8b69a1b5 Remove suppressions for some bugs that are closed as fixed.
BUG=280466,285242,345618,345624,347548,417193,638583

Review-Url: https://codereview.chromium.org/2755453003
Cr-Original-Commit-Position: refs/heads/master@{#457076}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ba0d317cba4476cd306db516d13f704bfd5bf9ff
2017-03-15 14:22:32 +00:00
kcwu 8ec52bfb65 Fix syntax of kAsanDefaultOptions
BUG=None
TEST=chromeos build with is_asan=true

Review-Url: https://codereview.chromium.org/2748103007
Cr-Original-Commit-Position: refs/heads/master@{#457050}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 59e93059c5418474c88680fb71020bf1fb417d2b
2017-03-15 10:50:29 +00:00
glider fc1240aa4e Delete TSan suppressions for base::Histogram.
The bugs are fixed long ago.

BUG=chromium:46840
TBR=thestig@chromium.org
TEST=trybots are green

Review-Url: https://codereview.chromium.org/2742353002
Cr-Original-Commit-Position: refs/heads/master@{#456366}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2ce64fc7cd0fa0546926a832497d913f058a1e74
2017-03-13 13:55:39 +00:00
machenbach 5ace2f33c9 tsan: Add suppression for a net unittest
BUG=699562
R=jochen@chromium.org,mstarzinger@chromium.org

Review-Url: https://codereview.chromium.org/2732883007
Cr-Original-Commit-Position: refs/heads/master@{#455458}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ecaade2ce813c97d168576d035f8610c642947eb
2017-03-08 15:37:24 +00:00
eholk b60d2c66e5 Set allow_user_segv_handler asan option
V8's signal handler based bounds checking solution needs to be able to
install a custom signal handler. Unfortunately, asan does not allow this
by default.

BUG=v8:5277

Review-Url: https://codereview.chromium.org/2731393003
Cr-Original-Commit-Position: refs/heads/master@{#455218}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8e6e95fce9bb5e972c0c96bff0d0a8ea5d7f068a
2017-03-07 21:05:53 +00:00
grt 11f5df6e25 Stop base::OpenFile from leaking fds/handles into child procs.
BUG=688362
TEST=New FileUtilTest.OpenFileNoInheritance fails with previous impl, passes with new impl.

Review-Url: https://codereview.chromium.org/2687713003
Cr-Original-Commit-Position: refs/heads/master@{#449999}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d0bc44fa24fba9f483aaddae8e2c29df3524a5d6
2017-02-13 17:52:17 +00:00
etienneb 1b6ff4f00b Fix ASAN default suppression symbol mangling on windows
I'm working on a patch to fix asan_options on windows and I faced this
two incompatibles symbols:

  00D 00000000 SECT2  notype       External     | ?kASanDefaultSuppressions@@3PADA (char * kASanDefaultSuppressions)
  01F 00000000 UNDEF  notype       External     | _kASanDefaultSuppressions

This is caused by the way the symbols are defined (i.e. extern "C").

src/build/sanitizers/asan_suppressions.cc
  char kASanDefaultSuppressions[] =

src/build/sanitizers/sanitizer_options.cc
  extern "C" char kASanDefaultSuppressions[];

BUG=681027

R=eugenis@chromium.org, chrisha@chromium.com, rnk@chromium.org

Review-Url: https://codereview.chromium.org/2631753002
Cr-Original-Commit-Position: refs/heads/master@{#444764}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c9e8aae171ee0999ed1ad766089d76cf40159fee
2017-01-19 16:34:51 +00:00
maksim.sisov 276077a8e6 [sensors](Linux) Fix tsan data race in sensor reader
This CL fixes a tsan data race, which is caused by calling StopFetchingData
from different threads. It must not be allowed. Use the same thread by using
a PostTask.

BUG=673760
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_tsan_rel_ng

Review-Url: https://codereview.chromium.org/2569763004
Cr-Original-Commit-Position: refs/heads/master@{#439798}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d52b2f15ba4712b9dc4a2d08a45aa3210999dc8f
2016-12-20 14:39:54 +00:00
robliao 098cfc3334 Revert "Suppress TSAN Race in TaskSchedulerWorkerPoolCheckTlsReuse"
This reverts commit ad1893a4eeeb1775709005ad7df0081560fa27d3
(https://codereview.chromium.org/2256493002).

BUG=638378
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_tsan_rel_ng

Review-Url: https://codereview.chromium.org/2580603002
Cr-Original-Commit-Position: refs/heads/master@{#438894}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ab7a70453f0fed95e383d6650f4e318c8519dfa2
2016-12-15 19:39:08 +00:00
gab 19c593354c Temporarily suppress PollingSensorReader race to get bot green.
Suppression to be reverted in https://codereview.chromium.org/2569763004/.

TBR=haraken@chromium.org
BUG=673760
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_tsan_rel_ng

Review-Url: https://codereview.chromium.org/2579003002
Cr-Original-Commit-Position: refs/heads/master@{#438819}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 42c45b9a36514f64662c6fc6b15bb8506d0c06cc
2016-12-15 13:40:43 +00:00
gab 2eb6e67490 Suppress TSAN race in TimerTest while working on complex fix.
Fix coming up @ https://codereview.chromium.org/2491613004/ but
suppressing race in mean time to make TSAN bot green again
(issue 672860).

BUG=587199
TEST=TimerTest.OneShotTimer_CustomTaskRunner no longer reported as failure by linux_chromium_tsan_rel_ng.
NO_DEPENDENCY_CHECKS=true

Review-Url: https://codereview.chromium.org/2576503002
Cr-Original-Commit-Position: refs/heads/master@{#438749}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 243a13726f5baf1a3f5fc9dfa0f4ee651fd87ab4
2016-12-15 05:03:49 +00:00
thakis 3218923157 Remove step that copies llvm-symbolizer to the root build dir.
As far as I can tell, everything references the original location of
llvm-symbolizer in third_party/llvm-build/Release+Asserts/bin, so
this shouldn't be needed.

Clusterfuzz used to need this, but it stopped needing it in
https://codereview.chromium.org/2394163006/

No intentional behavior change.

BUG=none, vaguely related to 430156 and 495204

Review-Url: https://codereview.chromium.org/2145833008
Cr-Original-Commit-Position: refs/heads/master@{#436986}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: eeaccfd53c4d582d39ec7e30f19d8e4db8b4ee49
2016-12-07 17:08:59 +00:00
lukasza e7c322a181 Revert "Suppress a use-after-free report in blink::RemoteFrame::detach()."
This reverts commit f54c1207ebe045798603f6484ad1f59aecad061c.

This is a speculative revert - the original problem doesn't seem to
repro anymore (per https://crbug.com/432070#c17) so let's try to remove
the (hopefully) no longer needed test suppression.

BUG=432070

Review-Url: https://codereview.chromium.org/2557903002
Cr-Original-Commit-Position: refs/heads/master@{#436765}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9e11ad5750fb228b83db25fcd90f77488659d750
2016-12-06 22:56:51 +00:00
rockot 09833df2d9 Mojo Bindings: Fix lock-order inversion in associated controllers
The two AssociatedGroupController implementations we have both own a lock
which is acquired during message dispatch, among other operations.
In the EDK layer a Watcher lock is also acquired further up the stack.

Because sending a message may indirectly require notifying the same
Watcher lock, it must never be true that the AssociatedGroupController's
lock is held while its pipe is written to.

This fixes the lock-order inversion resulting from the
fact that pipe control messages were being sent under lock, and removes
the associated TSAN suppression.

BUG=663557
TBR=glider@chromium.org

R=yzshen@chromium.org

Review-Url: https://codereview.chromium.org/2494483003
Cr-Original-Commit-Position: refs/heads/master@{#431331}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 58909542197b704efe10526c169e4b502f799b57
2016-11-10 20:14:03 +00:00
benwells 95e1010caa Add suppression for lock order inversion in Mojo.
This inversion should be removed if the potential deadlock is fised.

TBR=glider@chromium.org
BUG=663557

Review-Url: https://codereview.chromium.org/2496473002
Cr-Original-Commit-Position: refs/heads/master@{#431197}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 74b37c31ba3657034f634e46797741a80a2c3f32
2016-11-10 06:49:23 +00:00
brettw ffe5408f3a Remove GYP files in breakpad, build, and tools.
These are now unused.

Review-Url: https://codereview.chromium.org/2331893004
Cr-Original-Commit-Position: refs/heads/master@{#418010}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8c0eb8ed764590108f0278e5bbbddec3fc14b522
2016-09-12 19:55:25 +00:00
glider 25b786925a Suppress data races in third_party/webrtc/modules/audio_processing/aec/aec_rdft.cc
TBR=peah@chromium.org
BUG=638583
NOTRY=true

Review-Url: https://codereview.chromium.org/2267173004
Cr-Original-Commit-Position: refs/heads/master@{#414089}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d2ec51c59013680890442ce62e13afa0c2481d1d
2016-08-24 16:35:11 +00:00
haraken bc3fc22fa1 Destruct base::Thread before WorkerThread::terminateAndWait returns
This CL destructs base::Thread and its underlying system thread before
WorkerThread::terminateAndWait returns. This is important to make sure that
the main thread calls WTF::shutdown() after ThreadSpecifics of all threads
are destructed. See 345240 for more details.

BUG=345240

Review-Url: https://codereview.chromium.org/2251903002
Cr-Original-Commit-Position: refs/heads/master@{#412735}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 30d88091658428a57d4567d72f41a8a251031f68
2016-08-18 04:05:50 +00:00
robliao d9e36ac574 Suppress TSAN Race in TaskSchedulerWorkerPoolCheckTlsReuse
The race condition is expected as we're racing the thread reclaim
logic. ThreadLocalStorage happens to not synchronize anything at the
moment. Adding a lock to synchronize usage of g_tls_destructors won't
actually fix the inherent race condition. In production, it's up the
owner to make sure that any references have cleaned up before
releasing the TLS slot.

Given that ThreadLocalStorage will be getting some locks in the future,
so I expect to be able to remove the suppression once that goes
through.

BUG=638378

Review-Url: https://codereview.chromium.org/2256493002
Cr-Original-Commit-Position: refs/heads/master@{#412362}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ad1893a4eeeb1775709005ad7df0081560fa27d3
2016-08-16 22:37:33 +00:00
reillyg 4a343b09b4 Fix TSAN suppressions for non-joinable ThreadTest.
The compiler does not include the class name in the symbol name for the
TestBody method so the suppression added in r409915 doesn't work. This
patch disables the test under TSan instead.

BUG=634383,629716
TBR=thestig@chromium.org
NOTRY=true

Review-Url: https://codereview.chromium.org/2218663003
Cr-Original-Commit-Position: refs/heads/master@{#410159}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4ef71eefd26cd7c4f3ee5c7d4fbff9aaed2a5459
2016-08-05 20:57:46 +00:00
gab 583623caac Add TSAN suppressions for non-joinable ThreadTest.
BUG=634383, 629716

Review-Url: https://codereview.chromium.org/2214133002
Cr-Original-Commit-Position: refs/heads/master@{#409915}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6ab22962ccc7f6943de266af1c09e1296a679eb6
2016-08-04 22:26:12 +00:00
msarett c6f3b3d6a9 Suppress benign race in libjpeg-turbo
BUG=633145

Review-Url: https://codereview.chromium.org/2201163002
Cr-Original-Commit-Position: refs/heads/master@{#409284}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b8135adecd3983318355c8d069b06165351635f4
2016-08-02 19:56:33 +00:00
mmoroz d9b28826c7 [sanitizers] add "strip_path_prefix=/../../" to default UBSan options.
R=inferno@chromium.org
TBR=eugenis@chromium.org, glider@chromium.org
BUG=629468

Review-Url: https://codereview.chromium.org/2166003002
Cr-Original-Commit-Position: refs/heads/master@{#406602}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0e8ac09a91236b2e47aa90a2ec8322c74e74b2dd
2016-07-20 17:37:58 +00:00
rockot 7dfb87db30 Fix data race in IPC::ChannelProxy
Fixes a missing lock acquisition from the listener thread when
accessing |channel_|.

Also removes the TSAN suppression for this bug.

BUG=628481
TBR=glider@chromium.org for suppression removal

Review-Url: https://codereview.chromium.org/2158893002
Cr-Original-Commit-Position: refs/heads/master@{#406033}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 078a84e8624eb27e3497bf86ae905550da8acc2d
2016-07-18 18:07:43 +00:00
thestig 59079e5b62 TSAN: Suppress a IPCSyncChannelTest race.
Also disable a failing SiteDataSizeCollectorTest for DrMemory.

BUG=628475,628481
TBR=glider@chromium.org

Review-Url: https://codereview.chromium.org/2149363002
Cr-Original-Commit-Position: refs/heads/master@{#405700}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9a4dc47b2dac2f539dc0cd49bf3511145de7423a
2016-07-15 04:39:46 +00:00
falken 0cb2dfce10 TSan: Remove blink::currentTimeFunction suppression
This symbol no longer appears in the codebase.

BUG=329225

Review-Url: https://codereview.chromium.org/2141853003
Cr-Original-Commit-Position: refs/heads/master@{#404807}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c42d7de4c1137b45db921919a25560c65d21cc52
2016-07-12 13:31:01 +00:00
aizatsky 8fde058f26 [sanitizers] stripping output path even if it is not named Release.
This will also get rid of "libfuzzer/../../" strings in libfuzzer stacktraces.

BUG=

Review-Url: https://codereview.chromium.org/2108713003
Cr-Original-Commit-Position: refs/heads/master@{#402623}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f10581ba67dd77e4229fcb509a6633410a8191ab
2016-06-29 00:48:58 +00:00
sigbjornf 454966248d gn: define and use clang_base_path
Replace uses of "//third_party/llvm-build/Release+Asserts"
with the configurable option clang_base_path.

TBR=thakis
BUG=

Review-Url: https://codereview.chromium.org/2088373002
Cr-Original-Commit-Position: refs/heads/master@{#401551}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c1369c7c73fc9bcf2d9edb29e9c5b5ed0c5f66d5
2016-06-23 06:33:45 +00:00
bungeman c9439973ba Remove tsan suppressions.
SkFontConfigInterface implementations were cleaned up with Skia change
https://codereview.chromium.org/1936213002 (0265707c1, "Clean up
SkFontConfigInterface implementation."). These suppressions should no
longer be needed.

BUG=chromium:369257

Review-Url: https://codereview.chromium.org/2065983002
Cr-Original-Commit-Position: refs/heads/master@{#399730}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8f241f3e26cdf0871553038d87bb1d4bea5a0feb
2016-06-14 17:09:49 +00:00
thakis 26f0866b04 gn: Add chromium_builder_asan target.
All the LKGR clusterfuzz bots build this target, so add it to allow
switching these bots to gn.

BUG=618702,542853,619086
TBR=eroman

Review-Url: https://codereview.chromium.org/2059843002
Cr-Original-Commit-Position: refs/heads/master@{#399241}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3f7d4fc75b62ca7008642c5aea6233eade695da5
2016-06-10 18:51:06 +00:00
glider 18d33daf71 Revert of Remove suppressions for bug 258479 (races in SamplingStateScope::set()) (patchset #1 id:1 of https://codereview.chromium.org/2039923003/ )
Reason for revert:
The bug hasn't actually been fixed.

Original issue's description:
> Remove suppressions for bug 258479 (races in SamplingStateScope::set())
>
> BUG=258479
> TBR=tommycli@chromium.org
>
> Committed: https://crrev.com/8ce4772a273e2f594c9c1410211caf2dcae3446f
> Cr-Commit-Position: refs/heads/master@{#398515}

TBR=tommycli@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=258479

Review-Url: https://codereview.chromium.org/2046953003
Cr-Original-Commit-Position: refs/heads/master@{#398525}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c6018f806955dfea9aceb30e3e81712900b020c4
2016-06-08 12:14:57 +00:00
glider af7e03ec8d Remove suppressions for bug 258479 (races in SamplingStateScope::set())
BUG=258479
TBR=tommycli@chromium.org

Review-Url: https://codereview.chromium.org/2039923003
Cr-Original-Commit-Position: refs/heads/master@{#398515}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8ce4772a273e2f594c9c1410211caf2dcae3446f
2016-06-08 10:19:29 +00:00
glider 78727ffb1d Remove the suppression for issue 363999 (race on thread_local_.debugger_entry_ in v8::internal::Debug)
BUG=363999
TBR=tommycli@chromium.org
NOTRY=true

Review-Url: https://codereview.chromium.org/2043963006
Cr-Original-Commit-Position: refs/heads/master@{#398510}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bb3d7c7428c86c7dbcc700ed317e6c0b4725e816
2016-06-08 09:45:32 +00:00
inferno 38cd33277c Enable in-process symbolization by default.
R=kcc@chromium.org,glider@chromium.org
TBR=kcc@chromium.org

Review-Url: https://codereview.chromium.org/2023033002
Cr-Original-Commit-Position: refs/heads/master@{#397010}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 87981e75530ab455e12475535857613c927fa6ba
2016-06-01 01:09:09 +00:00
xlai 7802c871d0 Making CSSValue Pool thread local
CSSValuePool was used to be static instance on main thread
only. But OffscreenCanvas in a worker requires to access
the CSS value caches in a non-main thread. This patch uses
 the ThreadSpecific persistent handles to create static
CSSValuePool instances per thread when needed, and the
cleanup code is handled in ThreadState::cleanup() added by
patch https://codereview.chromium.org/1881933005.

As a result, WebKit unit tests (which does not use the
ThreadState::cleanup() as the worker thread) need to be
modified so that false positive leak errors will not be
reported.

In addition, an indirect memory leak "__strdup
/build/eglibc-3GlaMS/eglibc-2.19/string/strdup.c" is
generated in webkit unit tests; but after printing out the
full error stack trace, we observe that it eventually
originates from libfontconfig, a third_party library that
has leaks and has already been suppressed in
leak_suppression.cc. But the default stack trace is too
short on suppress this indirect memory leak; so we added
one more leak suppression underneath the libfontconfig.

BUG=599659

Review URL: https://codereview.chromium.org/1870503002

Cr-Original-Commit-Position: refs/heads/master@{#388815}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1174eb6ddb160985b51d1d45321e24c493aa7f83
2016-04-21 18:17:37 +00:00
hablich a65c2c00f9 Suppress a leak report in mojo's mojo/edk/js/handle.h
BUG=chromium:601435

R=glider@chromium.org,machenbach@chromium.org

Review URL: https://codereview.chromium.org/1867003002

Cr-Original-Commit-Position: refs/heads/master@{#385743}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e80910d680dc22e174bd35ddbfae2c4e6843c53f
2016-04-07 13:51:52 +00:00
oshima 9343147678 Revert of Suppress data race for crbug.com/591217 (patchset #1 id:1 of https://codereview.chromium.org/1758463003/ )
Reason for revert:
Culprit CL has been reverted.

Original issue's description:
> Suppress data race for crbug.com/591217
>
> BUG=591217
> TBR=dcheng@chromium.org
>
> Committed: https://crrev.com/845040e25e15d3c747349c4549b794fde1559722
> Cr-Commit-Position: refs/heads/master@{#378631}

TBR=dcheng@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=591217

Review URL: https://codereview.chromium.org/1755813004

Cr-Original-Commit-Position: refs/heads/master@{#378920}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f306fbd26e12644faab71369d2a1e7c248115048
2016-03-03 02:21:47 +00:00