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

122 Коммитов

Автор SHA1 Сообщение Дата
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
johannkoenig a395077613 Move libvpx_new to libvpx
The move to libvpx_new happened before M47 (landed in 2524, M47 branch was 2526):
crbug.com/481034
https://codereview.chromium.org/1323333002

Clients which try to transition directly between the tree after this change and before the previous move will end up in a very broken state.

Now it is 6 months later and M48 is stable so is unlikely that a client would check out the old code at all, much less try to transition directly between the two versions.

Leave a compatibility layer for targets which need to be updated out of band (webrtc, libyuv)

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

Cr-Original-Commit-Position: refs/heads/master@{#378739}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8cdf034791388299f18fba186f2941313320b706
2016-03-02 13:55:33 +00:00
oshima de941fa87b Suppress data race for crbug.com/591217
BUG=591217
TBR=dcheng@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#378631}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 845040e25e15d3c747349c4549b794fde1559722
2016-03-02 00:46:12 +00:00
amistry b587a50564 Remove Mojo TSAN suppressions.
These classes/functions no longer exist.

BUG=571735

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

Cr-Original-Commit-Position: refs/heads/master@{#373807}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b89c9361838178e1b38c742ed3d99f4353e5c537
2016-02-05 14:17:20 +00:00
amistry e3585cb1d7 Re-land: Fix race in UseNewEDK().
The difference with this re-land is that it changes LazyInstance to be leaky to avoid a recursive lock acquisition in AtExitManager. It also doesn't make sense to destroy that instance since it's a cache of a command line flag.

BUG=539315

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

Cr-Commit-Position: refs/heads/master@{#372501}

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

Cr-Original-Commit-Position: refs/heads/master@{#373176}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6be610508ebbc1787e959e741861f6eecff02c8d
2016-02-03 04:51:13 +00:00
thakis 20e8ca1b56 Revert of Fix race in UseNewEDK(). (patchset #1 id:1 of https://codereview.chromium.org/1646223002/ )
Reason for revert:
Broke some tests in official builds, see http://crbug.com/583040 (comment 9 has repro steps)

Original issue's description:
> Fix race in UseNewEDK().
>
> BUG=539315
>
> Committed: https://crrev.com/189f17c6d5206a9c0ef6af99f598079f637579af
> Cr-Commit-Position: refs/heads/master@{#372501}

TBR=jam@chromium.org,amistry@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=539315

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

Cr-Original-Commit-Position: refs/heads/master@{#372978}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fc929dbfc02425dc56c6b4cf3948434feffb578b
2016-02-02 17:45:50 +00:00
amistry 217584e087 Fix race in UseNewEDK().
BUG=539315

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

Cr-Original-Commit-Position: refs/heads/master@{#372501}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 189f17c6d5206a9c0ef6af99f598079f637579af
2016-01-30 01:08:09 +00:00
thestig 4e9df664c6 Reassign all of earthdok's TODOs and remove from OWNERS.
TBR=jln@chromium.org,thakis@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#372260}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cee690634a79075f4128d9644589b7f43269ef4e
2016-01-29 02:37:38 +00:00
thestig 8aefd6e650 TSAN: Fix bad suppression from r372233.
BUG=582274
TBR=glider@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#372253}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d432511f2226f547dbfbe38b94a3ad3ffa845881
2016-01-29 02:12:09 +00:00
thestig 4c05b8d6d6 TSAN: Disable / suppress failing tests.
BUG=582274,582277
TBR=glider@chromium.org,lfg@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#372233}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e45d56d3206a481639c73b7bc93a0cb8960262c0
2016-01-29 01:00:12 +00:00
amistry 5d5abfb005 Fix races in BrowserThreadImpl, and some related updates.
This change fixes two different races:
1. On destruction of BrowserThreadImpl, the thread is removed from the global
thread table after it is stopped. The process of stopping the thread destroys
the thread's message loop. However, PostTaskHelper accesses the message loop,
which races with the stopping thread. Reordering the two operations is not
sufficient because it doesn't handle subclasses (i.e. BrowserProcessSubThread)
stopping the thread.
2. There's a missing lock in GetCurrentThreadIdentifier when accessing the
global thread table. To track whether or not this causes lock contention, a
ScopedTracker has been added.

The two other changes are:
1. Remove uses of ScopedAllowSingleton. This isn't necessary any more since the
relevant objects are leaky.
2. Remove impossible cases in BrowserThreadImpl::Run().

BUG=115540

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

Cr-Original-Commit-Position: refs/heads/master@{#370560}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 83e3480a731d95a97ccc1eacd7b3356ded42b0d4
2016-01-21 02:13:17 +00:00
glider 164e27c1b4 Disable BackgroundTracingManagerBrowserTest.CallTriggersMoreThanOnceOnlyGatherOnce under TSan.
Turns out the suppression for allocation stack didn't work. Remove it and disable the test instead.

BUG=559117
TBR=reillyg@chromium.org,dsinclair@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#370090}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 431e0ba1472931de155e7540d9ef2385c2e553ca
2016-01-19 10:07:20 +00:00
glider f46512d93c Hotfix the TSan suppressions file
BUG=559117
TBR=reillyg@chromium.org
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#370040}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9b910ba63af1f664dd538947bf9d67adfe30dae2
2016-01-18 18:22:11 +00:00
glider 892ac3e88d Suppress races on ConvertableToTraceFormat refcounters.
BUG=559117
TBR=reillyg@chromium.org
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#370033}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 78c43a90883198b3e2c86c994507ab8cba0aac87
2016-01-18 17:33:56 +00:00
amistry 713e315a14 Fix a race in HandleWatcherTest and remove suppression.
BUG=455665

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

Cr-Original-Commit-Position: refs/heads/master@{#369974}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 624f51b77ff5583f00dff0cdddd286a4192aebfb
2016-01-18 00:33:41 +00:00
jam df41a20d76 Suppress erronous TSAN errors in new EDK.
This also addresses a harmless read of uninitialized 2-bytes to quiet the Valgrind error. Also it adds a lock around the usage of initialized_ in RawChannel, even though it's not needed since it's just an optimization to avoid thread hops.

BUG=561803,571735
TBR=glider, thakis

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

Cr-Original-Commit-Position: refs/heads/master@{#366727}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9269e9ad8cb31a90e0ecfa0b24a597776d962d5d
2015-12-23 07:23:19 +00:00
jyasskin aaf8aec017 Suppress a race when the GC visits thread stacks.
BUG=569682
TBR=haraken@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_tsan_rel_ng

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

Cr-Original-Commit-Position: refs/heads/master@{#365297}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b35b55b30dbf956bede79632ae314b9aafef8262
2015-12-15 18:53:48 +00:00
niklase eb63e3ced3 Remove suppressions for crbug.com/345245
BUG=345245
TEST= Run WebRtcBrowserTest.CallWithDataAndMedia 100 times locally with suppressions removed

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

Cr-Original-Commit-Position: refs/heads/master@{#364376}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 40fa5de9c6038b30e2f37268492725d4c153d608
2015-12-10 16:20:18 +00:00
glider 5d57b85698 Try to remove the suppression for issue 273047 to check if the bug has been fixed.
BUG=273047
TBR=benwells@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#362443}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1d9641452a852078f8bee59d24467c10541ffca4
2015-12-01 17:17:53 +00:00
pasko 0548437c77 SimpleCache: Fix race condition in simple_index_file_unittest
The MessageLoopHelper 'helper' is created on the main thread in this test, so to
avoid a race condition move invocation of helper.CallbackCalled() from
CacheThread to the main thread.

BUG=313726

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

Cr-Original-Commit-Position: refs/heads/master@{#362429}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 07477ffeefe3587f8d91b36d388e7fb73dc4d8da
2015-12-01 16:32:33 +00:00
grunell 9fd7bacbdd Remove tsan suppression for webrtc::voe::TransmitMixer::EnableStereoChannelSwapping.
BUG=389098

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

Cr-Original-Commit-Position: refs/heads/master@{#361857}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ad7851bc2389ff369387b7f6b26374e78dff23df
2015-11-26 09:37:09 +00:00
benwells d6f93cfaff Removed old TSAN v2 suppression for extensions::InfoMap
This code has changed significantly. Removing two year old suppression
to see if the problem has been fixed.

TBR=glider@chromium.org
BUG=329460

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

Cr-Original-Commit-Position: refs/heads/master@{#361565}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 82e5be18436a2f2513334e66b03e5825b92b1425
2015-11-25 03:56:23 +00:00
pbos ab1f008e9a Add print_stacktrace=1 to ubsan defaults.
Also using a no_sanitize list for SANITIZER_HOOK_ATTRIBUTE instead of
separate attributes per tool.

BUG=
R=glider@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#361376}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 51b0910409e6a0ee60a4253ebf54f0fcf3711831
2015-11-24 17:13:36 +00:00
glider b07d7e2d97 Revert of Remove SkFontConfigInterface race suppression. (patchset #1 id:1 of https://codereview.chromium.org/1467313002/ )
Reason for revert:
The data race is still reproducible (see the bug)

BUG=chromium:369257

Original issue's description:
> Remove SkFontConfigInterface race suppression.
>
> The race was fixed with https://codereview.chromium.org/355573006 ,
> committed as
> https://skia.googlesource.com/skia/+/e438ddbc7451ec80f953266409fea4695e78c8c2
>
> This is effectively a revert of https://codereview.chromium.org/273523002 .
>
> BUG=chromium:369257
>
> Committed: https://crrev.com/a8c01b568251a5dc191e4fb67ab5c1dc6b8af86e
> Cr-Commit-Position: refs/heads/master@{#361125}

TBR=mtklein@chromium.org,bungeman@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:369257

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

Cr-Original-Commit-Position: refs/heads/master@{#361323}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ac2843f9b9583ee6512cd1312ed416b7e884b92b
2015-11-24 12:18:01 +00:00
glider 968603dd61 Add a comment about the bug being a WontFix
BUG=455638
TBR=thestig@chromium.org
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#361321}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b83ef18bcff3cd08c24c5e2038ca244dad44c011
2015-11-24 12:08:45 +00:00
bungeman ae5517df64 Remove SkFontConfigInterface race suppression.
The race was fixed with https://codereview.chromium.org/355573006 ,
committed as
https://skia.googlesource.com/skia/+/e438ddbc7451ec80f953266409fea4695e78c8c2

This is effectively a revert of https://codereview.chromium.org/273523002 .

BUG=chromium:369257

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

Cr-Original-Commit-Position: refs/heads/master@{#361125}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a8c01b568251a5dc191e4fb67ab5c1dc6b8af86e
2015-11-23 17:10:54 +00:00
reveman 137e8b1df4 Re-land: ui: Add GLImage unit test framework.
This makes it possible to test GLImage implementations without
requiring multi-process GpuMemoryBuffer support.

This initial version is limited to testing CopyTexSubImage with
the default buffer format but testing of more functionality and
formats will be added in follow up patches.

Also includes some minor cleanup needed to not have GLImage
implementations depend on GpuMemoryBuffer API.

BUG=538325
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

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

Cr-Original-Commit-Position: refs/heads/master@{#353735}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8aa0fb1d78963610ab62a349d1dff9bd2e065a3e
2015-10-13 13:48:22 +00:00
davidben e7a51de74e Remove dead suppression.
No platform remaining uses NSS to back X509Certificate while also using
SSLClientSocketNSS.

BUG=372807

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

Cr-Original-Commit-Position: refs/heads/master@{#353182}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 439cdcfa5e7df6bfadf2928d687e03b0c019be37
2015-10-09 00:18:54 +00:00
ksakamoto b19f9ec486 Revert of Re-land: ui: Add GLImage unit test framework. (patchset #18 id:340001 of https://codereview.chromium.org/1354483004/ )
Reason for revert:
libosmesa open failure has gone, but tests are still failing.

http://build.chromium.org/p/chromium.linux/builders/Linux%20GN/builds/32956
http://build.chromium.org/p/chromium.linux/builders/Linux%20GN/builds/32957
http://build.chromium.org/p/chromium.linux/builders/Linux%20GN/builds/32958

Original issue's description:
> Re-land: ui: Add GLImage unit test framework.
>
> This makes it possible to test GLImage implementations without
> requiring multi-process GpuMemoryBuffer support.
>
> This initial version is limited to testing CopyTexSubImage with
> the default buffer format but testing of more functionality and
> formats will be added in follow up patches.
>
> Also inlcudes some minor cleanup needed to not have GLImage
> implementations depend on GpuMemoryBuffer API.
>
> BUG=
> CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
>
> Committed: https://crrev.com/11b3655a4dfd5b46f7783421e2959a41ddbf3a00
> Cr-Commit-Position: refs/heads/master@{#352767}

TBR=dcastagna@chromium.org,glider@chromium.org,piman@chromium.org,sky@chromium.org,reveman@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#352779}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: de89c773fbb6bf9c8484fcb3f11256594417b5aa
2015-10-07 05:52:43 +00:00
reveman 753a655e39 Re-land: ui: Add GLImage unit test framework.
This makes it possible to test GLImage implementations without
requiring multi-process GpuMemoryBuffer support.

This initial version is limited to testing CopyTexSubImage with
the default buffer format but testing of more functionality and
formats will be added in follow up patches.

Also inlcudes some minor cleanup needed to not have GLImage
implementations depend on GpuMemoryBuffer API.

BUG=
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

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

Cr-Original-Commit-Position: refs/heads/master@{#352767}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 11b3655a4dfd5b46f7783421e2959a41ddbf3a00
2015-10-07 04:13:43 +00:00
ksakamoto af1dedab7a Revert of ui: Add GLImage unit test framework. (patchset #17 id:320001 of https://codereview.chromium.org/1354483004/ )
Reason for revert:
Those tests are failing on Linux GN bot.

failures:
GLImageRefCountedMemory/GLImageTest/0.CopyTexSubImage
GLImageSharedMemory/GLImageTest/0.CopyTexSubImage

http://build.chromium.org/p/chromium.linux/builders/Linux%20GN/builds/32944
http://build.chromium.org/p/chromium.linux/builders/Linux%20GN/builds/32945
http://build.chromium.org/p/chromium.linux/builders/Linux%20GN/builds/32946

Original issue's description:
> ui: Add GLImage unit test framework.
>
> This makes it possible to test GLImage implementations without
> requiring multi-process GpuMemoryBuffer support.
>
> This initial version is limited to testing CopyTexSubImage with
> the default buffer format but testing of more functionality and
> formats will be added in follow up patches.
>
> Also inlcudes some minor cleanup needed to not have GLImage
> implementations depend on GpuMemoryBuffer API.
>
> BUG=
> CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
>
> Committed: https://crrev.com/f9d17986fef45ad30ef4e6e468a7a56a90851508
> Cr-Commit-Position: refs/heads/master@{#352720}

TBR=dcastagna@chromium.org,glider@chromium.org,piman@chromium.org,sky@chromium.org,reveman@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#352743}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d47c24259da7aa49d2c26a6c3aa5b813a9aa53ac
2015-10-07 01:50:48 +00:00
reveman 8b78b974d8 ui: Add GLImage unit test framework.
This makes it possible to test GLImage implementations without
requiring multi-process GpuMemoryBuffer support.

This initial version is limited to testing CopyTexSubImage with
the default buffer format but testing of more functionality and
formats will be added in follow up patches.

Also inlcudes some minor cleanup needed to not have GLImage
implementations depend on GpuMemoryBuffer API.

BUG=
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

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

Cr-Original-Commit-Position: refs/heads/master@{#352720}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f9d17986fef45ad30ef4e6e468a7a56a90851508
2015-10-07 00:11:52 +00:00
glider 6903463860 Suppress the race in MojoCreateMessagePipe() (issue 539315)
BUG=539315
TBR=thestig@chromium.org
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#352322}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c511263253e1e84a07339f19e18cd1cefd4d70a6
2015-10-05 12:53:02 +00:00
loyso a179da403f RenderViewTests: Unsuppress even more LSAN leaks since we fixed the GC.
Let's gather the benefits of this fix:
https://codereview.chromium.org/1363523002/

BUG=506433
BUG=328552
BUG=484760
BUG=356785
BUG=431213
BUG=416665

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

Cr-Original-Commit-Position: refs/heads/master@{#350335}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7d4047d17d21b2fda3ae15a7aa1e3a9c0d06f533
2015-09-23 18:16:38 +00:00
loyso 5b2c41b7fd RenderViewTests: Implement proper shutdown.
Interleave gc cycles with message loop pumping.
Sequentially calling GC didn't work so we had memory leaks.

Depends on blink part: https://codereview.chromium.org/1360723003/

BUG=506433
BUG=46571
BUG=484760

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

Cr-Original-Commit-Position: refs/heads/master@{#350298}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9540f3e597d917dc3c33eaf7e61f5a9feb50fc1e
2015-09-23 04:30:42 +00:00
johannkoenig 01805f8cde Copy libvpx from DEPS to src
Leaves the previous version in place but updates BUILD.gn and libvpx.gn to point to the new version. This allows decoupling the WebRTC update which is also in DEPS.

libvpx DEPS changes ac1772e:0d6551
https://codereview.chromium.org/1339033002
https://chromium-review.googlesource.com/299759
https://codereview.chromium.org/1350853003
https://codereview.chromium.org/1353433003

Copy directory to libvpx_new to avoid breaking bisecting. This allows the user to move between and older and newer revision. A followup to rename libvpx_new to libvpx will come in some ~months because there are additional complications if one tries to sync directly from pre-move to post-rename or the other way around.

Remove WATCHLISTS and codereview.settings from _new and use the parent versions.

Add DEPS file to enumerate the #include paths.

Check out third_party/libvpx_new/source/libvpx directly from upstream project

Update all the easy clients of libvpx to depend on the new tree directly.

ac1772e3db

BUG=481034
R=tomfinegan@chromium.org,brettw@chromium.org,phajdan.jr@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#349789}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5238138a422157576799266228c0c9ee174936ae
2015-09-18 22:35:55 +00:00
eugenis 1a203dacb5 Re-enable memcmp interceptor for TSan.
But make it not strict. This is roughly the same behavior as we had
before the clang roll and the workaround in crbug.com/523384.

BUG=523384

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

Cr-Original-Commit-Position: refs/heads/master@{#345991}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5ae1e02429f0aa082ec2e2b524c38031087c47bc
2015-08-27 21:19:02 +00:00
eugenis e1be6e4994 Disable memcmp interceptor in ThreadSanitizer.
The same was done for MSan last week.
This is detecting real bugs that we don't have time to fix.

BUG=523384,523428
TBR=hans@chromium.org
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#345126}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 778714327250971065e6b5687057925e75518d44
2015-08-24 18:26:14 +00:00
eugenis acc2c9c949 Add default MSan options.
Disable memcmp() interceptor pending cleanup.
Strip generated source path from reports (the same as other sanitizers).

BUG=523384,523428
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#344855}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8281c52db39e19b1e6678f31e70991512c9a4acc
2015-08-21 20:50:26 +00:00
eugenis 1dc3a50aa5 Add myself to build/sanitizers OWNERS.
BUG=
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#344820}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5868e168053d65e609397f9d641308819dd152a4
2015-08-21 18:28:58 +00:00
jkarlin 64080bbc1a Remove a race around NetworkChangeNotifier::test_notifications_only_
There is a possible race in which
NetworkChangeNotifier::test_notifications_only_ might be read on one
thread while being written on another. This CL fixes that by making
the variable static and only allowing writes to it before the
NetworkChangeNotifier is created (before other things might try to
read it).

BUG=454652

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

Cr-Original-Commit-Position: refs/heads/master@{#341354}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e160f6be485deabcb4725d7e3623ae18ef5aee48
2015-07-31 17:04:40 +00:00
davidben e22e6943b9 Add missing EnsureOpenSSLInit to QuicStreamFactory.
BUG=512783

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

Cr-Original-Commit-Position: refs/heads/master@{#339937}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 78406baf2210d015caa04c59918e77142a487193
2015-07-22 19:38:07 +00:00
glider 0b199dfe6a Suppress the race on OPENSSL_ia32cap_P[] (issue 512783)
BUG=512783
TBR=davidben@chromium.org
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#339870}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 840aa95514d1226e6ffd2c44e609eadd59d65ddc
2015-07-22 14:08:24 +00:00
amistry e328290ee1 Remove TSan suppression for ThreadData::InitializeThreadContext.
The race should be fixed by https://codereview.chromium.org/1222123002/

BUG=268941

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

Cr-Original-Commit-Position: refs/heads/master@{#339230}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 220fa24bbd46937cddf5bfa79eb6e1ba35b9a6b8
2015-07-17 08:41:31 +00:00
amistry 98857d34c1 Fix a race in ThreadLocalStorage::StaticSlot::initialized which triggers a TSAN error.
Also fix a data race with ThreadData::status_. TSan doesn't see this race explicitly, but it contributes to a race with the use of StaticSlot in ThreadData::tls_index_.

BUG=268941
TESTED=Ran base_unittests.
TSAN errors before: lots, oodles, slathers, acres
After: Zip, zilch, nadda

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

Cr-Original-Commit-Position: refs/heads/master@{#339219}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 42d16882080508876676ef164c1f7a863ca1fbf3
2015-07-17 03:58:33 +00:00
eugenis 6934285c12 Change TSan suppressions to work around a symbolization bug in the tool.
BUG=268941,455665
TBR=jyasskin@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#339078}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 77cd6e8fdbbb41ace6624c901d6b8bfc0351a724
2015-07-16 18:24:08 +00:00
peria 2f473a076b Add a leak sanitizer suppression for blink::ResourceFetcher::garbageCollectDocumentResources
In content_browsertests, LSAN reports the leak happens in
ResourceFetcher, but its (persistent|ref) pointer is held
by a live instance of Document or DocumentLoader at the
end of the tests.

BUG=506433

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

Cr-Original-Commit-Position: refs/heads/master@{#337371}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2af3041652d3a473995babb42e0d71778427dfdf
2015-07-06 08:34:08 +00:00
grunell 5976fc23ef Remove tsan suppressions for RemoteNtpTimeEstimator in WebRtcBrowserTest.
Bug fix in https://webrtc-codereview.appspot.com/24379004.

BUG=389098

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

Cr-Original-Commit-Position: refs/heads/master@{#335015}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 55a307ec846f48b23efcf58ec889274d5a289fae
2015-06-18 12:24:53 +00:00