Back to build
Raw log | Switch to full mode | Login

Set PYTHONPATH: /b/s/w/ir/kitchen-checkout/build/scripts:/b/s/w/ir/kitchen-checkout/build/site_config:/b/s/w/ir/kitchen-checkout/build/third_party:/b/s/w/ir/kitchen-checkout/build/third_party/buildbot_8_4p1:/b/s/w/ir/kitchen-checkout/build/third_party/buildbot_slave_8_4:/b/s/w/ir/kitchen-checkout/build/third_party/coverage-3.7.1:/b/s/w/ir/kitchen-checkout/build/third_party/decorator_3_3_1:/b/s/w/ir/kitchen-checkout/build/third_party/google_api_python_client:/b/s/w/ir/kitchen-checkout/build/third_party/httplib2/python2:/b/s/w/ir/kitchen-checkout/build/third_party/infra_libs:/b/s/w/ir/kitchen-checkout/build/third_party/jinja2:/b/s/w/ir/kitchen-checkout/build/third_party/markupsafe:/b/s/w/ir/kitchen-checkout/build/third_party/oauth2client:/b/s/w/ir/kitchen-checkout/build/third_party/pyasn1:/b/s/w/ir/kitchen-checkout/build/third_party/pyasn1-modules:/b/s/w/ir/kitchen-checkout/build/third_party/python-rsa:/b/s/w/ir/kitchen-checkout/build/third_party/requests_2_10_0:/b/s/w/ir/kitchen-checkout/build/third_party/setuptools-0.6c11:/b/s/w/ir/kitchen-checkout/build/third_party/sqlalchemy_0_7_1:/b/s/w/ir/kitchen-checkout/build/third_party/sqlalchemy_migrate_0_7_1:/b/s/w/ir/kitchen-checkout/build/third_party/tempita_0_5:/b/s/w/ir/kitchen-checkout/build/third_party/twisted_10_2:/b/s/w/ir/kitchen-checkout/build/third_party/uritemplate:/b/s/w/ir/kitchen-checkout/build/third_party/site-packages 2019-05-25 07:55:33,922 - root: [DEBUG] Using task_output_dir: '/b/s/w/ir/tmp/t/tmpgQx9E0' 2019-05-25 07:55:33,922 - root: [WARNING] task_output_dir '/b/s/w/ir/tmp/t/tmpgQx9E0' already exists! 2019-05-25 07:55:33,922 - root: [WARNING] task_output_dir existing content: [] 2019-05-25 07:55:33,922 - root: [INFO] collect_cmd: swarming collect -server https://chromium-swarm.appspot.com -worker 50 -task-summary-python -task-output-stdout all -verbose -requests-json /b/s/w/ir/tmp/t/tmpPKYlgr.json -output-dir /b/s/w/ir/tmp/t/tmpgQx9E0 -task-summary-json /b/s/w/ir/tmp/t/tmpNQuHs2.json [D2019-05-25T07:55:33.932605-07:00 20857 0 auth.go:1265] Minting a new token {"key":"luci_ctx/0fa5eb2710f3d1fef7236efd10cdc0eac97479632df12382dbe755b644c25ea1", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-05-25T07:55:33.932694-07:00 20857 0 luci_ctx.go:138] POST http://127.0.0.1:39955/rpc/LuciLocalAuthService.GetOAuthToken {"key":"luci_ctx/0fa5eb2710f3d1fef7236efd10cdc0eac97479632df12382dbe755b644c25ea1", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-05-25T07:55:33.935337-07:00 20857 0 auth.go:1222] Token expires in 42m23.064702825s {"key":"luci_ctx/0fa5eb2710f3d1fef7236efd10cdc0eac97479632df12382dbe755b644c25ea1", "scopes":"https://www.googleapis.com/auth/userinfo.email"} 45084d0a4c819510: exit 0 /b/s/swarming_bot.1.zip/third_party/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown. Additional test environment: CHROME_DEVEL_SANDBOX=/opt/chromium/chrome_sandbox CHROME_HEADLESS=1 G_SLICE=always-malloc LANG=en_US.UTF-8 NSS_DISABLE_ARENA_FREE_LIST=1 NSS_DISABLE_UNLOAD=1 TSAN_OPTIONS=symbolize=1 external_symbolizer_path=/b/s/w/ir/third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer handle_abort=1 Command: ./cc_unittests --test-launcher-bot-mode --cfi-diag=0 --test-launcher-summary-output=/b/s/w/iowPqKWt/output.json --test-launcher-print-test-stdio=always --no-sandbox Openbox-Message: Unable to find a valid menu file "/var/lib/openbox/debian-menu.xml" IMPORTANT DEBUGGING NOTE: batches of tests are run inside their own process. For debugging a test inside a debugger, use the --gtest_filter=<your_test_name> flag along with --single-process-tests. Using sharding settings from environment. This is shard 0/1 Using 8 parallel jobs. [1/4724] DelayedUniqueNotifierTest.ZeroDelay (0 ms) [2/4724] DelayedUniqueNotifierTest.SmallDelay (0 ms) [3/4724] DelayedUniqueNotifierTest.RescheduleDelay (1 ms) [4/4724] DelayedUniqueNotifierTest.CancelAndHasPendingNotification (0 ms) [5/4724] DelayedUniqueNotifierTest.ShutdownWithScheduledTask (0 ms) [6/4724] DelayedUniqueNotifierTest.ShutdownPreventsSchedule (0 ms) [7/4724] FloatQuadTest.IsRectilinearTest (1 ms) [8/4724] ScopedUMAHistogramAreaTimerBaseTest.CommonCase (0 ms) [9/4724] ScopedUMAHistogramAreaTimerBaseTest.ZeroArea (0 ms) [10/4724] ScopedUMAHistogramAreaTimerBaseTest.ZeroTime (0 ms) [11/4724] ListContainerTest.SimpleConstIteratorIterationNonDerivedElement (0 ms) [12/4724] ListContainerTest.SimpleReverseInsertionNonDerivedElement (0 ms) [13/4724] ListContainerTest.SimpleDeletion (0 ms) [14/4724] ListContainerTest.DeletionAllInAllocation (0 ms) [15/4724] ListContainerTest.DeletionAllInAllocationReversed (0 ms) [16/4724] ListContainerTest.DeletionWhileIterating (0 ms) [17/4724] ListContainerTest.InsertBeforeBegin (0 ms) [18/4724] ListContainerTest.InsertBeforeEnd (0 ms) [19/4724] ListContainerTest.InsertBeforeEmpty (0 ms) [20/4724] ListContainerTest.InsertBeforeMany (0 ms) [21/4724] MathUtilTest.MapEnclosedRectWith2dAxisAlignedTransform (0 ms) [22/4724] MathUtilTest.MapEnclosingRectWithLargeTransforms (1 ms) [23/4724] MathUtilTest.ProjectEnclosingRectWithLargeTransforms (0 ms) [24/4724] MathUtilTest.RoundUp (0 ms) [25/4724] MathUtilTest.RoundUpOverflow (0 ms) [26/4724] MathUtilTest.RoundDown (0 ms) [27/4724] MathUtilTest.RoundDownUnderflow (1 ms) [28/4724] MathUtilTest.Approximate (0 ms) [29/4724] MathUtilTest.ApproximatePointF (0 ms) [30/4724] MathUtilTest.ApproximatePoint3F (0 ms) [31/4724] ListContainerTest.ClearDoesNotMalloc (0 ms) [32/4724] ListContainerTest.ReplaceExistingElement (0 ms) [33/4724] ListContainerTest.DestructorCalledOnceWhenErase (0 ms) [34/4724] ListContainerTest.SimpleIndexAccessNonDerivedElement (0 ms) [35/4724] ListContainerTest.SimpleInsertionNonDerivedElement (1 ms) [36/4724] ListContainerTest.SimpleInsertionAndClearNonDerivedElement (0 ms) [37/4724] ListContainerTest.SimpleInsertionClearAndInsertAgainNonDerivedElement (0 ms) [38/4724] ListContainerTest.SimpleInsertionTriggerMoreThanOneAllocationNonDerivedElement (0 ms) [39/4724] ListContainerTest.CorrectAllocationSizeForMoreThanOneAllocationNonDerivedElement (0 ms) [40/4724] ListContainerTest.SimpleIterationNonDerivedElement (1 ms) [41/4724] ScopedUMAHistogramAreaTimerBaseTest.ZeroTimeAndArea (1 ms) [42/4724] ScopedUMAHistogramAreaTimerBaseTest.VeryLargeTime (0 ms) [43/4724] ScopedUMAHistogramAreaTimerBaseTest.VeryLargeArea (0 ms) [44/4724] IndexRectTest.NumIndices (0 ms) [45/4724] IndexRectTest.ClampTo (0 ms) [46/4724] IndexRectTest.Contains (0 ms) [47/4724] IndexRectTest.Equals (1 ms) [48/4724] ListContainerTest.ConstructorCalledInAllocateAndConstruct (0 ms) [49/4724] ListContainerTest.DestructorCalled (0 ms) [50/4724] ListContainerTest.DestructorCalledOnceWhenClear (1 ms) [51/4724] ListContainerTest.GetCapacityInBytes (1 ms) [52/4724] MathUtilTest.ProjectionOfPerpendicularPlane (1 ms) [53/4724] MathUtilTest.ProjectionOfAlmostPerpendicularPlane (0 ms) [54/4724] MathUtilTest.EnclosingClippedRectHandlesInfinityY (0 ms) [55/4724] MathUtilTest.EnclosingClippedRectHandlesNegativeInfinityX (1 ms) [56/4724] MathUtilTest.EnclosingClippedRectHandlesInfinityXY (0 ms) [57/4724] MathUtilTest.EnclosingClippedRectUsesCorrectInitialBounds (0 ms) [58/4724] MathUtilTest.EnclosingRectOfVerticesUsesCorrectInitialBounds (0 ms) [59/4724] MathUtilTest.SmallestAngleBetweenVectors (0 ms) [60/4724] MathUtilTest.VectorProjection (0 ms) [61/4724] MathUtilTest.MapClippedQuadDuplicateTriangle (0 ms) [62/4724] MathUtilTest.MapClippedQuadDuplicateTriangleWrapped (0 ms) [63/4724] MathUtilTest.MapClippedQuadDuplicateQuad (1 ms) [64/4724] RegionTest.ContainsPoint (0 ms) [65/4724] RegionTest.EmptySpan (0 ms) [66/4724] RegionTest.IntersectsRegion (0 ms) [67/4724] RegionTest.ReadPastFullSpanVectorInIntersectsTest (0 ms) [68/4724] RegionTest.ContainsRegion (1 ms) [69/4724] RegionTest.Union (0 ms) [70/4724] RegionTest.IsEmpty (0 ms) [71/4724] ListContainerTest.InsertAfterBegin (0 ms) [72/4724] ListContainerTest.InsertAfterEnd (1 ms) [73/4724] ListContainerTest.InsertAfterEmpty (0 ms) [74/4724] ListContainerTest.InsertAfterMany (0 ms) [75/4724] ListContainerTest.SimpleManipulationWithIndexSimpleDerivedElement (1 ms) [76/4724] ListContainerTest.SimpleManipulationWithIndexMoreThanOneAllocationSimpleDerivedElement (0 ms) [77/4724] ListContainerTest.SimpleIterationAndReverseIterationWithIndexNonDerivedElement (0 ms) [78/4724] ListContainerTest.RemoveLastDestruction (0 ms) [79/4724] ListContainerTest.RemoveLastIteration (0 ms) [80/4724] ListContainerTest.Swap (1 ms) [81/4724] RTreeTest.GetBoundsNonOverlapping (0 ms) [82/4724] RTreeTest.GetBoundsOverlapping (0 ms) [83/4724] RTreeTest.GetBoundsWithEmptyRect (0 ms) [84/4724] RTreeTest.BuildAfterReset (0 ms) [85/4724] RTreeTest.Payload (0 ms) [86/4724] SimpleEnclosedRegionTest.Create (0 ms) [87/4724] SimpleEnclosedRegionTest.Assign (0 ms) [88/4724] SimpleEnclosedRegionTest.Clear (1 ms) [89/4724] SimpleEnclosedRegionTest.GetRegionComplexity (0 ms) [90/4724] SimpleEnclosedRegionTest.Contains (0 ms) [91/4724] SpiralIteratorTest.EdgeCases (0 ms) [92/4724] TilingDataTest.NumTiles_NoTiling (0 ms) [93/4724] TilingDataTest.NumTiles_TilingNoBorders (0 ms) [94/4724] TilingDataTest.NumTiles_TilingWithBorders (0 ms) [95/4724] TilingDataTest.TileXIndexFromSrcCoord (0 ms) [96/4724] TilingDataTest.FirstBorderTileXIndexFromSrcCoord (0 ms) [97/4724] TilingDataTest.LastBorderTileXIndexFromSrcCoord (0 ms) [98/4724] TilingDataTest.TileYIndexFromSrcCoord (0 ms) [99/4724] TilingDataTest.FirstBorderTileYIndexFromSrcCoord (0 ms) [100/4724] TilingDataTest.LastBorderTileYIndexFromSrcCoord (0 ms) [101/4724] SimpleEnclosedRegionTest.Intersects (0 ms) [102/4724] SimpleEnclosedRegionTest.Equals (0 ms) [103/4724] SimpleEnclosedRegionTest.Bounds (0 ms) [104/4724] SimpleEnclosedRegionTest.GetRect (0 ms) [105/4724] SimpleEnclosedRegionTest.Union (0 ms) [106/4724] SimpleEnclosedRegionTest.Subtract (0 ms) [107/4724] SpiralIteratorTest.NoIgnoreFullConsider (0 ms) [108/4724] SpiralIteratorTest.SmallConsider (0 ms) [109/4724] SpiralIteratorTest.HasIgnore (0 ms) [110/4724] SpiralIteratorTest.RectangleCenter (1 ms) [111/4724] TilingDataTest.DifferenceIteratorIgnoreGeometry (0 ms) [112/4724] TilingDataTest.DifferenceIteratorManyBorderTexels (0 ms) [113/4724] TilingDataTest.DifferenceIteratorOneTile (0 ms) [114/4724] TilingDataTest.DifferenceIteratorNoTiles (0 ms) [115/4724] UniqueNotifierTest.Schedule (0 ms) [116/4724] MicroBenchmarkControllerTest.ScheduleFail (10 ms) [117/4724] MicroBenchmarkControllerTest.CommitScheduled (19 ms) [118/4724] MicroBenchmarkControllerTest.BenchmarkRan (22 ms) [119/4724] MicroBenchmarkControllerTest.MultipleBenchmarkRan (10 ms) [120/4724] MicroBenchmarkControllerTest.BenchmarkImplRan (18 ms) [121/4724] TilingDataTest.TileSizeX (1 ms) [122/4724] TilingDataTest.TileSizeY (0 ms) [123/4724] TilingDataTest.TileSizeX_and_TilePositionX (0 ms) [124/4724] TilingDataTest.TileSizeY_and_TilePositionY (0 ms) [125/4724] TilingDataTest.SetTotalSize (0 ms) [126/4724] TilingDataTest.SetMaxTextureSizeNoBorders (1 ms) [127/4724] TilingDataTest.SetMaxTextureSizeBorders (0 ms) [128/4724] TilingDataTest.ExpandRectIgnoringBordersToTileBoundsEmpty (0 ms) [129/4724] TilingDataTest.ExpandRectIgnoringBordersToTileBounds (0 ms) [130/4724] TilingDataTest.ExpandRectToTileBounds (0 ms) [131/4724] RegionTest.Clear (0 ms) [132/4724] RegionSwap.Swap (0 ms) [133/4724] RollingTimeDeltaHistoryTest.EmptyHistory (0 ms) [134/4724] RollingTimeDeltaHistoryTest.SizeOneHistory (0 ms) [135/4724] RollingTimeDeltaHistoryTest.LargeHistory (1 ms) [136/4724] RTreeTest.ReserveNodesDoesntDcheck (203 ms) [137/4724] RTreeTest.NoOverlap (3 ms) [138/4724] RTreeTest.Overlap (3 ms) [139/4724] RTreeTest.SortedResults (307 ms) [140/4724] RTreeTest.GetBoundsEmpty (0 ms) [141/4724] BrowserControlsOffsetManagerTest.HideAndPeekBottomControls (3 ms) [142/4724] BrowserControlsOffsetManagerTest.HideAndImmediateShowKeepsControlsVisible (1 ms) [143/4724] MainThreadScrollingReasonTest.AsText (0 ms) [144/4724] ScrollSnapDataTest.StartAlignmentCalculation (0 ms) [145/4724] ScrollSnapDataTest.CenterAlignmentCalculation (0 ms) [146/4724] ScrollSnapDataTest.EndAlignmentCalculation (0 ms) [147/4724] ScrollSnapDataTest.UnreachableSnapPositionCalculation (0 ms) [148/4724] ScrollSnapDataTest.FindsClosestSnapPositionIndependently (0 ms) [149/4724] ScrollSnapDataTest.FindsClosestSnapPositionOnAxisValueBoth (0 ms) [150/4724] ScrollSnapDataTest.DoesNotSnapOnNonScrolledAxis (0 ms) [151/4724] MicroBenchmarkControllerTest.SendMessage (5 ms) [152/4724] RenderingStatsTest.TimeDeltaListEmpty (0 ms) [153/4724] RenderingStatsTest.TimeDeltaListNonEmpty (1 ms) [154/4724] RenderingStatsTest.TimeDeltaListAdd (0 ms) [155/4724] BrowserControlsOffsetManagerTest.EnsureScrollThresholdApplied (4 ms) [156/4724] BrowserControlsOffsetManagerTest.PartialShownHideAnimation (2 ms) [157/4724] BrowserControlsOffsetManagerTest.BottomControlsPartialShownHideAnimation (2 ms) [158/4724] BrowserControlsOffsetManagerTest.PartialShownShowAnimation (2 ms) [159/4724] BrowserControlsOffsetManagerTest.BottomControlsPartialShownShowAnimation (2 ms) [160/4724] BrowserControlsOffsetManagerTest.PartialHiddenWithAmbiguousThresholdShows (3 ms) [161/4724] TilingDataTest.Assignment (0 ms) [162/4724] TilingDataTest.SetBorderTexels (0 ms) [163/4724] TilingDataTest.LargeBorders (0 ms) [164/4724] TilingDataTest.IteratorNoBorderTexels (0 ms) [165/4724] TilingDataTest.BordersIteratorOneBorderTexel (0 ms) [166/4724] TilingDataTest.NoBordersIteratorOneBorderTexel (0 ms) [167/4724] TilingDataTest.BordersIteratorManyBorderTexels (1 ms) [168/4724] TilingDataTest.NoBordersIteratorManyBorderTexels (0 ms) [169/4724] TilingDataTest.IteratorOneTile (0 ms) [170/4724] TilingDataTest.IteratorNoTiles (0 ms) [171/4724] ScrollSnapDataTest.DoesNotSnapOnNonVisibleAreas (0 ms) [172/4724] ScrollSnapDataTest.SnapOnClosestAxisFirstIfVisibilityConflicts (0 ms) [173/4724] ScrollSnapDataTest.DoesNotSnapToPositionsOutsideProximityRange (0 ms) [174/4724] ScrollSnapDataTest.MandatoryReturnsToCurrentIfNoValidAreaForward (0 ms) [175/4724] ScrollSnapDataTest.MandatorySnapsBackwardIfNoValidAreaForward (0 ms) [176/4724] ScrollSnapDataTest.ShouldNotPassScrollSnapStopAlwaysElement (0 ms) [177/4724] ScrollSnapDataTest.SnapStopAlwaysOverridesCoveringSnapArea (0 ms) [178/4724] ScrollSnapDataTest.SnapStopAlwaysInReverseDirection (0 ms) [179/4724] ScrollSnapDataTest.SnapStopAlwaysNotInterferingWithDirectionStrategy (0 ms) [180/4724] ScrollStateTest.ConsumeDeltaNative (0 ms) [181/4724] BrowserControlsOffsetManagerTest.PartialHiddenWithAmbiguousThresholdHides (4 ms) [182/4724] BrowserControlsOffsetManagerTest.PartialShownWithAmbiguousThresholdHides (10 ms) [183/4724] BrowserControlsOffsetManagerTest.PartialShownWithAmbiguousThresholdShows (14 ms) [184/4724] BrowserControlsOffsetManagerTest.PinchIgnoresScroll (23 ms) [185/4724] BrowserControlsOffsetManagerTest.PinchBeginStartsAnimationIfNecessary (15 ms) [186/4724] BrowserControlsOffsetManagerTest.HeightChangeMaintainsFullyVisibleControls (26 ms) [187/4724] BrowserControlsOffsetManagerTest.ShrinkingHeightKeepsBrowserControlsHidden (8 ms) [188/4724] BrowserControlsOffsetManagerTest.ScrollByWithZeroHeightControlsIsNoop (3 ms) [189/4724] BrowserControlsOffsetManagerTest.ScrollThenRestoreBottomControls (6 ms) [190/4724] BrowserControlsOffsetManagerTest.ScrollThenRestoreBottomControlsNoTopControls (2 ms) [191/4724] ScrollStateTest.CurrentNativeScrollingScrollable (3 ms) [192/4724] ScrollStateTest.FullyConsumed (0 ms) [193/4724] ScrollbarAnimationControllerAuraOverlayTest.Idle (2 ms) [194/4724] ScrollbarAnimationControllerAuraOverlayTest.AppearOnResize (2 ms) [195/4724] ScrollbarAnimationControllerAuraOverlayTest.HideOnResize (3 ms) [196/4724] ScrollbarAnimationControllerAuraOverlayTest.BasicAppearAndFadeOut (2 ms) [197/4724] ScrollbarAnimationControllerAuraOverlayTest.BasicAppearByWillUpdateScrollThenFadeOut (2 ms) [198/4724] ScrollbarAnimationControllerAuraOverlayTest.MoveNearTrackThenNearThumb (2 ms) [199/4724] ScrollbarAnimationControllerAuraOverlayTest.MoveNearAndDontFadeOut (2 ms) [200/4724] ScrollbarAnimationControllerAuraOverlayTest.MoveOverAndDontFadeOut (4 ms) [201/4724] ScrollbarAnimationControllerAuraOverlayTest.NotifyChangedVisibility (26 ms) [202/4724] ScrollbarAnimationControllerAuraOverlayTest.MouseNearEach (14 ms) [203/4724] ScrollbarAnimationControllerAuraOverlayTest.MouseNearBoth (17 ms) [204/4724] ScrollbarAnimationControllerAuraOverlayTest.MouseNearOtherBeforeAnimationFinished (28 ms) [205/4724] ScrollbarAnimationControllerAuraOverlayTest.MouseLeaveFadeOut (18 ms) [206/4724] ScrollbarAnimationControllerAuraOverlayTest.BasicMouseHoverFadeIn (10 ms) [207/4724] ScrollbarAnimationControllerAuraOverlayTest.MouseHoverScrollbarAndMoveInside (6 ms) [208/4724] ScrollbarAnimationControllerAuraOverlayTest.MouseHoverThenOutShouldCancelFadeIn (9 ms) [209/4724] ScrollbarAnimationControllerAuraOverlayTest.MouseHoverThenLeaveShouldCancelShowThenEnterShouldFadeIn (13 ms) [210/4724] ScrollbarAnimationControllerAuraOverlayTest.MouseHoverThenMouseDownShouldCancelFadeInThenReleaseNearShouldFadeIn (4 ms) [211/4724] ScrollbarAnimationControllerAuraOverlayTest.DontFadeWhileCapturedBeforeThick (12 ms) [212/4724] ScrollbarAnimationControllerAuraOverlayTest.DontFadeWhileCapturedThenAway (20 ms) [213/4724] ScrollbarAnimationControllerAuraOverlayTest.DontFadeWhileCaptured (10 ms) [214/4724] ScrollbarAnimationControllerAuraOverlayTest.FadeAfterReleasedFar (11 ms) [215/4724] ScrollbarAnimationControllerAuraOverlayTest.DontFadeAfterReleasedNear (10 ms) [216/4724] ScrollbarAnimationControllerAuraOverlayTest.MoveNearScrollbarWhileFading (13 ms) [217/4724] ScrollbarAnimationControllerAuraOverlayTest.TestCantCaptureWhenFaded (17 ms) [218/4724] ScrollbarAnimationControllerAuraOverlayTest.ScrollWithMouseNear (10 ms) [219/4724] ScrollbarAnimationControllerAuraOverlayTest.MainThreadScrollQueuesFade (13 ms) [220/4724] ScrollbarAnimationControllerAuraOverlayTest.FadeAnimated (10 ms) [221/4724] ScrollbarAnimationControllerAuraOverlayTest.MouseReleaseFarShouldNotFadeIn (7 ms) [222/4724] ScrollbarAnimationControllerAuraOverlayTest.TickmakrsShowHide (9 ms) [223/4724] ScrollbarAnimationControllerAndroidTest.HiddenInBegin (9 ms) [224/4724] ScrollbarAnimationControllerAndroidTest.HiddenAfterNonScrollingGesture (9 ms) [225/4724] ScrollbarAnimationControllerAndroidTest.WillUpdateScrollNotAppearScrollbar (17 ms) [226/4724] ScrollbarAnimationControllerAndroidTest.HideOnResize (11 ms) [227/4724] ScrollbarAnimationControllerAndroidTest.HideOnUserNonScrollableHorz (16 ms) [228/4724] ScrollbarAnimationControllerAndroidTest.ShowOnUserNonScrollableVert (3 ms) [229/4724] ScrollbarAnimationControllerAndroidTest.AwakenByScrollingGesture (7 ms) [230/4724] ScrollbarAnimationControllerAndroidTest.AwakenByProgrammaticScroll (12 ms) [231/4724] ScrollbarAnimationControllerAndroidTest.AnimationPreservedByNonScrollingGesture (20 ms) [232/4724] ScrollbarAnimationControllerAndroidTest.AnimationOverriddenByScrollingGesture (3 ms) [233/4724] VerticalScrollbarAnimationControllerAndroidTest.HideOnResize (3 ms) [234/4724] VerticalScrollbarAnimationControllerAndroidTest.HideOnUserNonScrollableVert (4 ms) [235/4724] VerticalScrollbarAnimationControllerAndroidTest.ShowOnUserNonScrollableHorz (3 ms) [236/4724] SingleScrollbarAnimationControllerThinningTest.Idle (2 ms) [237/4724] SingleScrollbarAnimationControllerThinningTest.MouseNear (2 ms) [238/4724] SingleScrollbarAnimationControllerThinningTest.MouseOver (2 ms) [239/4724] SingleScrollbarAnimationControllerThinningTest.MouseNearThenAwayWhileAnimating (2 ms) [240/4724] SingleScrollbarAnimationControllerThinningTest.MouseCaptureAndReleaseOutOfBar (2 ms) [241/4724] SingleScrollbarAnimationControllerThinningTest.MouseCaptureAndReleaseOnBar (4 ms) [242/4724] SingleScrollbarAnimationControllerThinningTest.ThicknessAnimated (2 ms) [243/4724] SnapFlingControllerTest.DoesNotFilterGSBWhenIdle (0 ms) [244/4724] SnapFlingControllerTest.FiltersGSUAndGSEDependingOnState (0 ms) [245/4724] SnapFlingControllerTest.CreatesAndAnimatesCurveOnFirstInertialGSU (1 ms) [246/4724] SnapFlingControllerTest.DoesNotHandleNonInertialGSU (1 ms) [247/4724] SnapFlingControllerTest.AnimatesTheCurve (1 ms) [248/4724] SnapFlingControllerTest.FinishesTheCurve (1 ms) [249/4724] SnapFlingControllerTest.GSBNotFilteredAndResetsStateWhenActive (0 ms) [250/4724] SnapFlingCurveTest.CurveInitialization (0 ms) [251/4724] LayerImplScrollTest.ScrollByWithNonZeroOffset (7 ms) [252/4724] LayerImplScrollTest.ApplySentScrollsNoListener (3 ms) [253/4724] LayerImplScrollTest.ScrollUserUnscrollableLayer (4 ms) [254/4724] CommitToPendingTreeLayerImplScrollTest.PushPropertiesToMirrorsCurrentScrollOffset (3 ms) [255/4724] LayerListIteratorTest.VerifyTraversalOrder (4 ms) [256/4724] LayerListIteratorTest.VerifySingleLayer (4 ms) [257/4724] LayerListIteratorTest.VerifyNullFirstLayer (0 ms) [258/4724] LayerListIteratorTest.VerifyTraversalOrderImpl (4 ms) [259/4724] LayerListIteratorTest.VerifySingleLayerImpl (2 ms) [260/4724] LayerListIteratorTest.VerifyNullFirstLayerImpl (0 ms) [261/4724] SnapFlingCurveTest.AdvanceHalfwayThrough (1 ms) [262/4724] SnapFlingCurveTest.AdvanceFullyThrough (0 ms) [263/4724] SnapFlingCurveTest.ReturnsZeroAfterFinished (0 ms) [264/4724] SnapFlingCurveTest.FlingFinishesWithinOnePixel (1 ms) [265/4724] EffectTreeLayerListIteratorTest.TreeWithNoDrawnLayers (11 ms) [266/4724] EffectTreeLayerListIteratorTest.SimpleTree (19 ms) [267/4724] EffectTreeLayerListIteratorTest.ComplexTree (11 ms) [268/4724] EffectTreeLayerListIteratorTest.ComplexTreeMultiSurface (17 ms) [269/4724] HeadsUpDisplayLayerImplTest.ResourcelessSoftwareDrawAfterResourceLoss (13 ms) [270/4724] HeadsUpDisplayLayerImplTest.CPUAndGPURasterCanvas (21 ms) [271/4724] LayerListReverseIteratorTest.VerifyTraversalOrder (11 ms) [272/4724] LayerListReverseIteratorTest.VerifySingleLayer (12 ms) [273/4724] LayerListReverseIteratorTest.VerifyNullFirstLayer (0 ms) [274/4724] LayerListReverseIteratorTest.VerifyTraversalOrderImpl (25 ms) [275/4724] LayerListReverseIteratorTest.VerifySingleLayerImpl (14 ms) [276/4724] LayerListReverseIteratorTest.VerifyNullFirstLayerImpl (0 ms) [277/4724] LayerPositionConstraintTest.ScrollCompensationForFixedPositionLayerWithDirectContainer (6 ms) [278/4724] LayerPositionConstraintTest.ScrollCompensationForFixedPositionLayerWithDistantContainer (26 ms) [279/4724] LayerPositionConstraintTest.ScrollCompensationForFixedPositionLayerWithMultipleScrollDeltas (18 ms) [280/4724] LayerPositionConstraintTest.ScrollCompensationForFixedPositionWithIntermediateSurfaceAndTransforms (15 ms) [281/4724] LayerTest.AddSameChildTwice (7 ms) [282/4724] LayerTest.ReorderChildren (3 ms) [283/4724] LayerTest.InsertChild (12 ms) [284/4724] LayerTest.InsertChildPastEndOfList (3 ms) [285/4724] LayerTest.InsertSameChildTwice (14 ms) [286/4724] LayerTest.ReplaceChildWithNewChild (7 ms) [287/4724] LayerTest.ReplaceChildWithNewChildThatHasOtherParent (4 ms) [288/4724] LayerTest.DeleteRemovedScrollParent (4 ms) [289/4724] LayerTest.DeleteRemovedScrollChild (4 ms) [290/4724] LayerTest.ReplaceChildWithSameChild (6 ms) [291/4724] LayerPositionConstraintTest.ScrollCompensationForFixedPositionLayerWithMultipleIntermediateSurfaces (19 ms) [292/4724] LayerPositionConstraintTest.ScrollCompensationForFixedPositionLayerWithMultipleSurfacesAndTransforms (12 ms) [293/4724] LayerPositionConstraintTest.ScrollCompensationForFixedPositionLayerWithContainerLayerThatHasSurface (11 ms) [294/4724] LayerPositionConstraintTest.ScrollCompensationForFixedPositionLayerThatIsAlsoFixedPositionContainer (14 ms) [295/4724] LayerPositionConstraintTest.ScrollCompensationForFixedWithinFixedWithSameContainer (6 ms) [296/4724] LayerPositionConstraintTest.ScrollCompensationForFixedWithinFixedWithInterveningContainer (5 ms) [297/4724] LayerPositionConstraintTest.ScrollCompensationForOuterViewportBoundsDelta (14 ms) [298/4724] LayerTest.BasicCreateAndDestroy (14 ms) [299/4724] LayerTest.LayerPropertyChangedForSubtree (18 ms) [300/4724] LayerTest.AddAndRemoveChild (8 ms) [301/4724] LayerTest.RemoveAllChildren (11 ms) [302/4724] LayerTest.HasAncestor (8 ms) [303/4724] LayerTest.GetRootLayerAfterTreeManipulations (12 ms) [304/4724] LayerTest.CheckSetNeedsDisplayCausesCorrectBehavior (4 ms) [305/4724] LayerTest.TestSettingMainThreadScrollingReason (13 ms) [306/4724] LayerTest.CheckPropertyChangeCausesCorrectBehavior (10 ms) [307/4724] LayerTest.PushPropertiesAccumulatesUpdateRect (10 ms) [308/4724] LayerTest.PushPropertiesCausesLayerPropertyChangedForTransform (5 ms) [309/4724] LayerTest.PushPropertiesCausesLayerPropertyChangedForRoundCorner (6 ms) [310/4724] LayerTest.PushPropertiesCausesLayerPropertyChangedForOpacity (3 ms) [311/4724] HudWithRootLayerChange.RunSingleThread_DelegatingRenderer (245 ms) [312/4724] HudWithRootLayerChange.RunMultiThread_DelegatingRenderer (98 ms) [313/4724] HeadsUpDisplaySizeWithFPS.RunSingleThread_DelegatingRenderer (56 ms) [314/4724] HeadsUpDisplaySizeWithFPS.RunMultiThread_DelegatingRenderer (74 ms) [315/4724] LayerImplTest.VerifyPendingLayerChangesAreTrackedProperly (2 ms) [316/4724] LayerImplTest.VerifyActiveLayerChangesAreTrackedProperly (3 ms) [317/4724] LayerImplTest.VerifyNeedsUpdateDrawProperties (30 ms) [318/4724] LayerImplTest.SafeOpaqueBackgroundColor (14 ms) [319/4724] LayerImplTest.PerspectiveTransformHasReasonableScale (10 ms) [320/4724] LayerImplScrollTest.ScrollByWithZeroOffset (5 ms) [321/4724] LayerTest.MaskHasParent (4 ms) [322/4724] LayerTest.SafeOpaqueBackgroundColor (8 ms) [323/4724] LayerTest.DrawsContentChangedInSetLayerTreeHost (3 ms) [324/4724] LayerTest.PushUpdatesShouldHitTest (4 ms) [325/4724] LayerTest.DedupesCopyOutputRequestsBySource (6 ms) [326/4724] LayerTest.AnimationSchedulesLayerUpdate (3 ms) [327/4724] LayerTest.ElementIdIsPushed (8 ms) [328/4724] LayerTest.SetLayerTreeHostNotUsingLayerListsManagesElementId (6 ms) [329/4724] LayerTest.SetElementIdNotUsingLayerLists (8 ms) [330/4724] LayerLayerTreeHostTest.EnteringTree (3 ms) [331/4724] LayerLayerTreeHostTest.AddingLayerSubtree (5 ms) [332/4724] LayerLayerTreeHostTest.ChangeHost (3 ms) [333/4724] LayerLayerTreeHostTest.ChangeHostInSubtree (12 ms) [334/4724] LayerLayerTreeHostTest.ReplaceMaskLayer (9 ms) [335/4724] LayerLayerTreeHostTest.DestroyHostWithNonNullRootLayer (3 ms) [336/4724] LayerTestWithLayerLists.LayerTreeHostRegistersScrollingElementId (5 ms) [337/4724] LayerTestWithLayerLists.ChangingScrollableElementIdRegistersElement (4 ms) [338/4724] LayerTestWithLayerLists.ChangingScrollableRegistersElement (4 ms) [339/4724] LayerTestWithLayerLists.SetElementIdUsingLayerLists (2 ms) [340/4724] NinePatchGeneratorTest.SetLayoutReturnsChanged (0 ms) [341/4724] NinePatchGeneratorTest.BasicGenerate (0 ms) [342/4724] NinePatchGeneratorTest.GenerateNonSymmetricAperture (1 ms) [343/4724] NinePatchGeneratorTest.LargerLayerGenerate (0 ms) [344/4724] NinePatchLayerImplTest.VerifyDrawQuads (51 ms) [345/4724] NinePatchLayerImplTest.VerifyDrawQuadsWithOcclusion (76 ms) [346/4724] NinePatchLayerImplTest.VerifyDrawQuadsWithEmptyPatches (68 ms) [347/4724] NinePatchLayerImplTest.Occlusion (12 ms) [348/4724] NinePatchLayerImplTest.OpaqueRect (28 ms) [349/4724] NinePatchLayerTest.SetLayerProperties (10 ms) [350/4724] PaintedOverlayScrollbarLayerTest.PaintTickmarks (16 ms) [351/4724] PictureLayerImplTest.SolidColorLayerHasVisibleFullCoverage (35 ms) [352/4724] PictureLayerImplTest.TileScalesWithSolidColorRasterSource (8 ms) [353/4724] PictureLayerImplTest.HighResTileIsComplete (18 ms) [354/4724] PictureLayerImplTest.HighResTileIsIncomplete (9 ms) [355/4724] PictureLayerImplTest.HighResTileIsIncompleteLowResComplete (13 ms) [356/4724] PictureLayerImplTest.LowResTileIsIncomplete (22 ms) [357/4724] PictureLayerImplTest.HighResAndIdealResTileIsCompleteWhenRasterScaleIsNotIdeal (21 ms) [358/4724] PictureLayerImplTest.AppendQuadsDataForCheckerboard (13 ms) [359/4724] PictureLayerImplTest.HighResRequiredWhenActiveAllReady (19 ms) [360/4724] PictureLayerImplTest.HighResRequiredWhenMissingHighResFlagOn (9 ms) [361/4724] PictureLayerImplTest.SyncTilingAfterGpuRasterizationToggles (73 ms) [362/4724] PictureLayerImplTest.HighResCreatedWhenBoundsShrink (14 ms) [363/4724] PictureLayerImplTest.LowResTilingWithoutGpuRasterization (7 ms) [364/4724] PictureLayerImplTest.NoTilingIfDoesNotDrawContent (6 ms) [365/4724] PictureLayerImplTest.FirstTilingDuringPinch (6 ms) [366/4724] PictureLayerImplTest.PinchingTooSmall (4 ms) [367/4724] PictureLayerImplTest.PinchingTooSmallWithContentsScale (5 ms) [368/4724] PictureLayerImplTest.ConsiderAnimationStartScaleForRasterScale (4 ms) [369/4724] PictureLayerImplTest.HighResTilingDuringAnimation (5 ms) [370/4724] PictureLayerImplTest.HighResTilingDuringAnimationAspectRatio (5 ms) [371/4724] PaintedScrollbarLayerImplTest.Occlusion (23 ms) [372/4724] PaintedScrollbarLayerTest.NeedsPaint (25 ms) [373/4724] PictureImageLayerTest.PaintContentsToDisplayList (27 ms) [374/4724] PictureLayerImplTest.CloneNoInvalidation (22 ms) [375/4724] PictureLayerImplTest.ExternalViewportRectForPrioritizingTiles (26 ms) [376/4724] PictureLayerImplTest.ViewportRectForTilePriorityIsCached (25 ms) [377/4724] PictureLayerImplTest.ClonePartialInvalidation (31 ms) [378/4724] PictureLayerImplTest.CloneFullInvalidation (18 ms) [379/4724] PictureLayerImplTest.UpdateTilesCreatesTilings (62 ms) [380/4724] PictureLayerImplTest.PendingLayerOnlyHasHighResTiling (70 ms) [381/4724] PictureLayerImplTest.AllHighResRequiredEvenIfNotChanged (17 ms) [382/4724] PictureLayerImplTest.DisallowRequiredForActivation (13 ms) [383/4724] PictureLayerImplTest.NothingRequiredIfActiveMissingTiles (8 ms) [384/4724] PictureLayerImplTest.HighResRequiredIfActiveCantHaveTiles (8 ms) [385/4724] PictureLayerImplTest.HighResRequiredWhenActiveHasDifferentBounds (19 ms) [386/4724] PictureLayerImplTest.ActivateUninitializedLayer (14 ms) [387/4724] PictureLayerImplTest.ShareTilesOnNextFrame (19 ms) [388/4724] PictureLayerImplTest.PendingHasNoTilesWithNoInvalidation (5 ms) [389/4724] PictureLayerImplTest.ShareInvalidActiveTreeTiles (13 ms) [390/4724] PictureLayerImplTest.RecreateInvalidPendingTreeTiles (6 ms) [391/4724] PictureLayerImplTest.ScaledMaskLayer (11 ms) [392/4724] PictureLayerImplTest.ReleaseTileResources (33 ms) [393/4724] PictureLayerImplTest.ReleaseResources (14 ms) [394/4724] PictureLayerImplTest.ClampTilesToMaxTileSize (33 ms) [395/4724] PictureLayerImplTest.ClampSingleTileToToMaxTileSize (20 ms) [396/4724] PictureLayerImplTest.DisallowTileDrawQuads (16 ms) [397/4724] PictureLayerImplTest.ResourcelessPartialRecording (12 ms) [398/4724] PictureLayerImplTest.ResourcelessEmptyRecording (22 ms) [399/4724] PictureLayerImplTest.FarScrolledQuadsShifted (34 ms) [400/4724] PictureLayerImplTest.FarScrolledSolidColorQuadsShifted (16 ms) [401/4724] PictureLayerImplTest.HighResTilingDuringAnimationAspectRatioTooLarge (14 ms) [402/4724] PictureLayerImplTest.TilingSetRasterQueue (7 ms) [403/4724] PictureLayerImplTest.TilingSetRasterQueueActiveTree (18 ms) [404/4724] PictureLayerImplTest.TilingSetRasterQueueRequiredNoHighRes (15 ms) [405/4724] PictureLayerImplTest.TilingSetEvictionQueue (6 ms) [406/4724] PictureLayerImplTest.Occlusion (37 ms) [407/4724] PictureLayerImplTest.OcclusionOnSolidColorPictureLayer (7 ms) [408/4724] PictureLayerImplTest.IgnoreOcclusionOnSolidColorMask (8 ms) [409/4724] PictureLayerImplTest.RasterScaleChangeWithoutAnimation (7 ms) [410/4724] PictureLayerImplTest.LowResReadyToDrawNotEnoughToActivate (8 ms) [411/4724] PictureLayerImplTest.HighResReadyToDrawEnoughToActivate (20 ms) [412/4724] PictureLayerImplTest.ActiveHighResReadyNotEnoughToActivate (20 ms) [413/4724] PictureLayerImplTest.SharedQuadStateContainsMaxTilingScale (27 ms) [414/4724] PictureLayerImplTest.PendingOrActiveTwinLayer (23 ms) [415/4724] PictureLayerImplTest.DrawSolidQuads (40 ms) [416/4724] PictureLayerImplTest.DrawNonSolidQuads (43 ms) [417/4724] PictureLayerImplTest.DrawTransparentQuads (49 ms) [418/4724] PictureLayerImplTest.NonSolidToSolidNoTilings (38 ms) [419/4724] PictureLayerImplTest.ChangeInViewportAllowsTilingUpdates (17 ms) [420/4724] PictureLayerImplTest.CloneMissingRecordings (21 ms) [421/4724] PictureLayerImplTest.ScrollPastLiveTilesRectAndBack (9 ms) [422/4724] PictureLayerImplTest.ScrollPropagatesToPending (7 ms) [423/4724] PictureLayerImplTest.UpdateLCDInvalidatesPendingTree (13 ms) [424/4724] PictureLayerImplTest.TilingAllTilesDone (15 ms) [425/4724] PictureLayerImplTest.HighResWasLowResCollision (20 ms) [426/4724] PictureLayerImplTest.CompositedImageCalculateContentsScale (23 ms) [427/4724] PictureLayerImplTest.CompositedImageIgnoreIdealContentsScale (20 ms) [428/4724] PictureLayerImplTest.CompositedImageRasterScaleChanges (14 ms) [429/4724] PictureLayerImplTest.ChangeRasterTranslationNukePendingLayerTiles (18 ms) [430/4724] PictureLayerImplTest.ChangeRasterTranslationNukeActiveLayerTiles (14 ms) [431/4724] PictureLayerImplTest.CreateTilingsEvenIfTwinHasNone (21 ms) [432/4724] PictureLayerImplTest.LowResTilingStaysOnActiveTree (9 ms) [433/4724] PictureLayerImplTest.ZoomOutCrash (833 ms) [434/4724] PictureLayerImplTest.ScaledBoundsOverflowInt (21 ms) [435/4724] PictureLayerImplTest.PinchGestureTilings (22 ms) [436/4724] PictureLayerImplTest.SnappedTilingDuringZoom (24 ms) [437/4724] PictureLayerImplTest.CleanUpTilings (22 ms) [438/4724] PictureLayerImplTest.DontAddLowResDuringAnimation (17 ms) [439/4724] PictureLayerImplTest.DontAddLowResForSmallLayers (26 ms) [440/4724] PictureLayerImplTest.HugeMasksGetScaledDown (15 ms) [441/4724] HalfWidthTileTest.TileSizes (7 ms) [442/4724] PictureLayerTest.NoTilesIfEmptyBounds (6 ms) [443/4724] PictureLayerTest.InvalidateRasterAfterUpdate (3 ms) [444/4724] PictureLayerTest.InvalidateRasterWithoutUpdate (10 ms) [445/4724] PictureLayerTest.ClearVisibleRectWhenNoTiling (6 ms) [446/4724] PictureLayerTest.HasSlowPaths (3 ms) [447/4724] PictureLayerTest.HasNonAAPaint (8 ms) [448/4724] PictureLayerTest.NonMonotonicSourceFrameNumber (6 ms) [449/4724] PictureLayerTest.ChangingHostsWithCollidingFrames (5 ms) [450/4724] PictureLayerTest.RecordingScaleIsCorrectlySet (5 ms) [451/4724] RenderSurfaceTest.VerifySurfaceChangesAreTrackedProperly (5 ms) [452/4724] RenderSurfaceTest.SanityCheckSurfaceCreatesCorrectSharedQuadState (10 ms) [453/4724] RenderSurfaceTest.SanityCheckSurfaceCreatesCorrectRenderPass (8 ms) [454/4724] RenderSurfaceTest.SanityCheckSurfaceDropsOccludedRenderPassDrawQuads (3 ms) [455/4724] RenderSurfaceTest.SanityCheckSurfaceIgnoreMaskLayerOcclusion (7 ms) [456/4724] ScrollbarLayerTest.RepaintOverlayWhenResourceDisposed (3 ms) [457/4724] ScrollbarLayerTest.ScrollElementIdPushedAcrossCommit (3 ms) [458/4724] ScrollbarLayerTest.ScrollOffsetSynchronization (3 ms) [459/4724] ScrollbarLayerTest.UpdatePropertiesOfScrollBarWhenThumbRemoved (3 ms) [460/4724] ScrollbarLayerTest.ThumbRect (4 ms) [461/4724] PictureLayerImplTest.AnimatedImages (25 ms) [462/4724] NoLowResPictureLayerImplTest.MarkRequiredOffscreenTiles (19 ms) [463/4724] NoLowResPictureLayerImplTest.TileOutsideOfViewportForTilePriorityNotRequired (22 ms) [464/4724] NoLowResPictureLayerImplTest.ManageTilingsCreatesTilings (67 ms) [465/4724] NoLowResPictureLayerImplTest.PendingLayerOnlyHasHighResTiling (60 ms) [466/4724] NoLowResPictureLayerImplTest.AllHighResRequiredEvenIfNotChanged (9 ms) [467/4724] NoLowResPictureLayerImplTest.NothingRequiredIfActiveMissingTiles (15 ms) [468/4724] NoLowResPictureLayerImplTest.CleanUpTilings (10 ms) [469/4724] NoLowResPictureLayerImplTest.ReleaseTileResources (12 ms) [470/4724] NoLowResPictureLayerImplTest.LowResWasHighResCollision (59 ms) [471/4724] RecordingSourceTest.DiscardableImagesWithTransform (3 ms) [472/4724] RecordingSourceTest.EmptyImages (0 ms) [473/4724] RecordingSourceTest.NoDiscardableImages (4 ms) [474/4724] RecordingSourceTest.DiscardableImages (1 ms) [475/4724] RecordingSourceTest.DiscardableImagesBaseNonDiscardable (52 ms) [476/4724] RecordingSourceTest.AnalyzeIsSolid (31 ms) [477/4724] RenderSurfaceLayerImplTest.Occlusion (3 ms) [478/4724] RenderSurfaceLayerImplTest.AppendQuadsWithScaledMask (3 ms) [479/4724] RenderSurfaceLayerImplTest.ResourcelessAppendQuadsSkipMask (3 ms) [480/4724] RenderSurfaceLayerImplTest.AppendQuadsWithSolidColorMaskAndDeviceScaleFactor (3 ms) [481/4724] CommitToActiveTreePictureLayerImplTest.NoLowResTilingWithGpuRasterization (15 ms) [482/4724] CommitToActiveTreePictureLayerImplTest.RequiredTilesWithGpuRasterization (30 ms) [483/4724] CommitToActiveTreePictureLayerImplTest.RequiredTilesWithGpuRasterizationAndFractionalDsf (13 ms) [484/4724] PictureLayerImplTestWithDelegatingRenderer.DelegatingRendererWithTileOOM (20 ms) [485/4724] OcclusionTrackingPictureLayerImplTest.OccludedTilesSkippedDuringRasterization (13 ms) [486/4724] OcclusionTrackingPictureLayerImplTest.OccludedTilesNotMarkedAsRequired (14 ms) [487/4724] OcclusionTrackingPictureLayerImplTest.OcclusionForDifferentScales (12 ms) [488/4724] OcclusionTrackingPictureLayerImplTest.DifferentOcclusionOnTrees (18 ms) [489/4724] OcclusionTrackingPictureLayerImplTest.OccludedTilesConsideredDuringEviction (169 ms) [490/4724] TileSizeTest.TileSizes (5 ms) [491/4724] ScrollbarLayerTest.ThumbRectForOverlayLeftSideVerticalScrollbar (20 ms) [492/4724] ScrollbarLayerTest.SolidColorDrawQuads (16 ms) [493/4724] ScrollbarLayerTest.LayerDrivenSolidColorDrawQuads (16 ms) [494/4724] ScrollbarLayerTest.ScrollbarLayerOpacity (16 ms) [495/4724] ScrollbarLayerTest.ScrollbarLayerPushProperties (27 ms) [496/4724] ScrollbarLayerTest.SubPixelCanScrollOrientation (39 ms) [497/4724] ScrollbarLayerTest.LayerChangesAffectingScrollbarGeometries (35 ms) [498/4724] AuraScrollbarLayerTest.ScrollbarLayerCreateAfterSetScrollable (9 ms) [499/4724] ScrollbarLayerSolidColorThumbTest.SolidColorThumbLength (15 ms) [500/4724] ScrollbarLayerSolidColorThumbTest.SolidColorThumbPosition (10 ms) [501/4724] SolidColorLayerImplTest.VerifyEliminateTransparentOpacity (22 ms) [502/4724] SolidColorLayerImplTest.VerifyNeedsBlending (14 ms) [503/4724] SolidColorLayerImplTest.Occlusion (19 ms) [504/4724] SolidColorScrollbarLayerImplTest.Occlusion (8 ms) [505/4724] SurfaceLayerImplTest.Occlusion (4 ms) [506/4724] SurfaceLayerImplTest.SurfaceLayerImplWithTwoDifferentSurfaces (4 ms) [507/4724] SurfaceLayerImplTest.SurfaceLayerImplsWithDeadlines (3 ms) [508/4724] SurfaceLayerImplTest.SurfaceLayerImplWithMatchingPrimaryAndFallback (4 ms) [509/4724] SurfaceLayerImplTest.GetEnclosingRectInTargetSpace (4 ms) [510/4724] SurfaceLayerTest.UseExistingDeadlineForNewSurfaceLayer (3 ms) [511/4724] ScrollbarLayerSolidColorThumbTest.SolidColorThumbVerticalAdjust (16 ms) [512/4724] ScrollbarLayerTestResourceCreationAndRelease.ResourceUpload (22 ms) [513/4724] ScrollbarLayerTestResourceCreationAndRelease.SolidColorNoResourceUpload (7 ms) [514/4724] ScrollbarLayerTestResourceCreationAndRelease.TestResourceUpdate (9 ms) [515/4724] ScaledScrollbarLayerTestResourceCreation.ScaledResourceUpload (197 ms) [516/4724] ScaledScrollbarLayerTestScaledRasterization.TestLostPrecisionInClip (28 ms) [517/4724] SolidColorLayerImplTest.VerifyTilingCompleteAndNoOverlap (13 ms) [518/4724] SolidColorLayerImplTest.VerifyCorrectBackgroundColorInQuad (15 ms) [519/4724] SolidColorLayerImplTest.VerifyCorrectOpacityInQuad (7 ms) [520/4724] SolidColorLayerImplTest.VerifyEliminateTransparentAlpha (4 ms) [521/4724] SurfaceLayerTest.UseInfiniteDeadlineForNewSurfaceLayer (3 ms) [522/4724] SurfaceLayerTest.ResetDeadlineOnInvalidSurfaceId (2 ms) [523/4724] SurfaceLayerTest.PushProperties (2 ms) [524/4724] SurfaceLayerTest.CheckSurfaceReferencesForClonedLayer (3 ms) [525/4724] SurfaceLayerTest.CheckNeedsSurfaceIdsSyncForClonedLayers (3 ms) [526/4724] TextureLayerImplTest.VisibleOpaqueRegion (4 ms) [527/4724] TextureLayerImplTest.Occlusion (4 ms) [528/4724] TextureLayerImplTest.ResourceNotFreedOnGpuRasterToggle (16 ms) [529/4724] TextureLayerTest.CheckPropertyChangeCausesCorrectBehavior (6 ms) [530/4724] TextureLayerTest.ShutdownWithResource (12 ms) [531/4724] TextureLayerWithResourceTest.ReplaceMailboxOnMainThreadBeforeCommit (7 ms) [532/4724] TextureLayerMailboxHolderTest.TwoCompositors_BothReleaseThenMain (8 ms) [533/4724] TextureLayerMailboxHolderTest.TwoCompositors_MainReleaseBetween (19 ms) [534/4724] TextureLayerMailboxHolderTest.TwoCompositors_MainReleasedFirst (10 ms) [535/4724] TextureLayerImplWithMailboxThreadedCallback.RunSingleThread_DelegatingRenderer (45 ms) [536/4724] TextureLayerImplWithMailboxThreadedCallback.RunMultiThread_DelegatingRenderer (52 ms) [537/4724] TextureLayerMailboxIsActivatedDuringCommit.RunSingleThread_DelegatingRenderer (26 ms) [538/4724] TextureLayerMailboxIsActivatedDuringCommit.RunMultiThread_DelegatingRenderer (32 ms) [539/4724] TextureLayerImplWithResourceTest.TestWillDraw (24 ms) [540/4724] TextureLayerImplWithResourceTest.TestImplLayerCallbacks (14 ms) [541/4724] SoftwareTextureLayerRegisterUnregisterTest.RunMultiThread_DelegatingRenderer (43 ms) [542/4724] SoftwareTextureLayerLoseFrameSinkTest.RunSingleThread_DelegatingRenderer (50 ms) [543/4724] SoftwareTextureLayerLoseFrameSinkTest.RunMultiThread_DelegatingRenderer (62 ms) [544/4724] SoftwareTextureLayerUnregisterRegisterTest.RunSingleThread_DelegatingRenderer (31 ms) [545/4724] SoftwareTextureLayerUnregisterRegisterTest.RunMultiThread_DelegatingRenderer (54 ms) [546/4724] TouchActionRegionTest.GetAllowedTouchActionMapOverlapToZero (0 ms) [547/4724] TouchActionRegionTest.GetAllowedTouchActionMapOverlapToNonZero (0 ms) [548/4724] TouchActionRegionTest.GetAllowedTouchActionEmptyMap (0 ms) [549/4724] TouchActionRegionTest.GetAllowedTouchActionSingleMapEntry (1 ms) [550/4724] TouchActionRegionTest.ConstructorFromMap (0 ms) [551/4724] TextureLayerImplWithResourceTest.TestDestructorCallbackOnCreatedResource (6 ms) [552/4724] TextureLayerNoExtraCommitForMailboxTest.RunSingleThread_DelegatingRenderer (25 ms) [553/4724] TextureLayerNoExtraCommitForMailboxTest.RunMultiThread_DelegatingRenderer (39 ms) [554/4724] TextureLayerChangeInvisibleMailboxTest.RunSingleThread_DelegatingRenderer (58 ms) [555/4724] TextureLayerChangeInvisibleMailboxTest.RunMultiThread_DelegatingRenderer (43 ms) [556/4724] TextureLayerReleaseResourcesAfterCommit.RunSingleThread_DelegatingRenderer (16 ms) [557/4724] TextureLayerReleaseResourcesAfterCommit.RunMultiThread_DelegatingRenderer (28 ms) [558/4724] TextureLayerReleaseResourcesAfterActivate.RunSingleThread_DelegatingRenderer (31 ms) [559/4724] TextureLayerReleaseResourcesAfterActivate.RunMultiThread_DelegatingRenderer (52 ms) [560/4724] TextureLayerWithResourceMainThreadDeleted.RunSingleThread_DelegatingRenderer (33 ms) [561/4724] TextureLayerWithResourceMainThreadDeleted.RunMultiThread_DelegatingRenderer (45 ms) [562/4724] TextureLayerWithResourceImplThreadDeleted.RunSingleThread_DelegatingRenderer (20 ms) [563/4724] TextureLayerWithResourceImplThreadDeleted.RunMultiThread_DelegatingRenderer (36 ms) [564/4724] SoftwareTextureLayerSwitchTreesTest.RunSingleThread_DelegatingRenderer (53 ms) [565/4724] SoftwareTextureLayerSwitchTreesTest.RunMultiThread_DelegatingRenderer (68 ms) [566/4724] SoftwareTextureLayerPurgeMemoryTest.RunSingleThread_DelegatingRenderer (33 ms) [567/4724] SoftwareTextureLayerPurgeMemoryTest.RunMultiThread_DelegatingRenderer (59 ms) [568/4724] SoftwareTextureLayerMultipleRegisterTest.RunSingleThread_DelegatingRenderer (43 ms) [569/4724] SoftwareTextureLayerMultipleRegisterTest.RunMultiThread_DelegatingRenderer (36 ms) [570/4724] SoftwareTextureLayerRegisterUnregisterTest.RunSingleThread_DelegatingRenderer (24 ms) [571/4724] UIResourceLayerImplTest.VerifyDrawQuads (5 ms) [572/4724] UIResourceLayerImplTest.VerifySetOpaqueOnSkBitmap (3 ms) [573/4724] UIResourceLayerImplTest.VerifySetOpaqueOnLayer (3 ms) [574/4724] UIResourceLayerImplTest.Occlusion (4 ms) [575/4724] UIResourceLayerTest.SetBitmap (7 ms) [576/4724] UIResourceLayerTest.SetUIResourceId (3 ms) [577/4724] UIResourceLayerTest.BitmapClearedOnSetUIResourceId (5 ms) [578/4724] UIResourceLayerTest.SharedBitmap (4 ms) [579/4724] VideoFrameProviderClientImplTest.StartStopRendering (4 ms) [580/4724] VideoFrameProviderClientImplTest.StopRenderingUpdateDamage (3 ms) [581/4724] VideoFrameProviderClientImplTest.StopUsingProvider (6 ms) [582/4724] VideoFrameProviderClientImplTest.StopUsingProviderUpdateDamage (6 ms) [583/4724] VideoFrameProviderClientImplTest.StopNotUpdateDamage (3 ms) [584/4724] VideoFrameProviderClientImplTest.FrameAcquisition (3 ms) [585/4724] VideoFrameProviderClientImplTest.DidReceiveFrame (3 ms) [586/4724] VideoFrameProviderClientImplTest.DidDrawFrameIssuesPutCurrentFrame (4 ms) [587/4724] VideoLayerImplTest.Occlusion (4 ms) [588/4724] VideoLayerImplTest.OccludesOtherLayers (3 ms) [589/4724] VideoLayerImplTest.DidBecomeActiveShouldSetActiveVideoLayer (3 ms) [590/4724] VideoLayerImplTest.Rotated0 (2 ms) [591/4724] VideoLayerImplTest.Rotated90 (6 ms) [592/4724] VideoLayerImplTest.Rotated180 (3 ms) [593/4724] VideoLayerImplTest.Rotated270 (12 ms) [594/4724] VideoLayerImplTest.SoftwareVideoFrameGeneratesYUVQuad (3 ms) [595/4724] VideoLayerImplTest.HibitSoftwareVideoFrameGeneratesYUVQuad (5 ms) [596/4724] VideoLayerImplTest.NativeYUVFrameGeneratesYUVQuad (5 ms) [597/4724] VideoLayerImplTest.NativeARGBFrameGeneratesTextureQuad (5 ms) [598/4724] ViewportTest.ShouldAnimateViewport (0 ms) [599/4724] AsyncLayerTreeFrameSinkTest.DidLoseLayerTreeFrameSinkCalledOnConnectionError (5 ms) [600/4724] AsyncLayerTreeFrameSinkSimpleTest.HitTestRegionListDuplicate (4 ms) [601/4724] DisplayItemListTest.AsValueWithOps (2 ms) [602/4724] DisplayItemListTest.SizeEmpty (0 ms) [603/4724] DisplayItemListTest.SizeOne (0 ms) [604/4724] DisplayItemListTest.SizeMultiple (1 ms) [605/4724] DisplayItemListTest.AppendVisualRectSimple (0 ms) [606/4724] DisplayItemListTest.AppendVisualRectEmptyBlock (0 ms) [607/4724] DisplayItemListTest.AppendVisualRectEmptyBlockContainingEmptyBlock (1 ms) [608/4724] DisplayItemListTest.AppendVisualRectBlockContainingDrawing (0 ms) [609/4724] DisplayItemListTest.AppendVisualRectBlockContainingEscapedDrawing (0 ms) [610/4724] DisplayItemListTest.AppendVisualRectDrawingFollowedByBlockContainingEscapedDrawing (0 ms) [611/4724] DiscardableImageMapTest.DecodingModeHintsDuplicates (2 ms) [612/4724] DiscardableImageMapTest.TracksImageRegions (2 ms) [613/4724] DisplayItemListTest.TraceEmptyVisualRect (1 ms) [614/4724] DisplayItemListTest.SingleUnpairedRange (2 ms) [615/4724] DisplayItemListTest.EmptyUnpairedRangeDoesNotAddVisualRect (0 ms) [616/4724] DisplayItemListTest.ClipPairedRange (1 ms) [617/4724] DisplayItemListTest.TransformPairedRange (2 ms) [618/4724] DisplayItemListTest.FilterPairedRange (2 ms) [619/4724] DisplayItemListTest.BytesUsed (4 ms) [620/4724] DisplayItemListTest.AsValueWithNoOps (1 ms) [621/4724] DiscardableImageMapTest.GetDiscardableImagesInShader (286 ms) [622/4724] DiscardableImageMapTest.ClipsImageRects (41 ms) [623/4724] DiscardableImageMapTest.GathersDiscardableImagesFromNestedOps (3 ms) [624/4724] DiscardableImageMapTest.GathersAnimatedImages (5 ms) [625/4724] DiscardableImageMapTest.CapturesImagesInPaintRecordShaders (4 ms) [626/4724] DiscardableImageMapTest.CapturesImagesInPaintFilters (4 ms) [627/4724] DiscardableImageMapTest.CapturesImagesInSaveLayers (2 ms) [628/4724] DiscardableImageMapTest.EmbeddedShaderWithAnimatedImages (2 ms) [629/4724] DiscardableImageMapTest.BuildPaintWorkletImage (0 ms) [630/4724] DiscardableImageMapTest.DecodingModeHintsBasic (1 ms) [631/4724] FilterOperationsTest.MapRectReverseDropShadowDoesNotContract (0 ms) [632/4724] FilterOperationsTest.MapRectTypeConversionDoesNotOverflow (0 ms) [633/4724] FilterOperationsTest.SaveAndRestore (1 ms) [634/4724] FilterOperationsTest.BlendGrayscaleFilters (0 ms) [635/4724] FilterOperationsTest.BlendGrayscaleWithNull (0 ms) [636/4724] FilterOperationsTest.BlendSepiaFilters (1 ms) [637/4724] FilterOperationsTest.BlendSepiaWithNull (0 ms) [638/4724] FilterOperationsTest.BlendSaturateFilters (0 ms) [639/4724] FilterOperationsTest.BlendSaturateWithNull (1 ms) [640/4724] FilterOperationsTest.BlendHueRotateFilters (0 ms) [641/4724] DisplayItemListTest.AppendVisualRectTwoBlocksTwoDrawings (0 ms) [642/4724] DisplayItemListTest.AppendVisualRectTwoBlocksTwoDrawingsInnerDrawingEscaped (0 ms) [643/4724] DisplayItemListTest.AppendVisualRectTwoBlocksTwoDrawingsOuterDrawingEscaped (0 ms) [644/4724] DisplayItemListTest.AppendVisualRectTwoBlocksTwoDrawingsBothDrawingsEscaped (1 ms) [645/4724] DisplayItemListTest.VisualRectForPairsEnclosingEmptyPainting (0 ms) [646/4724] DisplayItemListTest.TotalOpCount (0 ms) [647/4724] FilterOperationsTest.MapRectBlur (0 ms) [648/4724] FilterOperationsTest.MapRectBlurOverflow (0 ms) [649/4724] FilterOperationsTest.MapRectReverseBlur (1 ms) [650/4724] FilterOperationsTest.MapRectDropShadowReferenceFilter (0 ms) [651/4724] FilterOperationsTest.BlendHueRotateWithNull (0 ms) [652/4724] FilterOperationsTest.BlendInvertFilters (1 ms) [653/4724] FilterOperationsTest.BlendInvertWithNull (0 ms) [654/4724] FilterOperationsTest.BlendBrightnessFilters (0 ms) [655/4724] FilterOperationsTest.BlendBrightnessWithNull (0 ms) [656/4724] FilterOperationsTest.BlendContrastFilters (0 ms) [657/4724] FilterOperationsTest.BlendContrastWithNull (0 ms) [658/4724] FilterOperationsTest.BlendOpacityFilters (0 ms) [659/4724] FilterOperationsTest.BlendOpacityWithNull (0 ms) [660/4724] FilterOperationsTest.BlendBlurFilters (0 ms) [661/4724] FilterOperationsTest.MapRectReverseDropShadowReferenceFilter (0 ms) [662/4724] FilterOperationsTest.MapRectOffsetReferenceFilter (1 ms) [663/4724] FilterOperationsTest.MapRectReverseOffsetReferenceFilter (0 ms) [664/4724] FilterOperationsTest.MapRectCombineNonCommutative (0 ms) [665/4724] FilterOperationsTest.MapRectReverseCombineNonCommutative (1 ms) [666/4724] FilterOperationsTest.MapRectNullReferenceFilter (0 ms) [667/4724] FilterOperationsTest.MapRectReverseNullReferenceFilter (0 ms) [668/4724] FilterOperationsTest.MapRectDropShadow (0 ms) [669/4724] FilterOperationsTest.MapRectReverseDropShadow (0 ms) [670/4724] FilterOperationsTest.MapRectDropShadowDoesNotContract (0 ms) [671/4724] FilterOperationsTest.BlendBlurWithNull (0 ms) [672/4724] FilterOperationsTest.BlendDropShadowFilters (0 ms) [673/4724] FilterOperationsTest.BlendDropShadowWithNull (0 ms) [674/4724] FilterOperationsTest.BlendZoomFilters (0 ms) [675/4724] FilterOperationsTest.BlendZoomWithNull (0 ms) [676/4724] FilterOperationsTest.BlendSaturatingBrightnessFilters (0 ms) [677/4724] FilterOperationsTest.BlendSaturatingBrightnessWithNull (0 ms) [678/4724] FilterOperationsTest.BlendReferenceFilters (0 ms) [679/4724] FilterOperationsTest.BlendReferenceWithNull (0 ms) [680/4724] FilterOperationsTest.BlendMatchingSequences (1 ms) [681/4724] AsyncLayerTreeFrameSinkSimpleTest.HitTestRegionListDuplicateChangedFlip (5 ms) [682/4724] DiscardableImageMapTest.GetDiscardableImagesInRectTest (317 ms) [683/4724] DiscardableImageMapTest.GetDiscardableImagesInRectNonZeroLayer (358 ms) [684/4724] DiscardableImageMapTest.GetDiscardableImagesInRectOnePixelQuery (319 ms) [685/4724] DiscardableImageMapTest.GetDiscardableImagesInRectMassiveImage (0 ms) [686/4724] DiscardableImageMapTest.PaintDestroyedWhileImageIsDrawn (1 ms) [687/4724] DiscardableImageMapTest.NullPaintOnSaveLayer (0 ms) [688/4724] DiscardableImageMapTest.GetDiscardableImagesInRectMaxImage (0 ms) [689/4724] DiscardableImageMapTest.GetDiscardableImagesInRectMaxImageMaxLayer (1 ms) [690/4724] DiscardableImageMapTest.GetDiscardableImagesRectInBounds (137 ms) [691/4724] PaintOpBufferTest.Empty (0 ms) [692/4724] PaintOpBufferTest.SaveDrawRestore (1 ms) [693/4724] PaintOpBufferTest.SaveDrawRestoreFail_BadFlags (0 ms) [694/4724] PaintOpBufferTest.SaveDrawRestore_BadFlags255Alpha (0 ms) [695/4724] PaintOpBufferTest.SaveDrawRestoreFail_TooManyOps (1 ms) [696/4724] PaintOpBufferTest.SaveDrawRestore_SingleOpNotADrawOp (0 ms) [697/4724] PaintOpBufferTest.SaveDrawRestore_SingleOpRecordWithSingleOp (1 ms) [698/4724] PaintOpBufferTest.SaveDrawRestore_SingleOpRecordWithSingleNonDrawOp (0 ms) [699/4724] PaintOpBufferTest.SaveLayerRestore_DrawColor (0 ms) [700/4724] PaintOpBufferTest.DiscardableImagesTracking_EmptyBuffer (1 ms) [701/4724] PaintOpBufferTest.DiscardableImagesTracking_NoImageOp (0 ms) [702/4724] PaintOpBufferTest.DiscardableImagesTracking_DrawImage (2 ms) [703/4724] PaintOpBufferTest.DiscardableImagesTracking_PaintWorkletImage (0 ms) [704/4724] PaintOpBufferTest.DiscardableImagesTracking_PaintWorkletImageRect (0 ms) [705/4724] PaintOpBufferTest.DiscardableImagesTracking_DrawImageRect (1 ms) [706/4724] PaintOpBufferTest.DiscardableImagesTracking_OpWithFlags (1 ms) [707/4724] PaintOpBufferTest.SlowPaths (1 ms) [708/4724] PaintOpBufferTest.NonAAPaint (2 ms) [709/4724] PaintOpBufferTest.SaveLayerAlphaDrawRestoreWithBadBlendMode (1 ms) [710/4724] PaintOpBufferTest.UnmatchedSaveRestoreNoSideEffects (1 ms) [711/4724] PaintOpBufferTest.ClipsImagesDuringSerialization (19 ms) [712/4724] PaintOpBufferTest.PaintOpDeserialize (0 ms) [713/4724] PaintOpBufferTest.ValidateSkClip (0 ms) [714/4724] PaintOpBufferTest.ValidateSkBlendMode (1 ms) [715/4724] PaintOpBufferTest.ValidateRects (1 ms) [716/4724] PaintOpBufferTest.BoundingRect_DrawImageOp (1 ms) [717/4724] PaintOpBufferTest.BoundingRect_DrawImageRectOp (0 ms) [718/4724] PaintOpBufferTest.BoundingRect_DrawIRectOp (0 ms) [719/4724] PaintOpBufferTest.BoundingRect_DrawOvalOp (1 ms) [720/4724] PaintOpBufferTest.BoundingRect_DrawPathOp (0 ms) [721/4724] PaintOpBufferTest.BoundingRect_DrawRectOp (0 ms) [722/4724] PaintOpBufferTest.BoundingRect_DrawRRectOp (0 ms) [723/4724] PaintOpBufferTest.BoundingRect_DrawLineOp (0 ms) [724/4724] PaintOpBufferTest.BoundingRect_DrawDRRectOp (0 ms) [725/4724] PaintOpBufferTest.BoundingRect_DrawSkottieOp (1 ms) [726/4724] PaintOpBufferTest.BoundingRect_DrawTextBlobOp (17 ms) [727/4724] PaintOpBufferTest.SkipsOpsOutsideClip (1 ms) [728/4724] PaintOpBufferTest.SkipsOpsWithFailedDecodes (1 ms) [729/4724] PaintOpBufferTest.RasterPaintWorkletImageRectBasicCase (2 ms) [730/4724] PaintOpBufferTest.RasterPaintWorkletImageRectTranslated (2 ms) [731/4724] PaintOpBufferTest.RasterPaintWorkletImageRectScaled (3 ms) [732/4724] PaintOpBufferTest.RasterPaintWorkletImageRectClipped (2 ms) [733/4724] PaintOpBufferTest.ReplacesImagesFromProvider (2 ms) [734/4724] PaintOpBufferTest.ReplacesImagesFromProviderOOP (4 ms) [735/4724] PaintOpBufferTest.PaintRecordShaderSerialization (1 ms) [736/4724] PaintOpBufferTest.CustomData (1 ms) [737/4724] PaintOpBufferTest.SecurityConstrainedImageSerialization (1 ms) [738/4724] PaintOpBufferTest.DrawImageRectSerializeScaledImages (1 ms) [739/4724] PaintOpBufferTest.RecordShadersSerializeScaledImages (1 ms) [740/4724] PaintOpBufferTest.RecordShadersCached (1 ms) [741/4724] PaintOpBufferTest.RecordShadersCachedSize (2 ms) [742/4724] PaintOpBufferTest.TotalOpCount (1 ms) [743/4724] PaintOpBufferTest.NullImages (0 ms) [744/4724] PaintOpAppendTest.SimpleAppend (0 ms) [745/4724] PaintOpAppendTest.MoveThenDestruct (0 ms) [746/4724] PaintOpAppendTest.MoveThenDestructOperatorEq (0 ms) [747/4724] PaintOpAppendTest.MoveThenReappend (0 ms) [748/4724] PaintOpAppendTest.MoveThenReappendOperatorEq (0 ms) [749/4724] PaintOpBufferOffsetsTest.ContiguousIndices (2 ms) [750/4724] PaintOpBufferOffsetsTest.NonContiguousIndices (1 ms) [751/4724] PaintOpBufferSerializationTest.AlphaFoldingDuringSerialization (1 ms) [752/4724] PaintOpHelper.AnnotateToString (0 ms) [753/4724] PaintOpHelper.ClipPathToString (0 ms) [754/4724] PaintOpHelper.ClipRectToString (1 ms) [755/4724] PaintOpHelper.ClipRRectToString (0 ms) [756/4724] PaintOpHelper.ConcatToString (1 ms) [757/4724] PaintOpHelper.DrawColorToString (0 ms) [758/4724] PaintOpHelper.DrawDRRectToString (1 ms) [759/4724] PaintOpHelper.DrawImageToString (0 ms) [760/4724] PaintOpHelper.DrawImageRectToString (1 ms) [761/4724] PaintOpBufferOffsetsTest.FirstTwoIndices (1 ms) [762/4724] PaintOpBufferOffsetsTest.MiddleIndex (0 ms) [763/4724] PaintOpBufferOffsetsTest.LastTwoElements (1 ms) [764/4724] PaintOpBufferOffsetsTest.ContiguousIndicesWithSaveLayerAlphaRestore (2 ms) [765/4724] PaintOpBufferOffsetsTest.NonContiguousIndicesWithSaveLayerAlphaRestore (2 ms) [766/4724] PaintOpBufferOffsetsTest.ContiguousIndicesWithSaveLayerAlphaDrawRestore (1 ms) [767/4724] PaintOpBufferOffsetsTest.NonContiguousIndicesWithSaveLayerAlphaDrawRestore (3 ms) [768/4724] PaintOpSerializationTest.CompleteBufferSerialization (2 ms) [769/4724] PaintOpSerializationTest.Preamble (1 ms) [770/4724] PaintOpSerializationTest.SerializesNestedRecords (1 ms) [771/4724] PaintOpHelper.RotateToString (0 ms) [772/4724] PaintOpHelper.SaveToString (0 ms) [773/4724] PaintOpHelper.SaveLayerToString (0 ms) [774/4724] PaintOpHelper.SaveLayerAlphaToString (0 ms) [775/4724] PaintOpHelper.ScaleToString (0 ms) [776/4724] PaintOpHelper.SetMatrixToString (0 ms) [777/4724] PaintOpHelper.TranslateToString (0 ms) [778/4724] PaintShaderTest.RasterizationRectForRecordShaders (0 ms) [779/4724] PaintShaderTest.DecodePaintRecord (2 ms) [780/4724] ScopedRasterFlagsTest.KeepsDecodesAlive (0 ms) [781/4724] PaintOpHelper.DrawIRectToString (0 ms) [782/4724] PaintOpHelper.DrawLineToString (0 ms) [783/4724] PaintOpHelper.DrawOvalToString (0 ms) [784/4724] PaintOpHelper.DrawPathToString (0 ms) [785/4724] PaintOpHelper.DrawRecordToString (0 ms) [786/4724] PaintOpHelper.DrawRectToString (1 ms) [787/4724] PaintOpHelper.DrawRRectToString (0 ms) [788/4724] PaintOpHelper.DrawTextBlobToString (1 ms) [789/4724] PaintOpHelper.NoopToString (0 ms) [790/4724] PaintOpHelper.RestoreToString (0 ms) [791/4724] ScopedRasterFlagsTest.NoImageProvider (0 ms) [792/4724] ScopedRasterFlagsTest.ThinAliasedStroke (0 ms) [793/4724] SkiaPaintCanvasTest.ContextFlushesDirect (2 ms) [794/4724] SkiaPaintCanvasTest.ContextFlushesRecording (1 ms) [795/4724] SkiaPaintCanvasTest.ContextFlushesDisabled (1 ms) [796/4724] SolidColorAnalyzerTest.Empty (0 ms) [797/4724] SolidColorAnalyzerTest.ClearTransparent (0 ms) [798/4724] SolidColorAnalyzerTest.ClearSolid (1 ms) [799/4724] SolidColorAnalyzerTest.ClearTranslucent (0 ms) [800/4724] SolidColorAnalyzerTest.DrawColor (0 ms) [801/4724] SolidColorAnalyzerTest.DrawOval (0 ms) [802/4724] SolidColorAnalyzerTest.DrawRect (0 ms) [803/4724] SolidColorAnalyzerTest.DrawRRect (0 ms) [804/4724] SolidColorAnalyzerTest.DrawRectClipped (1 ms) [805/4724] SolidColorAnalyzerTest.DrawRectClippedDifference (0 ms) [806/4724] SolidColorAnalyzerTest.DrawRectWithTranslateNotSolid (1 ms) [807/4724] SolidColorAnalyzerTest.DrawRectWithTranslateSolid (0 ms) [808/4724] SolidColorAnalyzerTest.TwoOpsNotSolid (1 ms) [809/4724] SolidColorAnalyzerTest.DrawRectBlendModeClear (0 ms) [810/4724] SolidColorAnalyzerTest.DrawRectBlendModeSrcOver (0 ms) [811/4724] SolidColorAnalyzerTest.DrawRectRotated (0 ms) [812/4724] SolidColorAnalyzerTest.DrawRectScaledNotSolid (0 ms) [813/4724] SolidColorAnalyzerTest.DrawRectScaledSolid (0 ms) [814/4724] SolidColorAnalyzerTest.DrawRectFilterPaint (1 ms) [815/4724] SolidColorAnalyzerTest.DrawRectClipPath (0 ms) [816/4724] SolidColorAnalyzerTest.DrawRectTranslucent (1 ms) [817/4724] SolidColorAnalyzerTest.DrawRectTranslucentOverNonSolid (0 ms) [818/4724] SolidColorAnalyzerTest.DrawRectOpaqueOccludesNonSolid (0 ms) [819/4724] SolidColorAnalyzerTest.DrawRectSolidWithSrcOverBlending (1 ms) [820/4724] SolidColorAnalyzerTest.SaveLayer (0 ms) [821/4724] PlaybackImageProviderTest.SwapsGivenFrames (0 ms) [822/4724] PlaybackImageProviderTest.BitmapImages (0 ms) [823/4724] PlaybackImageProviderTest.IgnoresImagesNotSupportedByCache (1 ms) [824/4724] RasterSourceTest.AnalyzeIsSolidUnscaled (1 ms) [825/4724] RasterSourceTest.AnalyzeIsSolidScaled (5 ms) [826/4724] RasterSourceTest.MultiPaintWorkletImages (1 ms) [827/4724] RasterSourceTest.PixelRefIteratorDiscardableRefsOneTile (1 ms) [828/4724] RasterSourceTest.RasterFullContents (1 ms) [829/4724] RasterSourceTest.RasterPartialContents (3 ms) [830/4724] RasterSourceTest.RasterPartialClear (2 ms) [831/4724] SynchronousTaskGraphRunner/TaskGraphRunnerTest/0.Dependencies (0 ms) [832/4724] SynchronousTaskGraphRunner/TaskGraphRunnerTest/0.Categorys (2 ms) [833/4724] SynchronousTaskGraphRunner/SingleThreadTaskGraphRunnerTest/0.Priority (1 ms) [834/4724] TaskGraphWorkQueueTest.TestChangingDependency (0 ms) [835/4724] TaskGraphWorkQueueTest.TestTaskWithDifferentCategory (0 ms) [836/4724] TaskGraphWorkQueueTest.TestTaskWithDifferentPriority (0 ms) [837/4724] ResourcePoolTest.AcquireRelease (1 ms) [838/4724] ResourcePoolTest.EventuallyEvictAndFlush (1 ms) [839/4724] ResourcePoolTest.FlushEvenIfMoreUnusedToEvict (1 ms) [840/4724] ResourcePoolTest.AccountingSingleResource (0 ms) [841/4724] RasterSourceTest.RasterContentsTransparent (1 ms) [842/4724] RasterSourceTest.GetPictureMemoryUsageIncludesClientReportedMemory (0 ms) [843/4724] RasterSourceTest.RasterTransformWithoutRecordingScale (1 ms) [844/4724] ScopedGpuRasterTest.RestoresUnpackAlignment (0 ms) [845/4724] SingleThreadTaskGraphRunner/TaskGraphRunnerTest/0.Basic (6 ms) [846/4724] SingleThreadTaskGraphRunner/TaskGraphRunnerTest/0.Dependencies (7 ms) [847/4724] SingleThreadTaskGraphRunner/TaskGraphRunnerTest/0.Categorys (16 ms) [848/4724] SingleThreadTaskGraphRunner/SingleThreadTaskGraphRunnerTest/0.Priority (26 ms) [849/4724] StagingBufferPoolTest.ShutdownImmediatelyAfterCreation (1 ms) [850/4724] SynchronousTaskGraphRunner/TaskGraphRunnerTest/0.Basic (1 ms) [851/4724] ResourcePoolTest.SimpleResourceReuse (0 ms) [852/4724] ResourcePoolTest.LostResource (1 ms) [853/4724] ResourcePoolTest.BusyResourcesNotFreed (1 ms) [854/4724] ResourcePoolTest.UnusedResourcesEventuallyFreed (0 ms) [855/4724] ResourcePoolTest.UpdateContentId (1 ms) [856/4724] ResourcePoolTest.UpdateContentIdAndInvalidatedRect (0 ms) [857/4724] ResourcePoolTest.LargeInvalidatedRect (1 ms) [858/4724] ResourcePoolTest.ReuseResource (0 ms) [859/4724] ResourcePoolTest.PurgedMemory (1 ms) [860/4724] ResourcePoolTest.InvalidateResources (1 ms) [861/4724] SolidColorAnalyzerTest.ClipRRectCoversCanvas (1 ms) [862/4724] TransferCacheTest.Basic (159 ms) [863/4724] TransferCacheTest.MemoryEviction (128 ms) [864/4724] TransferCacheTest.CountEviction (139 ms) [865/4724] TransferCacheTest.RawMemoryTransferSmall (138 ms) [866/4724] TransferCacheTest.RawMemoryTransferLarge (134 ms) [867/4724] TransferCacheTest.ImageMemoryTransfer (153 ms) [868/4724] PlaybackImageProviderTest.SkipsAllImages (1 ms) [869/4724] PlaybackImageProviderTest.SkipsSomeImages (0 ms) [870/4724] PlaybackImageProviderTest.RefAndUnrefDecode (1 ms) [871/4724] ResourcePoolTest.ExactRequestsRespected (1 ms) [872/4724] ResourcePoolTest.MetadataSentToDisplayCompositor (0 ms) [873/4724] ResourcePoolTest.InvalidResource (0 ms) [874/4724] CompositorFrameReportingControllerTest.ActiveReporterCounts (1 ms) [875/4724] CompositorTimingHistoryTest.AllSequential_Commit (2 ms) [876/4724] CompositorTimingHistoryTest.AllSequential_BeginMainFrameAborted (0 ms) [877/4724] CompositorTimingHistoryTest.BeginMainFrame_CriticalFaster (1 ms) [878/4724] CompositorTimingHistoryTest.BeginMainFrames_OldCriticalSlower (1 ms) [879/4724] CompositorTimingHistoryTest.BeginMainFrames_NewCriticalSlower (2 ms) [880/4724] CompositorTimingHistoryTest.AnimationNotReported (1 ms) [881/4724] CompositorTimingHistoryTest.ConsecutiveFramesAnimationsReported (4 ms) [882/4724] CompositorTimingHistoryTest.InterFrameAnimationsNotReported (1 ms) [883/4724] CompositorTimingHistoryTest.AnimationsWithNewActiveTreeNotUsed (2 ms) [884/4724] SchedulerStateMachineTest.BeginFrameNeeded (0 ms) [885/4724] SchedulerStateMachineTest.TestNextActionNotifyBeginMainFrameNotExpectedUntil (1 ms) [886/4724] SchedulerStateMachineTest.TestNextActionNotifyBeginMainFrameNotExpectedSoon (0 ms) [887/4724] SchedulerStateMachineTest.TestNextActionBeginsMainFrameIfNeeded (0 ms) [888/4724] SchedulerStateMachineTest.MainFrameBeforeActivationEnabled (0 ms) [889/4724] SchedulerStateMachineTest.FailedDrawForAnimationCheckerboardSetsNeedsCommitAndRetriesDraw (0 ms) [890/4724] SchedulerStateMachineTest.FailedDrawForMissingHighResNeedsCommit (0 ms) [891/4724] SchedulerStateMachineTest.TestFailedDrawsEventuallyForceDrawAfterNextCommit (0 ms) [892/4724] SchedulerStateMachineTest.TestFailedDrawsDoNotRestartForcedDraw (0 ms) [893/4724] SchedulerStateMachineTest.TestFailedDrawIsRetriedInNextBeginImplFrame (1 ms) [894/4724] SchedulerStateMachineTest.TestDoestDrawTwiceInSameFrame (0 ms) [895/4724] SchedulerStateMachineTest.TestNextActionDrawsOnBeginImplFrame (0 ms) [896/4724] SchedulerStateMachineTest.TestNoBeginMainFrameStatesRedrawWhenInvisible (0 ms) [897/4724] SchedulerStateMachineTest.TestCanRedraw_StopsDraw (0 ms) [898/4724] SchedulerStateMachineTest.TestCanRedrawWithWaitingForFirstDrawMakesProgress (0 ms) [899/4724] SchedulerStateMachineTest.TestSetNeedsBeginMainFrameIsNotLost (1 ms) [900/4724] SchedulerStateMachineTest.TestFullCycle (0 ms) [901/4724] SchedulerStateMachineTest.CommitWithoutDrawWithPendingTree (0 ms) [902/4724] SchedulerStateMachineTest.DontCommitWithoutDrawWithoutPendingTree (0 ms) [903/4724] SchedulerStateMachineTest.AbortedMainFrameDoesNotResetPendingTree (1 ms) [904/4724] SchedulerStateMachineTest.TestFullCycleWithCommitToActive (0 ms) [905/4724] SchedulerStateMachineTest.TestFullCycleWithCommitRequestInbetween (1 ms) [906/4724] SchedulerStateMachineTest.TestNoRequestCommitWhenInvisible (0 ms) [907/4724] SchedulerStateMachineTest.TestNoRequestCommitWhenBeginFrameSourcePaused (0 ms) [908/4724] SchedulerStateMachineTest.TestNoRequestLayerTreeFrameSinkWhenInvisible (0 ms) [909/4724] SchedulerStateMachineTest.TestAbortBeginMainFrameBecauseInvisible (0 ms) [910/4724] SchedulerStateMachineTest.TestAbortBeginMainFrameBecauseCommitNotNeeded (0 ms) [911/4724] SchedulerStateMachineTest.TestFinishCommitWhenCommitInProgressAndBeginFrameSourcePaused (1 ms) [912/4724] SchedulerStateMachineTest.TestInitialActionsWhenContextLost (0 ms) [913/4724] SchedulerStateMachineTest.ReportIfNotDrawing (0 ms) [914/4724] SchedulerStateMachineTest.ForceDrawForResourcelessSoftwareDraw (1 ms) [915/4724] SchedulerStateMachineTest.TestTriggerDeadlineImmediatelyAfterAbortedCommit (0 ms) [916/4724] SchedulerStateMachineTest.TestImplLatencyTakesPriority (0 ms) [917/4724] SchedulerStateMachineTest.TestTriggerDeadlineImmediatelyOnLostLayerTreeFrameSink (0 ms) [918/4724] SchedulerStateMachineTest.TestTriggerDeadlineImmediatelyWhenInvisible (0 ms) [919/4724] SchedulerStateMachineTest.TestTriggerDeadlineImmediatelyWhenBeginFrameSourcePaused (0 ms) [920/4724] SchedulerStateMachineTest.TestDeferBeginMainFrame (0 ms) [921/4724] SchedulerStateMachineTest.TestFirstContextCreation (1 ms) [922/4724] SchedulerStateMachineTest.TestContextLostWhenCompletelyIdle (0 ms) [923/4724] SchedulerStateMachineTest.TestContextLostWhenIdleAndCommitRequestedWhileRecreating (0 ms) [924/4724] SchedulerStateMachineTest.TestContextLostWhileCommitInProgress (1 ms) [925/4724] SchedulerStateMachineTest.TestContextLostWhileCommitInProgressAndAnotherCommitRequested (0 ms) [926/4724] SchedulerStateMachineTest.DontDrawBeforeCommitAfterLostLayerTreeFrameSink (0 ms) [927/4724] SchedulerStateMachineTest.TestShouldAbortCurrentFrameAfterLostLayerTreeFrameSink (0 ms) [928/4724] SchedulerStateMachineTest.TestNoBeginFrameNeededWhenInvisible (1 ms) [929/4724] SchedulerStateMachineTest.TestNoBeginMainFrameWhenInvisible (0 ms) [930/4724] SchedulerStateMachineTest.TestFinishCommitWhenCommitInProgress (0 ms) [931/4724] SchedulerStateMachineTest.EarlyOutCommitWantsProactiveBeginFrame (0 ms) [932/4724] SchedulerStateMachineTest.NoLayerTreeFrameSinkCreationWhileCommitPending (0 ms) [933/4724] SchedulerStateMachineTest.NoImplSideInvalidationsWhileInvisible (1 ms) [934/4724] SchedulerStateMachineTest.NoImplSideInvalidationsWhenBeginFrameSourcePaused (0 ms) [935/4724] SchedulerStateMachineTest.ImplSideInvalidationAndMainFrame_NoMainFrameRequest (0 ms) [936/4724] SchedulerStateMachineTest.ImplSideInvalidationAndMainFrame_MainFrameRequest_FastMainThread (0 ms) [937/4724] SchedulerStateMachineTest.ImplSideInvalidationAndMainFrame_LastFrameCommit (0 ms) [938/4724] SchedulerStateMachineTest.ImplSideInvalidationAndMainFrame_LastFrameAborted (0 ms) [939/4724] SchedulerStateMachineTest.ImplSideInvalidationAndMainFrame_MainFrameRequest_SlowMainThread (0 ms) [940/4724] SchedulerStateMachineTest.NoImplSideInvalidationUntilFrameSinkActive (0 ms) [941/4724] SchedulerStateMachineTest.ImplSideInvalidationWhenPendingTreeExists (0 ms) [942/4724] SchedulerStateMachineTest.ImplSideInvalidationWhileReadyToCommit (0 ms) [943/4724] SchedulerStateMachineTest.ConsecutiveImplSideInvalidationsWaitForBeginFrame (0 ms) [944/4724] SchedulerStateMachineTest.ImplSideInvalidationsThrottledOnDraw (0 ms) [945/4724] SchedulerStateMachineTest.PrepareTilesWaitForImplSideInvalidation (0 ms) [946/4724] SchedulerStateMachineTest.TestFullPipelineMode (0 ms) [947/4724] SchedulerStateMachineTest.AllowSkippingActiveTreeFirstDraws (0 ms) [948/4724] SchedulerStateMachineTest.DelayDrawIfAnimationWorkletsPending (0 ms) [949/4724] SchedulerStateMachineTest.BlockActivationIfAnimationWorkletsPending (0 ms) [950/4724] SchedulerTest.InitializeLayerTreeFrameSinkDoesNotBeginImplFrame (1 ms) [951/4724] SchedulerTest.Stop (5 ms) [952/4724] SchedulerTest.VideoNeedsBeginFrames (4 ms) [953/4724] SchedulerTest.RequestCommit (5 ms) [954/4724] SchedulerTest.RequestCommitAfterSetDeferCommit (4 ms) [955/4724] SchedulerTest.DeferCommitWithRedraw (4 ms) [956/4724] SchedulerTest.RequestCommitAfterBeginMainFrameSent (6 ms) [957/4724] SchedulerTest.RequestRedrawInsideDraw (4 ms) [958/4724] SchedulerTest.RequestRedrawInsideFailedDraw (5 ms) [959/4724] SchedulerTest.RequestCommitInsideDraw (5 ms) [960/4724] SchedulerTest.RequestCommitInsideFailedDraw (5 ms) [961/4724] SchedulerTest.MainFrameSkippedAfterLateCommit_LongMainFrameQueueDurationNotCritical (6 ms) [962/4724] SchedulerTest.MainFrameNotSkippedAfterLateCommit_LongMainFrameQueueDurationCritical (5 ms) [963/4724] SchedulerTest.MainFrameNotSkippedAfterLateCommitInPreferImplLatencyMode (4 ms) [964/4724] SchedulerTest.MainFrameNotSkippedAfterLateCommit_CommitEstimateTooLong (4 ms) [965/4724] SchedulerTest.MainFrameNotSkippedAfterLateCommit_ReadyToActivateEstimateTooLong (5 ms) [966/4724] SchedulerTest.MainFrameNotSkippedAfterLateCommit_ActivateEstimateTooLong (4 ms) [967/4724] SchedulerTest.MainFrameNotSkippedAfterLateCommit_DrawEstimateTooLong (4 ms) [968/4724] SchedulerTest.MainFrameNotSkippedAfterLateBeginMainFrameAbort (4 ms) [969/4724] SchedulerTest.MainFrameNotSkippedAfterCanDrawChanges (4 ms) [970/4724] SchedulerTest.MainFrameNotSkippedWhenNoTimingHistory (4 ms) [971/4724] SchedulerTest.NoSwapWhenDrawFails (6 ms) [972/4724] SchedulerTest.PrepareTiles (7 ms) [973/4724] SchedulerTest.PrepareTilesOncePerFrame (6 ms) [974/4724] SchedulerTest.DidPrepareTilesPreventsPrepareTilesForOneFrame (6 ms) [975/4724] SchedulerTest.TriggerBeginFrameDeadlineEarly (4 ms) [976/4724] SchedulerTest.WaitForReadyToDrawDoNotPostDeadline (5 ms) [977/4724] SchedulerTest.WaitForReadyToDrawCancelledWhenLostLayerTreeFrameSink (5 ms) [978/4724] SchedulerTest.MainFrameNotSkippedAfterLateBeginFrame (5 ms) [979/4724] SchedulerTest.FrameIntervalUpdated (4 ms) [980/4724] SchedulerTest.MainFrameSkippedAfterLateCommit (5 ms) [981/4724] SchedulerTest.MainFrameThenImplFrameSkippedAfterLateCommitAndLateAck (9 ms) [982/4724] SchedulerTest.Deadlock_CommitMakesProgressWhileSwapTrottledAndActiveTreeNeedsFirstDraw (6 ms) [983/4724] SchedulerTest.CommitMakesProgressWhenIdleAndHasPendingTreeAndActiveTreeNeedsFirstDraw (6 ms) [984/4724] SchedulerTest.SyntheticBeginFrames (5 ms) [985/4724] SchedulerTest.UnthrottledBeginFrames (4 ms) [986/4724] SchedulerTest.SyntheticBeginFrames_IsDrawThrottled (5 ms) [987/4724] SchedulerTest.UnthrottledBeginFrames_IsDrawThrottled (5 ms) [988/4724] SchedulerTest.DidLoseLayerTreeFrameSinkAfterLayerTreeFrameSinkIsInitialized (1 ms) [989/4724] SchedulerTest.DidLoseLayerTreeFrameSinkAfterBeginFrameStarted (5 ms) [990/4724] SchedulerTest.DidLoseLayerTreeFrameSinkAfterBeginFrameStartedWithHighLatency (5 ms) [991/4724] SchedulerTest.ImplFrameSkippedAfterLateAck_FastEstimates_SubmitAckThenDeadline (18 ms) [992/4724] SchedulerTest.ImplFrameSkippedAfterLateAck_FastEstimates_DeadlineThenSubmitAck (17 ms) [993/4724] SchedulerTest.ImplFrameSkippedAfterLateAck_LongMainFrameQueueDurationNotCritical (18 ms) [994/4724] SchedulerTest.ImplFrameSkippedAfterLateAck_ImplLatencyTakesPriority (16 ms) [995/4724] SchedulerTest.ImplFrameSkippedAfterLateAck_OnlyImplSideUpdatesExpected (10 ms) [996/4724] SchedulerTest.ImplFrameNotSkippedAfterLateAck_MainFrameQueueDurationCriticalTooLong (17 ms) [997/4724] SchedulerTest.ImplFrameNotSkippedAfterLateAck_CommitEstimateTooLong (17 ms) [998/4724] SchedulerTest.ImplFrameNotSkippedAfterLateAck_ReadyToActivateEstimateTooLong (16 ms) [999/4724] SchedulerTest.ImplFrameNotSkippedAfterLateAck_ActivateEstimateTooLong (16 ms) [1000/4724] SchedulerTest.ImplFrameNotSkippedAfterLateAck_DrawEstimateTooLong (16 ms) [1001/4724] SchedulerTest.DidLoseLayerTreeFrameSinkAfterReadyToCommit (6 ms) [1002/4724] SchedulerTest.DidLoseLayerTreeFrameSinkAfterSetNeedsPrepareTiles (5 ms) [1003/4724] SchedulerTest.DidLoseLayerTreeFrameSinkWithDelayBasedBeginFrameSource (4 ms) [1004/4724] SchedulerTest.DidLoseLayerTreeFrameSinkWhenIdle (5 ms) [1005/4724] SchedulerTest.ScheduledActionActivateAfterBecomingInvisible (5 ms) [1006/4724] SchedulerTest.ScheduledActionActivateAfterBeginFrameSourcePaused (4 ms) [1007/4724] SchedulerTest.SwitchFrameSourceToUnthrottled (5 ms) [1008/4724] SchedulerTest.SwitchFrameSourceToUnthrottledBeforeDeadline (4 ms) [1009/4724] SchedulerTest.SwitchFrameSourceToThrottled (4 ms) [1010/4724] SchedulerTest.SwitchFrameSourceToNullInsideDeadline (5 ms) [1011/4724] SchedulerTest.SynchronousCompositorOnDrawDuringIdle (5 ms) [1012/4724] SchedulerTest.InvalidateLayerTreeFrameSinkWhenCannotDraw (4 ms) [1013/4724] SchedulerTest.NeedsPrepareTilesInvalidates (4 ms) [1014/4724] SchedulerTest.SetNeedsOneBeginImplFrame (4 ms) [1015/4724] SchedulerTest.AbortEarlyIfNoDamage (5 ms) [1016/4724] SchedulerTest.SkipDraw (5 ms) [1017/4724] SchedulerTest.SynchronousCompositorCommitAndVerifyBeginFrameAcks (5 ms) [1018/4724] SchedulerTest.SynchronousCompositorPrepareTilesOnDraw (5 ms) [1019/4724] SchedulerTest.SetNeedsRedrawFromWillBeginImplFrame (2 ms) [1020/4724] SchedulerTest.SynchronousCompositorSendBeginMainFrameWhileIdle (6 ms) [1021/4724] SchedulerTest.SwitchFrameSourceWhenNotObserving (6 ms) [1022/4724] SchedulerTest.ScheduledActionBeginMainFrameNotExpectedUntil (3 ms) [1023/4724] SchedulerTest.ScheduledActionBeginMainFrameNotExpectedUntilSentOnlyOncePerFrame (3 ms) [1024/4724] SchedulerTest.SendBeginMainFrameNotExpectedSoon_Requested (5 ms) [1025/4724] SchedulerTest.SendBeginMainFrameNotExpectedSoon_Unrequested (5 ms) [1026/4724] SchedulerTest.SendBeginMainFrameNotExpectedSoonOnlyOncePerFrame (5 ms) [1027/4724] SchedulerTest.SendBeginMainFrameNotExpectedSoon_AlreadyIdle (7 ms) [1028/4724] SchedulerTest.SendBeginMainFrameNotExpectedSoonDuringIdleIfNeeded (5 ms) [1029/4724] SchedulerTest.ScheduledActionBeginMainFrameNotSoonSentDuringIdleIfNeededNotVisible (4 ms) [1030/4724] SchedulerTest.SynchronousCompositorAnimation (5 ms) [1031/4724] SchedulerTest.SynchronousCompositorResourcelessOnDrawWhenInvisible (4 ms) [1032/4724] SchedulerTest.AuthoritativeVSyncInterval (5 ms) [1033/4724] SchedulerTest.ImplLatencyTakesPriority (3 ms) [1034/4724] SchedulerTest.NoLayerTreeFrameSinkCreationWhileCommitPending (4 ms) [1035/4724] SchedulerTest.ImplSideInvalidationInsideImplFrame (3 ms) [1036/4724] SchedulerTest.ImplSideInvalidationsMergedWithCommit (3 ms) [1037/4724] SchedulerTest.AbortedCommitsTriggerImplSideInvalidations (3 ms) [1038/4724] SchedulerTest.InvalidationNotBlockedOnMainFrame (3 ms) [1039/4724] SchedulerTest.BeginMainFrameOnCriticalPath_BNF (3 ms) [1040/4724] SchedulerTest.BeginMainFrameOnCriticalPath_BNS (3 ms) [1041/4724] SchedulerTest.BeginMainFrameOnCriticalPath_BHF (5 ms) [1042/4724] SchedulerTest.BeginMainFrameOnCriticalPath_BHS (4 ms) [1043/4724] SchedulerTest.BeginMainFrameOnCriticalPath_ANF (4 ms) [1044/4724] SchedulerTest.BeginMainFrameOnCriticalPath_ANS (4 ms) [1045/4724] SchedulerTest.BeginMainFrameOnCriticalPath_AHF (4 ms) [1046/4724] SchedulerTest.BeginMainFrameOnCriticalPath_AHS (4 ms) [1047/4724] SchedulerTest.BeginFrameAckForFinishedImplFrame (4 ms) [1048/4724] SchedulerTest.BeginFrameAckForSkippedImplFrame (4 ms) [1049/4724] SchedulerTest.BeginFrameAckForBeginFrameBeforeLastDeadline (4 ms) [1050/4724] SchedulerTest.BeginFrameAckForDroppedBeginFrame (3 ms) [1051/4724] SchedulerTest.BeginFrameAckForLateMissedBeginFrame (5 ms) [1052/4724] SchedulerTest.CriticalBeginMainFrameToActivateIsFast (4 ms) [1053/4724] SchedulerTest.WaitForAllPipelineStagesSkipsMissedBeginFrames (1 ms) [1054/4724] SchedulerTest.WaitForAllPipelineStagesUsesMissedBeginFramesWithSurfaceSynchronization (1 ms) [1055/4724] SchedulerTest.WaitForAllPipelineStagesAlwaysObservesBeginFrames (1 ms) [1056/4724] SchedulerTest.CriticalBeginMainFrameIsFast_CommitEstimateSlow (4 ms) [1057/4724] SchedulerTest.CriticalBeginMainFrameIsFast_CommitEstimateFast (4 ms) [1058/4724] SchedulerTest.ShouldDeferInvalidation_AllEstimatesFast (4 ms) [1059/4724] SchedulerTest.ShouldDeferInvalidation_BMFStartToReadyToCommitSlow (3 ms) [1060/4724] SchedulerTest.ShouldDeferInvalidation_BMFQueueDurationCriticalSlow (3 ms) [1061/4724] SchedulerTest.ShouldDeferInvalidation_BMFQueueDurationNotCriticalSlow (5 ms) [1062/4724] SchedulerTest.SlowMainThreadButEstimatedFastTriggersInvalidations (5 ms) [1063/4724] SchedulerTest.SlowMainThreadRasterButEstimatedFastDoesNotTriggersInvalidations (5 ms) [1064/4724] SchedulerTest.SynchronousCompositorImplSideInvalidation (3 ms) [1065/4724] SchedulerTest.DontSkipMainFrameAfterClearingHistory (5 ms) [1066/4724] SchedulerTest.NoInvalidationForAnimateOnlyFrames (4 ms) [1067/4724] SchedulerTest.SendEarlyDidNotProduceFrameIfIdle (4 ms) [1068/4724] LayerTreeJsonParserSanityCheck.Basic (20 ms) [1069/4724] LayerTreeJsonParserSanityCheck.EventHandlerRegions (15 ms) [1070/4724] CheckerImageTrackerTest.CheckerImagesDisabled (43 ms) [1071/4724] CheckerImageTrackerTest.UseSrcRectForSize (41 ms) [1072/4724] CheckerImageTrackerTest.DisableForSoftwareRaster (83 ms) [1073/4724] CheckerImageTrackerTest.DecodingModeHints (0 ms) [1074/4724] CheckerImageTrackerTest.UsageHintsMakeImagesSync (40 ms) [1075/4724] DecodedImageTrackerTest.QueueImageLocksImages (1 ms) [1076/4724] DecodedImageTrackerTest.Colorspace (0 ms) [1077/4724] DecodedImageTrackerTest.ImagesTimeOut (1 ms) [1078/4724] DecodedImageTrackerTest.ImageUsedInDraw (0 ms) [1079/4724] DecodedImageTrackerTest.UnlockAllImages (1 ms) [1080/4724] ImageControllerTest.GetTasksForImagesAndRefForPaintWorkletImages (16 ms) [1081/4724] ImageControllerTest.DispatchesDecodeCallbacksAfterCacheReset (13 ms) [1082/4724] ImageControllerTest.DispatchesDecodeCallbacksAfterCacheChanged (16 ms) [1083/4724] ImageControllerTest.QueueImageDecodeLazyCancelImmediately (16 ms) [1084/4724] ImageControllerTest.QueueImageDecodeNonLazyCancelImmediately (18 ms) [1085/4724] MipMapUtilTest.Basic (0 ms) [1086/4724] MipMapUtilTest.NoScale (1 ms) [1087/4724] MipMapUtilTest.Upscale (0 ms) [1088/4724] MipMapUtilTest.MaxMipLevel (0 ms) [1089/4724] MipMapUtilTest.NonSquare (0 ms) [1090/4724] MipMapUtilTest.Rounding (1 ms) [1091/4724] MipMapUtilTest.RoundUp (0 ms) [1092/4724] PaintWorkletImageCacheTest.GetTaskForImage (1 ms) [1093/4724] PaintWorkletImageCacheTest.EntryWithNonZeroRefCountNotPurged (0 ms) [1094/4724] PaintWorkletImageCacheTest.MultipleRecordsInCache (1 ms) [1095/4724] PaintWorkletImageCacheTest.CacheEntryLookup (0 ms) [1096/4724] PaintWorkletImageCacheTest.TaskIsNullWhenPainterIsNull (0 ms) [1097/4724] PaintWorkletImageCacheTest.RecordAndCallbackAreEmptyWhenInputWasntPainted (0 ms) [1098/4724] PictureLayerTilingSetTest.NoResources (2 ms) [1099/4724] PictureLayerTilingSetTest.TilingRange (1 ms) [1100/4724] PictureLayerTilingSetTest.TileSizeChange (3 ms) [1101/4724] PictureLayerTilingSetTest.MaxContentScale (3 ms) [1102/4724] PictureLayerTilingSetTest.SkewportLimits (0 ms) [1103/4724] PictureLayerTilingSetTest.ComputeSkewportExtremeCases (0 ms) [1104/4724] PictureLayerTilingSetTest.ComputeSkewport (1 ms) [1105/4724] PictureLayerTilingSetTest.SkewportThroughUpdateTilePriorities (1 ms) [1106/4724] PictureLayerTilingSetTest.TilingTranslationChanges (1 ms) [1107/4724] PictureLayerTilingSetTestWithResources.NoTilings (1 ms) [1108/4724] PictureLayerTilingSetTestWithResources.OneTiling_Smaller (2 ms) [1109/4724] PictureLayerTilingSetTestWithResources.OneTiling_Larger (23 ms) [1110/4724] PictureLayerTilingSetTestWithResources.TwoTilings_Smaller (9 ms) [1111/4724] ImageControllerTest.NullControllerUnrefsImages (21 ms) [1112/4724] ImageControllerTest.QueueImageDecode (5 ms) [1113/4724] ImageControllerTest.QueueImageDecodeNonLazy (20 ms) [1114/4724] ImageControllerTest.QueueImageDecodeTooLarge (620 ms) [1115/4724] ImageControllerTest.QueueImageDecodeMultipleImages (10 ms) [1116/4724] ImageControllerTest.QueueImageDecodeWithTask (21 ms) [1117/4724] ImageControllerTest.QueueImageDecodeMultipleImagesSameTask (10 ms) [1118/4724] ImageControllerTest.QueueImageDecodeChangeControllerWithTaskQueued (10 ms) [1119/4724] ImageControllerTest.QueueImageDecodeImageAlreadyLocked (16 ms) [1120/4724] ImageControllerTest.QueueImageDecodeLockedImageControllerChange (15 ms) [1121/4724] CheckerImageTrackerTest.UpdatesImagesAtomically (248 ms) [1122/4724] CheckerImageTrackerTest.NoConsecutiveCheckeringForImage (42 ms) [1123/4724] CheckerImageTrackerTest.TracksCheckeredImagesSeperatelyInConsecutiveFrames (84 ms) [1124/4724] CheckerImageTrackerTest.CancelsScheduledDecodes (123 ms) [1125/4724] CheckerImageTrackerTest.ClearsTracker (86 ms) [1126/4724] CheckerImageTrackerTest.CheckersOnlyStaticCompletedImages (201 ms) [1127/4724] CheckerImageTrackerTest.DontCheckerDisallowedImages (27 ms) [1128/4724] CheckerImageTrackerTest.ChoosesMaxScaleAndQuality (30 ms) [1129/4724] CheckerImageTrackerTest.DontCheckerMultiPartImages (84 ms) [1130/4724] CheckerImageTrackerTest.RespectsDecodePriority (164 ms) [1131/4724] PictureLayerTilingIteratorTest.ResizeDeletesTiles (1 ms) [1132/4724] PictureLayerTilingIteratorTest.CreateMissingTilesStaysInsideLiveRect (0 ms) [1133/4724] PictureLayerTilingIteratorTest.ResizeTilingOverTileBorders (2 ms) [1134/4724] PictureLayerTilingIteratorTest.ResizeLiveTileRectOverTileBorders (1 ms) [1135/4724] PictureLayerTilingIteratorTest.ShrinkWidthExpandHeightTilingRect (1 ms) [1136/4724] PictureLayerTilingIteratorTest.ResizeLiveTileRectOverSameTiles (1 ms) [1137/4724] PictureLayerTilingIteratorTest.ResizeOverBorderPixelsDeletesTiles (1 ms) [1138/4724] PictureLayerTilingIteratorTest.RemoveOutsideLayerKeepsTiles (1 ms) [1139/4724] PictureLayerTilingIteratorTest.CreateTileJustCoverBorderUp (1 ms) [1140/4724] PictureLayerTilingIteratorTest.LiveTilesExactlyCoverLiveTileRect (1 ms) [1141/4724] PictureLayerTilingIteratorTest.IteratorCoversLayerBoundsNoScale (3 ms) [1142/4724] PictureLayerTilingIteratorTest.IteratorCoversLayerBoundsTilingScale (4 ms) [1143/4724] PictureLayerTilingIteratorTest.IteratorCoversLayerBoundsBothScale (16 ms) [1144/4724] PictureLayerTilingIteratorTest.IteratorEmptyRect (0 ms) [1145/4724] PictureLayerTilingIteratorTest.NonIntersectingRect (1 ms) [1146/4724] PictureLayerTilingIteratorTest.LayerEdgeTextureCoordinates (1 ms) [1147/4724] PictureLayerTilingIteratorTest.NonContainedDestRect (1 ms) [1148/4724] PictureLayerTilingIteratorTest.TilesExist (4 ms) [1149/4724] PictureLayerTilingIteratorTest.TilesExistGiantViewport (3 ms) [1150/4724] PictureLayerTilingIteratorTest.TilesExistOutsideViewport (2 ms) [1151/4724] PictureLayerTilingIteratorTest.TilesExistLargeViewportAndLayerWithSmallVisibleArea (129 ms) [1152/4724] PictureLayerTilingIteratorTest.ResizeTilesAndUpdateToCurrent (1 ms) [1153/4724] PictureLayerTilingIteratorTest.GiantRect (1 ms) [1154/4724] PictureLayerTilingIteratorTest.QuadShouldNotUseLastHalfTexel (1 ms) [1155/4724] PictureLayerTilingIteratorTest.UseLeastTilesToCover (1 ms) [1156/4724] PictureLayerTilingIteratorTest.UseLeastTilesToCover2 (0 ms) [1157/4724] PictureLayerTilingIteratorTest.TightCover (0 ms) [1158/4724] PictureLayerTilingIteratorTest.TightCover2 (1 ms) [1159/4724] PictureLayerTilingIteratorTest.TilesStoreTilings (1 ms) [1160/4724] PictureLayerTilingIteratorTest.FractionalTranslatedTiling (1 ms) [1161/4724] PictureLayerTilingIteratorTest.FractionalTranslatedTilingOverflow (1 ms) [1162/4724] PictureLayerTilingIteratorTest.EdgeCaseLargeIntBounds (1 ms) [1163/4724] PictureLayerTilingIteratorTest.EdgeCaseLargeIntBounds2 (2 ms) [1164/4724] ComputeTilePriorityRectsTest.VisibleTiles (1 ms) [1165/4724] ComputeTilePriorityRectsTest.OffscreenTiles (0 ms) [1166/4724] ComputeTilePriorityRectsTest.PartiallyOffscreenLayer (0 ms) [1167/4724] SoftwareImageDecodeCacheTest.ImageKeyNoneQuality (1 ms) [1168/4724] SoftwareImageDecodeCacheTest.ImageKeyLowQualityIncreasedToMediumIfDownscale (1 ms) [1169/4724] SoftwareImageDecodeCacheTest.ImageKeyMediumQualityDropsToLowIfMipLevel0 (2 ms) [1170/4724] SoftwareImageDecodeCacheTest.LowUnscalableFormatStaysLow (2 ms) [1171/4724] SoftwareImageDecodeCacheTest.HighUnscalableFormatBecomesLow (2 ms) [1172/4724] SoftwareImageDecodeCacheTest.ImageKeyLowQualityKeptLowIfUpscale (2 ms) [1173/4724] SoftwareImageDecodeCacheTest.ImageKeyMediumQuality (1 ms) [1174/4724] SoftwareImageDecodeCacheTest.ImageKeyMediumQualityDropToLowIfEnlarging (1 ms) [1175/4724] SoftwareImageDecodeCacheTest.ImageKeyMediumQualityDropToLowIfIdentity (2 ms) [1176/4724] SoftwareImageDecodeCacheTest.ImageKeyMediumQualityDropToLowIfNearlyIdentity (1 ms) [1177/4724] SoftwareImageDecodeCacheTest.ImageKeyMediumQualityDropToLowIfNearlyIdentity2 (1 ms) [1178/4724] SoftwareImageDecodeCacheTest.ImageKeyMediumQualityDropToLowIfNotDecomposable (2 ms) [1179/4724] SoftwareImageDecodeCacheTest.ImageKeyMediumQualityAt1_5Scale (16 ms) [1180/4724] SoftwareImageDecodeCacheTest.ImageKeyMediumQualityAt1_0cale (16 ms) [1181/4724] FilterOperationsTest.BlendEmptyAndNonEmptySequences (1 ms) [1182/4724] FilterOperationsTest.BlendEmptySequences (0 ms) [1183/4724] FilterOperationsTest.BlendNonMatchingSequences (0 ms) [1184/4724] FilterOperationsTest.BlendRaggedSequences (1 ms) [1185/4724] FilterOperationsTest.ToString (0 ms) [1186/4724] OopPixelTest.DrawColor (258 ms) [1187/4724] OopPixelTest.DrawColorWithTargetColorSpace (271 ms) [1188/4724] OopPixelTest.DrawRect (2442 ms) [1189/4724] OopPixelTest.Preclear (2037 ms) [1190/4724] OopPixelTest.ClearingOpaqueCornerExactEdge (3673 ms) [1191/4724] SoftwareImageDecodeCacheTest.ImageKeyHighQualityDropToLowIfNearlyIdentity (2 ms) [1192/4724] SoftwareImageDecodeCacheTest.ImageKeyHighQualityDropToLowIfNearlyIdentity2 (1 ms) [1193/4724] SoftwareImageDecodeCacheTest.ImageKeyDownscaleMipLevelWithRounding (1 ms) [1194/4724] SoftwareImageDecodeCacheTest.OriginalDecodesAreEqual (2 ms) [1195/4724] SoftwareImageDecodeCacheTest.ImageRectDoesNotContainSrcRect (1 ms) [1196/4724] SoftwareImageDecodeCacheTest.ImageRectDoesNotContainSrcRectWithScale (1 ms) [1197/4724] SoftwareImageDecodeCacheTest.GetTaskForImageSameImage (5 ms) [1198/4724] SoftwareImageDecodeCacheTest.GetTaskForImageProcessUnrefCancel (3 ms) [1199/4724] SoftwareImageDecodeCacheTest.GetTaskForImageSameImageDifferentQuality (3 ms) [1200/4724] SoftwareImageDecodeCacheTest.GetTaskForImageSameImageDifferentSize (4 ms) [1201/4724] SoftwareImageDecodeCacheTest.GetTaskForImageDifferentImage (8 ms) [1202/4724] SoftwareImageDecodeCacheTest.GetTaskForImageDifferentColorSpace (6 ms) [1203/4724] SoftwareImageDecodeCacheTest.GetTaskForImageAlreadyDecoded (3 ms) [1204/4724] SoftwareImageDecodeCacheTest.GetTaskForImageAlreadyPrerolled (2 ms) [1205/4724] SoftwareImageDecodeCacheTest.GetTaskForImageCanceledGetsNewTask (3 ms) [1206/4724] SoftwareImageDecodeCacheTest.GetTaskForImageCanceledWhileReffedGetsNewTask (3 ms) [1207/4724] SoftwareImageDecodeCacheTest.GetDecodedImageForDraw (3 ms) [1208/4724] SoftwareImageDecodeCacheTest.GetDecodedImageForDrawWithNonContainedSrcRect (3 ms) [1209/4724] SoftwareImageDecodeCacheTest.GetDecodedImageForDrawAtRasterDecode (3 ms) [1210/4724] SoftwareImageDecodeCacheTest.GetDecodedImageForDrawAtRasterDecodeMultipleTimes (3 ms) [1211/4724] SoftwareImageDecodeCacheTest.ZeroSizedImagesAreSkipped (2 ms) [1212/4724] SoftwareImageDecodeCacheTest.NonOverlappingSrcRectImagesAreSkipped (2 ms) [1213/4724] SoftwareImageDecodeCacheTest.LowQualityFilterIsHandled (4 ms) [1214/4724] SoftwareImageDecodeCacheTest.LowQualityScaledSubrectIsHandled (3 ms) [1215/4724] SoftwareImageDecodeCacheTest.NoneQualityScaledSubrectIsHandled (2 ms) [1216/4724] SoftwareImageDecodeCacheTest.MediumQualityAt01_5ScaleIsHandled (24 ms) [1217/4724] SoftwareImageDecodeCacheTest.MediumQualityAt1_0ScaleIsHandled (23 ms) [1218/4724] SoftwareImageDecodeCacheTest.MediumQualityAt0_75ScaleIsHandled (22 ms) [1219/4724] SoftwareImageDecodeCacheTest.MediumQualityAt0_5ScaleIsHandled (30 ms) [1220/4724] SoftwareImageDecodeCacheTest.MediumQualityAt0_49ScaleIsHandled (31 ms) [1221/4724] SoftwareImageDecodeCacheTest.DecodeToScale (4 ms) [1222/4724] SoftwareImageDecodeCacheTest.DecodeToScaleSubrect (3 ms) [1223/4724] SoftwareImageDecodeCacheTest.DecodeToScaleNoneQuality (2 ms) [1224/4724] SoftwareImageDecodeCacheTest_Typical.UseClosestAvailableDecode (84 ms) [1225/4724] SoftwareImageDecodeCacheTest_Typical.UseClosestAvailableDecodeNotSmaller (111 ms) [1226/4724] SoftwareImageDecodeCacheTest_Typical.UseClosestAvailableDecodeFirstImageSubrected (111 ms) [1227/4724] SoftwareImageDecodeCacheTest_Typical.UseClosestAvailableDecodeSecondImageSubrected (105 ms) [1228/4724] SoftwareImageDecodeCacheTest_Typical.UseClosestAvailableDecodeBothSubrected (72 ms) [1229/4724] SoftwareImageDecodeCacheTest_Typical.UseClosestAvailableDecodeBothPastPostScaleSize (60 ms) [1230/4724] SoftwareImageDecodeCacheTest_AtRaster.UseClosestAvailableDecode (84 ms) [1231/4724] SoftwareImageDecodeCacheTest.MediumQualityAt0_1ScaleIsHandled (29 ms) [1232/4724] SoftwareImageDecodeCacheTest.MediumQualityAt0_01ScaleIsHandled (27 ms) [1233/4724] SoftwareImageDecodeCacheTest.MediumQualityAt0_001ScaleIsHandled (14 ms) [1234/4724] SoftwareImageDecodeCacheTest.MediumQualityImagesAreTheSameAt0_5And0_49Scale (27 ms) [1235/4724] SoftwareImageDecodeCacheTest.ClearCache (17 ms) [1236/4724] SoftwareImageDecodeCacheTest.CacheDecodesExpectedFrames (1 ms) [1237/4724] SoftwareImageDecodeCacheTest.SizeSubrectingIsHandled (616 ms) [1238/4724] SoftwareImageDecodeCacheTest.EmptyTargetSizeDecode (2 ms) [1239/4724] SoftwareImageDecodeCacheTest.BitmapImageColorConverted (2 ms) [1240/4724] SoftwareImageDecodeCacheTest.BitmapImageNotColorConverted (0 ms) [1241/4724] TileManagerTilePriorityQueueTest.EvictionTilePriorityQueueWithOcclusion (24 ms) [1242/4724] TileManagerTilePriorityQueueTest.EvictionTilePriorityQueueWithTransparentLayer (23 ms) [1243/4724] TileManagerTilePriorityQueueTest.RasterTilePriorityQueueEmptyLayers (18 ms) [1244/4724] TileManagerTilePriorityQueueTest.EvictionTilePriorityQueueEmptyLayers (6 ms) [1245/4724] TileManagerTilePriorityQueueTest.RasterTilePriorityQueueStaticViewport (97 ms) [1246/4724] TileManagerTilePriorityQueueTest.RasterTilePriorityQueueMovingViewport (24 ms) [1247/4724] TileManagerTilePriorityQueueTest.SetIsLikelyToRequireADraw (11 ms) [1248/4724] TileManagerTilePriorityQueueTest.SetIsLikelyToRequireADrawOnZeroMemoryBudget (4 ms) [1249/4724] TileManagerTilePriorityQueueTest.SetIsLikelyToRequireADrawOnLimitedMemoryBudget (8 ms) [1250/4724] TileManagerTilePriorityQueueTest.DefaultMemoryPolicy (14 ms) [1251/4724] SoftwareImageDecodeCacheTest_AtRaster.UseClosestAvailableDecodeSubrected (106 ms) [1252/4724] SoftwareImageDecodeCacheTest_ExoticColorSpace.UseClosestAvailableDecode (84 ms) [1253/4724] SoftwareImageDecodeCacheTest_F16_ExoticColorSpace.UseClosestAvailableDecode_F16_ExoticColorSpace (146 ms) [1254/4724] SoftwareImageDecodeCacheTest_F16_WideGamutCanvasColorSpace.UseClosestAvailableDecode_F16_WideGamutCanvasColorSpace (149 ms) [1255/4724] TileManagerTilePriorityQueueTest.RasterTilePriorityQueue (9 ms) [1256/4724] TileManagerTilePriorityQueueTest.RasterTilePriorityQueueHighNonIdealTilings (7 ms) [1257/4724] TileManagerTilePriorityQueueTest.RasterTilePriorityQueueHighLowTilings (5 ms) [1258/4724] TileManagerTilePriorityQueueTest.RasterTilePriorityQueueInvalidation (5 ms) [1259/4724] TileManagerTilePriorityQueueTest.ActivationComesBeforeSoon (6 ms) [1260/4724] TileManagerTilePriorityQueueTest.EvictionTilePriorityQueue (10 ms) [1261/4724] SoftwareImageDecodeCacheTest.ImageKeyLowQualityAt0_75Scale (16 ms) [1262/4724] SoftwareImageDecodeCacheTest.ImageKeyMediumQualityAt0_5Scale (16 ms) [1263/4724] SoftwareImageDecodeCacheTest.ImageKeyMediumQualityAt0_49Scale (16 ms) [1264/4724] SoftwareImageDecodeCacheTest.ImageKeyMediumQualityAt0_1Scale (16 ms) [1265/4724] SoftwareImageDecodeCacheTest.ImageKeyMediumQualityAt0_01Scale (16 ms) [1266/4724] SoftwareImageDecodeCacheTest.ImageKeyFullDowscalesDropsHighQualityToMedium (2 ms) [1267/4724] SoftwareImageDecodeCacheTest.ImageKeyUpscaleIsLowQuality (1 ms) [1268/4724] SoftwareImageDecodeCacheTest.ImageKeyHighQualityDropToMediumIfTooLarge (1418 ms) [1269/4724] SoftwareImageDecodeCacheTest.ImageKeyHighQualityDropToLowIfNotDecomposable (2 ms) [1270/4724] SoftwareImageDecodeCacheTest.ImageKeyHighQualityDropToLowIfIdentity (2 ms) [1271/4724] TileManagerTilePriorityQueueTest.RasterQueueAllUsesCorrectTileBounds (18 ms) [1272/4724] TileManagerTilePriorityQueueTest.NoRasterTasksforSolidColorTiles (28 ms) [1273/4724] TileManagerTest.AllWorkFinished (21 ms) [1274/4724] TileManagerTest.ActivateAndDrawWhenOOM (18 ms) [1275/4724] TileManagerTest.PartialRasterSuccessfullyDisabled (17 ms) [1276/4724] PixelInspectTileManagerTest.LowResHasNoImage (29 ms) [1277/4724] ActivationTasksDoNotBlockReadyToDrawTest.ActivationTasksDoNotBlockReadyToDraw (6 ms) [1278/4724] PartialRasterTileManagerTest.CancelledTasksHaveNoContentId (12 ms) [1279/4724] PartialRasterTileManagerTest.PartialRasterSuccessfullyEnabled (18 ms) [1280/4724] PartialRasterTileManagerTest.PartialTileImageDecode (58 ms) [1281/4724] DamageTrackerTest.VerifyDamageWhenSurfaceRemoved (17 ms) [1282/4724] DamageTrackerTest.VerifyDamageForTransformedLayer (11 ms) [1283/4724] DamageTrackerTest.VerifyDamageForPerspectiveClippedLayer (4 ms) [1284/4724] DamageTrackerTest.VerifyDamageForBlurredSurface (11 ms) [1285/4724] DamageTrackerTest.VerifyDamageForImageFilter (15 ms) [1286/4724] DamageTrackerTest.VerifyDamageForTransformedImageFilter (16 ms) [1287/4724] DamageTrackerTest.VerifyDamageForHighDPIImageFilter (3 ms) [1288/4724] DamageTrackerTest.VerifyDamageForBackdropBlurredChild (5 ms) [1289/4724] DamageTrackerTest.VerifyDamageForAddingAndRemovingLayer (3 ms) [1290/4724] DamageTrackerTest.VerifyDamageForNewUnchangedLayer (4 ms) [1291/4724] DamageTrackerTest.SanityCheckTestTreeWithOneSurface (16 ms) [1292/4724] DamageTrackerTest.SanityCheckTestTreeWithTwoSurfaces (17 ms) [1293/4724] DamageTrackerTest.VerifyDamageForUpdateRects (23 ms) [1294/4724] DamageTrackerTest.VerifyDamageForLayerDamageRects (15 ms) [1295/4724] DamageTrackerTest.VerifyDamageForLayerUpdateAndDamageRects (14 ms) [1296/4724] DamageTrackerTest.VerifyDamageForPropertyChanges (10 ms) [1297/4724] DamageTrackerTest.VerifyDamageForPropertyChangesFromContributingContents (15 ms) [1298/4724] DamageTrackerTest.EffectPropertyChangeNoSurface (12 ms) [1299/4724] DamageTrackerTest.TransformPropertyChangeNoSurface (14 ms) [1300/4724] DamageTrackerTest.VerifyDamageForUpdateAndDamageRectsFromContributingContents (16 ms) [1301/4724] ImageAnimationControllerTest.DisplayCompleteFrameOnly (1 ms) [1302/4724] ImageAnimationControllerTest.DontLoopPartiallyLoadedImages (0 ms) [1303/4724] ImageAnimationControllerTest.DontAdvanceUntilDesiredTime (0 ms) [1304/4724] ImageAnimationControllerTest.RestartAfterSyncCutoff (0 ms) [1305/4724] ImageAnimationControllerTest.DontSkipLoopsToCatchUpAfterLoad (0 ms) [1306/4724] ImageAnimationControllerTest.FinishRepetitionsDuringCatchUp (1 ms) [1307/4724] ImageAnimationControllerTest.ResetAnimations (1 ms) [1308/4724] ImageAnimationControllerTest.ResetAnimationStateMapOnNavigation (1 ms) [1309/4724] ImageAnimationControllerTest.ImageWithNonVsyncAlignedDurations (0 ms) [1310/4724] ImageAnimationControllerTest.ImageWithLessThanIntervalDurations (0 ms) [1311/4724] DamageTrackerTest.VerifyDamageForMultipleLayers (17 ms) [1312/4724] DamageTrackerTest.VerifyDamageForNestedSurfaces (19 ms) [1313/4724] DamageTrackerTest.VerifyDamageForSurfaceChangeFromDescendantLayer (20 ms) [1314/4724] DamageTrackerTest.VerifyDamageForSurfaceChangeFromDescendantSurface (14 ms) [1315/4724] DamageTrackerTest.VerifyDamageForSurfaceChangeFromAncestorLayer (5 ms) [1316/4724] DamageTrackerTest.VerifyDamageForAddingAndRemovingRenderSurfaces (14 ms) [1317/4724] DamageTrackerTest.VerifyNoDamageWhenNothingChanged (28 ms) [1318/4724] DamageTrackerTest.VerifyNoDamageForUpdateRectThatDoesNotDrawContent (25 ms) [1319/4724] DamageTrackerTest.VerifyDamageForMask (19 ms) [1320/4724] DamageTrackerTest.DamageWhenAddedExternally (21 ms) [1321/4724] PartialRasterTileManagerTest.CompleteTileImageDecode (57 ms) [1322/4724] InvalidResourceTileManagerTest.InvalidResource (18 ms) [1323/4724] TileManagerReadyToDrawTest.SmoothActivationWaitsOnCallback (137 ms) [1324/4724] TileManagerReadyToDrawTest.NonSmoothActivationDoesNotWaitOnCallback (146 ms) [1325/4724] TileManagerReadyToDrawTest.SmoothDrawWaitsOnCallback (135 ms) [1326/4724] TileManagerReadyToDrawTest.NonSmoothDrawDoesNotWaitOnCallback (144 ms) [1327/4724] TileManagerReadyToDrawTest.NoCallbackWhenAlreadyReadyToDraw (136 ms) [1328/4724] TileManagerReadyToDrawTest.TilePrioritiesUpdated (144 ms) [1329/4724] TileManagerReadyToDrawTest.ReadyToDrawRespectsRequirementChange (146 ms) [1330/4724] CheckerImagingTileManagerTest.NoImageDecodeDependencyForCheckeredTiles (604 ms) [1331/4724] ImageAnimationControllerTest.ImplFramesWhileInvalidationPending (1 ms) [1332/4724] ImageAnimationControllerTest.MissedBeginFrameAfterRequest (0 ms) [1333/4724] ImageAnimationControllerNoResyncTest.NoSyncCutoffAfterIdle (67 ms) [1334/4724] ImageAnimationControllerNoResyncTest.SkipsLoopsAfterFirstIteration (1 ms) [1335/4724] LayerTreeFrameSinkTest.ContextLossInformsClient (1 ms) [1336/4724] LayerTreeFrameSinkTest.ContextLossFailsBind (0 ms) [1337/4724] LayerTreeFrameSinkTest.WorkerContextLossInformsClient (1 ms) [1338/4724] LayerTreeFrameSinkTest.WorkerContextLossFailsBind (0 ms) [1339/4724] LayerTreeHostCommonTest.TransformsForNoOpLayer (22 ms) [1340/4724] LayerTreeHostCommonTest.EffectTreeTransformIdTest (14 ms) [1341/4724] LayerTreeHostCommonTest.TransformsForSingleLayer (23 ms) [1342/4724] LayerTreeHostCommonTest.TransformsAboutScrollOffset (35 ms) [1343/4724] LayerTreeHostCommonTest.TransformsForSimpleHierarchy (32 ms) [1344/4724] LayerTreeHostCommonTest.TransformsForSingleRenderSurface (16 ms) [1345/4724] LayerTreeHostCommonTest.TransformsForRenderSurfaceHierarchy (4 ms) [1346/4724] LayerTreeHostCommonTest.TransformsForFlatteningLayer (3 ms) [1347/4724] LayerTreeHostCommonTest.LayerFullyContainedWithinClipInTargetSpace (3 ms) [1348/4724] LayerTreeHostCommonTest.TransformsForDegenerateIntermediateLayer (3 ms) [1349/4724] LayerTreeHostCommonTest.RenderSurfaceWithSublayerScale (4 ms) [1350/4724] LayerTreeHostCommonTest.TransformAboveRootLayer (9 ms) [1351/4724] LayerTreeHostCommonTest.RenderSurfaceForNonAxisAlignedClipping (14 ms) [1352/4724] LayerTreeHostCommonTest.EffectNodesForNonAxisAlignedClips (18 ms) [1353/4724] LayerTreeHostCommonTest.RenderSurfaceListForRenderSurfaceWithClippedLayer (15 ms) [1354/4724] LayerTreeHostCommonTest.RenderSurfaceListForTransparentChild (3 ms) [1355/4724] LayerTreeHostCommonTest.RenderSurfaceListForTransparentChildWithBackdropFilter (14 ms) [1356/4724] LayerTreeHostCommonTest.RenderSurfaceListForFilter (16 ms) [1357/4724] LayerTreeHostCommonTest.DrawableContentRectForReferenceFilter (20 ms) [1358/4724] LayerTreeHostCommonTest.DrawableContentRectForReferenceFilterHighDpi (17 ms) [1359/4724] LayerTreeHostCommonTest.RenderSurfaceForBlendMode (15 ms) [1360/4724] LayerTreeHostCommonTest.RenderSurfaceDrawOpacity (3 ms) [1361/4724] DamageTrackerTest.VerifyDamageWithNoContributingLayers (16 ms) [1362/4724] DamageTrackerTest.VerifyDamageAccumulatesUntilReset (4 ms) [1363/4724] DamageTrackerTest.HugeDamageRect (1457 ms) [1364/4724] DamageTrackerTest.DamageRectTooBig (5 ms) [1365/4724] DamageTrackerTest.DamageRectTooBigWithFilter (11 ms) [1366/4724] DamageTrackerTest.DamageRectTooBigInRenderSurface (4 ms) [1367/4724] DamageTrackerTest.DamageRectTooBigInRenderSurfaceWithFilter (15 ms) [1368/4724] ImageAnimationControllerTest.AnimationWithDelays (1 ms) [1369/4724] ImageAnimationControllerTest.DriversControlAnimationTicking (1 ms) [1370/4724] ImageAnimationControllerTest.RepetitionsRequested (3 ms) [1371/4724] LayerTreeHostCommonTest.ForceRenderSurface (4 ms) [1372/4724] LayerTreeHostCommonTest.RenderSurfacesFlattenScreenSpaceTransform (3 ms) [1373/4724] LayerTreeHostCommonTest.ClipRectCullsRenderSurfaces (3 ms) [1374/4724] LayerTreeHostCommonTest.ClipRectCullsSurfaceWithoutVisibleContent (4 ms) [1375/4724] LayerTreeHostCommonTest.IsClippedIsSetCorrectlyLayerImpl (10 ms) [1376/4724] LayerTreeHostCommonTest.UpdateClipRectCorrectly (17 ms) [1377/4724] LayerTreeHostCommonTest.DrawableContentRectForLayers (4 ms) [1378/4724] LayerTreeHostCommonTest.ClipRectIsPropagatedCorrectlyToSurfaces (3 ms) [1379/4724] LayerTreeHostCommonTest.AnimationsForRenderSurfaceHierarchy (7 ms) [1380/4724] LayerTreeHostCommonTest.LargeTransforms (17 ms) [1381/4724] LayerTreeHostCommonTest.ScreenSpaceTransformIsAnimatingWithDelayedAnimation (5 ms) [1382/4724] LayerTreeHostCommonTest.DrawableAndVisibleContentRectsForSimpleLayers (5 ms) [1383/4724] LayerTreeHostCommonTest.DrawableAndVisibleContentRectsForLayersClippedByLayer (3 ms) [1384/4724] LayerTreeHostCommonTest.VisibleContentRectWithClippingAndScaling (2 ms) [1385/4724] LayerTreeHostCommonTest.VisibleRectWithClippingAndFilters (3 ms) [1386/4724] LayerTreeHostCommonTest.VisibleRectWithScalingClippingAndFilters (8 ms) [1387/4724] LayerTreeHostCommonTest.ClipRectWithClipParentAndFilters (5 ms) [1388/4724] LayerTreeHostCommonTest.ClipRectWithClippedDescendantOfFilter (4 ms) [1389/4724] LayerTreeHostCommonTest.DrawableAndVisibleContentRectsForLayersInUnclippedRenderSurface (4 ms) [1390/4724] LayerTreeHostCommonTest.VisibleContentRectsForClippedSurfaceWithEmptyClip (7 ms) [1391/4724] LayerTreeHostCommonTest.DrawableAndVisibleContentRectsForLayersWithUninvertibleTransform (13 ms) [1392/4724] LayerTreeHostCommonTest.VisibleContentRectForLayerWithUninvertibleDrawTransform (21 ms) [1393/4724] LayerTreeHostCommonTest.OcclusionBySiblingOfTarget (23 ms) [1394/4724] LayerTreeHostCommonTest.TextureLayerSnapping (26 ms) [1395/4724] LayerTreeHostCommonTest.OcclusionForLayerWithUninvertibleDrawTransform (31 ms) [1396/4724] LayerTreeHostCommonTest.DrawableAndVisibleContentRectsForLayersInClippedRenderSurface (17 ms) [1397/4724] LayerTreeHostCommonTest.DrawableAndVisibleContentRectsForSurfaceHierarchy (11 ms) [1398/4724] LayerTreeHostCommonTest.VisibleRectsForClippedDescendantsOfUnclippedSurfaces (18 ms) [1399/4724] LayerTreeHostCommonTest.VisibleRectsWhenClipChildIsBetweenTwoRenderSurfaces (16 ms) [1400/4724] LayerTreeHostCommonTest.ClipRectOfSurfaceWhoseParentIsAClipChild (16 ms) [1401/4724] LayerTreeHostCommonTest.RenderSurfaceContentRectWhenLayerNotDrawn (13 ms) [1402/4724] LayerTreeHostCommonTest.VisibleRectsMultipleSurfaces (7 ms) [1403/4724] LayerTreeHostCommonTest.RootClipPropagationToClippedSurface (17 ms) [1404/4724] LayerTreeHostCommonTest.DrawableAndVisibleContentRectsWithTransformOnUnclippedSurface (19 ms) [1405/4724] LayerTreeHostCommonTest.DrawableAndVisibleContentRectsWithTransformOnClippedSurface (12 ms) [1406/4724] LayerTreeHostCommonTest.DrawableAndVisibleContentRectsInHighDPI (24 ms) [1407/4724] LayerTreeHostCommonTest.BackFaceCullingWithoutPreserves3d (18 ms) [1408/4724] LayerTreeHostCommonTest.BackFaceCullingWithPreserves3d (26 ms) [1409/4724] LayerTreeHostCommonTest.BackFaceCullingWithAnimatingTransforms (24 ms) [1410/4724] LayerTreeHostCommonTest.BackFaceCullingWithPreserves3dForFlatteningSurface (12 ms) [1411/4724] LayerTreeHostCommonTest.RenderSurfaceTransformsInHighDPI (19 ms) [1412/4724] LayerTreeHostCommonTest.RenderSurfaceTransformsInHighDPIAccurateScaleZeroPosition (15 ms) [1413/4724] LayerTreeHostCommonTest.LayerSearch (20 ms) [1414/4724] LayerTreeHostCommonTest.TransparentChildRenderSurfaceCreation (3 ms) [1415/4724] LayerTreeHostCommonTest.OpacityAnimatingOnPendingTree (5 ms) [1416/4724] LayerTreeHostCommonTest.SubtreeHidden_SingleLayerImpl (5 ms) [1417/4724] LayerTreeHostCommonTest.SubtreeHidden_TwoLayersImpl (4 ms) [1418/4724] LayerTreeHostCommonTest.SubtreeHiddenWithCopyRequest (6 ms) [1419/4724] LayerTreeHostCommonTest.ClippedOutCopyRequest (9 ms) [1420/4724] LayerTreeHostCommonTest.SingularTransformAndCopyRequests (5 ms) [1421/4724] LayerTreeHostCommonTest.VisibleRectInNonRootCopyRequest (14 ms) [1422/4724] LayerTreeHostCommonTest.TransformedClipParent (13 ms) [1423/4724] LayerTreeHostCommonTest.ClipParentWithInterveningRenderSurface (12 ms) [1424/4724] LayerTreeHostCommonTest.ClipParentScrolledInterveningLayer (16 ms) [1425/4724] LayerTreeHostCommonTest.DescendantsOfClipChildren (28 ms) [1426/4724] LayerTreeHostCommonTest.SurfacesShouldBeUnaffectedByNonDescendantClipChildren (16 ms) [1427/4724] LayerTreeHostCommonTest.CreateRenderSurfaceWhenFlattenInsideRenderingContext (16 ms) [1428/4724] LayerTreeHostCommonTest.DoNotIncludeBackfaceInvisibleSurfaces (16 ms) [1429/4724] LayerTreeHostCommonTest.DoNotIncludeBackfaceInvisibleLayers (16 ms) [1430/4724] LayerTreeHostCommonTest.TransformAnimationUpdatesBackfaceVisibility (20 ms) [1431/4724] LayerTreeHostCommonTest.ClippedByScrollParent (19 ms) [1432/4724] LayerTreeHostCommonTest.ScrollChildAndScrollParentDifferentTargets (16 ms) [1433/4724] LayerTreeHostCommonTest.SingularTransformSubtreesDoNotDraw (24 ms) [1434/4724] LayerTreeHostCommonTest.ClippedByOutOfOrderScrollParent (12 ms) [1435/4724] LayerTreeHostCommonTest.ClippedByOutOfOrderScrollGrandparent (20 ms) [1436/4724] LayerTreeHostCommonTest.OutOfOrderClippingRequiresRSLLSorting (12 ms) [1437/4724] LayerTreeHostCommonTest.FixedPositionWithInterveningRenderSurface (13 ms) [1438/4724] LayerTreeHostCommonTest.ScrollCompensationWithRounding (21 ms) [1439/4724] LayerTreeHostCommonTest.ScrollSnappingWithAnimatedScreenSpaceTransform (5 ms) [1440/4724] LayerTreeHostCommonTest.ScrollSnappingWithScrollChild (25 ms) [1441/4724] LayerTreeHostCommonTest.StickyPositionTop (17 ms) [1442/4724] LayerTreeHostCommonTest.StickyPositionTopScrollParent (17 ms) [1443/4724] LayerTreeHostCommonTest.StickyPositionSubpixelScroll (8 ms) [1444/4724] LayerTreeHostCommonTest.StickyPositionBottom (7 ms) [1445/4724] LayerTreeHostCommonTest.StickyPositionBottomOuterViewportDelta (12 ms) [1446/4724] LayerTreeHostCommonTest.StickyPositionLeftRight (6 ms) [1447/4724] LayerTreeHostCommonTest.StickyPositionMainThreadUpdates (23 ms) [1448/4724] LayerTreeHostCommonTest.StickyPositionCompositedContainer (12 ms) [1449/4724] LayerTreeHostCommonTest.StickyPositionScaledStickyBox (15 ms) [1450/4724] LayerTreeHostCommonTest.StickyPositionScaledContainer (7 ms) [1451/4724] LayerTreeHostCommonTest.StickyPositionNested (11 ms) [1452/4724] LayerTreeHostCommonTest.NonFlatContainerForFixedPosLayer (9 ms) [1453/4724] LayerTreeHostCommonTest.ScrollSnappingWithFixedPosChild (8 ms) [1454/4724] LayerTreeHostCommonTest.MaximumAnimationScaleFactor (20 ms) [1455/4724] LayerTreeHostCommonTest.RenderSurfaceLayerListMembership (33 ms) [1456/4724] LayerTreeHostCommonTest.DrawPropertyScales (17 ms) [1457/4724] LayerTreeHostCommonTest.AnimationScales (6 ms) [1458/4724] LayerTreeHostCommonTest.AnimationScaleWhenLayerTransformShouldNotScaleLayerBounds (7 ms) [1459/4724] LayerTreeHostCommonTest.VisibleContentRectInChildRenderSurface (4 ms) [1460/4724] LayerTreeHostCommonTest.ViewportBoundsDeltaAffectVisibleContentRect (8 ms) [1461/4724] LayerTreeHostCommonTest.NodesAffectedByViewportBoundsDeltaGetUpdated (8 ms) [1462/4724] LayerTreeHostCommonTest.VisibleContentRectForAnimatedLayer (4 ms) [1463/4724] LayerTreeHostCommonTest.VisibleContentRectForAnimatedLayerWithSingularTransform (4 ms) [1464/4724] LayerTreeHostCommonTest.AnimatedOpacityCreatesRenderSurface (3 ms) [1465/4724] LayerTreeHostCommonTest.AnimatedFilterCreatesRenderSurface (3 ms) [1466/4724] LayerTreeHostCommonTest.DelayedFilterAnimationCreatesRenderSurface (3 ms) [1467/4724] LayerTreeHostCommonTest.PropertyTreesAccountForFixedParentOffset (3 ms) [1468/4724] LayerTreeHostCommonTest.PropertyTreesAccountForFixedParentOffsetWhenContainerIsParent (4 ms) [1469/4724] LayerTreeHostCommonTest.OnlyApplyFixedPositioningOnce (5 ms) [1470/4724] LayerTreeHostCommonTest.FixedClipsShouldBeAssociatedWithTheRightNode (10 ms) [1471/4724] LayerTreeHostCommonTest.LayerWithInputHandlerAndZeroOpacity (9 ms) [1472/4724] LayerTreeHostCommonTest.ClipParentDrawsIntoScaledRootSurface (14 ms) [1473/4724] LayerTreeHostCommonTest.ClipChildVisibleRect (4 ms) [1474/4724] LayerTreeHostCommonTest.LayerClipRectLargerThanClippingRenderSurfaceRect (12 ms) [1475/4724] LayerTreeHostCommonTest.SubtreeIsHiddenTest (5 ms) [1476/4724] LayerTreeHostCommonTest.TwoUnclippedRenderSurfaces (12 ms) [1477/4724] LayerTreeHostCommonTest.MaskLayerDrawProperties (12 ms) [1478/4724] LayerTreeHostCommonTest.SublayerScaleWithTransformNodeBetweenTwoTargets (12 ms) [1479/4724] LayerTreeHostCommonTest.NoisyTransform (6 ms) [1480/4724] LayerTreeHostCommonTest.LargeTransformTest (16 ms) [1481/4724] LayerTreeHostCommonTest.PropertyTreesRebuildWithOpacityChanges (14 ms) [1482/4724] LayerTreeHostCommonTest.OpacityAnimationsTrackingTest (14 ms) [1483/4724] LayerTreeHostCommonTest.TransformAnimationsTrackingTest (13 ms) [1484/4724] LayerTreeHostCommonTest.ScrollTreeBuilderTest (19 ms) [1485/4724] LayerTreeHostCommonTest.CanAdjustRasterScaleTest (12 ms) [1486/4724] LayerTreeHostCommonTest.SurfaceContentsScaleChangeWithCopyRequestTest (10 ms) [1487/4724] LayerTreeHostCommonTest.SubtreeHiddenWithCacheRenderSurface (6 ms) [1488/4724] LayerTreeHostCommonTest.VisibleRectInNonRootCacheRenderSurface (5 ms) [1489/4724] LayerTreeHostCommonTest.BuildPropertyNodesForScrollChildrenInOrder (4 ms) [1490/4724] LayerTreeHostCommonTest.RenderSurfaceListForTrilinearFiltering (3 ms) [1491/4724] LayerTreeHostCommonTest.ChangingAxisAlignmentTriggersRebuild (19 ms) [1492/4724] LayerTreeHostCommonTest.ChangeTransformOrigin (28 ms) [1493/4724] LayerTreeHostCommonTest.UpdateScrollChildPosition (12 ms) [1494/4724] LayerTreeHostCommonTest.HasCopyRequestsInTargetSubtree (12 ms) [1495/4724] LayerTreeHostCommonTest.SkippingSubtreeMain (19 ms) [1496/4724] LayerTreeHostCommonTest.SkippingLayerImpl (22 ms) [1497/4724] LayerTreeHostCommonTest.LayerSkippingInSubtreeOfSingularTransform (12 ms) [1498/4724] LayerTreeHostCommonTest.SkippingPendingLayerImpl (25 ms) [1499/4724] LayerTreeHostCommonTest.SkippingLayer (11 ms) [1500/4724] LayerTreeHostCommonTest.LayerTreeRebuildTest (17 ms) [1501/4724] LayerTreeHostCommonTest.ResetPropertyTreeIndices (15 ms) [1502/4724] LayerTreeHostCommonTest.RenderSurfaceClipsSubtree (16 ms) [1503/4724] LayerTreeHostCommonTest.TransformOfParentClipNodeAncestorOfTarget (17 ms) [1504/4724] LayerTreeHostCommonTest.RenderSurfaceWithUnclippedDescendantsClipsSubtree (13 ms) [1505/4724] LayerTreeHostCommonTest.RenderSurfaceWithUnclippedDescendantsButDoesntApplyOwnClip (15 ms) [1506/4724] LayerTreeHostCommonTest.RenderSurfaceClipsSubtreeAndHasUnclippedDescendants (12 ms) [1507/4724] LayerTreeHostCommonTest.UnclippedClipParent (3 ms) [1508/4724] LayerTreeHostCommonTest.RenderSurfaceContentRectWithMultipleSurfaces (15 ms) [1509/4724] LayerTreeHostCommonTest.ClipBetweenClipChildTargetAndClipParentTarget (11 ms) [1510/4724] LayerTreeHostCommonTest.VisibleRectForDescendantOfScaledSurface (16 ms) [1511/4724] LayerTreeHostCommonTest.VisibleRectClippedByViewport (39 ms) [1512/4724] LayerTreeHostCommonTest.RoundedCornerBounds (6 ms) [1513/4724] LayerTreeHostCommonTest.RoundedCornerBoundsInterveningRenderTarget (17 ms) [1514/4724] LayerTreeHostCommonTest.RoundedCornerBoundsSiblingRenderTarget (12 ms) [1515/4724] LayerTreeHostCommonTest.FastRoundedCornerDoesNotTriggerRenderSurface (22 ms) [1516/4724] LayerTreeHostCommonTest.FastRoundedCornerTriggersRenderSurfaceInAncestor (15 ms) [1517/4724] LayerTreeHostCommonTest.FastRoundedCornerDoesNotTriggerRenderSurfaceFromSubtree (13 ms) [1518/4724] LayerTreeHostCommonDrawRectsTest.DrawRectsForIdentityTransform (14 ms) [1519/4724] LayerTreeHostCommonDrawRectsTest.DrawRectsFor2DRotations (12 ms) [1520/4724] LayerTreeHostCommonDrawRectsTest.DrawRectsFor3dOrthographicTransform (14 ms) [1521/4724] LayerTreeHostCommonDrawRectsTest.DrawRectsFor3dPerspectiveTransform (16 ms) [1522/4724] LayerTreeHostCommonDrawRectsTest.DrawRectsFor3dOrthographicIsNotClippedBehindSurface (15 ms) [1523/4724] LayerTreeHostCommonDrawRectsTest.DrawRectsFor3dPerspectiveWhenClippedByW (14 ms) [1524/4724] LayerTreeHostCommonDrawRectsTest.DrawRectsForPerspectiveUnprojection (22 ms) [1525/4724] LayerTreeHostCommonScalingTest.LayerTransformsInHighDPI (12 ms) [1526/4724] LayerTreeHostCommonScalingTest.SurfaceLayerTransformsInHighDPI (7 ms) [1527/4724] LayerTreeHostCommonScalingTest.SmallIdealScale (12 ms) [1528/4724] LayerTreeHostCommonScalingTest.IdealScaleForAnimatingLayer (5 ms) [1529/4724] LayerTreeHostImplTest.LocalAndExternalPinchState (14 ms) [1530/4724] LayerTreeHostImplTest.NotifyIfCanDrawChanged (19 ms) [1531/4724] LayerTreeHostImplTest.ResourcelessDrawWithEmptyViewport (17 ms) [1532/4724] LayerTreeHostImplTest.ScrollDeltaNoLayers (18 ms) [1533/4724] LayerTreeHostImplTest.ScrollDeltaTreeButNoChanges (5 ms) [1534/4724] LayerTreeHostImplTest.ScrollDeltaRepeatedScrolls (16 ms) [1535/4724] LayerTreeHostImplTest.ScrollBeforeRootLayerAttached (12 ms) [1536/4724] LayerTreeHostImplTest.ScrollRootCallsCommitAndRedraw (30 ms) [1537/4724] LayerTreeHostImplTest.ScrollActiveOnlyAfterScrollMovement (19 ms) [1538/4724] LayerTreeHostImplTest.ScrollWithoutRootLayer (10 ms) [1539/4724] LayerTreeHostImplTest.ScrollWithoutRenderer (17 ms) [1540/4724] LayerTreeHostImplTest.ReplaceTreeWhileScrolling (15 ms) [1541/4724] LayerTreeHostImplTest.ScrollBlocksOnWheelEventHandlers (13 ms) [1542/4724] LayerTreeHostImplTest.ScrollBlocksOnTouchEventHandlers (15 ms) [1543/4724] LayerTreeHostImplTest.ShouldScrollOnMainThread (13 ms) [1544/4724] LayerTreeHostImplTest.ScrollWithOverlappingNonScrollableLayer (8 ms) [1545/4724] LayerTreeHostImplTest.ScrollWithOverlappingTransparentNonScrollableLayer (15 ms) [1546/4724] LayerTreeHostImplTest.ScrolledOverlappingDrawnScrollbarLayer (13 ms) [1547/4724] LayerTreeHostImplTest.NonFastScrollableRegionBasic (7 ms) [1548/4724] LayerTreeHostImplTest.NonFastScrollableRegionWithOffset (7 ms) [1549/4724] LayerTreeHostImplTest.ScrollHandlerNotPresent (4 ms) [1550/4724] LayerTreeHostImplTest.ScrollHandlerPresent (4 ms) [1551/4724] CheckerImagingTileManagerTest.BuildsImageDecodeQueueAsExpected (2428 ms) [1552/4724] CheckerImagingTileManagerTest.TileManagerCleanupClearsCheckerImagedDecodes (355 ms) [1553/4724] CheckerImagingTileManagerTest.TileManagerCorrectlyPrioritizesCheckerImagedDecodes (503 ms) [1554/4724] EmptyCacheTileManagerTest.AtRasterOnScreenTileRasterTasks (559 ms) [1555/4724] EmptyCacheTileManagerTest.AtRasterPrepaintTileRasterTasksSkipped (62 ms) [1556/4724] CheckerImagingTileManagerMemoryTest.AddsAllNowTilesToImageDecodeQueue (2960 ms) [1557/4724] SynchronousRasterTileManagerTest.AlwaysUseImageCache (3 ms) [1558/4724] DecodedImageTrackerTileManagerTest.DecodedImageTrackerDropsLocksOnUse (38 ms) [1559/4724] TileManagerCheckRasterQueriesTest.ChecksRasterQueriesInAllTilesDoneTask (20 ms) [1560/4724] TilePriorityTest.IsHigherPriorityThan (0 ms) [1561/4724] LayerTreeHostImplTest.AnimationSchedulingCommitToActiveTree (17 ms) [1562/4724] LayerTreeHostImplTest.AnimationSchedulingOnLayerDestruction (16 ms) [1563/4724] LayerTreeHostImplTest.ImplPinchZoom (7 ms) [1564/4724] LayerTreeHostImplTest.ViewportScrollbarGeometry (8 ms) [1565/4724] LayerTreeHostImplTest.ViewportScrollOrder (8 ms) [1566/4724] LayerTreeHostImplTest.ScrollViewportWithFractionalAmounts (9 ms) [1567/4724] LayerTreeHostImplTest.ScrollDuringPinchGesture (29 ms) [1568/4724] LayerTreeHostImplTest.PinchZoomSnapsToScreenEdge (21 ms) [1569/4724] LayerTreeHostImplTest.ImplPinchZoomWheelBubbleBetweenViewports (6 ms) [1570/4724] LayerTreeHostImplTest.ScrollWithSwapPromises (4 ms) [1571/4724] LayerTreeHostImplTest.ScrollHitTestOnScrollbar (15 ms) [1572/4724] LayerTreeHostImplTest.ScrollbarVisibilityChangeCausesRedrawAndCommit (15 ms) [1573/4724] LayerTreeHostImplTest.ScrollbarInnerLargerThanOuter (18 ms) [1574/4724] LayerTreeHostImplTest.ScrollbarRegistration (17 ms) [1575/4724] LayerTreeHostImplTest.ScrollBeforeMouseMove (23 ms) [1576/4724] LayerTreeHostImplTest.MouseMoveAtWithDeviceScaleOf1 (7 ms) [1577/4724] LayerTreeHostImplTest.MouseMoveAtWithDeviceScaleOf2 (8 ms) [1578/4724] LayerTreeHostImplTest.ActivationDependenciesInMetadata (5 ms) [1579/4724] LayerTreeHostImplTest.SurfaceReferencesChangeCausesDamage (5 ms) [1580/4724] LayerTreeHostImplTest.CompositorFrameMetadata (5 ms) [1581/4724] LayerTreeHostImplTest.ScrollByReturnsCorrectValue (17 ms) [1582/4724] LayerTreeHostImplTest.ScrollSnapOnX (22 ms) [1583/4724] LayerTreeHostImplTest.ScrollSnapOnY (13 ms) [1584/4724] LayerTreeHostImplTest.ScrollSnapOnBoth (19 ms) [1585/4724] LayerTreeHostImplTest.ScrollSnapAfterAnimatedScroll (14 ms) [1586/4724] LayerTreeHostImplTest.SnapAnimationCancelledByScroll (17 ms) [1587/4724] LayerTreeHostImplTest.GetSnapFlingInfoWhenZoomed (13 ms) [1588/4724] LayerTreeHostImplTest.OverscrollBehaviorPreventsPropagation (18 ms) [1589/4724] LayerTreeHostImplTest.ScrollWithUserUnscrollableLayers (8 ms) [1590/4724] LayerTreeHostImplTest.ForceMainThreadScrollWithoutScrollLayer (8 ms) [1591/4724] LayerTreeHostImplTest.ScrollDoesntBubble (23 ms) [1592/4724] LayerTreeHostImplTest.PinchGesture (13 ms) [1593/4724] LayerTreeHostImplTest.SyncSubpixelScrollDelta (5 ms) [1594/4724] LayerTreeHostImplTest.SyncSubpixelScrollFromFractionalActiveBase (4 ms) [1595/4724] LayerTreeHostImplTest.PinchZoomTriggersPageScaleAnimation (6 ms) [1596/4724] LayerTreeHostImplTest.PageScaleAnimation (11 ms) [1597/4724] LayerTreeHostImplTest.PageScaleAnimationNoOp (19 ms) [1598/4724] LayerTreeHostImplTest.PageScaleAnimationTransferedOnSyncTreeActivate (6 ms) [1599/4724] LayerTreeHostImplTest.PageScaleAnimationCompletedNotification (20 ms) [1600/4724] LayerTreeHostImplTest.MaxScrollOffsetAffectedByViewportBoundsDelta (8 ms) [1601/4724] LayerTreeHostImplTest.DamageShouldNotCareAboutContributingLayers (32 ms) [1602/4724] LayerTreeHostImplTest.WillDrawReturningFalseDoesNotCall (19 ms) [1603/4724] LayerTreeHostImplTest.DidDrawNotCalledOnHiddenLayer (21 ms) [1604/4724] LayerTreeHostImplTest.WillDrawNotCalledOnOccludedLayer (19 ms) [1605/4724] LayerTreeHostImplTest.DidDrawCalledOnAllLayers (20 ms) [1606/4724] LayerTreeHostImplTest.PrepareToDrawWhenDrawAndSwapFullViewportEveryFrame (21 ms) [1607/4724] LayerTreeHostImplTest.ScrollRootIgnored (19 ms) [1608/4724] LayerTreeHostImplTest.ClampingAfterActivation (19 ms) [1609/4724] LayerTreeHostImplTest.ScrollNonCompositedRoot (6 ms) [1610/4724] LayerTreeHostImplTest.ScrollChildCallsCommitAndRedraw (19 ms) [1611/4724] LayerTreeHostImplTest.ScrollMissesChild (8 ms) [1612/4724] LayerTreeHostImplTest.ScrollMissesBackfacingChild (4 ms) [1613/4724] LayerTreeHostImplTest.ScrollBlockedByContentLayer (4 ms) [1614/4724] LayerTreeHostImplTest.ScrollRootAndChangePageScaleOnMainThread (8 ms) [1615/4724] LayerTreeHostImplTest.ScrollRootAndChangePageScaleOnImplThread (9 ms) [1616/4724] LayerTreeHostImplTest.PageScaleDeltaAppliedToRootScrollLayerOnly (7 ms) [1617/4724] LayerTreeHostImplTest.ScrollChildAndChangePageScaleOnMainThread (4 ms) [1618/4724] LayerTreeHostImplTest.ScrollChildBeyondLimit (6 ms) [1619/4724] LayerTreeHostImplTest.ScrollWithoutBubbling (5 ms) [1620/4724] LayerTreeHostImplTest.ChildrenOfInnerScrollNodeCanScrollOnThread (9 ms) [1621/4724] LayerTreeHostImplTest.ScrollEventBubbling (8 ms) [1622/4724] LayerTreeHostImplTest.ScrollBeforeRedraw (5 ms) [1623/4724] LayerTreeHostImplTest.ScrollAxisAlignedRotatedLayer (5 ms) [1624/4724] LayerTreeHostImplTest.ScrollNonAxisAlignedRotatedLayer (8 ms) [1625/4724] LayerTreeHostImplTest.ScrollPerspectiveTransformedLayer (8 ms) [1626/4724] LayerTreeHostImplTest.ScrollScaledLayer (7 ms) [1627/4724] LayerTreeHostImplTest.ScrollViewportRounding (7 ms) [1628/4724] LayerTreeHostImplTest.RootLayerScrollOffsetDelegation (7 ms) [1629/4724] LayerTreeHostImplTest.ExternalRootLayerScrollOffsetDelegationReflectedInNextDraw (6 ms) [1630/4724] LayerTreeHostImplTest.SetRootScrollOffsetUserScrollable (6 ms) [1631/4724] LayerTreeHostImplTest.SetRootScrollOffsetNoViewportCrash (9 ms) [1632/4724] LayerTreeHostImplTest.OverscrollRoot (19 ms) [1633/4724] LayerTreeHostImplTest.OverscrollChildWithoutBubbling (5 ms) [1634/4724] LayerTreeHostImplTest.OverscrollChildEventBubbling (6 ms) [1635/4724] LayerTreeHostImplTest.OverscrollAlways (7 ms) [1636/4724] LayerTreeHostImplTest.NoOverscrollWhenNotAtEdge (8 ms) [1637/4724] LayerTreeHostImplTest.NoOverscrollOnNonViewportLayers (8 ms) [1638/4724] LayerTreeHostImplTest.OverscrollOnMainThread (8 ms) [1639/4724] LayerTreeHostImplTest.ScrollFromOuterViewportSibling (5 ms) [1640/4724] LayerTreeHostImplTest.ScrollChainingWithReplacedOuterViewport (7 ms) [1641/4724] LayerTreeHostImplTest.RootScrollerScrollNonDescendant (14 ms) [1642/4724] LayerTreeHostImplTest.OverscrollOnImplThread (8 ms) [1643/4724] LayerTreeHostImplTest.BlendingOffWhenDrawingOpaqueLayers (12 ms) [1644/4724] LayerTreeHostImplTest.MayContainVideo (6 ms) [1645/4724] LayerTreeHostImplTest.PartialSwapReceivesDamageRect (7 ms) [1646/4724] LayerTreeHostImplTest.RootLayerDoesntCreateExtraSurface (6 ms) [1647/4724] LayerTreeHostImplTest.LayersFreeTextures (19 ms) [1648/4724] LayerTreeHostImplTest.HasTransparentBackground (18 ms) [1649/4724] LayerTreeHostImplTest.FarAwayQuadsDontNeedAA (25 ms) [1650/4724] LayerTreeHostImplTest.ForcedDrawToSoftwareDeviceSkipsUnsupportedLayers (13 ms) [1651/4724] LayerTreeHostImplTest.AnimatedScrollUpdateTargetBeforeStarting (19 ms) [1652/4724] LayerTreeHostImplTest.ScrollAnimatedWithDelay (10 ms) [1653/4724] LayerTreeHostImplTest.InvalidLayerNotAddedToRasterQueue (13 ms) [1654/4724] LayerTreeHostImplTest.DidBecomeActive (11 ms) [1655/4724] LayerTreeHostImplTest.WheelScrollWithPageScaleFactorOnInnerLayer (14 ms) [1656/4724] LayerTreeHostImplTest.RemoveUnreferencedRenderPass (10 ms) [1657/4724] LayerTreeHostImplTest.RemoveEmptyRenderPass (13 ms) [1658/4724] LayerTreeHostImplTest.DoNotRemoveEmptyRootRenderPass (5 ms) [1659/4724] LayerTreeHostImplTest.AddVideoFrameControllerInsideFrame (8 ms) [1660/4724] LayerTreeHostImplTest.AddVideoFrameControllerOutsideFrame (7 ms) [1661/4724] LayerTreeHostImplTest.MemoryLimits (15 ms) [1662/4724] LayerTreeHostImplTest.RequireHighResAfterGpuRasterizationToggles (18 ms) [1663/4724] LayerTreeHostImplTest.UIResourceManagement (20 ms) [1664/4724] LayerTreeHostImplTest.CreateETC1UIResource (20 ms) [1665/4724] LayerTreeHostImplTest.GpuRasterizationStatusChangeDoesNotEvictUIResources (18 ms) [1666/4724] LayerTreeHostImplTest.ScrollUnknownNotOnAncestorChain (10 ms) [1667/4724] LayerTreeHostImplTest.ScrollUnknownScrollAncestorMismatch (17 ms) [1668/4724] LayerTreeHostImplTest.ScrollInvisibleScroller (15 ms) [1669/4724] LayerTreeHostImplTest.SimpleSwapPromiseMonitor (8 ms) [1670/4724] LayerTreeHostImplTest.ExternalTransformReflectedInNextDraw (7 ms) [1671/4724] LayerTreeHostImplTest.ExternalTransformSetNeedsRedraw (17 ms) [1672/4724] LayerTreeHostImplTest.OnMemoryPressure (18 ms) [1673/4724] LayerTreeHostImplTest.OnDrawConstraintSetNeedsRedraw (18 ms) [1674/4724] LayerTreeHostImplTest.FullViewportDamageAfterOnDraw (8 ms) [1675/4724] LayerTreeHostImplTest.ExternalViewportAffectsVisibleRects (19 ms) [1676/4724] LayerTreeHostImplTest.ExternalTransformAffectsVisibleRects (13 ms) [1677/4724] LayerTreeHostImplTest.ExternalTransformAffectsSublayerScaleFactor (28 ms) [1678/4724] LayerTreeHostImplTest.ScrollAnimated (11 ms) [1679/4724] LayerTreeHostImplTest.ScrollAnimatedWhileZoomed (9 ms) [1680/4724] LayerTreeHostImplTest.SecondScrollAnimatedBeginNotIgnored (4 ms) [1681/4724] LayerTreeHostImplTest.GpuRasterizationStatusTrigger (17 ms) [1682/4724] LayerTreeHostImplTest.GpuRasterizationStatusSlowPaths (17 ms) [1683/4724] LayerTreeHostImplTest.GpuRasterizationStatusDeviceScaleFactor (16 ms) [1684/4724] LayerTreeHostImplTest.GpuRasterizationStatusExplicitMSAACount (18 ms) [1685/4724] LayerTreeHostImplTest.UpdatePageScaleFactorOnActiveTree (12 ms) [1686/4724] LayerTreeHostImplTest.SubLayerScaleForNodeInSubtreeOfPageScaleLayer (13 ms) [1687/4724] LayerTreeHostImplTest.JitterTest (21 ms) [1688/4724] LayerTreeHostImplTest.RecomputeGpuRasterOnLayerTreeFrameSinkChange (10 ms) [1689/4724] LayerTreeHostImplTest.LayerTreeHostImplTestScrollbarStatesInMainThreadScrolling (11 ms) [1690/4724] LayerTreeHostImplTest.LayerTreeHostImplTestScrollbarStatesInNotMainThreadScrolling (14 ms) [1691/4724] LayerTreeHostImplTest.CheckerImagingTileInvalidation (96 ms) [1692/4724] LayerTreeHostImplTest.RasterColorSpace (30 ms) [1693/4724] LayerTreeHostImplTest.RasterColorSpaceSoftware (19 ms) [1694/4724] LayerTreeHostImplTest.UpdatedTilingsForNonDrawingLayers (20 ms) [1695/4724] LayerTreeHostImplTest.RasterTilePrioritizationForNonDrawingLayers (19 ms) [1696/4724] LayerTreeHostImplTest.DrawAfterDroppingTileResources (24 ms) [1697/4724] LayerTreeHostImplTest.NeedUpdateGpuRasterization (23 ms) [1698/4724] LayerTreeHostImplTest.WhiteListedTouchActionTest1 (22 ms) [1699/4724] LayerTreeHostImplTest.WhiteListedTouchActionTest2 (20 ms) [1700/4724] LayerTreeHostImplTest.WhiteListedTouchActionTest3 (14 ms) [1701/4724] LayerTreeHostImplTest.WhiteListedTouchActionTest4 (21 ms) [1702/4724] LayerTreeHostImplTest.SelectionBoundsPassedToRenderFrameMetadata (32 ms) [1703/4724] LayerTreeHostImplTest.ScrollByScrollingNode (19 ms) [1704/4724] LayerTreeHostImplTest.DisabledBuildHitTestData (19 ms) [1705/4724] LayerTreeHostImplTest.ImplThreadPhaseUponImplSideInvalidation (16 ms) [1706/4724] LayerTreeHostImplTest.SkipOnDrawDoesNotUpdateDrawParams (21 ms) [1707/4724] LayerTreeHostImplTest.TouchScrollOnAndroidScrollbar (23 ms) [1708/4724] CommitToPendingTreeLayerTreeHostImplTest.GPUMemoryForSmallLayerHistogramTest (92 ms) [1709/4724] CommitToPendingTreeLayerTreeHostImplTest.GPUMemoryForLargeLayerHistogramTest (121 ms) [1710/4724] CommitToPendingTreeLayerTreeHostImplTest.AnimationSchedulingPendingTree (6 ms) [1711/4724] CommitToPendingTreeLayerTreeHostImplTest.AnimationSchedulingActiveTree (14 ms) [1712/4724] CommitToPendingTreeLayerTreeHostImplTest.PrepareToDrawSucceedsAndFails (34 ms) [1713/4724] CommitToPendingTreeLayerTreeHostImplTest.ExternalTileConstraintReflectedInPendingTree (4 ms) [1714/4724] LayerTreeHostImplTestScrollbarAnimation.Android (31 ms) [1715/4724] LayerTreeHostImplTestScrollbarAnimation.AuraOverlay (28 ms) [1716/4724] LayerTreeHostImplTestScrollbarAnimation.NoAnimator (17 ms) [1717/4724] LayerTreeHostImplTestScrollbarOpacity.Android (14 ms) [1718/4724] LayerTreeHostImplTestScrollbarOpacity.AuraOverlay (8 ms) [1719/4724] LayerTreeHostImplTestScrollbarOpacity.NoAnimator (18 ms) [1720/4724] LayerTreeHostImplTestMultiScrollable.ScrollbarFlashAfterAnyScrollUpdate (23 ms) [1721/4724] LayerTreeHostImplTestMultiScrollable.ScrollbarFlashWhenMouseEnter (21 ms) [1722/4724] LayerTreeHostImplBrowserControlsTest.HidingBrowserControlsExpandsScrollableSize (23 ms) [1723/4724] LayerTreeHostImplBrowserControlsTest.MovingBrowserControlsOuterClipDeltaScaled (15 ms) [1724/4724] LayerTreeHostImplBrowserControlsTest.MovingBrowserControlsChangesViewportClip (24 ms) [1725/4724] LayerTreeHostImplBrowserControlsTest.HidingBrowserControlsAdjustsScrollbarPosition (13 ms) [1726/4724] LayerTreeHostImplBrowserControlsTest.ScrollBrowserControlsByFractionalAmount (14 ms) [1727/4724] LayerTreeHostImplBrowserControlsTest.BrowserControlsOuterViewportBecomesScrollable (23 ms) [1728/4724] LayerTreeHostImplBrowserControlsTest.FixedContainerDelta (14 ms) [1729/4724] LayerTreeHostImplBrowserControlsTest.BrowserControlsPushUnsentRatio (15 ms) [1730/4724] LayerTreeHostImplBrowserControlsTest.BrowserControlsScrollableSublayer (21 ms) [1731/4724] LayerTreeHostImplBrowserControlsTest.PositionBrowserControlsExplicitly (19 ms) [1732/4724] LayerTreeHostImplBrowserControlsTest.ApplyDeltaOnTreeActivation (20 ms) [1733/4724] LayerTreeHostImplBrowserControlsTest.BrowserControlsLayoutHeightChanged (6 ms) [1734/4724] LayerTreeHostImplBrowserControlsTest.BrowserControlsViewportOffsetClamping (21 ms) [1735/4724] LayerTreeHostImplBrowserControlsTest.BrowserControlsAspectRatio (23 ms) [1736/4724] LayerTreeHostImplBrowserControlsTest.BrowserControlsScrollOuterViewport (9 ms) [1737/4724] LayerTreeHostImplBrowserControlsTest.ScrollNonScrollableRootWithBrowserControls (13 ms) [1738/4724] LayerTreeHostImplBrowserControlsTest.ViewportBoundsDeltaOnTreeActivation (21 ms) [1739/4724] LayerTreeHostImplBrowserControlsTest.ReplacedOuterViewportScrollsBrowserControls (13 ms) [1740/4724] LayerTreeHostImplTimelinesTest.ScrollAnimatedLatchToChild (41 ms) [1741/4724] LayerTreeHostImplTimelinesTest.ScrollAnimatedAborted (28 ms) [1742/4724] LayerTreeHostImplTimelinesTest.ScrollAnimated (18 ms) [1743/4724] LayerTreeHostImplTimelinesTest.ImplPinchZoomScrollAnimated (29 ms) [1744/4724] LayerTreeHostImplTimelinesTest.ImplPinchZoomScrollAnimatedUpdate (13 ms) [1745/4724] LayerTreeHostImplTimelinesTest.ScrollAnimatedNotUserScrollable (21 ms) [1746/4724] LayerTreeHostImplTimelinesTest.ScrollAnimatedChangingBounds (21 ms) [1747/4724] LayerTreeHostImplViewportCoveredTest.ViewportCovered (14 ms) [1748/4724] LayerTreeHostImplViewportCoveredTest.ViewportCoveredScaled (25 ms) [1749/4724] LayerTreeHostImplViewportCoveredTest.ActiveTreeGrowViewportInvalid (14 ms) [1750/4724] LayerTreeHostImplViewportCoveredTest.ActiveTreeShrinkViewportInvalid (23 ms) [1751/4724] LayerTreeHostImplWithBrowserControlsTest.ScrollHandledByBrowserControls (27 ms) [1752/4724] LayerTreeHostImplWithBrowserControlsTest.WheelUnhandledByBrowserControls (8 ms) [1753/4724] LayerTreeHostImplWithBrowserControlsTest.BrowserControlsAnimationAtOrigin (13 ms) [1754/4724] LayerTreeHostImplWithBrowserControlsTest.BrowserControlsAnimationAfterScroll (20 ms) [1755/4724] LayerTreeHostImplWithBrowserControlsTest.BrowserControlsScrollDeltaInOverScroll (17 ms) [1756/4724] LayerTreeHostImplVirtualViewportTest.RootScrollBothInnerAndOuterLayer (6 ms) [1757/4724] LayerTreeHostImplVirtualViewportTest.DiagonalScrollBubblesPerfectlyToInner (15 ms) [1758/4724] LayerTreeHostImplVirtualViewportTest.ScrollBeginEventThatTargetsViewportLayerSkipsHitTest (18 ms) [1759/4724] LayerTreeHostImplVirtualViewportTest.NoOverscrollWhenInnerViewportCantScroll (11 ms) [1760/4724] LayerTreeHostImplWithImplicitLimitsTest.ImplicitMemoryLimits (4 ms) [1761/4724] ResourcelessSoftwareLayerTreeHostImplTest.ResourcelessSoftwareSetNeedsRedraw (17 ms) [1762/4724] ResourcelessSoftwareLayerTreeHostImplTest.ResourcelessSoftwareDrawSkipsUpdateTiles (14 ms) [1763/4724] LayerTreeHostImplCountingLostSurfaces.TwiceLostSurface (9 ms) [1764/4724] GpuRasterizationDisabledLayerTreeHostImplTest.GpuRasterizationStatusOverrides (16 ms) [1765/4724] MsaaIsSlowLayerTreeHostImplTest.GpuRasterizationStatusMsaaIsSlow (16 ms) [1766/4724] MsaaCompatibilityLayerTreeHostImplTest.GpuRasterizationStatusNonAAPaint (13 ms) [1767/4724] HitTestRegionListGeneratingLayerTreeHostImplTest.BuildHitTestData (7 ms) [1768/4724] HitTestRegionListGeneratingLayerTreeHostImplTest.PointerEvents (15 ms) [1769/4724] HitTestRegionListGeneratingLayerTreeHostImplTest.ComplexPage (21 ms) [1770/4724] HitTestRegionListGeneratingLayerTreeHostImplTest.InvalidFrameSinkId (12 ms) [1771/4724] LayerTreeHostImplTestDrawAndTestDamage.FrameIncludesDamageRect (15 ms) [1772/4724] LayerTreeHostImplTestDrawAndTestDamage.RequireHighResAndRedrawWhenVisible (21 ms) [1773/4724] CompositorFrameMetadataTest.CompositorFrameAckCountsAsSwapComplete (12 ms) [1774/4724] LayerTreeHostImplTestPrepareTiles.PrepareTilesWhenInvisible (12 ms) [1775/4724] LayerTreeHostImplLatencyInfoRendererTest.LatencyInfoPassedToCompositorFrameMetadataRenderer (8 ms) [1776/4724] LayerTreeHostImplLatencyInfoUITest.LatencyInfoPassedToCompositorFrameMetadataUI (14 ms) [1777/4724] LayerTreeHostImplWithBrowserControlsTest.NoIdleAnimations (13 ms) [1778/4724] LayerTreeHostImplWithBrowserControlsTest.BrowserControlsHeightIsCommitted (7 ms) [1779/4724] LayerTreeHostImplWithBrowserControlsTest.BrowserControlsStayFullyVisibleOnHeightChange (19 ms) [1780/4724] LayerTreeHostImplWithBrowserControlsTest.BrowserControlsAnimationScheduling (16 ms) [1781/4724] LayerTreeHostTestHasImplThreadTest.RunSingleThread_DelegatingRenderer (32 ms) [1782/4724] LayerTreeHostTestHasImplThreadTest.RunMultiThread_DelegatingRenderer (39 ms) [1783/4724] LayerTreeHostTestSetNeedsCommitInsideLayout.RunSingleThread_DelegatingRenderer (40 ms) [1784/4724] LayerTreeHostTestSetNeedsCommitInsideLayout.RunMultiThread_DelegatingRenderer (53 ms) [1785/4724] LayerTreeHostTestFrameOrdering.RunSingleThread_DelegatingRenderer (32 ms) [1786/4724] LayerTreeHostTestFrameOrdering.RunMultiThread_DelegatingRenderer (24 ms) [1787/4724] LayerTreeHostTestRequestedMainFrame.RunSingleThread_DelegatingRenderer (30 ms) [1788/4724] LayerTreeHostTestRequestedMainFrame.RunMultiThread_DelegatingRenderer (35 ms) [1789/4724] LayerTreeHostTestSetNeedsUpdateInsideLayout.RunSingleThread_DelegatingRenderer (14 ms) [1790/4724] LayerTreeHostTestSetNeedsUpdateInsideLayout.RunMultiThread_DelegatingRenderer (24 ms) [1791/4724] LayerTreeHostTestCantDrawBeforeCommit.RunSingleThread_DelegatingRenderer (36 ms) [1792/4724] LayerTreeHostTestCantDrawBeforeCommit.RunMultiThread_DelegatingRenderer (50 ms) [1793/4724] LayerTreeHostTestCantDrawBeforeCommitActivate.RunMultiThread_DelegatingRenderer (37 ms) [1794/4724] LayerTreeHostTestPropertyTreesChangedSync.RunSingleThread_DelegatingRenderer (35 ms) [1795/4724] LayerTreeHostTestAnimationOpacityMutatedNotUsingLayerLists.RunSingleThread_DelegatingRenderer (27 ms) [1796/4724] LayerTreeHostTestAnimationOpacityMutatedUsingLayerLists.RunSingleThread_DelegatingRenderer (20 ms) [1797/4724] LayerTreeHostTestAnimationTransformMutatedNotUsingLayerLists.RunSingleThread_DelegatingRenderer (12 ms) [1798/4724] LayerTreeHostTestAnimationTransformMutatedUsingLayerLists.RunSingleThread_DelegatingRenderer (33 ms) [1799/4724] LayerTreeHostTestAnimationFilterMutatedNotUsingLayerLists.RunSingleThread_DelegatingRenderer (21 ms) [1800/4724] LayerTreeHostTestAnimationFilterMutatedUsingLayerLists.RunSingleThread_DelegatingRenderer (31 ms) [1801/4724] LayerTreeHostTestPushNodeOwnerToNodeIdMap.RunSingleThread_DelegatingRenderer (54 ms) [1802/4724] LayerTreeHostTestPushNodeOwnerToNodeIdMap.RunMultiThread_DelegatingRenderer (79 ms) [1803/4724] LayerTreeHostTestPushElementIdToNodeIdMap.RunSingleThread_DelegatingRenderer (25 ms) [1804/4724] LayerTreeHostTestPushElementIdToNodeIdMap.RunMultiThread_DelegatingRenderer (36 ms) [1805/4724] LayerTreeHostTestSurfaceDamage.RunSingleThread_DelegatingRenderer (43 ms) [1806/4724] LayerTreeHostTestSurfaceDamage.RunMultiThread_DelegatingRenderer (76 ms) [1807/4724] LayerTreeHostTestLayerListSurfaceDamage.RunSingleThread_DelegatingRenderer (62 ms) [1808/4724] LayerTreeHostTestLayerListSurfaceDamage.RunMultiThread_DelegatingRenderer (47 ms) [1809/4724] LayerTreeHostTestNoDamageCausesNoInvalidate.RunMultiThread_DelegatingRenderer (68 ms) [1810/4724] LayerTreeHostTestEarlyDamageCheckStops.RunMultiThread_DelegatingRenderer (73 ms) [1811/4724] LayerTreeHostFreesWorkerContextResourcesOnZeroMemoryLimitSynchronous.RunMultiThread_DelegatingRenderer (48 ms) [1812/4724] LayerTreeHostFreeContextResourcesOnDestroy.RunSingleThread_DelegatingRenderer (49 ms) [1813/4724] LayerTreeHostFreeContextResourcesOnDestroy.RunMultiThread_DelegatingRenderer (28 ms) [1814/4724] LayerTreeHostCacheBehaviorOnLayerTreeFrameSinkRecreated.RunSingleThread_DelegatingRenderer (36 ms) [1815/4724] LayerTreeHostCacheBehaviorOnLayerTreeFrameSinkRecreated.RunMultiThread_DelegatingRenderer (41 ms) [1816/4724] LayerTreeHostTestSetNeedsCommit1.RunSingleThread_DelegatingRenderer (28 ms) [1817/4724] LayerTreeHostTestSetNeedsCommit1.RunMultiThread_DelegatingRenderer (60 ms) [1818/4724] LayerTreeHostTestSetNeedsCommit2.RunMultiThread_DelegatingRenderer (61 ms) [1819/4724] LayerTreeHostTestPushPropertiesTo.RunSingleThread_DelegatingRenderer (37 ms) [1820/4724] LayerTreeHostTestPushPropertiesTo.RunMultiThread_DelegatingRenderer (55 ms) [1821/4724] LayerTreeHostTestEffectTreeSync.RunSingleThread_DelegatingRenderer (66 ms) [1822/4724] LayerTreeHostTestEffectTreeSync.RunMultiThread_DelegatingRenderer (80 ms) [1823/4724] LayerTreeHostTestTransformTreeSync.RunSingleThread_DelegatingRenderer (55 ms) [1824/4724] LayerTreeHostTestTransformTreeSync.RunMultiThread_DelegatingRenderer (81 ms) [1825/4724] LayerTreeHostTestTransformTreeDamageIsUpdated.RunSingleThread_DelegatingRenderer (22 ms) [1826/4724] LayerTreeHostTestTransformTreeDamageIsUpdated.RunMultiThread_DelegatingRenderer (55 ms) [1827/4724] LayerTreeHostTestSwitchMaskLayer.RunSingleThread_DelegatingRenderer (20 ms) [1828/4724] LayerTreeHostTestSwitchMaskLayer.RunMultiThread_DelegatingRenderer (53 ms) [1829/4724] LayerTreeHostTestSetNeedsRedraw.RunMultiThread_DelegatingRenderer (38 ms) [1830/4724] LayerTreeHostTestSetNeedsRedrawRect.RunSingleThread_DelegatingRenderer (29 ms) [1831/4724] OopPixelTest.DrawTextMultipleRasterCHROMIUM (3439 ms) [1832/4724] OopPixelTest.DrawTextBlobPersistentShaderCache (6786 ms) [1833/4724] OopPixelTest.RecordShaderExceedsMaxTextureSize (6626 ms) [1834/4724] OopImagePixelTest.DrawRecordShaderTranslatedTileRect (6519 ms) [1835/4724] PaintFilterTest.ImageAnalysisState (2 ms) [1836/4724] PaintImageTest.Subsetting (2 ms) [1837/4724] PaintImageTest.DecodesCorrectFrames (1 ms) [1838/4724] PaintImageTest.SupportedDecodeSize (0 ms) [1839/4724] PaintImageTest.GetSkImageForFrameNotGeneratorBacked (0 ms) [1840/4724] PaintImageTest.DecodeToYuv420NoAlpha (0 ms) [1841/4724] LayerTreeHostTestSetNeedsRedrawRect.RunMultiThread_DelegatingRenderer (87 ms) [1842/4724] LayerTreeHostTestGpuRasterDeviceSizeChanged.RunMultiThread_DelegatingRenderer (41 ms) [1843/4724] LayerTreeHostTestNoExtraCommitFromInvalidate.RunSingleThread_DelegatingRenderer (27 ms) [1844/4724] LayerTreeHostTestNoExtraCommitFromInvalidate.RunMultiThread_DelegatingRenderer (30 ms) [1845/4724] LayerTreeHostTestNoExtraCommitFromScrollbarInvalidate.RunSingleThread_DelegatingRenderer (23 ms) [1846/4724] LayerTreeHostTestNoExtraCommitFromScrollbarInvalidate.RunMultiThread_DelegatingRenderer (36 ms) [1847/4724] LayerTreeHostTestDeviceScaleFactorChange.RunSingleThread_DelegatingRenderer (24 ms) [1848/4724] LayerTreeHostTestDeviceScaleFactorChange.RunMultiThread_DelegatingRenderer (53 ms) [1849/4724] LayerTreeHostTestRasterColorSpaceChange.RunSingleThread_DelegatingRenderer (68 ms) [1850/4724] LayerTreeHostTestRasterColorSpaceChange.RunMultiThread_DelegatingRenderer (53 ms) [1851/4724] LayerTreeHostTestSetNeedsCommitWithForcedRedraw.RunMultiThread_DelegatingRenderer (68 ms) [1852/4724] LayerTreeHostTestUndrawnLayersDamageLater.RunSingleThread_DelegatingRenderer (33 ms) [1853/4724] LayerTreeHostTestUndrawnLayersDamageLater.RunMultiThread_DelegatingRenderer (66 ms) [1854/4724] LayerTreeHostTestDamageWithScale.RunSingleThread_DelegatingRenderer (49 ms) [1855/4724] LayerTreeHostTestDamageWithScale.RunMultiThread_DelegatingRenderer (42 ms) [1856/4724] LayerTreeHostTestCommit.RunMultiThread_DelegatingRenderer (26 ms) [1857/4724] LayerTreeHostTestFrameTimeUpdatesAfterActivationFails.RunMultiThread_DelegatingRenderer (32 ms) [1858/4724] LayerTreeHostTestFrameTimeUpdatesAfterDraw.RunSingleThread_DelegatingRenderer (17 ms) [1859/4724] LayerTreeHostTestFrameTimeUpdatesAfterDraw.RunMultiThread_DelegatingRenderer (28 ms) [1860/4724] LayerTreeHostTestStartPageScaleAnimation.RunMultiThread_DelegatingRenderer (36 ms) [1861/4724] ViewportDeltasAppliedDuringPinch.RunMultiThread_DelegatingRenderer (47 ms) [1862/4724] LayerTreeHostTestSetVisible.RunMultiThread_DelegatingRenderer (45 ms) [1863/4724] LayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers.RunMultiThread_DelegatingRenderer (56 ms) [1864/4724] LayerTreeHostTestContinuousInvalidate.RunSingleThread_DelegatingRenderer (28 ms) [1865/4724] LayerTreeHostTestContinuousInvalidate.RunMultiThread_DelegatingRenderer (44 ms) [1866/4724] LayerTreeHostTestDeferMainFrameUpdate.RunSingleThread_DelegatingRenderer (42 ms) [1867/4724] LayerTreeHostTestDeferMainFrameUpdate.RunMultiThread_DelegatingRenderer (45 ms) [1868/4724] LayerTreeHostInvalidLocalSurfaceIdDefersCommit.RunSingleThread_DelegatingRenderer (42 ms) [1869/4724] LayerTreeHostInvalidLocalSurfaceIdDefersCommit.RunMultiThread_DelegatingRenderer (47 ms) [1870/4724] LayerTreeHostTestDeferMainFrameUpdateInsideBeginMainFrame.RunSingleThread_DelegatingRenderer (112 ms) [1871/4724] LayerTreeHostTestDeferMainFrameUpdateInsideBeginMainFrame.RunMultiThread_DelegatingRenderer (140 ms) [1872/4724] LayerTreeHostTestDeferInsideBeginMainFrameWithCommitAfter.RunSingleThread_DelegatingRenderer (123 ms) [1873/4724] LayerTreeHostTestDeferInsideBeginMainFrameWithCommitAfter.RunMultiThread_DelegatingRenderer (132 ms) [1874/4724] LayerTreeHostTestAnimateOnlyBeginFrames.RunSingleThread_DelegatingRenderer (35 ms) [1875/4724] LayerTreeHostTestAnimateOnlyBeginFrames.RunMultiThread_DelegatingRenderer (21 ms) [1876/4724] LayerTreeHostTestCompositeImmediatelyStateTransitions.RunSingleThread_DelegatingRenderer (15 ms) [1877/4724] LayerTreeHostTestLCDChange.RunSingleThread_DelegatingRenderer (34 ms) [1878/4724] LayerTreeHostTestLCDChange.RunMultiThread_DelegatingRenderer (38 ms) [1879/4724] LayerTreeHostTestBeginFrameNotificationShutdownWhileEnabled.RunMultiThread_DelegatingRenderer (45 ms) [1880/4724] LayerTreeHostTestAbortedCommitDoesntStallSynchronousCompositor.RunMultiThread_DelegatingRenderer (93 ms) [1881/4724] LayerTreeHostTestUninvertibleTransformDoesNotBlockActivation.RunSingleThread_DelegatingRenderer (35 ms) [1882/4724] LayerTreeHostTestUninvertibleTransformDoesNotBlockActivation.RunMultiThread_DelegatingRenderer (29 ms) [1883/4724] LayerTreeHostTestNumFramesPending.RunSingleThread_DelegatingRenderer (26 ms) [1884/4724] LayerTreeHostTestNumFramesPending.RunMultiThread_DelegatingRenderer (30 ms) [1885/4724] LayerTreeHostTestUIResource.RunMultiThread_DelegatingRenderer (61 ms) [1886/4724] LayerTreeHostTestLayersPushProperties.RunMultiThread_DelegatingRenderer (150 ms) [1887/4724] LayerTreeHostTestImplLayersPushProperties.RunMultiThread_DelegatingRenderer (113 ms) [1888/4724] LayerTreeHostTestPropertyChangesDuringUpdateArePushed.RunMultiThread_DelegatingRenderer (28 ms) [1889/4724] LayerTreeHostTestSetDrawableCausesCommit.RunMultiThread_DelegatingRenderer (32 ms) [1890/4724] LayerTreeHostTestPushPropertiesAddingToTreeRequiresPush.RunMultiThread_DelegatingRenderer (62 ms) [1891/4724] LayerTreeHostTestPushPropertiesRemovingChildStopsRecursion.RunMultiThread_DelegatingRenderer (81 ms) [1892/4724] LayerTreeHostTestPushPropertiesRemovingChildStopsRecursionWithPersistence.RunMultiThread_DelegatingRenderer (36 ms) [1893/4724] LayerTreeHostTestPushPropertiesSetPropertiesWhileOutsideTree.RunMultiThread_DelegatingRenderer (32 ms) [1894/4724] LayerTreeHostTestPushPropertiesSetPropertyInParentThenChild.RunMultiThread_DelegatingRenderer (36 ms) [1895/4724] LayerTreeHostTestPushPropertiesSetPropertyInChildThenParent.RunMultiThread_DelegatingRenderer (35 ms) [1896/4724] LayerTreeHostTestTreeActivationCallback.RunSingleThread_DelegatingRenderer (46 ms) [1897/4724] LayerTreeHostTestTreeActivationCallback.RunMultiThread_DelegatingRenderer (66 ms) [1898/4724] LayerTreeHostTestVideoLayerInvalidate.RunSingleThread_DelegatingRenderer (37 ms) [1899/4724] LayerTreeHostTestVideoLayerInvalidate.RunMultiThread_DelegatingRenderer (53 ms) [1900/4724] LayerTreeHostTestPushHiddenLayer.RunSingleThread_DelegatingRenderer (40 ms) [1901/4724] LayerTreeHostTestPushHiddenLayer.RunMultiThread_DelegatingRenderer (67 ms) [1902/4724] LayerTreeHostTestUpdateLayerInEmptyViewport.RunMultiThread_DelegatingRenderer (37 ms) [1903/4724] LayerTreeHostTestElasticOverscroll.RunMultiThread_DelegatingRenderer (54 ms) [1904/4724] PinnedLayerTreeSwapPromise.RunMultiThread_DelegatingRenderer (28 ms) [1905/4724] LayerTreeHostTestBreakSwapPromise.RunMultiThread_DelegatingRenderer (38 ms) [1906/4724] LayerTreeHostTestKeepSwapPromise.RunSingleThread_DelegatingRenderer (43 ms) [1907/4724] LayerTreeHostTestKeepSwapPromise.RunMultiThread_DelegatingRenderer (75 ms) [1908/4724] LayerTreeHostTestKeepSwapPromiseMFBA.RunMultiThread_DelegatingRenderer (54 ms) [1909/4724] LayerTreeHostTestDeferSwapPromiseForVisibility.RunSingleThread_DelegatingRenderer (40 ms) [1910/4724] LayerTreeHostTestDeferSwapPromiseForVisibility.RunMultiThread_DelegatingRenderer (62 ms) [1911/4724] OopPixelTest.ClearingOpaqueCornerPartialRaster (256 ms) [1912/4724] OopPixelTest.ClearingOpaqueInternal (272 ms) [1913/4724] OopPixelTest.ClearingTransparentCorner (266 ms) [1914/4724] OopPixelTest.ClearingTransparentInternalTile (268 ms) [1915/4724] OopPixelTest.ClearingTransparentCornerPartialRaster (3629 ms) [1916/4724] OopPixelTest.DrawRectBasicRasterOptions (5056 ms) [1917/4724] OopPixelTest.DrawRectScaleTransformOptions (3974 ms) [1918/4724] OopPixelTest.DrawRectQueryMiddleOfDisplayList (4944 ms) [1919/4724] OopPixelTest.DrawRectColorSpace (332 ms) [1920/4724] OopPixelTest.DrawTextBlob (6770 ms) [1921/4724] LayerTreeHostTestSwapPromiseDuringCommit.RunMultiThread_DelegatingRenderer (40 ms) [1922/4724] LayerTreeHostTestSimpleSwapPromiseMonitor.RunSingleThread_DelegatingRenderer (36 ms) [1923/4724] LayerTreeHostTestSimpleSwapPromiseMonitor.RunMultiThread_DelegatingRenderer (70 ms) [1924/4724] LayerTreeHostTestHighResRequiredAfterEvictingUIResources.RunMultiThread_DelegatingRenderer (46 ms) [1925/4724] LayerTreeHostTestGpuRasterizationDefault.RunMultiThread_DelegatingRenderer (40 ms) [1926/4724] LayerTreeHostTestEmptyLayerGpuRasterization.RunMultiThread_DelegatingRenderer (50 ms) [1927/4724] LayerTreeHostTestGpuRasterizationEnabled.RunMultiThread_DelegatingRenderer (56 ms) [1928/4724] LayerTreeHostTestGpuRasterizationReenabled.RunMultiThread_DelegatingRenderer (536 ms) [1929/4724] LayerTreeHostTestGpuRasterizationNonAASticky.RunMultiThread_DelegatingRenderer (555 ms) [1930/4724] LayerTreeHostTestGpuRasterizationForced.RunSingleThread_DelegatingRenderer (37 ms) [1931/4724] LayerTreeHostTestUpdateCopyRequests.RunMultiThread_DelegatingRenderer (51 ms) [1932/4724] LayerTreeTestPageScaleFlags.RunSingleThread_DelegatingRenderer (22 ms) [1933/4724] LayerTreeTestPageScaleFlags.RunMultiThread_DelegatingRenderer (31 ms) [1934/4724] LayerTreeHostTestDestroyWhileInitializingOutputSurface.RunMultiThread_DelegatingRenderer (21 ms) [1935/4724] LayerTreeHostTestPaintedDeviceScaleFactor.RunSingleThread_DelegatingRenderer (20 ms) [1936/4724] LayerTreeHostTestPaintedDeviceScaleFactor.RunMultiThread_DelegatingRenderer (66 ms) [1937/4724] LayerTreeHostTestPresentationTime.RunSingleThread_DelegatingRenderer (33 ms) [1938/4724] LayerTreeHostTestPresentationTime.RunMultiThread_DelegatingRenderer (46 ms) [1939/4724] LayerTreeHostTestLocalSurfaceId.RunSingleThread_DelegatingRenderer (33 ms) [1940/4724] LayerTreeHostTestLocalSurfaceId.RunMultiThread_DelegatingRenderer (81 ms) [1941/4724] LayerTreeHostTestLocalSurfaceIdSkipChildNum.RunSingleThread_DelegatingRenderer (38 ms) [1942/4724] LayerTreeHostTestLocalSurfaceIdSkipChildNum.RunMultiThread_DelegatingRenderer (29 ms) [1943/4724] LayerTreeHostTestRequestNewLocalSurfaceId.RunSingleThread_DelegatingRenderer (25 ms) [1944/4724] LayerTreeHostTestRequestNewLocalSurfaceId.RunMultiThread_DelegatingRenderer (76 ms) [1945/4724] GpuRasterizationSucceedsWithLargeImage.RunSingleThread_DelegatingRenderer (119 ms) [1946/4724] GpuRasterizationSucceedsWithLargeImage.RunMultiThread_DelegatingRenderer (136 ms) [1947/4724] LayerTreeHostTestSubmitFrameMetadata.RunSingleThread_DelegatingRenderer (23 ms) [1948/4724] LayerTreeHostTestSubmitFrameMetadata.RunMultiThread_DelegatingRenderer (27 ms) [1949/4724] LayerTreeHostTestSubmitFrameResources.RunSingleThread_DelegatingRenderer (28 ms) [1950/4724] LayerTreeHostTestSubmitFrameResources.RunMultiThread_DelegatingRenderer (37 ms) [1951/4724] LayerTreeHostTestContentSourceId.RunSingleThread_DelegatingRenderer (25 ms) [1952/4724] LayerTreeHostTestContentSourceId.RunMultiThread_DelegatingRenderer (33 ms) [1953/4724] LayerTreeHostTestBeginFrameAcks.RunMultiThread_DelegatingRenderer (32 ms) [1954/4724] LayerTreeHostTestQueueImageDecode.RunSingleThread_DelegatingRenderer (64 ms) [1955/4724] LayerTreeHostTestQueueImageDecode.RunMultiThread_DelegatingRenderer (76 ms) [1956/4724] LayerTreeHostTestQueueImageDecodeNonLazy.RunSingleThread_DelegatingRenderer (67 ms) [1957/4724] LayerTreeHostTestQueueImageDecodeNonLazy.RunMultiThread_DelegatingRenderer (71 ms) [1958/4724] LayerTreeHostTestHudLayerWithLayerLists.RunSingleThread_DelegatingRenderer (68 ms) [1959/4724] LayerTreeHostTestHudLayerWithLayerLists.RunMultiThread_DelegatingRenderer (38 ms) [1960/4724] LayerTreeHostTestDiscardAckAfterRelease.RunSingleThread_DelegatingRenderer (22 ms) [1961/4724] LayerTreeHostTestReadyToActivateEmpty.RunSingleThread_DelegatingRenderer (32 ms) [1962/4724] LayerTreeHostTestReadyToActivateEmpty.RunMultiThread_DelegatingRenderer (80 ms) [1963/4724] LayerTreeHostTestReadyToDrawEmpty.RunSingleThread_DelegatingRenderer (34 ms) [1964/4724] LayerTreeHostTestReadyToDrawEmpty.RunMultiThread_DelegatingRenderer (55 ms) [1965/4724] LayerTreeHostTestReadyToDrawNonEmpty.RunSingleThread_DelegatingRenderer (2671 ms) [1966/4724] LayerTreeHostTestReadyToDrawVisibility.RunSingleThread_DelegatingRenderer (2857 ms) [1967/4724] LayerTreeHostFreesContextResourcesOnInvisible.RunSingleThread_DelegatingRenderer (24 ms) [1968/4724] LayerTreeHostFreesContextResourcesOnInvisible.RunMultiThread_DelegatingRenderer (36 ms) [1969/4724] LayerTreeHostFreesWorkerContextResourcesOnZeroMemoryLimit.RunSingleThread_DelegatingRenderer (39 ms) [1970/4724] LayerTreeHostFreesWorkerContextResourcesOnZeroMemoryLimit.RunMultiThread_DelegatingRenderer (36 ms) [1971/4724] LayerTreeHostAnimationTestSynchronizeAnimationStartTimes.RunMultiThread_DelegatingRenderer (34 ms) [1972/4724] LayerTreeHostAnimationTestAnimationFinishedEvents.RunSingleThread_DelegatingRenderer (20 ms) [1973/4724] LayerTreeHostAnimationTestAnimationFinishedEvents.RunMultiThread_DelegatingRenderer (30 ms) [1974/4724] LayerTreeHostAnimationTestDoNotSkipLayersWithAnimatedOpacity.RunSingleThread_DelegatingRenderer (25 ms) [1975/4724] LayerTreeHostAnimationTestDoNotSkipLayersWithAnimatedOpacity.RunMultiThread_DelegatingRenderer (38 ms) [1976/4724] LayerTreeHostAnimationTestLayerAddedWithAnimation.RunSingleThread_DelegatingRenderer (21 ms) [1977/4724] LayerTreeHostAnimationTestLayerAddedWithAnimation.RunMultiThread_DelegatingRenderer (35 ms) [1978/4724] LayerTreeHostAnimationTestCancelAnimateCommit.RunMultiThread_DelegatingRenderer (30 ms) [1979/4724] LayerTreeHostAnimationTestForceRedraw.RunMultiThread_DelegatingRenderer (29 ms) [1980/4724] LayerTreeHostAnimationTestAnimateAfterSetNeedsCommit.RunMultiThread_DelegatingRenderer (36 ms) [1981/4724] DontUpdateLayersWithEmptyBounds.RunMultiThread_DelegatingRenderer (61 ms) [1982/4724] LayerTreeHostTestNewLocalSurfaceIdForcesDraw.RunSingleThread_DelegatingRenderer (18 ms) [1983/4724] LayerTreeHostTestNewLocalSurfaceIdForcesDraw.RunMultiThread_DelegatingRenderer (48 ms) [1984/4724] DidReceiveCompositorFrameAckNotSentWhenNotNeeded.RunSingleThread_DelegatingRenderer (31 ms) [1985/4724] DidReceiveCompositorFrameAckNotSentWhenNotNeeded.RunMultiThread_DelegatingRenderer (37 ms) [1986/4724] LayerTreeHostTestRequestForceSendMetadata.RunSingleThread_DelegatingRenderer (27 ms) [1987/4724] LayerTreeHostTestRequestForceSendMetadata.RunMultiThread_DelegatingRenderer (43 ms) [1988/4724] LayerTreeHostTestPartialTileDamage.RunMultiThread_DelegatingRenderer (577 ms) [1989/4724] LayerTreeHostAnimationTestSetNeedsAnimateShouldNotSetCommitRequested.RunMultiThread_DelegatingRenderer (32 ms) [1990/4724] LayerTreeHostAnimationTestSetNeedsAnimateInsideAnimationCallback.RunSingleThread_DelegatingRenderer (18 ms) [1991/4724] RasterizeWithGpuRasterizationCreatesResources.RunMultiThread_DelegatingRenderer (98 ms) [1992/4724] GpuRasterizationRasterizesBorderTiles.RunSingleThread_DelegatingRenderer (365 ms) [1993/4724] GpuRasterizationRasterizesBorderTiles.RunMultiThread_DelegatingRenderer (441 ms) [1994/4724] LayerTreeHostTestContinuousDrawWhenCreatingVisibleTiles.RunMultiThread_DelegatingRenderer (1401 ms) [1995/4724] LayerTreeHostTestOneActivatePerPrepareTiles.RunSingleThread_DelegatingRenderer (141 ms) [1996/4724] LayerTreeHostTestOneActivatePerPrepareTiles.RunMultiThread_DelegatingRenderer (390 ms) [1997/4724] LayerTreeHostTestActivationCausesPrepareTiles.RunMultiThread_DelegatingRenderer (48 ms) [1998/4724] LayerTreeHostTestNoTasksBetweenWillAndDidCommit.RunSingleThread_DelegatingRenderer (18 ms) [1999/4724] LayerTreeHostTestNoTasksBetweenWillAndDidCommit.RunMultiThread_DelegatingRenderer (25 ms) [2000/4724] LayerTreeHostTestUpdateCopyRequests.RunSingleThread_DelegatingRenderer (26 ms) [2001/4724] LayerTreeHostAnimationTestSetNeedsAnimateInsideAnimationCallback.RunMultiThread_DelegatingRenderer (37 ms) [2002/4724] LayerTreeHostAnimationTestAddKeyframeModel.RunSingleThread_DelegatingRenderer (28 ms) [2003/4724] LayerTreeHostAnimationTestAddKeyframeModel.RunMultiThread_DelegatingRenderer (56 ms) [2004/4724] LayerTreeHostAnimationTestNoDamageAnimation.RunMultiThread_DelegatingRenderer (1048 ms) [2005/4724] LayerTreeHostAnimationTestCheckerboardDoesNotStarveDraws.RunMultiThread_DelegatingRenderer (39 ms) [2006/4724] LayerTreeHostAnimationTestAnimationsGetDeleted.RunSingleThread_DelegatingRenderer (26 ms) [2007/4724] LayerTreeHostAnimationTestAnimationsGetDeleted.RunMultiThread_DelegatingRenderer (43 ms) [2008/4724] LayerTreeHostAnimationTestAddKeyframeModelWithTimingFunction.RunSingleThread_DelegatingRenderer (25 ms) [2009/4724] LayerTreeHostAnimationTestAddKeyframeModelWithTimingFunction.RunMultiThread_DelegatingRenderer (41 ms) [2010/4724] LayerTreeHostAnimationTestSynchronizeAnimationStartTimes.RunSingleThread_DelegatingRenderer (21 ms) [2011/4724] LayerTreeHostCaptureContentTestOneVisible.RunSingleThread_DelegatingRenderer (33 ms) [2012/4724] LayerTreeHostCaptureContentTestOneVisible.RunMultiThread_DelegatingRenderer (52 ms) [2013/4724] LayerTreeHostCaptureContentTestTwoVisible.RunSingleThread_DelegatingRenderer (21 ms) [2014/4724] LayerTreeHostCaptureContentTestTwoVisible.RunMultiThread_DelegatingRenderer (43 ms) [2015/4724] LayerTreeHostCaptureContentTestOneLayerVisible.RunSingleThread_DelegatingRenderer (35 ms) [2016/4724] LayerTreeHostCaptureContentTestOneLayerVisible.RunMultiThread_DelegatingRenderer (29 ms) [2017/4724] LayerTreeHostCaptureContentTestTwoLayersVisible.RunSingleThread_DelegatingRenderer (13 ms) [2018/4724] LayerTreeHostCaptureContentTestTwoLayersVisible.RunMultiThread_DelegatingRenderer (27 ms) [2019/4724] LayerTreeHostCaptureContentTestTwoLayersVisibleAndTransparent.RunSingleThread_DelegatingRenderer (15 ms) [2020/4724] LayerTreeHostCaptureContentTestTwoLayersVisibleAndTransparent.RunMultiThread_DelegatingRenderer (25 ms) [2021/4724] LayerTreeHostAnimationTestAnimatedLayerRemovedAndAdded.RunSingleThread_DelegatingRenderer (23 ms) [2022/4724] LayerTreeHostAnimationTestAnimatedLayerRemovedAndAdded.RunMultiThread_DelegatingRenderer (35 ms) [2023/4724] LayerTreeHostAnimationTestAddKeyframeModelAfterAnimating.RunSingleThread_DelegatingRenderer (38 ms) [2024/4724] LayerTreeHostAnimationTestAddKeyframeModelAfterAnimating.RunMultiThread_DelegatingRenderer (46 ms) [2025/4724] LayerTreeHostAnimationTestRemoveKeyframeModel.RunSingleThread_DelegatingRenderer (30 ms) [2026/4724] LayerTreeHostAnimationTestRemoveKeyframeModel.RunMultiThread_DelegatingRenderer (51 ms) [2027/4724] LayerTreeHostAnimationTestIsAnimating.RunSingleThread_DelegatingRenderer (24 ms) [2028/4724] LayerTreeHostAnimationTestIsAnimating.RunMultiThread_DelegatingRenderer (46 ms) [2029/4724] LayerTreeHostAnimationTestAnimationFinishesDuringCommit.RunMultiThread_DelegatingRenderer (78 ms) [2030/4724] LayerTreeHostAnimationTestImplSideInvalidation.RunMultiThread_DelegatingRenderer (107 ms) [2031/4724] LayerTreeHostTestGpuRasterizationForced.RunMultiThread_DelegatingRenderer (33 ms) [2032/4724] LayerTreeHostTestBeginMainFrameTimeIsAlsoImplTime.RunSingleThread_DelegatingRenderer (59 ms) [2033/4724] LayerTreeHostTestActivateOnInvisible.RunMultiThread_DelegatingRenderer (29 ms) [2034/4724] LayerTreeHostTestRenderSurfaceEffectTreeIndex.RunSingleThread_DelegatingRenderer (36 ms) [2035/4724] LayerTreeHostTestRenderSurfaceEffectTreeIndex.RunMultiThread_DelegatingRenderer (47 ms) [2036/4724] LayerTreeHostTestSynchronousCompositeSwapPromise.RunSingleThread_DelegatingRenderer (25 ms) [2037/4724] LayerTreeHostAcceptsDeltasFromImplWithoutRootLayer.RunMultiThread_DelegatingRenderer (42 ms) [2038/4724] LayerTreeHostTestCrispUpAfterPinchEnds.RunMultiThread_DelegatingRenderer (2330 ms) [2039/4724] LayerTreeHostTestCrispUpAfterPinchEndsWithOneCopy.RunMultiThread_DelegatingRenderer (2172 ms) [2040/4724] RasterizeWithGpuRasterizationCreatesResources.RunSingleThread_DelegatingRenderer (90 ms) [2041/4724] ImplSideInvalidationWithoutCommitTestOpacity.RunMultiThread_DelegatingRenderer (79 ms) [2042/4724] ImplSideInvalidationWithoutCommitTestTransform.RunMultiThread_DelegatingRenderer (76 ms) [2043/4724] ImplSideInvalidationWithoutCommitTestFilter.RunMultiThread_DelegatingRenderer (66 ms) [2044/4724] ImplSideInvalidationWithoutCommitTestScroll.RunMultiThread_DelegatingRenderer (423 ms) [2045/4724] LayerTreeHostAnimationTestNotifyAnimationFinished.RunSingleThread_DelegatingRenderer (40 ms) [2046/4724] LayerTreeHostAnimationTestNotifyAnimationFinished.RunMultiThread_DelegatingRenderer (109 ms) [2047/4724] LayerTreeHostAnimationTestChangeSingleKeyframeEffectAnimation.RunSingleThread_DelegatingRenderer (47 ms) [2048/4724] LayerTreeHostAnimationTestChangeSingleKeyframeEffectAnimation.RunMultiThread_DelegatingRenderer (81 ms) [2049/4724] LayerTreeHostAnimationTestSetPotentiallyAnimatingOnLacDestruction.RunMultiThread_DelegatingRenderer (72 ms) [2050/4724] LayerTreeHostAnimationTestRebuildPropertyTreesOnAnimationSetNeedsCommit.RunMultiThread_DelegatingRenderer (42 ms) [2051/4724] LayerTreeHostAnimationTestCheckerboardDoesntStartAnimations.RunMultiThread_DelegatingRenderer (58 ms) [2052/4724] LayerTreeHostAnimationTestScrollOffsetChangesArePropagated.RunSingleThread_DelegatingRenderer (21 ms) [2053/4724] LayerTreeHostAnimationTestScrollOffsetChangesArePropagated.RunMultiThread_DelegatingRenderer (37 ms) [2054/4724] LayerTreeHostAnimationTestScrollOffsetAnimationTakeover.RunMultiThread_DelegatingRenderer (37 ms) [2055/4724] LayerTreeHostAnimationTestScrollOffsetAnimationAdjusted.RunMultiThread_DelegatingRenderer (30 ms) [2056/4724] LayerTreeHostPresentationDuringAnimation.RunMultiThread_DelegatingRenderer (1457 ms) [2057/4724] LayerTreeHostAnimationTestScrollOffsetAnimationRemoval.RunMultiThread_DelegatingRenderer (57 ms) [2058/4724] LayerTreeHostAnimationTestAnimationsAddedToNewAndExistingLayers.RunMultiThread_DelegatingRenderer (47 ms) [2059/4724] LayerTreeHostAnimationTestPendingTreeAnimatesFirstCommit.RunSingleThread_DelegatingRenderer (17 ms) [2060/4724] LayerTreeHostAnimationTestPendingTreeAnimatesFirstCommit.RunMultiThread_DelegatingRenderer (22 ms) [2061/4724] LayerTreeHostContextTestLayersNotified.RunSingleThread_DelegatingRenderer (36 ms) [2062/4724] LayerTreeHostContextTestLayersNotified.RunMultiThread_DelegatingRenderer (41 ms) [2063/4724] LayerTreeHostContextTestDontUseLostResources.RunSingleThread_DelegatingRenderer (54 ms) [2064/4724] LayerTreeHostContextTestDontUseLostResources.RunMultiThread_DelegatingRenderer (61 ms) [2065/4724] LayerTreeHostContextTestImplSidePainting.RunSingleThread_DelegatingRenderer (43 ms) [2066/4724] LayerTreeHostContextTestImplSidePainting.RunMultiThread_DelegatingRenderer (32 ms) [2067/4724] ScrollbarLayerLostContext.RunSingleThread_DelegatingRenderer (28 ms) [2068/4724] ScrollbarLayerLostContext.RunMultiThread_DelegatingRenderer (48 ms) [2069/4724] UIResourceLostAfterCommit.RunSingleThread_DelegatingRenderer (56 ms) [2070/4724] UIResourceLostAfterCommit.RunMultiThread_DelegatingRenderer (42 ms) [2071/4724] LayerTreeHostContextTestCommitAfterDelayedLayerTreeFrameSink.RunSingleThread_DelegatingRenderer (15 ms) [2072/4724] LayerTreeHostContextTestAvoidUnnecessaryComposite.RunSingleThread_DelegatingRenderer (21 ms) [2073/4724] LayerTreeHostContextTestLostContextSucceedsWithContent.RunSingleThread_DelegatingRenderer (497 ms) [2074/4724] LayerTreeHostContextTestLostContextSucceedsWithContent.RunMultiThread_DelegatingRenderer (608 ms) [2075/4724] LayerTreeHostContextTestCreateLayerTreeFrameSinkFailsOnce.RunSingleThread_DelegatingRenderer (16 ms) [2076/4724] LayerTreeHostContextTestCreateLayerTreeFrameSinkFailsOnce.RunMultiThread_DelegatingRenderer (29 ms) [2077/4724] LayerTreeHostContextTestLostContextAndEvictTextures.LoseAfterEvict_SingleThread (41 ms) [2078/4724] LayerTreeHostContextTestLostContextAndEvictTextures.LoseAfterEvict_MultiThread (40 ms) [2079/4724] LayerTreeHostContextTestLostContextAndEvictTextures.LoseBeforeEvict_SingleThread (44 ms) [2080/4724] LayerTreeHostContextTestLostContextAndEvictTextures.LoseBeforeEvict_MultiThread (48 ms) [2081/4724] UIResourceLostBeforeCommit.RunMultiThread_DelegatingRenderer (97 ms) [2082/4724] UIResourceLostBeforeActivateTree.RunSingleThread_DelegatingRenderer (52 ms) [2083/4724] UIResourceLostBeforeActivateTree.RunMultiThread_DelegatingRenderer (62 ms) [2084/4724] UIResourceLostEviction.RunSingleThread_DelegatingRenderer (27 ms) [2085/4724] UIResourceLostEviction.RunMultiThread_DelegatingRenderer (44 ms) [2086/4724] UIResourceFreedIfLostWhileExported.RunSingleThread_DelegatingRenderer (34 ms) [2087/4724] UIResourceFreedIfLostWhileExported.RunMultiThread_DelegatingRenderer (35 ms) [2088/4724] TileResourceFreedIfLostWhileExported.RunSingleThread_DelegatingRenderer (29 ms) [2089/4724] TileResourceFreedIfLostWhileExported.RunMultiThread_DelegatingRenderer (49 ms) [2090/4724] SoftwareTileResourceFreedIfLostWhileExported.RunSingleThread_DelegatingRenderer (29 ms) [2091/4724] SoftwareTileResourceFreedIfLostWhileExported.RunMultiThread_DelegatingRenderer (69 ms) [2092/4724] LayerTreeHostContextTestLoseAfterSendingBeginMainFrame.RunSingleThread_DelegatingRenderer (46 ms) [2093/4724] LayerTreeHostContextTestLoseAfterSendingBeginMainFrame.RunMultiThread_DelegatingRenderer (54 ms) [2094/4724] LayerTreeHostContextTestWorkerContextLostRecovery.RunMultiThread_DelegatingRenderer (36 ms) [2095/4724] LayerTreeHostDamageTestSetNeedsRedraw.RunSingleThread_DelegatingRenderer (18 ms) [2096/4724] LayerTreeHostDamageTestSetNeedsRedraw.RunMultiThread_DelegatingRenderer (38 ms) [2097/4724] LayerTreeHostDamageTestSetViewportSizeAndScale.RunSingleThread_DelegatingRenderer (21 ms) [2098/4724] LayerTreeHostDamageTestSetViewportSizeAndScale.RunMultiThread_DelegatingRenderer (49 ms) [2099/4724] LayerTreeHostDamageTestNoDamageDoesNotSwap.RunSingleThread_DelegatingRenderer (39 ms) [2100/4724] LayerTreeHostDamageTestNoDamageDoesNotSwap.RunMultiThread_DelegatingRenderer (59 ms) [2101/4724] LayerTreeHostDamageTestForcedFullDamage.RunSingleThread_DelegatingRenderer (45 ms) [2102/4724] LayerTreeHostDamageTestForcedFullDamage.RunMultiThread_DelegatingRenderer (43 ms) [2103/4724] LayerTreeHostDamageTestScrollbarDoesDamage.RunMultiThread_DelegatingRenderer (48 ms) [2104/4724] LayerTreeHostDamageTestScrollbarCommitDoesNoDamage.RunMultiThread_DelegatingRenderer (41 ms) [2105/4724] LayerTreeTestMaskLayerForSurfaceWithContentRectNotAtOrigin_Untiled.RunSingleThread_DelegatingRenderer (25 ms) [2106/4724] LayerTreeTestMaskLayerForSurfaceWithContentRectNotAtOrigin_Untiled.RunMultiThread_DelegatingRenderer (50 ms) [2107/4724] LayerTreeTestMaskLayerForSurfaceWithContentRectNotAtOrigin_Tiled.RunSingleThread_DelegatingRenderer (33 ms) [2108/4724] LayerTreeTestMaskLayerForSurfaceWithContentRectNotAtOrigin_Tiled.RunMultiThread_DelegatingRenderer (41 ms) [2109/4724] LayerTreeTestMaskLayerForSurfaceWithClippedLayer_Untiled.RunSingleThread_DelegatingRenderer (30 ms) [2110/4724] LayerTreeTestMaskLayerForSurfaceWithClippedLayer_Untiled.RunMultiThread_DelegatingRenderer (43 ms) [2111/4724] LayerTreeTestMaskLayerForSurfaceWithClippedLayer_Tiled.RunSingleThread_DelegatingRenderer (40 ms) [2112/4724] LayerTreeTestMaskLayerForSurfaceWithClippedLayer_Tiled.RunMultiThread_DelegatingRenderer (40 ms) [2113/4724] LayerTreeTestMaskLayerForSurfaceWithDifferentScale_Untiled.RunSingleThread_DelegatingRenderer (31 ms) [2114/4724] LayerTreeTestMaskLayerForSurfaceWithDifferentScale_Untiled.RunMultiThread_DelegatingRenderer (33 ms) [2115/4724] LayerTreeTestMaskLayerForSurfaceWithDifferentScale_Tiled.RunSingleThread_DelegatingRenderer (34 ms) [2116/4724] LayerTreeTestMaskLayerForSurfaceWithDifferentScale_Tiled.RunMultiThread_DelegatingRenderer (35 ms) [2117/4724] LayerTreeTestMaskLayerWithScaling_Untiled.RunSingleThread_DelegatingRenderer (72 ms) [2118/4724] LayerTreeTestMaskLayerWithScaling_Untiled.RunMultiThread_DelegatingRenderer (103 ms) [2119/4724] LayerTreeTestMaskLayerWithScaling_Tiled.RunSingleThread_DelegatingRenderer (83 ms) [2120/4724] LayerTreeTestMaskLayerWithScaling_Tiled.RunMultiThread_DelegatingRenderer (113 ms) [2121/4724] LayerTreeHostCaptureContentTestUpperLayerPartialOverlay.RunSingleThread_DelegatingRenderer (31 ms) [2122/4724] LayerTreeHostCaptureContentTestUpperLayerPartialOverlay.RunMultiThread_DelegatingRenderer (35 ms) [2123/4724] LayerTreeHostCheckerImagingTestMergeWithMainFrame.RunMultiThread_DelegatingRenderer (1075 ms) [2124/4724] LayerTreeHostCheckerImagingTestImplSideTree.RunMultiThread_DelegatingRenderer (1297 ms) [2125/4724] LayerTreeHostClientNotVisibleDoesNotCreateLayerTreeFrameSink.RunSingleThread_DelegatingRenderer (23 ms) [2126/4724] LayerTreeHostClientNotVisibleDoesNotCreateLayerTreeFrameSink.RunMultiThread_DelegatingRenderer (54 ms) [2127/4724] LayerTreeHostClientTakeAwayLayerTreeFrameSink.RunSingleThread_DelegatingRenderer (63 ms) [2128/4724] LayerTreeHostClientTakeAwayLayerTreeFrameSink.RunMultiThread_DelegatingRenderer (76 ms) [2129/4724] MultipleCompositeDoesNotCreateLayerTreeFrameSink.RunSingleThread_DelegatingRenderer (36 ms) [2130/4724] FailedCreateDoesNotCreateExtraLayerTreeFrameSink.RunSingleThread_DelegatingRenderer (24 ms) [2131/4724] LayerTreeTestMaskWithNonExactTextureSize_Untiled.RunSingleThread_DelegatingRenderer (58 ms) [2132/4724] LayerTreeTestMaskWithNonExactTextureSize_Untiled.RunMultiThread_DelegatingRenderer (40 ms) [2133/4724] LayerTreeTestMaskWithNonExactTextureSize_Tiled.RunSingleThread_DelegatingRenderer (33 ms) [2134/4724] LayerTreeTestMaskWithNonExactTextureSize_Tiled.RunMultiThread_DelegatingRenderer (38 ms) [2135/4724] LayerTreeHostOcclusionTestDrawPropertiesOnLayer.RunSingleThread_DelegatingRenderer (20 ms) [2136/4724] LayerTreeHostOcclusionTestDrawPropertiesOnLayer.RunMultiThread_DelegatingRenderer (25 ms) [2137/4724] LayerTreeHostOcclusionTestDrawPropertiesOnSurface.RunSingleThread_DelegatingRenderer (25 ms) [2138/4724] LayerTreeHostOcclusionTestDrawPropertiesOnSurface.RunMultiThread_DelegatingRenderer (28 ms) [2139/4724] LayerTreeHostOcclusionTestDrawPropertiesOnMask.RunSingleThread_DelegatingRenderer (17 ms) [2140/4724] LayerTreeHostOcclusionTestDrawPropertiesOnMask.RunMultiThread_DelegatingRenderer (51 ms) [2141/4724] LayerTreeHostProxyTestSetNeedsAnimate.RunMultiThread_DelegatingRenderer (35 ms) [2142/4724] LayerTreeHostProxyTestSetNeedsUpdateLayers.RunMultiThread_DelegatingRenderer (29 ms) [2143/4724] LayerTreeHostProxyTestSetNeedsUpdateLayersWhileAnimating.RunMultiThread_DelegatingRenderer (48 ms) [2144/4724] LayerTreeHostProxyTestSetNeedsCommitWhileAnimating.RunMultiThread_DelegatingRenderer (65 ms) [2145/4724] LayerTreeHostProxyTestCommitWaitsForActivation.RunMultiThread_DelegatingRenderer (102 ms) [2146/4724] LayerTreeHostProxyTestCommitWaitsForActivationMFBA.RunMultiThread_DelegatingRenderer (125 ms) [2147/4724] LayerTreeHostProxyTestImplFrameCausesAnimatePending.RunSingleThread_DelegatingRenderer (37 ms) [2148/4724] LayerTreeHostProxyTestNeedsCommitFromImpl.RunSingleThread_DelegatingRenderer (27 ms) [2149/4724] LayerTreeHostProxyTestDelayedCommitDueToVisibility.RunSingleThread_DelegatingRenderer (37 ms) [2150/4724] LayerTreeHostProxyTestDelayedCommitDueToVisibility.RunMultiThread_DelegatingRenderer (43 ms) [2151/4724] LayerTreeHostRecordGpuHistogramTest.SingleThreaded (2 ms) [2152/4724] LayerTreeHostRecordGpuHistogramTest.Threaded (2 ms) [2153/4724] LayerTreeHostScrollTestScrollSimple.RunMultiThread_DelegatingRenderer (42 ms) [2154/4724] LayerTreeHostScrollTestScrollMultipleRedraw.RunMultiThread_DelegatingRenderer (55 ms) [2155/4724] LayerTreeHostScrollTestScrollAbortedCommit.RunMultiThread_DelegatingRenderer (61 ms) [2156/4724] LayerTreeHostScrollTestFractionalScroll.RunMultiThread_DelegatingRenderer (33 ms) [2157/4724] LayerTreeHostScrollTestScrollSnapping.RunMultiThread_DelegatingRenderer (40 ms) [2158/4724] LayerTreeHostScrollTestCaseWithChild.DeviceScaleFactor1_ScrollChild (71 ms) [2159/4724] LayerTreeHostScrollTestCaseWithChild.DeviceScaleFactor15_ScrollChild (37 ms) [2160/4724] LayerTreeHostScrollTestCaseWithChild.DeviceScaleFactor2_ScrollChild (46 ms) [2161/4724] LayerTreeHostVideoTestSetNeedsDisplay.RunMultiThread_DelegatingRenderer (55 ms) [2162/4724] LayerTreeImplTest.HitTestingForSingleLayer (3 ms) [2163/4724] LayerTreeImplTest.UpdateViewportAndHitTest (6 ms) [2164/4724] LayerTreeImplTest.HitTestingForSingleLayerAndHud (3 ms) [2165/4724] LayerTreeImplTest.HitTestingForUninvertibleTransform (2 ms) [2166/4724] LayerTreeImplTest.HitTestingForSinglePositionedLayer (2 ms) [2167/4724] LayerTreeImplTest.HitTestingForSingleRotatedLayer (3 ms) [2168/4724] LayerTreeImplTest.HitTestingClipNodeDifferentTransformAndTargetIds (3 ms) [2169/4724] LayerTreeImplTest.HitTestingSiblings (2 ms) [2170/4724] LayerTreeImplTest.HitTestingForSinglePerspectiveLayer (3 ms) [2171/4724] LayerTreeHostScrollTestCaseWithChild.DeviceScaleFactor1_ScrollRootScrollLayer (96 ms) [2172/4724] LayerTreeHostScrollTestCaseWithChild.DeviceScaleFactor15_ScrollRootScrollLayer (50 ms) [2173/4724] LayerTreeHostScrollTestCaseWithChild.DeviceScaleFactor2_ScrollRootScrollLayer (44 ms) [2174/4724] LayerTreeHostScrollTestSimple.RunMultiThread_DelegatingRenderer (46 ms) [2175/4724] LayerTreeHostScrollTestImplOnlyScroll.RunMultiThread_DelegatingRenderer (33 ms) [2176/4724] LayerTreeHostScrollTestScrollZeroMaxScrollOffset.RunSingleThread_DelegatingRenderer (29 ms) [2177/4724] LayerTreeHostScrollTestScrollZeroMaxScrollOffset.RunMultiThread_DelegatingRenderer (46 ms) [2178/4724] LayerTreeHostScrollTestScrollNonDrawnLayer.RunSingleThread_DelegatingRenderer (21 ms) [2179/4724] LayerTreeHostScrollTestScrollNonDrawnLayer.RunMultiThread_DelegatingRenderer (38 ms) [2180/4724] LayerTreeHostScrollTestImplScrollUnderMainThreadScrollingParent.RunSingleThread_DelegatingRenderer (44 ms) [2181/4724] LayerTreeHostOcclusionTestDrawPropertiesOnScaledMask.RunSingleThread_DelegatingRenderer (23 ms) [2182/4724] LayerTreeHostOcclusionTestDrawPropertiesOnScaledMask.RunMultiThread_DelegatingRenderer (38 ms) [2183/4724] LayerTreeHostPictureTestTwinLayer.RunMultiThread_DelegatingRenderer (45 ms) [2184/4724] LayerTreeHostPictureTestResizeViewportWithGpuRaster.RunSingleThread_DelegatingRenderer (106 ms) [2185/4724] LayerTreeHostPictureTestResizeViewportWithGpuRaster.RunMultiThread_DelegatingRenderer (115 ms) [2186/4724] LayerTreeHostPictureTestChangeLiveTilesRectWithRecycleTree.RunMultiThread_DelegatingRenderer (204 ms) [2187/4724] LayerTreeHostPictureTestRSLLMembership.RunSingleThread_DelegatingRenderer (36 ms) [2188/4724] LayerTreeHostPictureTestRSLLMembershipWithScale.RunMultiThread_DelegatingRenderer (73 ms) [2189/4724] LayerTreeHostPictureTestForceRecalculateScales.RunSingleThread_DelegatingRenderer (175 ms) [2190/4724] LayerTreeHostProxyTestSetNeedsCommit.RunMultiThread_DelegatingRenderer (71 ms) [2191/4724] LayerTreeHostScrollTestImplScrollUnderMainThreadScrollingParent.RunMultiThread_DelegatingRenderer (37 ms) [2192/4724] LayerTreeHostScrollTestLayerStructureChange.ScrollDestroyLayer (48 ms) [2193/4724] LayerTreeHostScrollTestLayerStructureChange.ScrollDestroyWholeTree (71 ms) [2194/4724] LayerTreeHostScrollTestScrollMFBA.RunMultiThread_DelegatingRenderer (63 ms) [2195/4724] LayerTreeHostScrollTestScrollAbortedCommitMFBA.RunMultiThread_DelegatingRenderer (36 ms) [2196/4724] LayerTreeHostScrollTestElasticOverscroll.RunMultiThread_DelegatingRenderer (38 ms) [2197/4724] LayerTreeHostScrollTestPropertyTreeUpdate.RunSingleThread_DelegatingRenderer (16 ms) [2198/4724] LayerTreeHostScrollTestPropertyTreeUpdate.RunMultiThread_DelegatingRenderer (24 ms) [2199/4724] LayerTreeHostScrollTestImplSideInvalidation.RunMultiThread_DelegatingRenderer (36 ms) [2200/4724] LayerTreeHostVideoTestSetNeedsDisplay.RunSingleThread_DelegatingRenderer (25 ms) [2201/4724] LayerTreeImplTest.HitTestingForSimpleClippedLayer (6 ms) [2202/4724] LayerTreeImplTest.HitTestingForMultiClippedRotatedLayer (4 ms) [2203/4724] LayerTreeImplTest.HitTestingForNonClippingIntermediateLayer (4 ms) [2204/4724] LayerTreeImplTest.HitTestingForMultipleLayers (5 ms) [2205/4724] LayerTreeImplTest.HitTestingSameSortingContextTied (4 ms) [2206/4724] LayerTreeImplTest.HitTestingSameSortingContextChildWins (3 ms) [2207/4724] LayerTreeImplTest.HitTestingWithoutSortingContext (6 ms) [2208/4724] LayerTreeImplTest.HitTestingDistinctSortingContext (3 ms) [2209/4724] LayerTreeImplTest.HitTestingSameSortingContextParentWins (3 ms) [2210/4724] LayerTreeImplTest.HitTestingForMultipleLayersAtVaryingDepths (5 ms) [2211/4724] LayerTreeImplTest.HitTestingRespectsClipParents (6 ms) [2212/4724] LayerTreeImplTest.HitTestingRespectsScrollParents (3 ms) [2213/4724] LayerTreeImplTest.HitTestingForMultipleLayerLists (3 ms) [2214/4724] LayerTreeImplTest.HitCheckingTouchHandlerRegionsForSingleLayer (11 ms) [2215/4724] LayerTreeImplTest.HitCheckingTouchHandlerRegionsForUninvertibleTransform (8 ms) [2216/4724] LayerTreeImplTest.HitCheckingTouchHandlerRegionsForSinglePositionedLayer (5 ms) [2217/4724] LayerTreeImplTest.HitCheckingTouchHandlerRegionsForSingleLayerWithDeviceScale (3 ms) [2218/4724] LayerTreeImplTest.HitCheckingTouchHandlerRegionsForSimpleClippedLayer (3 ms) [2219/4724] LayerTreeImplTest.HitCheckingTouchHandlerRegionsForClippedLayerWithDeviceScale (3 ms) [2220/4724] LayerTreeImplTest.HitCheckingTouchHandlerOverlappingRegions (5 ms) [2221/4724] LayerTreeImplTest.HitTestingTouchHandlerRegionsForLayerThatIsNotDrawn (4 ms) [2222/4724] LayerTreeImplTest.SelectionBoundsForSingleLayer (2 ms) [2223/4724] LayerTreeImplTest.SelectionBoundsForPartialOccludedLayers (3 ms) [2224/4724] LayerTreeImplTest.SelectionBoundsForScaledLayers (2 ms) [2225/4724] LayerTreeImplTest.SelectionBoundsForDSFEnabled (11 ms) [2226/4724] LayerTreeImplTest.SelectionBoundsWithLargeTransforms (3 ms) [2227/4724] LayerTreeImplTest.NumLayersTestOne (2 ms) [2228/4724] LayerTreeImplTest.NumLayersSmallTree (2 ms) [2229/4724] LayerTreeImplTest.DeviceScaleFactorNeedsDrawPropertiesUpdate (5 ms) [2230/4724] LayerTreeImplTest.RasterColorSpaceDoesNotNeedDrawPropertiesUpdate (3 ms) [2231/4724] OcclusionTrackerTestTranslatedChildImplThreadOpaqueLayers.RunTest (3 ms) [2232/4724] OcclusionTrackerTestTranslatedChildImplThreadOpaquePaints.RunTest (2 ms) [2233/4724] OcclusionTrackerTestChildInRotatedChildImplThreadOpaqueLayers.RunTest (2 ms) [2234/4724] OcclusionTrackerTestChildInRotatedChildImplThreadOpaquePaints.RunTest (3 ms) [2235/4724] OcclusionTrackerTestScaledRenderSurfaceImplThreadOpaqueLayers.RunTest (2 ms) [2236/4724] OcclusionTrackerTestScaledRenderSurfaceImplThreadOpaquePaints.RunTest (2 ms) [2237/4724] OcclusionTrackerTestVisitTargetTwoTimesImplThreadOpaqueLayers.RunTest (3 ms) [2238/4724] OcclusionTrackerTestVisitTargetTwoTimesImplThreadOpaquePaints.RunTest (3 ms) [2239/4724] OcclusionTrackerTestSurfaceRotatedOffAxisImplThreadOpaqueLayers.RunTest (4 ms) [2240/4724] OcclusionTrackerTestSurfaceRotatedOffAxisImplThreadOpaquePaints.RunTest (2 ms) [2241/4724] LayerTreeImplTest.HitTestingCorrectLayerWheelListener (22 ms) [2242/4724] LayerTreeImplTest.ScrollSizeWithoutLayers (4 ms) [2243/4724] LayerTreeImplTest.PersistentSwapPromisesAreKeptAlive (3 ms) [2244/4724] LayerTreeImplTest.NotPersistentSwapPromisesAreDroppedWhenSwapFails (3 ms) [2245/4724] LayerTreeImplTest.ElementIdToAnimationMapsTrackOnlyOnSyncTree (3 ms) [2246/4724] CommitToPendingTreeLayerTreeImplTest.ElementIdToAnimationMapsTrackOnlyOnSyncTree (7 ms) [2247/4724] OcclusionTrackerTestIdentityTransformsImplThreadOpaqueLayers.RunTest (3 ms) [2248/4724] OcclusionTrackerTestIdentityTransformsImplThreadOpaquePaints.RunTest (5 ms) [2249/4724] OcclusionTrackerTestRotatedChildImplThreadOpaqueLayers.RunTest (3 ms) [2250/4724] OcclusionTrackerTestRotatedChildImplThreadOpaquePaints.RunTest (3 ms) [2251/4724] OcclusionTrackerTestPixelsNeededForDropShadowBackdropFilterImplThreadOpaqueLayers.RunTest (13 ms) [2252/4724] OcclusionTrackerTestPixelsNeededForDropShadowBackdropFilterImplThreadOpaquePaints.RunTest (4 ms) [2253/4724] OcclusionTrackerTestTwoBackdropFiltersReduceOcclusionTwiceImplThreadOpaqueLayers.RunTest (4 ms) [2254/4724] OcclusionTrackerTestTwoBackdropFiltersReduceOcclusionTwiceImplThreadOpaquePaints.RunTest (3 ms) [2255/4724] OcclusionTrackerTestDontReduceOcclusionBelowBackdropFilterImplThreadOpaqueLayers.RunTest (3 ms) [2256/4724] OcclusionTrackerTestDontReduceOcclusionBelowBackdropFilterImplThreadOpaquePaints.RunTest (2 ms) [2257/4724] OcclusionTrackerTestDontReduceOcclusionIfBackdropFilterIsOccludedImplThreadOpaqueLayers.RunTest (2 ms) [2258/4724] OcclusionTrackerTestDontReduceOcclusionIfBackdropFilterIsOccludedImplThreadOpaquePaints.RunTest (2 ms) [2259/4724] OcclusionTrackerTestReduceOcclusionWhenBkgdFilterIsPartiallyOccludedImplThreadOpaqueLayers.RunTest (4 ms) [2260/4724] OcclusionTrackerTestReduceOcclusionWhenBkgdFilterIsPartiallyOccludedImplThreadOpaquePaints.RunTest (2 ms) [2261/4724] OcclusionTrackerTestSurfaceWithTwoOpaqueChildrenImplThreadOpaqueLayers.RunTest (12 ms) [2262/4724] OcclusionTrackerTestSurfaceWithTwoOpaqueChildrenImplThreadOpaquePaints.RunTest (18 ms) [2263/4724] OcclusionTrackerTestOverlappingSurfaceSiblingsImplThreadOpaqueLayers.RunTest (12 ms) [2264/4724] OcclusionTrackerTestOverlappingSurfaceSiblingsImplThreadOpaquePaints.RunTest (18 ms) [2265/4724] OcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransformsImplThreadOpaqueLayers.RunTest (20 ms) [2266/4724] OcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransformsImplThreadOpaquePaints.RunTest (17 ms) [2267/4724] OcclusionTrackerTestFiltersImplThreadOpaqueLayers.RunTest (26 ms) [2268/4724] OcclusionTrackerTestFiltersImplThreadOpaquePaints.RunTest (21 ms) [2269/4724] OcclusionTrackerTestOpaqueContentsRegionEmptyImplThreadOpaqueLayers.RunTest (17 ms) [2270/4724] OcclusionTrackerTestOpaqueContentsRegionEmptyImplThreadOpaquePaints.RunTest (10 ms) [2271/4724] OcclusionTrackerTestOpaqueContentsRegionNonEmptyImplThreadOpaqueLayers.RunTest (24 ms) [2272/4724] OcclusionTrackerTestOpaqueContentsRegionNonEmptyImplThreadOpaquePaints.RunTest (11 ms) [2273/4724] OcclusionTrackerTestSurfaceOcclusionTranslatesToParentImplThreadOpaqueLayers.RunTest (16 ms) [2274/4724] OcclusionTrackerTestSurfaceOcclusionTranslatesToParentImplThreadOpaquePaints.RunTest (22 ms) [2275/4724] OcclusionTrackerTestSurfaceOcclusionTranslatesWithClippingImplThreadOpaqueLayers.RunTest (24 ms) [2276/4724] OcclusionTrackerTestSurfaceOcclusionTranslatesWithClippingImplThreadOpaquePaints.RunTest (19 ms) [2277/4724] OcclusionTrackerTestSurfaceChildOfSurfaceImplThreadOpaqueLayers.RunTest (11 ms) [2278/4724] OcclusionTrackerTestSurfaceChildOfSurfaceImplThreadOpaquePaints.RunTest (21 ms) [2279/4724] OcclusionTrackerTestDontOccludePixelsNeededForBackdropFilterImplThreadOpaqueLayers.RunTest (12 ms) [2280/4724] OcclusionTrackerTestDontOccludePixelsNeededForBackdropFilterImplThreadOpaquePaints.RunTest (17 ms) [2281/4724] OcclusionTest.IsOccludedScaled (0 ms) [2282/4724] OcclusionTest.IsOccludedTranslated (0 ms) [2283/4724] OcclusionTest.IsOccludedScaledAfterConstruction (0 ms) [2284/4724] OcclusionTest.GetUnoccludedContentRectNoTransform (0 ms) [2285/4724] OcclusionTest.GetUnoccludedContentRectScaled (0 ms) [2286/4724] OcclusionTest.GetUnoccludedContentRectTranslated (0 ms) [2287/4724] PresentationTimeCallbackBufferTest.TestNoCallbacks (0 ms) [2288/4724] PresentationTimeCallbackBufferTest.TestOneMainThreadCallback (0 ms) [2289/4724] PresentationTimeCallbackBufferTest.TestFrameTimeRegistration (0 ms) [2290/4724] PresentationTimeCallbackBufferTest.TestCallbackBatchingNoFrameTime (0 ms) [2291/4724] OcclusionTrackerTestHiddenCopyRequestDoesNotOccludeImplThreadOpaqueLayers.RunTest (18 ms) [2292/4724] OcclusionTrackerTestHiddenCopyRequestDoesNotOccludeImplThreadOpaquePaints.RunTest (28 ms) [2293/4724] OcclusionTrackerTestOccludedLayerImplThreadOpaqueLayers.RunTest (18 ms) [2294/4724] OcclusionTrackerTestOccludedLayerImplThreadOpaquePaints.RunTest (16 ms) [2295/4724] OcclusionTrackerTestUnoccludedLayerQueryImplThreadOpaqueLayers.RunTest (13 ms) [2296/4724] OcclusionTrackerTestUnoccludedLayerQueryImplThreadOpaquePaints.RunTest (3 ms) [2297/4724] OcclusionTrackerTestUnoccludedSurfaceQueryImplThreadOpaqueLayers.RunTest (11 ms) [2298/4724] OcclusionTrackerTestUnoccludedSurfaceQueryImplThreadOpaquePaints.RunTest (4 ms) [2299/4724] OcclusionTest.HasOcclusion (0 ms) [2300/4724] OcclusionTest.IsOccludedNoTransform (1 ms) [2301/4724] OcclusionTrackerTestBlendModeDoesNotOccludeImplThreadOpaqueLayers.RunTest (21 ms) [2302/4724] OcclusionTrackerTestBlendModeDoesNotOccludeImplThreadOpaquePaints.RunTest (15 ms) [2303/4724] OcclusionTrackerTestMinimumTrackingSizeImplThreadOpaqueLayers.RunTest (3 ms) [2304/4724] OcclusionTrackerTestMinimumTrackingSizeImplThreadOpaquePaints.RunTest (4 ms) [2305/4724] OcclusionTrackerTestScaledLayerIsClippedImplThreadOpaqueLayers.RunTest (7 ms) [2306/4724] OcclusionTrackerTestScaledLayerIsClippedImplThreadOpaquePaints.RunTest (18 ms) [2307/4724] OcclusionTrackerTestScaledLayerInSurfaceIsClippedImplThreadOpaqueLayers.RunTest (15 ms) [2308/4724] OcclusionTrackerTestScaledLayerInSurfaceIsClippedImplThreadOpaquePaints.RunTest (16 ms) [2309/4724] OcclusionTrackerTestCopyRequestDoesOccludeImplThreadOpaqueLayers.RunTest (15 ms) [2310/4724] OcclusionTrackerTestCopyRequestDoesOccludeImplThreadOpaquePaints.RunTest (19 ms) [2311/4724] PresentationTimeCallbackBufferTest.TestCallbackBatchingWithFrameTime (0 ms) [2312/4724] PropertyTreeTest.ComputeTransformRoot (0 ms) [2313/4724] PropertyTreeTest.SetNeedsUpdate (0 ms) [2314/4724] PropertyTreeTest.ComputeTransformChild (0 ms) [2315/4724] PropertyTreeTest.ComputeTransformSibling (0 ms) [2316/4724] PropertyTreeTest.ComputeTransformSiblingSingularAncestor (0 ms) [2317/4724] PropertyTreeTest.TransformsWithFlattening (1 ms) [2318/4724] PropertyTreeTest.MultiplicationOrder (0 ms) [2319/4724] PropertyTreeTest.ComputeTransformWithUninvertibleTransform (1 ms) [2320/4724] PropertyTreeTest.ComputeTransformToTargetWithZeroSurfaceContentsScale (0 ms) [2321/4724] PropertyTreeTest.FlatteningWhenDestinationHasOnlyFlatAncestors (1 ms) [2322/4724] PropertyTreeTest.ScreenSpaceOpacityUpdateTest (0 ms) [2323/4724] PropertyTreeTest.NonIntegerTranslationTest (1 ms) [2324/4724] PropertyTreeTest.SingularTransformSnapTest (0 ms) [2325/4724] EffectTreeTest.CopyOutputRequestsAreTransformed (0 ms) [2326/4724] EffectTreeTest.CopyOutputRequestsThatBecomeIllegalAreDropped (0 ms) [2327/4724] SwapPromiseManagerTest.SwapPromiseMonitors (0 ms) [2328/4724] SwapPromiseManagerTest.SwapPromises (1 ms) [2329/4724] TreeSynchronizerTest.SyncNullTree (13 ms) [2330/4724] TreeSynchronizerTest.SyncSimpleTreeFromEmpty (16 ms) [2331/4724] TreeSynchronizerTest.SyncSimpleTreeAndPushPropertiesFromEmpty (6 ms) [2332/4724] TreeSynchronizerTest.SyncSimpleTreeReusingLayers (5 ms) [2333/4724] TreeSynchronizerTest.SyncSimpleTreeAndTrackStackingOrderChange (6 ms) [2334/4724] TreeSynchronizerTest.SyncSimpleTreeAndProperties (3 ms) [2335/4724] TreeSynchronizerTest.ReuseLayerImplsAfterStructuralChange (2 ms) [2336/4724] TreeSynchronizerTest.SyncSimpleTreeThenDestroy (2 ms) [2337/4724] TreeSynchronizerTest.SyncMaskLayer (3 ms) [2338/4724] TreeSynchronizerTest.SynchronizeCurrentlyScrollingNode (10 ms) [2339/4724] TreeSynchronizerTest.SynchronizeScrollTreeScrollOffsetMap (5 ms) [2340/4724] TreeSynchronizerTest.RefreshPropertyTreesCachedData (5 ms) [2341/4724] TreeSynchronizerTest.RoundedScrollDeltasOnCommit (18 ms) [2342/4724] TreeSynchronizerTest.PreserveFractionalScrollDeltasOnCommit (19 ms) [2343/4724] UkmManagerTest.Basic (6 ms) [2344/4724] AnimationHostTest.SyncTimelinesAddRemove (0 ms) [2345/4724] AnimationHostTest.ImplOnlyTimeline (0 ms) [2346/4724] AnimationHostTest.ImplOnlyScrollAnimationUpdateTargetIfDetached (0 ms) [2347/4724] AnimationHostTest.FastLayerTreeMutatorUpdateTakesEffectInSameFrame (2 ms) [2348/4724] AnimationHostTest.LayerTreeMutatorsIsMutatedWithCorrectInputState (1 ms) [2349/4724] AnimationHostTest.LayerTreeMutatorsIsMutatedOnlyWhenInputChanges (1 ms) [2350/4724] AnimationHostTest.LayerTreeMutatorUpdateReflectsScrollAnimations (1 ms) [2351/4724] AnimationTimelineTest.SyncAnimationsAttachDetach (1 ms) [2352/4724] AnimationTimelineTest.ClearAnimations (0 ms) [2353/4724] AnimationTest.AttachDetachLayerIfTimelineAttached (1 ms) [2354/4724] AnimationTest.AttachDetachTimelineIfLayerAttached (0 ms) [2355/4724] AnimationTest.PropertiesMutate (1 ms) [2356/4724] AnimationTest.AttachTwoAnimationsToOneLayer (1 ms) [2357/4724] AnimationTest.AddRemoveAnimationToNonAttachedAnimation (0 ms) [2358/4724] AnimationTest.AddRemoveAnimationCausesSetNeedsCommit (1 ms) [2359/4724] AnimationTest.SwitchToLayer (0 ms) [2360/4724] AnimationTest.ToString (1 ms) [2361/4724] AnimationTest.AddTwoKeyframeEffectsFromTheSameElementToOneAnimationTest (1 ms) [2362/4724] AnimationTest.AddTwoKeyframeEffectsFromDifferentElementsToOneAnimationTest (0 ms) [2363/4724] AnimationTest.TickingAnimationsFromTwoKeyframeEffects (1 ms) [2364/4724] AnimationTest.TickingState (0 ms) [2365/4724] AnimationTest.KeyframeEffectSyncToImplTest (0 ms) [2366/4724] ElementAnimationsTest.AttachToLayerInActiveTree (0 ms) [2367/4724] ElementAnimationsTest.AttachToNotYetCreatedLayer (1 ms) [2368/4724] ElementAnimationsTest.AddRemoveAnimations (0 ms) [2369/4724] ElementAnimationsTest.SyncNewAnimation (1 ms) [2370/4724] ElementAnimationsTest.SyncScrollOffsetAnimationRespectsHasSetInitialValue (0 ms) [2371/4724] ElementAnimationsTest.AddedAnimationIsDestroyed (1 ms) [2372/4724] ElementAnimationsTest.DoNotClobberStartTimes (0 ms) [2373/4724] ElementAnimationsTest.UseSpecifiedStartTimes (0 ms) [2374/4724] ElementAnimationsTest.Activation (1 ms) [2375/4724] ElementAnimationsTest.SyncPause (1 ms) [2376/4724] ElementAnimationsTest.DoNotSyncFinishedAnimation (0 ms) [2377/4724] ElementAnimationsTest.AnimationsAreDeleted (1 ms) [2378/4724] ElementAnimationsTest.TrivialTransition (1 ms) [2379/4724] ElementAnimationsTest.FilterTransition (0 ms) [2380/4724] ElementAnimationsTest.ScrollOffsetTransition (1 ms) [2381/4724] ElementAnimationsTest.ScheduleTogetherWithAnAnimWaiting (1 ms) [2382/4724] ElementAnimationsTest.TrivialLooping (0 ms) [2383/4724] ElementAnimationsTest.InfiniteLooping (1 ms) [2384/4724] ElementAnimationsTest.PauseResume (0 ms) [2385/4724] ElementAnimationsTest.AbortAGroupedAnimation (0 ms) [2386/4724] ElementAnimationsTest.PushUpdatesWhenSynchronizedStartTimeNeeded (1 ms) [2387/4724] ElementAnimationsTest.SkipUpdateState (0 ms) [2388/4724] ElementAnimationsTest.InactiveObserverGetsTicked (1 ms) [2389/4724] ElementAnimationsTest.AbortKeyframeModelsWithProperty (1 ms) [2390/4724] ElementAnimationsTest.MainThreadAbortedAnimationGetsDeleted (0 ms) [2391/4724] ElementAnimationsTest.ScrollOffsetTransitionOnImplOnly (1 ms) [2392/4724] ElementAnimationsTest.UpdateStateWithoutAnimate (1 ms) [2393/4724] ElementAnimationsTest.ScrollOffsetTransitionNoImplProvider (0 ms) [2394/4724] ElementAnimationsTest.ScrollOffsetRemovalClearsScrollDelta (1 ms) [2395/4724] ElementAnimationsTest.NotificationsForImplOnlyAnimationsAreSentToImplThreadDelegate (1 ms) [2396/4724] ElementAnimationsTest.SpecifiedStartTimesAreSentToMainThreadDelegate (1 ms) [2397/4724] ElementAnimationsTest.AnimationsWaitingForStartTimeDoNotFinishIfTheyOutwaitTheirFinish (0 ms) [2398/4724] ElementAnimationsTest.TrivialQueuing (1 ms) [2399/4724] ElementAnimationsTest.Interrupt (0 ms) [2400/4724] ElementAnimationsTest.ScheduleTogetherWhenAPropertyIsBlocked (1 ms) [2401/4724] ElementAnimationsTest.ImplThreadAbortedAnimationGetsDeleted (0 ms) [2402/4724] ElementAnimationsTest.ImplThreadTakeoverAnimationGetsDeleted (0 ms) [2403/4724] ElementAnimationsTest.FinishedEventsForGroup (1 ms) [2404/4724] ElementAnimationsTest.FinishedAndAbortedEventsForGroup (1 ms) [2405/4724] ElementAnimationsTest.GetAnimationScalesNotScaled (0 ms) [2406/4724] ElementAnimationsTest.GetAnimationScales (1 ms) [2407/4724] ElementAnimationsTest.GetAnimationScalesWithDirection (0 ms) [2408/4724] ElementAnimationsTest.NewlyPushedAnimationWaitsForActivation (0 ms) [2409/4724] ElementAnimationsTest.ActivationBetweenAnimateAndUpdateState (1 ms) [2410/4724] ElementAnimationsTest.ObserverNotifiedWhenTransformAnimationChanges (1 ms) [2411/4724] ElementAnimationsTest.TickingKeyframeModelsCount (1 ms) [2412/4724] ElementAnimationsTest.FinishedKeyframeModelsNotCopiedToImpl (0 ms) [2413/4724] KeyframeModelTest.TrimTimeZeroIterations (0 ms) [2414/4724] KeyframeModelTest.TrimTimeOneIteration (0 ms) [2415/4724] KeyframeModelTest.TrimTimeOneHalfIteration (0 ms) [2416/4724] KeyframeModelTest.TrimTimeInfiniteIterations (0 ms) [2417/4724] KeyframeModelTest.TrimTimeReverse (0 ms) [2418/4724] KeyframeModelTest.TrimTimeAlternateInfiniteIterations (0 ms) [2419/4724] KeyframeModelTest.TrimTimeAlternateOneIteration (1 ms) [2420/4724] KeyframeModelTest.TrimTimeAlternateTwoIterations (0 ms) [2421/4724] ElementAnimationsTest.ObserverNotifiedWhenOpacityAnimationChanges (1 ms) [2422/4724] ElementAnimationsTest.ObserverNotifiedWhenFilterAnimationChanges (1 ms) [2423/4724] ElementAnimationsTest.ClippedOpacityValues (1 ms) [2424/4724] ElementAnimationsTest.ClippedNegativeOpacityValues (0 ms) [2425/4724] ElementAnimationsTest.PushedDeletedAnimationWaitsForActivation (1 ms) [2426/4724] ElementAnimationsTest.StartAnimationsAffectingDifferentObservers (1 ms) [2427/4724] ElementAnimationsTest.TestIsCurrentlyAnimatingProperty (0 ms) [2428/4724] ElementAnimationsTest.TestIsAnimatingPropertyTimeOffsetFillMode (1 ms) [2429/4724] ElementAnimationsTest.DestroyTestMainLayerBeforePushProperties (0 ms) [2430/4724] ElementAnimationsTest.RemoveAndReAddAnimationToTicking (1 ms) [2431/4724] KeyframeModelTest.TrimTimePauseBasic (0 ms) [2432/4724] KeyframeModelTest.TrimTimePauseAffectedByDelay (0 ms) [2433/4724] KeyframeModelTest.TrimTimePauseNotAffectedByStartTime (0 ms) [2434/4724] KeyframeModelTest.TrimTimePauseResume (0 ms) [2435/4724] KeyframeModelTest.TrimTimePauseResumeReverse (1 ms) [2436/4724] KeyframeModelTest.TrimTimeZeroDuration (0 ms) [2437/4724] KeyframeModelTest.TrimTimeStarting (0 ms) [2438/4724] KeyframeModelTest.TrimTimeNeedsSynchronizedStartTime (1 ms) [2439/4724] KeyframeModelTest.IsFinishedAtZeroIterations (0 ms) [2440/4724] KeyframeModelTest.IsFinishedAtOneIteration (0 ms) [2441/4724] KeyframeModelTest.TrimTimeAlternateTwoHalfIterations (0 ms) [2442/4724] KeyframeModelTest.TrimTimeAlternateReverseInfiniteIterations (1 ms) [2443/4724] KeyframeModelTest.TrimTimeAlternateReverseOneIteration (0 ms) [2444/4724] KeyframeModelTest.TrimTimeAlternateReverseTwoIterations (0 ms) [2445/4724] KeyframeModelTest.TrimTimeStartTime (1 ms) [2446/4724] KeyframeModelTest.TrimTimeStartTimeReverse (0 ms) [2447/4724] KeyframeModelTest.TrimTimeTimeOffset (0 ms) [2448/4724] KeyframeModelTest.TrimTimeTimeOffsetReverse (0 ms) [2449/4724] KeyframeModelTest.TrimTimeNegativeTimeOffset (0 ms) [2450/4724] KeyframeModelTest.TrimTimeNegativeTimeOffsetReverse (0 ms) [2451/4724] KeyframeModelTest.IsFinishedAtInfiniteIterations (0 ms) [2452/4724] KeyframeModelTest.IsFinishedNegativeTimeOffset (0 ms) [2453/4724] KeyframeModelTest.IsFinishedPositiveTimeOffset (1 ms) [2454/4724] KeyframeModelTest.IsFinishedAtNotRunning (0 ms) [2455/4724] KeyframeModelTest.IsFinished (0 ms) [2456/4724] KeyframeModelTest.IsFinishedNeedsSynchronizedStartTime (0 ms) [2457/4724] KeyframeModelTest.TrimTimePlaybackNormal (0 ms) [2458/4724] KeyframeModelTest.TrimTimePlaybackSlow (0 ms) [2459/4724] KeyframeModelTest.TrimTimePlaybackFast (0 ms) [2460/4724] KeyframeModelTest.TrimTimePlaybackNormalReverse (0 ms) [2461/4724] KeyframeModelTest.TrimTimePlaybackSlowReverse (0 ms) [2462/4724] KeyframeModelTest.TrimTimePlaybackFastReverse (0 ms) [2463/4724] KeyframeModelTest.TrimTimePlaybackFastInfiniteIterations (0 ms) [2464/4724] KeyframeModelTest.TrimTimePlaybackNormalDoubleReverse (0 ms) [2465/4724] KeyframeModelTest.TrimTimePlaybackFastDoubleReverse (0 ms) [2466/4724] KeyframeModelTest.TrimTimeAlternateTwoIterationsPlaybackFast (0 ms) [2467/4724] KeyframeModelTest.TrimTimeAlternateTwoIterationsPlaybackFastReverse (0 ms) [2468/4724] KeyframeModelTest.TrimTimeAlternateTwoIterationsPlaybackFastDoubleReverse (1 ms) [2469/4724] KeyframeModelTest.TrimTimeAlternateReverseThreeIterationsPlaybackFastAlternateReverse (0 ms) [2470/4724] KeyframeModelTest.TrimTimeAlternateReverseTwoIterationsPlaybackNormalAlternate (0 ms) [2471/4724] KeyframeModelTest.TrimTimeIterationStart (0 ms) [2472/4724] KeyframeModelTest.TrimTimeIterationStartAlternate (0 ms) [2473/4724] KeyframeModelTest.TrimTimeIterationStartAlternateThreeIterations (0 ms) [2474/4724] KeyframeModelTest.TrimTimeIterationStartAlternateThreeIterationsPlaybackReverse (0 ms) [2475/4724] KeyframeModelTest.InEffectFillMode (0 ms) [2476/4724] KeyframeModelTest.InEffectFillModeNoneWithNegativePlaybackRate (0 ms) [2477/4724] KeyframeModelTest.InEffectFillModeWithIterations (1 ms) [2478/4724] KeyframeModelTest.InEffectFillModeWithInfiniteIterations (0 ms) [2479/4724] KeyframeModelTest.InEffectReverseWithIterations (0 ms) [2480/4724] KeyframeModelTest.CalculatePhaseWithMinTimeOffset (0 ms) [2481/4724] KeyframeModelTest.ToString (1 ms) [2482/4724] KeyframedAnimationCurveTest.OneColorKeyFrame (0 ms) [2483/4724] KeyframedAnimationCurveTest.TwoColorKeyFrame (0 ms) [2484/4724] KeyframedAnimationCurveTest.ThreeColorKeyFrame (0 ms) [2485/4724] KeyframedAnimationCurveTest.RepeatedColorKeyFrame (0 ms) [2486/4724] KeyframedAnimationCurveTest.OneFloatKeyframe (0 ms) [2487/4724] KeyframedAnimationCurveTest.TwoFloatKeyframe (1 ms) [2488/4724] KeyframedAnimationCurveTest.ThreeFloatKeyframe (0 ms) [2489/4724] KeyframedAnimationCurveTest.RepeatedFloatKeyTimes (0 ms) [2490/4724] KeyframedAnimationCurveTest.OneTransformKeyframe (1 ms) [2491/4724] KeyframedAnimationCurveTest.TwoTransformKeyframe (0 ms) [2492/4724] KeyframedAnimationCurveTest.ThreeTransformKeyframe (0 ms) [2493/4724] KeyframedAnimationCurveTest.RepeatedTransformKeyTimes (1 ms) [2494/4724] KeyframedAnimationCurveTest.DiscreteLinearTransformAnimation (0 ms) [2495/4724] KeyframedAnimationCurveTest.DiscreteCubicBezierTransformAnimation (1 ms) [2496/4724] KeyframedAnimationCurveTest.OneFilterKeyframe (0 ms) [2497/4724] KeyframedAnimationCurveTest.TwoFilterKeyframe (0 ms) [2498/4724] KeyframedAnimationCurveTest.ThreeFilterKeyframe (0 ms) [2499/4724] KeyframedAnimationCurveTest.RepeatedFilterKeyTimes (0 ms) [2500/4724] KeyframedAnimationCurveTest.UnsortedKeyframes (1 ms) [2501/4724] KeyframedAnimationCurveTest.CubicBezierTimingFunction (1 ms) [2502/4724] KeyframedAnimationCurveTest.StepsTimingFunctionStepAtStart (0 ms) [2503/4724] KeyframedAnimationCurveTest.StepsTimingFunctionStepAtEnd (0 ms) [2504/4724] KeyframedAnimationCurveTest.IsTranslation (0 ms) [2505/4724] KeyframedAnimationCurveTest.MaximumTargetScale (0 ms) [2506/4724] KeyframedAnimationCurveTest.AnimationStartScale (1 ms) [2507/4724] KeyframedAnimationCurveTest.CurveTiming (0 ms) [2508/4724] KeyframedAnimationCurveTest.CurveAndKeyframeTiming (0 ms) [2509/4724] KeyframedAnimationCurveTest.LinearTimingInputsOutsideZeroOneRange (0 ms) [2510/4724] KeyframedAnimationCurveTest.CurveTimingInputsOutsideZeroOneRange (0 ms) [2511/4724] KeyframedAnimationCurveTest.StepsTimingStartInputsOutsideZeroOneRange (0 ms) [2512/4724] KeyframedAnimationCurveTest.StepsTimingEndInputsOutsideZeroOneRange (0 ms) [2513/4724] KeyframedAnimationCurveTest.CurveTimingMultipleKeyframes (1 ms) [2514/4724] KeyframedAnimationCurveTest.CurveTimingOvershootMultipeKeyframes (0 ms) [2515/4724] KeyframedAnimationCurveTest.ScaledDuration (0 ms) [2516/4724] KeyframedAnimationCurveTest.OneSizeKeyFrame (0 ms) [2517/4724] KeyframedAnimationCurveTest.TwoSizeKeyFrame (0 ms) [2518/4724] KeyframedAnimationCurveTest.ThreeSizeKeyFrame (0 ms) [2519/4724] KeyframedAnimationCurveTest.RepeatedSizeKeyFrame (1 ms) [2520/4724] ScrollOffsetAnimationCurveTest.DeltaBasedDuration (0 ms) [2521/4724] ScrollTimelineTest.CurrentTimeIsAdjustedForPixelSnapping (0 ms) [2522/4724] ScrollTimelineTest.CurrentTimeHandlesStartScrollOffset (0 ms) [2523/4724] ScrollTimelineTest.CurrentTimeHandlesEndScrollOffset (0 ms) [2524/4724] ScrollTimelineTest.CurrentTimeHandlesEndScrollOffsetInclusive (0 ms) [2525/4724] ScrollTimelineTest.CurrentTimeHandlesCombinedStartAndEndScrollOffset (0 ms) [2526/4724] ScrollTimelineTest.CurrentTimeHandlesEqualStartAndEndScrollOffset (1 ms) [2527/4724] ScrollTimelineTest.CurrentTimeHandlesStartOffsetLargerThanEndScrollOffset (1 ms) [2528/4724] ScrollTimelineTest.CurrentTimeHandlesFillMode (0 ms) [2529/4724] ScrollTimelineTest.Activeness (1 ms) [2530/4724] TransformOperationTest.TransformTypesAreUnique (0 ms) [2531/4724] ScrollOffsetAnimationCurveTest.GetValue (0 ms) [2532/4724] ScrollOffsetAnimationCurveTest.Clone (0 ms) [2533/4724] ScrollOffsetAnimationCurveTest.UpdateTarget (0 ms) [2534/4724] ScrollOffsetAnimationCurveTest.InverseDeltaDuration (0 ms) [2535/4724] ScrollOffsetAnimationCurveTest.CurveWithDelay (0 ms) [2536/4724] ScrollOffsetAnimationCurveTest.CurveWithLargeDelay (0 ms) [2537/4724] ScrollOffsetAnimationCurveTest.UpdateTargetZeroLastSegmentDuration (0 ms) [2538/4724] ScrollTimelineTest.BasicCurrentTimeCalculations (1 ms) [2539/4724] ScrollTimelineTest.CurrentTimeIsAdjustedForTimeRange (0 ms) [2540/4724] ScrollTimelineTest.ActiveTimeIsSetOnlyAfterPromotion (1 ms) [2541/4724] TransformOperationTest.MatchingPrefixSameLength (0 ms) [2542/4724] TransformOperationTest.MatchingPrefixDifferentLength (0 ms) [2543/4724] TransformOperationTest.MatchingPrefixLengthOrder (1 ms) [2544/4724] TransformOperationTest.NoneAlwaysMatches (0 ms) [2545/4724] TransformOperationTest.ApplyTranslate (0 ms) [2546/4724] TransformOperationTest.ApplyRotate (0 ms) [2547/4724] TransformOperationTest.ApplyScale (0 ms) [2548/4724] TransformOperationTest.ApplySkew (0 ms) [2549/4724] TransformOperationTest.ApplyPerspective (1 ms) [2550/4724] TransformOperationTest.ApplyMatrix (0 ms) [2551/4724] TransformOperationTest.ApplyOrder (1 ms) [2552/4724] TransformOperationTest.BlendOrder (1 ms) [2553/4724] TransformOperationTest.BlendProgress (1 ms) [2554/4724] TransformOperationTest.BlendWhenTypesDoNotMatch (0 ms) [2555/4724] TransformOperationTest.LargeRotationsWithSameAxis (0 ms) [2556/4724] TransformOperationTest.LargeRotationsWithSameAxisInDifferentDirection (0 ms) [2557/4724] TransformOperationTest.LargeRotationsWithDifferentAxes (0 ms) [2558/4724] TransformOperationTest.RotationFromZeroDegDifferentAxes (1 ms) [2559/4724] TransformOperationTest.RotationFromZeroDegSameAxes (0 ms) [2560/4724] TransformOperationTest.RotationToZeroDegDifferentAxes (0 ms) [2561/4724] TransformOperationTest.BlendPerspectiveToIdentity (1 ms) [2562/4724] TransformOperationTest.ExtrapolatePerspectiveBlending (1 ms) [2563/4724] TransformOperationTest.ExtrapolateMatrixBlending (0 ms) [2564/4724] TransformOperationTest.NonDecomposableBlend (0 ms) [2565/4724] TransformOperationTest.BlendedBoundsWhenTypesDoNotMatch (0 ms) [2566/4724] TransformOperationTest.BlendedBoundsForIdentity (0 ms) [2567/4724] TransformOperationTest.BlendedBoundsForTranslate (1 ms) [2568/4724] TransformOperationTest.BlendedBoundsForScale (0 ms) [2569/4724] TransformOperationTest.BlendedBoundsWithZeroScale (1 ms) [2570/4724] TransformOperationTest.BlendedBoundsForRotationTrivial (0 ms) [2571/4724] TransformOperationTest.RotationToZeroDegSameAxes (0 ms) [2572/4724] TransformOperationTest.BlendRotationFromIdentity (3 ms) [2573/4724] TransformOperationTest.BlendTranslationFromIdentity (1 ms) [2574/4724] TransformOperationTest.BlendScaleFromIdentity (1 ms) [2575/4724] TransformOperationTest.BlendSkewFromEmpty (0 ms) [2576/4724] TransformOperationTest.BlendPerspectiveFromIdentity (1 ms) [2577/4724] TransformOperationTest.BlendRotationToIdentity (1 ms) [2578/4724] TransformOperationTest.BlendTranslationToIdentity (1 ms) [2579/4724] TransformOperationTest.BlendScaleToIdentity (1 ms) [2580/4724] TransformOperationTest.BlendSkewToEmpty (0 ms) [2581/4724] TransformOperationTest.BlendedBoundsForRotationAllExtrema (1 ms) [2582/4724] TransformOperationTest.BlendedBoundsForRotationDifferentAxes (0 ms) [2583/4724] TransformOperationTest.BlendedBoundsForRotationPointOnAxis (0 ms) [2584/4724] TransformOperationTest.BlendedBoundsForRotationProblematicAxes (1 ms) [2585/4724] TransformOperationTest.BlendedBoundsForRotationEmpiricalTests (65 ms) [2586/4724] TransformOperationTest.PerspectiveMatrixAndTransformBlendingEquivalency (1 ms) [2587/4724] TransformOperationTest.BlendedBoundsForPerspective (1 ms) [2588/4724] TransformOperationTest.BlendedBoundsForSkew (1 ms) [2589/4724] TransformOperationTest.NonCommutativeRotations (0 ms) [2590/4724] TransformOperationTest.BlendedBoundsForSequence (0 ms) [2591/4724] TransformOperationTest.IsTranslationWithSingleOperation (0 ms) [2592/4724] TransformOperationTest.IsTranslationWithMultipleOperations (0 ms) [2593/4724] TransformOperationTest.ScaleComponent (1 ms) [2594/4724] TransformOperationsTest.ApproximateEquality (0 ms) [2595/4724] TransformOperationsTest.TestDecompositionCache (1 ms) [2596/4724] WorkletAnimationTest.NonImplInstanceDoesNotTickKeyframe (1 ms) [2597/4724] WorkletAnimationTest.LocalTimeIsUsedWhenTicking (0 ms) [2598/4724] WorkletAnimationTest.CurrentTimeCorrectlyUsesScrollTimeline (1 ms) [2599/4724] WorkletAnimationTest.CurrentTimeFromRegularTimelineIsOffsetByStartTime (0 ms) [2600/4724] WorkletAnimationTest.DocumentTimelineSetPlaybackRate (0 ms) [2601/4724] P/PaintCacheTest.ClientPurgeAll/0 (0 ms) [2602/4724] P/PaintCacheTest.CommitPendingEntries/0 (0 ms) [2603/4724] P/PaintCacheTest.ServiceBasic/0 (12 ms) [2604/4724] P/PaintFilterTest.HasDiscardableImagesYes/0 (2 ms) [2605/4724] P/PaintFilterTest.HasDiscardableImagesYes/1 (2 ms) [2606/4724] P/PaintFilterTest.HasDiscardableImagesYes/2 (2 ms) [2607/4724] P/PaintFilterTest.HasDiscardableImagesYes/3 (1 ms) [2608/4724] P/PaintFilterTest.HasDiscardableImagesYes/4 (1 ms) [2609/4724] P/PaintFilterTest.HasDiscardableImagesYes/5 (2 ms) [2610/4724] P/PaintFilterTest.HasDiscardableImagesYes/6 (2 ms) [2611/4724] P/PaintFilterTest.HasDiscardableImagesYes/7 (2 ms) [2612/4724] P/PaintFilterTest.HasDiscardableImagesYes/8 (2 ms) [2613/4724] P/PaintFilterTest.HasDiscardableImagesYes/9 (1 ms) [2614/4724] P/PaintFilterTest.HasDiscardableImagesYes/10 (1 ms) [2615/4724] P/PaintFilterTest.HasDiscardableImagesYes/11 (2 ms) [2616/4724] P/PaintFilterTest.HasDiscardableImagesYes/12 (2 ms) [2617/4724] P/PaintFilterTest.HasDiscardableImagesYes/13 (1 ms) [2618/4724] P/PaintFilterTest.HasDiscardableImagesYes/14 (1 ms) [2619/4724] P/PaintFilterTest.HasDiscardableImagesYes/15 (2 ms) [2620/4724] P/PaintFilterTest.HasDiscardableImagesYes/16 (0 ms) [2621/4724] P/PaintFilterTest.HasDiscardableImagesNo/6 (2 ms) [2622/4724] P/PaintFilterTest.HasDiscardableImagesNo/7 (1 ms) [2623/4724] P/PaintFilterTest.HasDiscardableImagesNo/8 (2 ms) [2624/4724] P/PaintFilterTest.HasDiscardableImagesNo/9 (1 ms) [2625/4724] P/PaintFilterTest.HasDiscardableImagesNo/10 (2 ms) [2626/4724] P/PaintFilterTest.HasDiscardableImagesNo/11 (1 ms) [2627/4724] P/PaintFilterTest.HasDiscardableImagesNo/12 (2 ms) [2628/4724] P/PaintFilterTest.HasDiscardableImagesNo/13 (1 ms) [2629/4724] P/PaintFilterTest.HasDiscardableImagesNo/14 (2 ms) [2630/4724] P/PaintFilterTest.HasDiscardableImagesNo/15 (1 ms) [2631/4724] P/PaintFilterTest.HasDiscardableImagesYes/17 (1 ms) [2632/4724] P/PaintFilterTest.HasDiscardableImagesYes/18 (1 ms) [2633/4724] P/PaintFilterTest.HasDiscardableImagesYes/19 (2 ms) [2634/4724] P/PaintFilterTest.HasDiscardableImagesYes/20 (2 ms) [2635/4724] P/PaintFilterTest.HasDiscardableImagesNo/0 (2 ms) [2636/4724] P/PaintFilterTest.HasDiscardableImagesNo/1 (1 ms) [2637/4724] P/PaintFilterTest.HasDiscardableImagesNo/2 (1 ms) [2638/4724] P/PaintFilterTest.HasDiscardableImagesNo/3 (1 ms) [2639/4724] P/PaintFilterTest.HasDiscardableImagesNo/4 (1 ms) [2640/4724] P/PaintFilterTest.HasDiscardableImagesNo/5 (1 ms) [2641/4724] P/PaintFilterTest.HasDiscardableImagesNo/16 (2 ms) [2642/4724] P/PaintFilterTest.HasDiscardableImagesNo/17 (2 ms) [2643/4724] P/PaintFilterTest.HasDiscardableImagesNo/18 (2 ms) [2644/4724] P/PaintFilterTest.HasDiscardableImagesNo/19 (1 ms) [2645/4724] P/PaintFilterTest.HasDiscardableImagesNo/20 (2 ms) [2646/4724] P/PaintFilterTest.SnapshotWithImages/0 (2 ms) [2647/4724] P/PaintFilterTest.SnapshotWithImages/1 (2 ms) [2648/4724] P/PaintFilterTest.SnapshotWithImages/2 (2 ms) [2649/4724] P/PaintFilterTest.SnapshotWithImages/3 (2 ms) [2650/4724] P/PaintFilterTest.SnapshotWithImages/4 (2 ms) [2651/4724] P/PaintFilterTest.SnapshotWithImages/5 (3 ms) [2652/4724] P/PaintFilterTest.SnapshotWithImages/6 (2 ms) [2653/4724] P/PaintFilterTest.SnapshotWithImages/7 (2 ms) [2654/4724] P/PaintFilterTest.SnapshotWithImages/8 (2 ms) [2655/4724] P/PaintFilterTest.SnapshotWithImages/9 (2 ms) [2656/4724] P/PaintFilterTest.SnapshotWithImages/10 (2 ms) [2657/4724] P/PaintFilterTest.SnapshotWithImages/11 (2 ms) [2658/4724] P/PaintFilterTest.SnapshotWithImages/12 (2 ms) [2659/4724] P/PaintFilterTest.SnapshotWithImages/13 (2 ms) [2660/4724] P/PaintFilterTest.SnapshotWithImages/14 (2 ms) [2661/4724] P/PaintFilterTest.SnapshotWithImages/15 (2 ms) [2662/4724] P/PaintFilterTest.SnapshotWithImages/16 (2 ms) [2663/4724] P/PaintFilterTest.SnapshotWithImages/17 (2 ms) [2664/4724] P/PaintFilterTest.SnapshotWithImages/18 (2 ms) [2665/4724] P/PaintFilterTest.SnapshotWithImages/19 (2 ms) [2666/4724] P/PaintFilterTest.SnapshotWithImages/20 (2 ms) [2667/4724] P/PaintOpSerializationTest.SmokeTest/0 (1 ms) [2668/4724] P/PaintOpSerializationTest.SmokeTest/1 (1 ms) [2669/4724] P/PaintOpSerializationTest.SmokeTest/2 (1 ms) [2670/4724] P/PaintOpSerializationTest.SmokeTest/3 (1 ms) [2671/4724] P/PaintOpSerializationTest.SmokeTest/4 (1 ms) [2672/4724] P/PaintOpSerializationTest.SmokeTest/5 (1 ms) [2673/4724] P/PaintOpSerializationTest.SmokeTest/6 (1 ms) [2674/4724] P/PaintOpSerializationTest.SmokeTest/7 (1 ms) [2675/4724] P/PaintOpSerializationTest.SmokeTest/8 (3 ms) [2676/4724] P/PaintOpSerializationTest.SmokeTest/9 (2 ms) [2677/4724] P/PaintOpSerializationTest.SmokeTest/10 (1 ms) [2678/4724] P/PaintOpSerializationTest.SmokeTest/11 (1 ms) [2679/4724] P/PaintOpSerializationTest.SmokeTest/12 (1 ms) [2680/4724] P/PaintOpSerializationTest.SmokeTest/13 (1 ms) [2681/4724] P/PaintOpSerializationTest.SmokeTest/14 (0 ms) [2682/4724] P/PaintOpSerializationTest.SmokeTest/15 (3 ms) [2683/4724] P/PaintOpSerializationTest.SmokeTest/16 (1 ms) [2684/4724] P/PaintOpSerializationTest.SmokeTest/17 (0 ms) [2685/4724] P/PaintOpSerializationTest.SmokeTest/18 (17 ms) [2686/4724] P/PaintOpSerializationTest.SmokeTest/19 (0 ms) [2687/4724] P/PaintOpSerializationTest.SmokeTest/20 (0 ms) [2688/4724] P/PaintOpSerializationTest.SmokeTest/21 (1 ms) [2689/4724] P/PaintOpSerializationTest.SmokeTest/22 (1 ms) [2690/4724] P/PaintOpSerializationTest.SmokeTest/23 (2 ms) [2691/4724] P/PaintOpSerializationTest.SmokeTest/24 (1 ms) [2692/4724] P/PaintOpSerializationTest.SmokeTest/25 (1 ms) [2693/4724] P/PaintOpSerializationTest.SmokeTest/26 (0 ms) [2694/4724] P/PaintOpSerializationTest.SerializationFailures/0 (1 ms) [2695/4724] P/PaintOpSerializationTest.SerializationFailures/1 (2 ms) [2696/4724] P/PaintOpSerializationTest.SerializationFailures/2 (1 ms) [2697/4724] P/PaintOpSerializationTest.SerializationFailures/3 (1 ms) [2698/4724] P/PaintOpSerializationTest.SerializationFailures/4 (2 ms) [2699/4724] P/PaintOpSerializationTest.SerializationFailures/5 (1 ms) [2700/4724] P/PaintOpSerializationTest.SerializationFailures/6 (1 ms) [2701/4724] P/PaintOpSerializationTest.SerializationFailures/7 (21 ms) [2702/4724] P/PaintOpSerializationTest.SerializationFailures/8 (28 ms) [2703/4724] P/PaintOpSerializationTest.SerializationFailures/9 (31 ms) [2704/4724] P/PaintOpSerializationTest.SerializationFailures/10 (19 ms) [2705/4724] P/PaintOpSerializationTest.SerializationFailures/11 (19 ms) [2706/4724] P/PaintOpSerializationTest.SerializationFailures/12 (15 ms) [2707/4724] P/PaintOpSerializationTest.SerializationFailures/13 (34 ms) [2708/4724] P/PaintOpSerializationTest.SerializationFailures/14 (0 ms) [2709/4724] P/PaintOpSerializationTest.SerializationFailures/15 (31 ms) [2710/4724] P/PaintOpSerializationTest.SerializationFailures/16 (41 ms) [2711/4724] P/PaintOpSerializationTest.SerializationFailures/17 (1 ms) [2712/4724] P/PaintOpSerializationTest.SerializationFailures/18 (24 ms) [2713/4724] P/PaintOpSerializationTest.SerializationFailures/19 (1 ms) [2714/4724] P/PaintOpSerializationTest.SerializationFailures/20 (1 ms) [2715/4724] P/PaintOpSerializationTest.SerializationFailures/21 (1 ms) [2716/4724] P/PaintOpSerializationTest.SerializationFailures/22 (1 ms) [2717/4724] P/PaintOpSerializationTest.SerializationFailures/23 (20 ms) [2718/4724] P/PaintOpSerializationTest.SerializationFailures/24 (1 ms) [2719/4724] P/PaintOpSerializationTest.SerializationFailures/25 (0 ms) [2720/4724] P/PaintOpSerializationTest.SerializationFailures/26 (1 ms) [2721/4724] P/PaintOpSerializationTest.DeserializationFailures/0 (5 ms) [2722/4724] P/PaintOpSerializationTest.DeserializationFailures/1 (20 ms) [2723/4724] P/PaintOpSerializationTest.DeserializationFailures/2 (15 ms) [2724/4724] P/PaintOpSerializationTest.DeserializationFailures/3 (7 ms) [2725/4724] P/PaintOpSerializationTest.DeserializationFailures/4 (7 ms) [2726/4724] P/PaintOpSerializationTest.DeserializationFailures/5 (4 ms) [2727/4724] P/PaintOpSerializationTest.DeserializationFailures/6 (5 ms) [2728/4724] P/PaintOpSerializationTest.DeserializationFailures/7 (49 ms) [2729/4724] P/PaintOpSerializationTest.DeserializationFailures/8 (66 ms) [2730/4724] P/PaintOpSerializationTest.DeserializationFailures/9 (79 ms) [2731/4724] P/PaintOpSerializationTest.DeserializationFailures/10 (123 ms) [2732/4724] P/PaintOpSerializationTest.DeserializationFailures/11 (90 ms) [2733/4724] P/PaintOpSerializationTest.DeserializationFailures/12 (41 ms) [2734/4724] P/PaintOpSerializationTest.DeserializationFailures/13 (97 ms) [2735/4724] P/PaintOpSerializationTest.DeserializationFailures/14 (0 ms) [2736/4724] P/PaintOpSerializationTest.DeserializationFailures/15 (199 ms) [2737/4724] P/PaintOpSerializationTest.DeserializationFailures/16 (70 ms) [2738/4724] P/PaintOpSerializationTest.DeserializationFailures/17 (0 ms) [2739/4724] P/PaintOpSerializationTest.DeserializationFailures/18 (39 ms) [2740/4724] P/PaintOpSerializationTest.DeserializationFailures/19 (2 ms) [2741/4724] P/PaintOpSerializationTest.DeserializationFailures/20 (2 ms) [2742/4724] P/PaintOpSerializationTest.DeserializationFailures/21 (5 ms) [2743/4724] P/PaintOpSerializationTest.DeserializationFailures/22 (2 ms) [2744/4724] P/PaintOpSerializationTest.DeserializationFailures/23 (281 ms) [2745/4724] P/PaintOpSerializationTest.DeserializationFailures/24 (4 ms) [2746/4724] P/PaintOpSerializationTest.DeserializationFailures/25 (2 ms) [2747/4724] P/PaintOpSerializationTest.DeserializationFailures/26 (6 ms) [2748/4724] P/PaintOpSerializationTest.UsesOverridenFlags/0 (0 ms) [2749/4724] P/PaintOpSerializationTest.UsesOverridenFlags/1 (0 ms) [2750/4724] P/PaintOpSerializationTest.UsesOverridenFlags/2 (0 ms) [2751/4724] P/PaintOpSerializationTest.UsesOverridenFlags/3 (0 ms) [2752/4724] P/PaintOpSerializationTest.UsesOverridenFlags/4 (0 ms) [2753/4724] P/PaintOpSerializationTest.UsesOverridenFlags/5 (0 ms) [2754/4724] P/PaintOpSerializationTest.UsesOverridenFlags/6 (0 ms) [2755/4724] P/PaintOpSerializationTest.UsesOverridenFlags/7 (6 ms) [2756/4724] P/PaintOpSerializationTest.UsesOverridenFlags/8 (6 ms) [2757/4724] P/PaintOpSerializationTest.UsesOverridenFlags/9 (6 ms) [2758/4724] P/PaintOpSerializationTest.UsesOverridenFlags/10 (5 ms) [2759/4724] P/PaintOpSerializationTest.UsesOverridenFlags/11 (5 ms) [2760/4724] P/PaintOpSerializationTest.UsesOverridenFlags/12 (4 ms) [ RUN ] LayerTreeHostTestDiscardAckAfterRelease.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestDiscardAckAfterRelease.RunMultiThread_DelegatingRenderer (61 ms) [----------] 1 test from LayerTreeHostTestDiscardAckAfterRelease (61 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationDrawImage [ RUN ] LayerTreeHostTestImageAnimationDrawImage.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationDrawImage.RunMultiThread_DelegatingRenderer (2577 ms) [----------] 1 test from LayerTreeHostTestImageAnimationDrawImage (2577 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationDrawImageShader [ RUN ] LayerTreeHostTestImageAnimationDrawImageShader.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationDrawImageShader.RunMultiThread_DelegatingRenderer (2660 ms) [----------] 1 test from LayerTreeHostTestImageAnimationDrawImageShader (2660 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationDrawRecordShader [ RUN ] LayerTreeHostTestImageAnimationDrawRecordShader.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationDrawRecordShader.RunMultiThread_DelegatingRenderer (2706 ms) [----------] 1 test from LayerTreeHostTestImageAnimationDrawRecordShader (2706 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationPaintFilter [ RUN ] LayerTreeHostTestImageAnimationPaintFilter.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationPaintFilter.RunMultiThread_DelegatingRenderer (2686 ms) [----------] 1 test from LayerTreeHostTestImageAnimationPaintFilter (2686 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousScheduling [ RUN ] LayerTreeHostTestImageAnimationSynchronousScheduling.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationSynchronousScheduling.RunMultiThread_DelegatingRenderer (2616 ms) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousScheduling (2617 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw [ RUN ] LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw.RunMultiThread_DelegatingRenderer ================== WARNING: ThreadSanitizer: data race (pid=28321) Write of size 8 at 0x7b4400001e88 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c341fb) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:959 (cc_unittests+0x1c341fb) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c341fb) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous read of size 8 at 0x7b4400001e88 by thread T3: #0 size buildtools/third_party/libc++/trunk/include/vector:656:61 (cc_unittests+0x12fb346) #1 size base/containers/flat_tree.h:594 (cc_unittests+0x12fb346) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc:8591 (cc_unittests+0x12fb346) #3 non-virtual thunk to cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc (cc_unittests+0x12fbb64) #4 cc::LayerTreeHostImplForTesting::PrepareToDraw(cc::LayerTreeHostImpl::FrameData*) cc/test/layer_tree_test.cc:289:18 (cc_unittests+0x1cb5e0b) #5 cc::ProxyImpl::DrawInternal(bool) cc/trees/proxy_impl.cc:692:26 (cc_unittests+0x1c856f1) #6 cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc:567:10 (cc_unittests+0x1c85553) #7 non-virtual thunk to cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc (cc_unittests+0x1c8591d) #8 cc::Scheduler::DrawIfPossible() cc/scheduler/scheduler.cc:718:32 (cc_unittests+0x1b9c9c2) #9 cc::Scheduler::ProcessScheduledActions() cc/scheduler/scheduler.cc:818:9 (cc_unittests+0x1b98d96) #10 cc::Scheduler::OnDrawForLayerTreeFrameSink(bool, bool) cc/scheduler/scheduler.cc:390:3 (cc_unittests+0x1b9bdaa) #11 cc::ProxyImpl::OnDrawForLayerTreeFrameSink(bool, bool) cc/trees/proxy_impl.cc:476:15 (cc_unittests+0x1c84bb3) #12 cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc:1884:14 (cc_unittests+0x1c1eb1c) #13 non-virtual thunk to cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc (cc_unittests+0x1c1ec1d) #14 cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::DispatchInvalidation() cc/test/layer_tree_test.cc:121:14 (cc_unittests+0x1cb8586) #15 Invoke<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:499:12 (cc_unittests+0x1cb863a) #16 MakeItSo<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:619 (cc_unittests+0x1cb863a) #17 RunImpl<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), std::__1::tuple<base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb863a) #18 base::internal::Invoker<base::internal::BindState<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb863a) #19 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #20 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #21 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #22 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #24 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #25 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #26 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #27 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #28 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #29 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #30 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #31 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/type_traits:4594:9 in swap<std::__1::pair<unsigned long, int> *> ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 8 at 0x7b4400001e88 by thread T3: #0 begin buildtools/third_party/libc++/trunk/include/vector:1523:30 (cc_unittests+0x1c9fa3f) #1 begin base/containers/flat_tree.h:619 (cc_unittests+0x1c9fa3f) #2 lower_bound<unsigned long> base/containers/flat_tree.h:915 (cc_unittests+0x1c9fa3f) #3 equal_range<unsigned long> base/containers/flat_tree.h:888 (cc_unittests+0x1c9fa3f) #4 find<unsigned long> base/containers/flat_tree.h:864 (cc_unittests+0x1c9fa3f) #5 find<unsigned long> base/containers/flat_tree.h:857 (cc_unittests+0x1c9fa3f) #6 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:61 (cc_unittests+0x1c9fa3f) #7 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #8 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #9 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #10 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #11 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #12 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #13 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #14 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #15 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #16 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #17 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #18 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #19 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #20 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #21 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #22 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #23 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #24 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #25 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #26 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #27 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #28 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #29 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #30 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #31 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #32 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #33 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #34 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #35 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #36 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #37 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #38 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #39 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #40 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #41 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #42 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #43 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #44 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #45 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #46 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #47 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #48 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #49 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #50 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #51 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #52 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b4400001e88 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c341fb) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:959 (cc_unittests+0x1c341fb) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c341fb) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/vector:1523:30 in begin ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Write of size 8 at 0x7b4400001e90 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c3420e) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:960 (cc_unittests+0x1c3420e) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c3420e) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous read of size 8 at 0x7b4400001e90 by thread T3: #0 size buildtools/third_party/libc++/trunk/include/vector:656:46 (cc_unittests+0x12fb337) #1 size base/containers/flat_tree.h:594 (cc_unittests+0x12fb337) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc:8591 (cc_unittests+0x12fb337) #3 non-virtual thunk to cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc (cc_unittests+0x12fbb64) #4 cc::LayerTreeHostImplForTesting::PrepareToDraw(cc::LayerTreeHostImpl::FrameData*) cc/test/layer_tree_test.cc:289:18 (cc_unittests+0x1cb5e0b) #5 cc::ProxyImpl::DrawInternal(bool) cc/trees/proxy_impl.cc:692:26 (cc_unittests+0x1c856f1) #6 cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc:567:10 (cc_unittests+0x1c85553) #7 non-virtual thunk to cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc (cc_unittests+0x1c8591d) #8 cc::Scheduler::DrawIfPossible() cc/scheduler/scheduler.cc:718:32 (cc_unittests+0x1b9c9c2) #9 cc::Scheduler::ProcessScheduledActions() cc/scheduler/scheduler.cc:818:9 (cc_unittests+0x1b98d96) #10 cc::Scheduler::OnDrawForLayerTreeFrameSink(bool, bool) cc/scheduler/scheduler.cc:390:3 (cc_unittests+0x1b9bdaa) #11 cc::ProxyImpl::OnDrawForLayerTreeFrameSink(bool, bool) cc/trees/proxy_impl.cc:476:15 (cc_unittests+0x1c84bb3) #12 cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc:1884:14 (cc_unittests+0x1c1eb1c) #13 non-virtual thunk to cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc (cc_unittests+0x1c1ec1d) #14 cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::DispatchInvalidation() cc/test/layer_tree_test.cc:121:14 (cc_unittests+0x1cb8586) #15 Invoke<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:499:12 (cc_unittests+0x1cb863a) #16 MakeItSo<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:619 (cc_unittests+0x1cb863a) #17 RunImpl<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), std::__1::tuple<base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb863a) #18 base::internal::Invoker<base::internal::BindState<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb863a) #19 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #20 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #21 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #22 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #24 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #25 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #26 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #27 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #28 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #29 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #30 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #31 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/type_traits:4594:9 in swap<std::__1::pair<unsigned long, int> *> ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Write of size 8 at 0x7b0800028980 by thread T19: #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (cc_unittests+0x9b602e) #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (cc_unittests+0x1c34267) #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (cc_unittests+0x1c34267) #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (cc_unittests+0x1c34267) #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (cc_unittests+0x1c34267) #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (cc_unittests+0x1c34267) #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (cc_unittests+0x1c34267) #7 ~__split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:343 (cc_unittests+0x1c34267) #8 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1884 (cc_unittests+0x1c34267) #9 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #10 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #11 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #12 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #13 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #14 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #15 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #16 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #17 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #18 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #19 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #20 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #21 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #22 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #23 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous read of size 8 at 0x7b0800028980 by thread T3: #0 operator()<const unsigned long &, const unsigned int &> buildtools/third_party/libc++/trunk/include/__functional_base:66:25 (cc_unittests+0x12fb7f2) #1 operator()<std::__1::pair<unsigned long, int>, unsigned int> base/containers/flat_tree.h:365 (cc_unittests+0x12fb7f2) #2 __lower_bound<base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare &, std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned int> buildtools/third_party/libc++/trunk/include/algorithm:4184 (cc_unittests+0x12fb7f2) #3 lower_bound<std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned int, base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare> buildtools/third_party/libc++/trunk/include/algorithm:4202 (cc_unittests+0x12fb7f2) #4 lower_bound<unsigned int> base/containers/flat_tree.h:915 (cc_unittests+0x12fb7f2) #5 equal_range<unsigned int> base/containers/flat_tree.h:888 (cc_unittests+0x12fb7f2) #6 count<unsigned int> base/containers/flat_tree.h:849 (cc_unittests+0x12fb7f2) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc:8592 (cc_unittests+0x12fb7f2) #8 non-virtual thunk to cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc (cc_unittests+0x12fbb64) #9 cc::LayerTreeHostImplForTesting::PrepareToDraw(cc::LayerTreeHostImpl::FrameData*) cc/test/layer_tree_test.cc:289:18 (cc_unittests+0x1cb5e0b) #10 cc::ProxyImpl::DrawInternal(bool) cc/trees/proxy_impl.cc:692:26 (cc_unittests+0x1c856f1) #11 cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc:567:10 (cc_unittests+0x1c85553) #12 non-virtual thunk to cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc (cc_unittests+0x1c8591d) #13 cc::Scheduler::DrawIfPossible() cc/scheduler/scheduler.cc:718:32 (cc_unittests+0x1b9c9c2) #14 cc::Scheduler::ProcessScheduledActions() cc/scheduler/scheduler.cc:818:9 (cc_unittests+0x1b98d96) #15 cc::Scheduler::OnDrawForLayerTreeFrameSink(bool, bool) cc/scheduler/scheduler.cc:390:3 (cc_unittests+0x1b9bdaa) #16 cc::ProxyImpl::OnDrawForLayerTreeFrameSink(bool, bool) cc/trees/proxy_impl.cc:476:15 (cc_unittests+0x1c84bb3) #17 cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc:1884:14 (cc_unittests+0x1c1eb1c) #18 non-virtual thunk to cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc (cc_unittests+0x1c1ec1d) #19 cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::DispatchInvalidation() cc/test/layer_tree_test.cc:121:14 (cc_unittests+0x1cb8586) #20 Invoke<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:499:12 (cc_unittests+0x1cb863a) #21 MakeItSo<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:619 (cc_unittests+0x1cb863a) #22 RunImpl<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), std::__1::tuple<base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb863a) #23 base::internal::Invoker<base::internal::BindState<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb863a) #24 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #25 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #26 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #27 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #28 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #29 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #30 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #31 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #32 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #33 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #34 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #35 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #36 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*) ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 8 at 0x7b4400001e90 by thread T3: #0 end buildtools/third_party/libc++/trunk/include/vector:1539:30 (cc_unittests+0x1c9fa52) #1 end base/containers/flat_tree.h:636 (cc_unittests+0x1c9fa52) #2 lower_bound<unsigned long> base/containers/flat_tree.h:915 (cc_unittests+0x1c9fa52) #3 equal_range<unsigned long> base/containers/flat_tree.h:888 (cc_unittests+0x1c9fa52) #4 find<unsigned long> base/containers/flat_tree.h:864 (cc_unittests+0x1c9fa52) #5 find<unsigned long> base/containers/flat_tree.h:857 (cc_unittests+0x1c9fa52) #6 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:61 (cc_unittests+0x1c9fa52) #7 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #8 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #9 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #10 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #11 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #12 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #13 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #14 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #15 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #16 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #17 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #18 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #19 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #20 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #21 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #22 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #23 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #24 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #25 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #26 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #27 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #28 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #29 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #30 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #31 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #32 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #33 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #34 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #35 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #36 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #37 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #38 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #39 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #40 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #41 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #42 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #43 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #44 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #45 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #46 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #47 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #48 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #49 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #50 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #51 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #52 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b4400001e90 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c3420e) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:960 (cc_unittests+0x1c3420e) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c3420e) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/vector:1539:30 in end ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 8 at 0x7b100004c750 by thread T3: #0 operator()<const unsigned long &, const unsigned long &> buildtools/third_party/libc++/trunk/include/__functional_base:66:25 (cc_unittests+0x1c9fac2) #1 operator()<std::__1::pair<unsigned long, int>, unsigned long> base/containers/flat_tree.h:365 (cc_unittests+0x1c9fac2) #2 __lower_bound<base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare &, std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned long> buildtools/third_party/libc++/trunk/include/algorithm:4184 (cc_unittests+0x1c9fac2) #3 lower_bound<std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned long, base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare> buildtools/third_party/libc++/trunk/include/algorithm:4202 (cc_unittests+0x1c9fac2) #4 lower_bound<unsigned long> base/containers/flat_tree.h:915 (cc_unittests+0x1c9fac2) #5 equal_range<unsigned long> base/containers/flat_tree.h:888 (cc_unittests+0x1c9fac2) #6 find<unsigned long> base/containers/flat_tree.h:864 (cc_unittests+0x1c9fac2) #7 find<unsigned long> base/containers/flat_tree.h:857 (cc_unittests+0x1c9fac2) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:61 (cc_unittests+0x1c9fac2) #9 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #10 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #11 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #12 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #13 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #14 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #15 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #16 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #17 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #18 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #19 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #20 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #21 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #22 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #23 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #24 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #25 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #26 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #27 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #28 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #29 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #30 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #31 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #32 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #33 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #34 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #35 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #36 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #37 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #38 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #39 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #40 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #41 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #42 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #43 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #44 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #45 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #46 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #47 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #48 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #49 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #50 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #51 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #52 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #53 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #54 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b100004c750 by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 64 at 0x7b100004c740 allocated by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__functional_base:66:25 in operator()<const unsigned long &, const unsigned long &> ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 4 at 0x7b100004c758 by thread T3: #0 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:64:39 (cc_unittests+0x1c9fc15) #1 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #2 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #3 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #4 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #5 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #6 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #7 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #8 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #9 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #10 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #11 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #12 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #13 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #14 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #15 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #16 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #17 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #18 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #19 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #20 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #21 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #22 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #23 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #24 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #25 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #26 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #27 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #28 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #29 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #30 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #31 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #32 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #33 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #34 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #35 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #36 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #37 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #38 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #39 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #40 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #41 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #42 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #43 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #44 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #45 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #46 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b100004c758 by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 64 at 0x7b100004c740 allocated by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race cc/test/fake_paint_image_generator.cc:64:39 in cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) ================== [ OK ] LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw.RunMultiThread_DelegatingRenderer (5444 ms) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw (5445 ms total) [----------] 1 test from LayerTreeHostTestImageDecodingHints [ RUN ] LayerTreeHostTestImageDecodingHints.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageDecodingHints.RunMultiThread_DelegatingRenderer (78 ms) [----------] 1 test from LayerTreeHostTestImageDecodingHints (78 ms total) [----------] 1 test from LayerTreeHostTestCheckerboardUkm [ RUN ] LayerTreeHostTestCheckerboardUkm.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestCheckerboardUkm.RunMultiThread_DelegatingRenderer (40 ms) [----------] 1 test from LayerTreeHostTestCheckerboardUkm (42 ms total) [----------] 1 test from DontUpdateLayersWithEmptyBounds [ RUN ] DontUpdateLayersWithEmptyBounds.RunSingleThread_DelegatingRenderer [ OK ] DontUpdateLayersWithEmptyBounds.RunSingleThread_DelegatingRenderer (44 ms) [----------] 1 test from DontUpdateLayersWithEmptyBounds (44 ms total) [----------] Global test environment tear-down [==========] 10 tests from 10 test suites ran. (18919 ms total) [ PASSED ] 10 tests. ThreadSanitizer: reported 7 warnings [2761/4724] LayerTreeHostTestDiscardAckAfterRelease.RunMultiThread_DelegatingRenderer (61 ms) [ RUN ] LayerTreeHostTestImageAnimationDrawImage.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationDrawImage.RunMultiThread_DelegatingRenderer (2577 ms) [----------] 1 test from LayerTreeHostTestImageAnimationDrawImage (2577 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationDrawImageShader [ RUN ] LayerTreeHostTestImageAnimationDrawImageShader.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationDrawImageShader.RunMultiThread_DelegatingRenderer (2660 ms) [----------] 1 test from LayerTreeHostTestImageAnimationDrawImageShader (2660 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationDrawRecordShader [ RUN ] LayerTreeHostTestImageAnimationDrawRecordShader.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationDrawRecordShader.RunMultiThread_DelegatingRenderer (2706 ms) [----------] 1 test from LayerTreeHostTestImageAnimationDrawRecordShader (2706 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationPaintFilter [ RUN ] LayerTreeHostTestImageAnimationPaintFilter.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationPaintFilter.RunMultiThread_DelegatingRenderer (2686 ms) [----------] 1 test from LayerTreeHostTestImageAnimationPaintFilter (2686 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousScheduling [ RUN ] LayerTreeHostTestImageAnimationSynchronousScheduling.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationSynchronousScheduling.RunMultiThread_DelegatingRenderer (2616 ms) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousScheduling (2617 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw [ RUN ] LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw.RunMultiThread_DelegatingRenderer ================== WARNING: ThreadSanitizer: data race (pid=28321) Write of size 8 at 0x7b4400001e88 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c341fb) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:959 (cc_unittests+0x1c341fb) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c341fb) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous read of size 8 at 0x7b4400001e88 by thread T3: #0 size buildtools/third_party/libc++/trunk/include/vector:656:61 (cc_unittests+0x12fb346) #1 size base/containers/flat_tree.h:594 (cc_unittests+0x12fb346) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc:8591 (cc_unittests+0x12fb346) #3 non-virtual thunk to cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc (cc_unittests+0x12fbb64) #4 cc::LayerTreeHostImplForTesting::PrepareToDraw(cc::LayerTreeHostImpl::FrameData*) cc/test/layer_tree_test.cc:289:18 (cc_unittests+0x1cb5e0b) #5 cc::ProxyImpl::DrawInternal(bool) cc/trees/proxy_impl.cc:692:26 (cc_unittests+0x1c856f1) #6 cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc:567:10 (cc_unittests+0x1c85553) #7 non-virtual thunk to cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc (cc_unittests+0x1c8591d) #8 cc::Scheduler::DrawIfPossible() cc/scheduler/scheduler.cc:718:32 (cc_unittests+0x1b9c9c2) #9 cc::Scheduler::ProcessScheduledActions() cc/scheduler/scheduler.cc:818:9 (cc_unittests+0x1b98d96) #10 cc::Scheduler::OnDrawForLayerTreeFrameSink(bool, bool) cc/scheduler/scheduler.cc:390:3 (cc_unittests+0x1b9bdaa) #11 cc::ProxyImpl::OnDrawForLayerTreeFrameSink(bool, bool) cc/trees/proxy_impl.cc:476:15 (cc_unittests+0x1c84bb3) #12 cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc:1884:14 (cc_unittests+0x1c1eb1c) #13 non-virtual thunk to cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc (cc_unittests+0x1c1ec1d) #14 cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::DispatchInvalidation() cc/test/layer_tree_test.cc:121:14 (cc_unittests+0x1cb8586) #15 Invoke<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:499:12 (cc_unittests+0x1cb863a) #16 MakeItSo<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:619 (cc_unittests+0x1cb863a) #17 RunImpl<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), std::__1::tuple<base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb863a) #18 base::internal::Invoker<base::internal::BindState<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb863a) #19 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #20 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #21 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #22 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #24 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #25 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #26 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #27 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #28 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #29 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #30 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #31 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/type_traits:4594:9 in swap<std::__1::pair<unsigned long, int> *> ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 8 at 0x7b4400001e88 by thread T3: #0 begin buildtools/third_party/libc++/trunk/include/vector:1523:30 (cc_unittests+0x1c9fa3f) #1 begin base/containers/flat_tree.h:619 (cc_unittests+0x1c9fa3f) #2 lower_bound<unsigned long> base/containers/flat_tree.h:915 (cc_unittests+0x1c9fa3f) #3 equal_range<unsigned long> base/containers/flat_tree.h:888 (cc_unittests+0x1c9fa3f) #4 find<unsigned long> base/containers/flat_tree.h:864 (cc_unittests+0x1c9fa3f) #5 find<unsigned long> base/containers/flat_tree.h:857 (cc_unittests+0x1c9fa3f) #6 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:61 (cc_unittests+0x1c9fa3f) #7 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #8 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #9 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #10 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #11 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #12 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #13 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #14 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #15 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #16 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #17 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #18 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #19 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #20 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #21 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #22 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #23 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #24 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #25 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #26 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #27 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #28 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #29 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #30 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #31 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #32 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #33 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #34 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #35 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #36 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #37 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #38 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #39 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #40 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #41 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #42 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #43 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #44 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #45 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #46 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #47 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #48 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #49 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #50 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #51 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #52 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b4400001e88 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c341fb) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:959 (cc_unittests+0x1c341fb) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c341fb) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/vector:1523:30 in begin ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Write of size 8 at 0x7b4400001e90 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c3420e) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:960 (cc_unittests+0x1c3420e) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c3420e) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous read of size 8 at 0x7b4400001e90 by thread T3: #0 size buildtools/third_party/libc++/trunk/include/vector:656:46 (cc_unittests+0x12fb337) #1 size base/containers/flat_tree.h:594 (cc_unittests+0x12fb337) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc:8591 (cc_unittests+0x12fb337) #3 non-virtual thunk to cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc (cc_unittests+0x12fbb64) #4 cc::LayerTreeHostImplForTesting::PrepareToDraw(cc::LayerTreeHostImpl::FrameData*) cc/test/layer_tree_test.cc:289:18 (cc_unittests+0x1cb5e0b) #5 cc::ProxyImpl::DrawInternal(bool) cc/trees/proxy_impl.cc:692:26 (cc_unittests+0x1c856f1) #6 cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc:567:10 (cc_unittests+0x1c85553) #7 non-virtual thunk to cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc (cc_unittests+0x1c8591d) #8 cc::Scheduler::DrawIfPossible() cc/scheduler/scheduler.cc:718:32 (cc_unittests+0x1b9c9c2) #9 cc::Scheduler::ProcessScheduledActions() cc/scheduler/scheduler.cc:818:9 (cc_unittests+0x1b98d96) #10 cc::Scheduler::OnDrawForLayerTreeFrameSink(bool, bool) cc/scheduler/scheduler.cc:390:3 (cc_unittests+0x1b9bdaa) #11 cc::ProxyImpl::OnDrawForLayerTreeFrameSink(bool, bool) cc/trees/proxy_impl.cc:476:15 (cc_unittests+0x1c84bb3) #12 cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc:1884:14 (cc_unittests+0x1c1eb1c) #13 non-virtual thunk to cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc (cc_unittests+0x1c1ec1d) #14 cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::DispatchInvalidation() cc/test/layer_tree_test.cc:121:14 (cc_unittests+0x1cb8586) #15 Invoke<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:499:12 (cc_unittests+0x1cb863a) #16 MakeItSo<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:619 (cc_unittests+0x1cb863a) #17 RunImpl<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), std::__1::tuple<base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb863a) #18 base::internal::Invoker<base::internal::BindState<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb863a) #19 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #20 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #21 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #22 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #24 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #25 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #26 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #27 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #28 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #29 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #30 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #31 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/type_traits:4594:9 in swap<std::__1::pair<unsigned long, int> *> ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Write of size 8 at 0x7b0800028980 by thread T19: #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (cc_unittests+0x9b602e) #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (cc_unittests+0x1c34267) #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (cc_unittests+0x1c34267) #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (cc_unittests+0x1c34267) #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (cc_unittests+0x1c34267) #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (cc_unittests+0x1c34267) #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (cc_unittests+0x1c34267) #7 ~__split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:343 (cc_unittests+0x1c34267) #8 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1884 (cc_unittests+0x1c34267) #9 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #10 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #11 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #12 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #13 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #14 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #15 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #16 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #17 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #18 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #19 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #20 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #21 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #22 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #23 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous read of size 8 at 0x7b0800028980 by thread T3: #0 operator()<const unsigned long &, const unsigned int &> buildtools/third_party/libc++/trunk/include/__functional_base:66:25 (cc_unittests+0x12fb7f2) #1 operator()<std::__1::pair<unsigned long, int>, unsigned int> base/containers/flat_tree.h:365 (cc_unittests+0x12fb7f2) #2 __lower_bound<base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare &, std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned int> buildtools/third_party/libc++/trunk/include/algorithm:4184 (cc_unittests+0x12fb7f2) #3 lower_bound<std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned int, base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare> buildtools/third_party/libc++/trunk/include/algorithm:4202 (cc_unittests+0x12fb7f2) #4 lower_bound<unsigned int> base/containers/flat_tree.h:915 (cc_unittests+0x12fb7f2) #5 equal_range<unsigned int> base/containers/flat_tree.h:888 (cc_unittests+0x12fb7f2) #6 count<unsigned int> base/containers/flat_tree.h:849 (cc_unittests+0x12fb7f2) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc:8592 (cc_unittests+0x12fb7f2) #8 non-virtual thunk to cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc (cc_unittests+0x12fbb64) #9 cc::LayerTreeHostImplForTesting::PrepareToDraw(cc::LayerTreeHostImpl::FrameData*) cc/test/layer_tree_test.cc:289:18 (cc_unittests+0x1cb5e0b) #10 cc::ProxyImpl::DrawInternal(bool) cc/trees/proxy_impl.cc:692:26 (cc_unittests+0x1c856f1) #11 cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc:567:10 (cc_unittests+0x1c85553) #12 non-virtual thunk to cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc (cc_unittests+0x1c8591d) #13 cc::Scheduler::DrawIfPossible() cc/scheduler/scheduler.cc:718:32 (cc_unittests+0x1b9c9c2) #14 cc::Scheduler::ProcessScheduledActions() cc/scheduler/scheduler.cc:818:9 (cc_unittests+0x1b98d96) #15 cc::Scheduler::OnDrawForLayerTreeFrameSink(bool, bool) cc/scheduler/scheduler.cc:390:3 (cc_unittests+0x1b9bdaa) #16 cc::ProxyImpl::OnDrawForLayerTreeFrameSink(bool, bool) cc/trees/proxy_impl.cc:476:15 (cc_unittests+0x1c84bb3) #17 cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc:1884:14 (cc_unittests+0x1c1eb1c) #18 non-virtual thunk to cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc (cc_unittests+0x1c1ec1d) #19 cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::DispatchInvalidation() cc/test/layer_tree_test.cc:121:14 (cc_unittests+0x1cb8586) #20 Invoke<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:499:12 (cc_unittests+0x1cb863a) #21 MakeItSo<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:619 (cc_unittests+0x1cb863a) #22 RunImpl<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), std::__1::tuple<base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb863a) #23 base::internal::Invoker<base::internal::BindState<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb863a) #24 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #25 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #26 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #27 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #28 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #29 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #30 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #31 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #32 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #33 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #34 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #35 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #36 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*) ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 8 at 0x7b4400001e90 by thread T3: #0 end buildtools/third_party/libc++/trunk/include/vector:1539:30 (cc_unittests+0x1c9fa52) #1 end base/containers/flat_tree.h:636 (cc_unittests+0x1c9fa52) #2 lower_bound<unsigned long> base/containers/flat_tree.h:915 (cc_unittests+0x1c9fa52) #3 equal_range<unsigned long> base/containers/flat_tree.h:888 (cc_unittests+0x1c9fa52) #4 find<unsigned long> base/containers/flat_tree.h:864 (cc_unittests+0x1c9fa52) #5 find<unsigned long> base/containers/flat_tree.h:857 (cc_unittests+0x1c9fa52) #6 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:61 (cc_unittests+0x1c9fa52) #7 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #8 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #9 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #10 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #11 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #12 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #13 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #14 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #15 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #16 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #17 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #18 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #19 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #20 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #21 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #22 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #23 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #24 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #25 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #26 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #27 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #28 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #29 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #30 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #31 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #32 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #33 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #34 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #35 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #36 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #37 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #38 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #39 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #40 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #41 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #42 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #43 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #44 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #45 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #46 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #47 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #48 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #49 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #50 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #51 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #52 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b4400001e90 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c3420e) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:960 (cc_unittests+0x1c3420e) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c3420e) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/vector:1539:30 in end ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 8 at 0x7b100004c750 by thread T3: #0 operator()<const unsigned long &, const unsigned long &> buildtools/third_party/libc++/trunk/include/__functional_base:66:25 (cc_unittests+0x1c9fac2) #1 operator()<std::__1::pair<unsigned long, int>, unsigned long> base/containers/flat_tree.h:365 (cc_unittests+0x1c9fac2) #2 __lower_bound<base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare &, std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned long> buildtools/third_party/libc++/trunk/include/algorithm:4184 (cc_unittests+0x1c9fac2) #3 lower_bound<std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned long, base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare> buildtools/third_party/libc++/trunk/include/algorithm:4202 (cc_unittests+0x1c9fac2) #4 lower_bound<unsigned long> base/containers/flat_tree.h:915 (cc_unittests+0x1c9fac2) #5 equal_range<unsigned long> base/containers/flat_tree.h:888 (cc_unittests+0x1c9fac2) #6 find<unsigned long> base/containers/flat_tree.h:864 (cc_unittests+0x1c9fac2) #7 find<unsigned long> base/containers/flat_tree.h:857 (cc_unittests+0x1c9fac2) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:61 (cc_unittests+0x1c9fac2) #9 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #10 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #11 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #12 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #13 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #14 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #15 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #16 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #17 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #18 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #19 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #20 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #21 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #22 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #23 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #24 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #25 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #26 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #27 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #28 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #29 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #30 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #31 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #32 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #33 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #34 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #35 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #36 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #37 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #38 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #39 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #40 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #41 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #42 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #43 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #44 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #45 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #46 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #47 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #48 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #49 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #50 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #51 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #52 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #53 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #54 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b100004c750 by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 64 at 0x7b100004c740 allocated by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__functional_base:66:25 in operator()<const unsigned long &, const unsigned long &> ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 4 at 0x7b100004c758 by thread T3: #0 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:64:39 (cc_unittests+0x1c9fc15) #1 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #2 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #3 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #4 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #5 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #6 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #7 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #8 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #9 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #10 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #11 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #12 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #13 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #14 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #15 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #16 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #17 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #18 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #19 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #20 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #21 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #22 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #23 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #24 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #25 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #26 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #27 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #28 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #29 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #30 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #31 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #32 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #33 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #34 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #35 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #36 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #37 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #38 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #39 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #40 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #41 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #42 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #43 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #44 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #45 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #46 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b100004c758 by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 64 at 0x7b100004c740 allocated by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race cc/test/fake_paint_image_generator.cc:64:39 in cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) ================== [ OK ] LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw.RunMultiThread_DelegatingRenderer (5444 ms) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw (5445 ms total) [----------] 1 test from LayerTreeHostTestImageDecodingHints [ RUN ] LayerTreeHostTestImageDecodingHints.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageDecodingHints.RunMultiThread_DelegatingRenderer (78 ms) [----------] 1 test from LayerTreeHostTestImageDecodingHints (78 ms total) [----------] 1 test from LayerTreeHostTestCheckerboardUkm [ RUN ] LayerTreeHostTestCheckerboardUkm.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestCheckerboardUkm.RunMultiThread_DelegatingRenderer (40 ms) [----------] 1 test from LayerTreeHostTestCheckerboardUkm (42 ms total) [----------] 1 test from DontUpdateLayersWithEmptyBounds [ RUN ] DontUpdateLayersWithEmptyBounds.RunSingleThread_DelegatingRenderer [ OK ] DontUpdateLayersWithEmptyBounds.RunSingleThread_DelegatingRenderer (44 ms) [----------] 1 test from DontUpdateLayersWithEmptyBounds (44 ms total) [----------] Global test environment tear-down [==========] 10 tests from 10 test suites ran. (18919 ms total) [ PASSED ] 10 tests. ThreadSanitizer: reported 7 warnings [2762/4724] LayerTreeHostTestImageAnimationDrawImage.RunMultiThread_DelegatingRenderer (2577 ms) [ RUN ] LayerTreeHostTestImageAnimationDrawImageShader.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationDrawImageShader.RunMultiThread_DelegatingRenderer (2660 ms) [----------] 1 test from LayerTreeHostTestImageAnimationDrawImageShader (2660 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationDrawRecordShader [ RUN ] LayerTreeHostTestImageAnimationDrawRecordShader.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationDrawRecordShader.RunMultiThread_DelegatingRenderer (2706 ms) [----------] 1 test from LayerTreeHostTestImageAnimationDrawRecordShader (2706 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationPaintFilter [ RUN ] LayerTreeHostTestImageAnimationPaintFilter.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationPaintFilter.RunMultiThread_DelegatingRenderer (2686 ms) [----------] 1 test from LayerTreeHostTestImageAnimationPaintFilter (2686 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousScheduling [ RUN ] LayerTreeHostTestImageAnimationSynchronousScheduling.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationSynchronousScheduling.RunMultiThread_DelegatingRenderer (2616 ms) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousScheduling (2617 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw [ RUN ] LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw.RunMultiThread_DelegatingRenderer ================== WARNING: ThreadSanitizer: data race (pid=28321) Write of size 8 at 0x7b4400001e88 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c341fb) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:959 (cc_unittests+0x1c341fb) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c341fb) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous read of size 8 at 0x7b4400001e88 by thread T3: #0 size buildtools/third_party/libc++/trunk/include/vector:656:61 (cc_unittests+0x12fb346) #1 size base/containers/flat_tree.h:594 (cc_unittests+0x12fb346) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc:8591 (cc_unittests+0x12fb346) #3 non-virtual thunk to cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc (cc_unittests+0x12fbb64) #4 cc::LayerTreeHostImplForTesting::PrepareToDraw(cc::LayerTreeHostImpl::FrameData*) cc/test/layer_tree_test.cc:289:18 (cc_unittests+0x1cb5e0b) #5 cc::ProxyImpl::DrawInternal(bool) cc/trees/proxy_impl.cc:692:26 (cc_unittests+0x1c856f1) #6 cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc:567:10 (cc_unittests+0x1c85553) #7 non-virtual thunk to cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc (cc_unittests+0x1c8591d) #8 cc::Scheduler::DrawIfPossible() cc/scheduler/scheduler.cc:718:32 (cc_unittests+0x1b9c9c2) #9 cc::Scheduler::ProcessScheduledActions() cc/scheduler/scheduler.cc:818:9 (cc_unittests+0x1b98d96) #10 cc::Scheduler::OnDrawForLayerTreeFrameSink(bool, bool) cc/scheduler/scheduler.cc:390:3 (cc_unittests+0x1b9bdaa) #11 cc::ProxyImpl::OnDrawForLayerTreeFrameSink(bool, bool) cc/trees/proxy_impl.cc:476:15 (cc_unittests+0x1c84bb3) #12 cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc:1884:14 (cc_unittests+0x1c1eb1c) #13 non-virtual thunk to cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc (cc_unittests+0x1c1ec1d) #14 cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::DispatchInvalidation() cc/test/layer_tree_test.cc:121:14 (cc_unittests+0x1cb8586) #15 Invoke<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:499:12 (cc_unittests+0x1cb863a) #16 MakeItSo<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:619 (cc_unittests+0x1cb863a) #17 RunImpl<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), std::__1::tuple<base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb863a) #18 base::internal::Invoker<base::internal::BindState<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb863a) #19 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #20 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #21 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #22 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #24 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #25 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #26 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #27 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #28 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #29 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #30 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #31 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/type_traits:4594:9 in swap<std::__1::pair<unsigned long, int> *> ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 8 at 0x7b4400001e88 by thread T3: #0 begin buildtools/third_party/libc++/trunk/include/vector:1523:30 (cc_unittests+0x1c9fa3f) #1 begin base/containers/flat_tree.h:619 (cc_unittests+0x1c9fa3f) #2 lower_bound<unsigned long> base/containers/flat_tree.h:915 (cc_unittests+0x1c9fa3f) #3 equal_range<unsigned long> base/containers/flat_tree.h:888 (cc_unittests+0x1c9fa3f) #4 find<unsigned long> base/containers/flat_tree.h:864 (cc_unittests+0x1c9fa3f) #5 find<unsigned long> base/containers/flat_tree.h:857 (cc_unittests+0x1c9fa3f) #6 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:61 (cc_unittests+0x1c9fa3f) #7 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #8 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #9 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #10 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #11 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #12 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #13 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #14 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #15 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #16 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #17 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #18 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #19 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #20 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #21 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #22 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #23 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #24 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #25 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #26 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #27 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #28 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #29 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #30 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #31 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #32 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #33 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #34 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #35 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #36 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #37 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #38 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #39 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #40 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #41 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #42 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #43 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #44 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #45 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #46 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #47 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #48 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #49 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #50 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #51 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #52 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b4400001e88 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c341fb) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:959 (cc_unittests+0x1c341fb) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c341fb) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/vector:1523:30 in begin ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Write of size 8 at 0x7b4400001e90 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c3420e) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:960 (cc_unittests+0x1c3420e) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c3420e) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous read of size 8 at 0x7b4400001e90 by thread T3: #0 size buildtools/third_party/libc++/trunk/include/vector:656:46 (cc_unittests+0x12fb337) #1 size base/containers/flat_tree.h:594 (cc_unittests+0x12fb337) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc:8591 (cc_unittests+0x12fb337) #3 non-virtual thunk to cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc (cc_unittests+0x12fbb64) #4 cc::LayerTreeHostImplForTesting::PrepareToDraw(cc::LayerTreeHostImpl::FrameData*) cc/test/layer_tree_test.cc:289:18 (cc_unittests+0x1cb5e0b) #5 cc::ProxyImpl::DrawInternal(bool) cc/trees/proxy_impl.cc:692:26 (cc_unittests+0x1c856f1) #6 cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc:567:10 (cc_unittests+0x1c85553) #7 non-virtual thunk to cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc (cc_unittests+0x1c8591d) #8 cc::Scheduler::DrawIfPossible() cc/scheduler/scheduler.cc:718:32 (cc_unittests+0x1b9c9c2) #9 cc::Scheduler::ProcessScheduledActions() cc/scheduler/scheduler.cc:818:9 (cc_unittests+0x1b98d96) #10 cc::Scheduler::OnDrawForLayerTreeFrameSink(bool, bool) cc/scheduler/scheduler.cc:390:3 (cc_unittests+0x1b9bdaa) #11 cc::ProxyImpl::OnDrawForLayerTreeFrameSink(bool, bool) cc/trees/proxy_impl.cc:476:15 (cc_unittests+0x1c84bb3) #12 cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc:1884:14 (cc_unittests+0x1c1eb1c) #13 non-virtual thunk to cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc (cc_unittests+0x1c1ec1d) #14 cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::DispatchInvalidation() cc/test/layer_tree_test.cc:121:14 (cc_unittests+0x1cb8586) #15 Invoke<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:499:12 (cc_unittests+0x1cb863a) #16 MakeItSo<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:619 (cc_unittests+0x1cb863a) #17 RunImpl<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), std::__1::tuple<base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb863a) #18 base::internal::Invoker<base::internal::BindState<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb863a) #19 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #20 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #21 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #22 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #24 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #25 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #26 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #27 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #28 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #29 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #30 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #31 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/type_traits:4594:9 in swap<std::__1::pair<unsigned long, int> *> ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Write of size 8 at 0x7b0800028980 by thread T19: #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (cc_unittests+0x9b602e) #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (cc_unittests+0x1c34267) #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (cc_unittests+0x1c34267) #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (cc_unittests+0x1c34267) #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (cc_unittests+0x1c34267) #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (cc_unittests+0x1c34267) #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (cc_unittests+0x1c34267) #7 ~__split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:343 (cc_unittests+0x1c34267) #8 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1884 (cc_unittests+0x1c34267) #9 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #10 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #11 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #12 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #13 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #14 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #15 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #16 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #17 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #18 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #19 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #20 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #21 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #22 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #23 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous read of size 8 at 0x7b0800028980 by thread T3: #0 operator()<const unsigned long &, const unsigned int &> buildtools/third_party/libc++/trunk/include/__functional_base:66:25 (cc_unittests+0x12fb7f2) #1 operator()<std::__1::pair<unsigned long, int>, unsigned int> base/containers/flat_tree.h:365 (cc_unittests+0x12fb7f2) #2 __lower_bound<base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare &, std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned int> buildtools/third_party/libc++/trunk/include/algorithm:4184 (cc_unittests+0x12fb7f2) #3 lower_bound<std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned int, base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare> buildtools/third_party/libc++/trunk/include/algorithm:4202 (cc_unittests+0x12fb7f2) #4 lower_bound<unsigned int> base/containers/flat_tree.h:915 (cc_unittests+0x12fb7f2) #5 equal_range<unsigned int> base/containers/flat_tree.h:888 (cc_unittests+0x12fb7f2) #6 count<unsigned int> base/containers/flat_tree.h:849 (cc_unittests+0x12fb7f2) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc:8592 (cc_unittests+0x12fb7f2) #8 non-virtual thunk to cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc (cc_unittests+0x12fbb64) #9 cc::LayerTreeHostImplForTesting::PrepareToDraw(cc::LayerTreeHostImpl::FrameData*) cc/test/layer_tree_test.cc:289:18 (cc_unittests+0x1cb5e0b) #10 cc::ProxyImpl::DrawInternal(bool) cc/trees/proxy_impl.cc:692:26 (cc_unittests+0x1c856f1) #11 cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc:567:10 (cc_unittests+0x1c85553) #12 non-virtual thunk to cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc (cc_unittests+0x1c8591d) #13 cc::Scheduler::DrawIfPossible() cc/scheduler/scheduler.cc:718:32 (cc_unittests+0x1b9c9c2) #14 cc::Scheduler::ProcessScheduledActions() cc/scheduler/scheduler.cc:818:9 (cc_unittests+0x1b98d96) #15 cc::Scheduler::OnDrawForLayerTreeFrameSink(bool, bool) cc/scheduler/scheduler.cc:390:3 (cc_unittests+0x1b9bdaa) #16 cc::ProxyImpl::OnDrawForLayerTreeFrameSink(bool, bool) cc/trees/proxy_impl.cc:476:15 (cc_unittests+0x1c84bb3) #17 cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc:1884:14 (cc_unittests+0x1c1eb1c) #18 non-virtual thunk to cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc (cc_unittests+0x1c1ec1d) #19 cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::DispatchInvalidation() cc/test/layer_tree_test.cc:121:14 (cc_unittests+0x1cb8586) #20 Invoke<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:499:12 (cc_unittests+0x1cb863a) #21 MakeItSo<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:619 (cc_unittests+0x1cb863a) #22 RunImpl<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), std::__1::tuple<base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb863a) #23 base::internal::Invoker<base::internal::BindState<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb863a) #24 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #25 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #26 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #27 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #28 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #29 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #30 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #31 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #32 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #33 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #34 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #35 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #36 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*) ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 8 at 0x7b4400001e90 by thread T3: #0 end buildtools/third_party/libc++/trunk/include/vector:1539:30 (cc_unittests+0x1c9fa52) #1 end base/containers/flat_tree.h:636 (cc_unittests+0x1c9fa52) #2 lower_bound<unsigned long> base/containers/flat_tree.h:915 (cc_unittests+0x1c9fa52) #3 equal_range<unsigned long> base/containers/flat_tree.h:888 (cc_unittests+0x1c9fa52) #4 find<unsigned long> base/containers/flat_tree.h:864 (cc_unittests+0x1c9fa52) #5 find<unsigned long> base/containers/flat_tree.h:857 (cc_unittests+0x1c9fa52) #6 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:61 (cc_unittests+0x1c9fa52) #7 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #8 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #9 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #10 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #11 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #12 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #13 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #14 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #15 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #16 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #17 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #18 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #19 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #20 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #21 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #22 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #23 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #24 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #25 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #26 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #27 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #28 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #29 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #30 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #31 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #32 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #33 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #34 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #35 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #36 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #37 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #38 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #39 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #40 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #41 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #42 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #43 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #44 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #45 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #46 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #47 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #48 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #49 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #50 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #51 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #52 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b4400001e90 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c3420e) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:960 (cc_unittests+0x1c3420e) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c3420e) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/vector:1539:30 in end ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 8 at 0x7b100004c750 by thread T3: #0 operator()<const unsigned long &, const unsigned long &> buildtools/third_party/libc++/trunk/include/__functional_base:66:25 (cc_unittests+0x1c9fac2) #1 operator()<std::__1::pair<unsigned long, int>, unsigned long> base/containers/flat_tree.h:365 (cc_unittests+0x1c9fac2) #2 __lower_bound<base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare &, std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned long> buildtools/third_party/libc++/trunk/include/algorithm:4184 (cc_unittests+0x1c9fac2) #3 lower_bound<std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned long, base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare> buildtools/third_party/libc++/trunk/include/algorithm:4202 (cc_unittests+0x1c9fac2) #4 lower_bound<unsigned long> base/containers/flat_tree.h:915 (cc_unittests+0x1c9fac2) #5 equal_range<unsigned long> base/containers/flat_tree.h:888 (cc_unittests+0x1c9fac2) #6 find<unsigned long> base/containers/flat_tree.h:864 (cc_unittests+0x1c9fac2) #7 find<unsigned long> base/containers/flat_tree.h:857 (cc_unittests+0x1c9fac2) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:61 (cc_unittests+0x1c9fac2) #9 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #10 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #11 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #12 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #13 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #14 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #15 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #16 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #17 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #18 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #19 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #20 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #21 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #22 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #23 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #24 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #25 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #26 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #27 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #28 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #29 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #30 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #31 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #32 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #33 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #34 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #35 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #36 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #37 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #38 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #39 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #40 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #41 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #42 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #43 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #44 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #45 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #46 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #47 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #48 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #49 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #50 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #51 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #52 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #53 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #54 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b100004c750 by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 64 at 0x7b100004c740 allocated by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__functional_base:66:25 in operator()<const unsigned long &, const unsigned long &> ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 4 at 0x7b100004c758 by thread T3: #0 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:64:39 (cc_unittests+0x1c9fc15) #1 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #2 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #3 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #4 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #5 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #6 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #7 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #8 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #9 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #10 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #11 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #12 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #13 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #14 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #15 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #16 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #17 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #18 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #19 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #20 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #21 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #22 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #23 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #24 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #25 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #26 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #27 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #28 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #29 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #30 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #31 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #32 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #33 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #34 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #35 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #36 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #37 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #38 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #39 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #40 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #41 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #42 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #43 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #44 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #45 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #46 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b100004c758 by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 64 at 0x7b100004c740 allocated by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race cc/test/fake_paint_image_generator.cc:64:39 in cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) ================== [ OK ] LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw.RunMultiThread_DelegatingRenderer (5444 ms) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw (5445 ms total) [----------] 1 test from LayerTreeHostTestImageDecodingHints [ RUN ] LayerTreeHostTestImageDecodingHints.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageDecodingHints.RunMultiThread_DelegatingRenderer (78 ms) [----------] 1 test from LayerTreeHostTestImageDecodingHints (78 ms total) [----------] 1 test from LayerTreeHostTestCheckerboardUkm [ RUN ] LayerTreeHostTestCheckerboardUkm.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestCheckerboardUkm.RunMultiThread_DelegatingRenderer (40 ms) [----------] 1 test from LayerTreeHostTestCheckerboardUkm (42 ms total) [----------] 1 test from DontUpdateLayersWithEmptyBounds [ RUN ] DontUpdateLayersWithEmptyBounds.RunSingleThread_DelegatingRenderer [ OK ] DontUpdateLayersWithEmptyBounds.RunSingleThread_DelegatingRenderer (44 ms) [----------] 1 test from DontUpdateLayersWithEmptyBounds (44 ms total) [----------] Global test environment tear-down [==========] 10 tests from 10 test suites ran. (18919 ms total) [ PASSED ] 10 tests. ThreadSanitizer: reported 7 warnings [2763/4724] LayerTreeHostTestImageAnimationDrawImageShader.RunMultiThread_DelegatingRenderer (2660 ms) [ RUN ] LayerTreeHostTestImageAnimationDrawRecordShader.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationDrawRecordShader.RunMultiThread_DelegatingRenderer (2706 ms) [----------] 1 test from LayerTreeHostTestImageAnimationDrawRecordShader (2706 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationPaintFilter [ RUN ] LayerTreeHostTestImageAnimationPaintFilter.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationPaintFilter.RunMultiThread_DelegatingRenderer (2686 ms) [----------] 1 test from LayerTreeHostTestImageAnimationPaintFilter (2686 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousScheduling [ RUN ] LayerTreeHostTestImageAnimationSynchronousScheduling.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationSynchronousScheduling.RunMultiThread_DelegatingRenderer (2616 ms) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousScheduling (2617 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw [ RUN ] LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw.RunMultiThread_DelegatingRenderer ================== WARNING: ThreadSanitizer: data race (pid=28321) Write of size 8 at 0x7b4400001e88 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c341fb) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:959 (cc_unittests+0x1c341fb) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c341fb) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous read of size 8 at 0x7b4400001e88 by thread T3: #0 size buildtools/third_party/libc++/trunk/include/vector:656:61 (cc_unittests+0x12fb346) #1 size base/containers/flat_tree.h:594 (cc_unittests+0x12fb346) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc:8591 (cc_unittests+0x12fb346) #3 non-virtual thunk to cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc (cc_unittests+0x12fbb64) #4 cc::LayerTreeHostImplForTesting::PrepareToDraw(cc::LayerTreeHostImpl::FrameData*) cc/test/layer_tree_test.cc:289:18 (cc_unittests+0x1cb5e0b) #5 cc::ProxyImpl::DrawInternal(bool) cc/trees/proxy_impl.cc:692:26 (cc_unittests+0x1c856f1) #6 cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc:567:10 (cc_unittests+0x1c85553) #7 non-virtual thunk to cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc (cc_unittests+0x1c8591d) #8 cc::Scheduler::DrawIfPossible() cc/scheduler/scheduler.cc:718:32 (cc_unittests+0x1b9c9c2) #9 cc::Scheduler::ProcessScheduledActions() cc/scheduler/scheduler.cc:818:9 (cc_unittests+0x1b98d96) #10 cc::Scheduler::OnDrawForLayerTreeFrameSink(bool, bool) cc/scheduler/scheduler.cc:390:3 (cc_unittests+0x1b9bdaa) #11 cc::ProxyImpl::OnDrawForLayerTreeFrameSink(bool, bool) cc/trees/proxy_impl.cc:476:15 (cc_unittests+0x1c84bb3) #12 cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc:1884:14 (cc_unittests+0x1c1eb1c) #13 non-virtual thunk to cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc (cc_unittests+0x1c1ec1d) #14 cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::DispatchInvalidation() cc/test/layer_tree_test.cc:121:14 (cc_unittests+0x1cb8586) #15 Invoke<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:499:12 (cc_unittests+0x1cb863a) #16 MakeItSo<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:619 (cc_unittests+0x1cb863a) #17 RunImpl<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), std::__1::tuple<base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb863a) #18 base::internal::Invoker<base::internal::BindState<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb863a) #19 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #20 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #21 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #22 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #24 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #25 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #26 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #27 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #28 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #29 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #30 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #31 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/type_traits:4594:9 in swap<std::__1::pair<unsigned long, int> *> ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 8 at 0x7b4400001e88 by thread T3: #0 begin buildtools/third_party/libc++/trunk/include/vector:1523:30 (cc_unittests+0x1c9fa3f) #1 begin base/containers/flat_tree.h:619 (cc_unittests+0x1c9fa3f) #2 lower_bound<unsigned long> base/containers/flat_tree.h:915 (cc_unittests+0x1c9fa3f) #3 equal_range<unsigned long> base/containers/flat_tree.h:888 (cc_unittests+0x1c9fa3f) #4 find<unsigned long> base/containers/flat_tree.h:864 (cc_unittests+0x1c9fa3f) #5 find<unsigned long> base/containers/flat_tree.h:857 (cc_unittests+0x1c9fa3f) #6 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:61 (cc_unittests+0x1c9fa3f) #7 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #8 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #9 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #10 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #11 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #12 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #13 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #14 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #15 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #16 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #17 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #18 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #19 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #20 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #21 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #22 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #23 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #24 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #25 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #26 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #27 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #28 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #29 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #30 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #31 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #32 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #33 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #34 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #35 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #36 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #37 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #38 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #39 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #40 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #41 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #42 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #43 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #44 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #45 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #46 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #47 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #48 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #49 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #50 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #51 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #52 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b4400001e88 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c341fb) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:959 (cc_unittests+0x1c341fb) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c341fb) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/vector:1523:30 in begin ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Write of size 8 at 0x7b4400001e90 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c3420e) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:960 (cc_unittests+0x1c3420e) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c3420e) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous read of size 8 at 0x7b4400001e90 by thread T3: #0 size buildtools/third_party/libc++/trunk/include/vector:656:46 (cc_unittests+0x12fb337) #1 size base/containers/flat_tree.h:594 (cc_unittests+0x12fb337) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc:8591 (cc_unittests+0x12fb337) #3 non-virtual thunk to cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc (cc_unittests+0x12fbb64) #4 cc::LayerTreeHostImplForTesting::PrepareToDraw(cc::LayerTreeHostImpl::FrameData*) cc/test/layer_tree_test.cc:289:18 (cc_unittests+0x1cb5e0b) #5 cc::ProxyImpl::DrawInternal(bool) cc/trees/proxy_impl.cc:692:26 (cc_unittests+0x1c856f1) #6 cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc:567:10 (cc_unittests+0x1c85553) #7 non-virtual thunk to cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc (cc_unittests+0x1c8591d) #8 cc::Scheduler::DrawIfPossible() cc/scheduler/scheduler.cc:718:32 (cc_unittests+0x1b9c9c2) #9 cc::Scheduler::ProcessScheduledActions() cc/scheduler/scheduler.cc:818:9 (cc_unittests+0x1b98d96) #10 cc::Scheduler::OnDrawForLayerTreeFrameSink(bool, bool) cc/scheduler/scheduler.cc:390:3 (cc_unittests+0x1b9bdaa) #11 cc::ProxyImpl::OnDrawForLayerTreeFrameSink(bool, bool) cc/trees/proxy_impl.cc:476:15 (cc_unittests+0x1c84bb3) #12 cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc:1884:14 (cc_unittests+0x1c1eb1c) #13 non-virtual thunk to cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc (cc_unittests+0x1c1ec1d) #14 cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::DispatchInvalidation() cc/test/layer_tree_test.cc:121:14 (cc_unittests+0x1cb8586) #15 Invoke<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:499:12 (cc_unittests+0x1cb863a) #16 MakeItSo<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:619 (cc_unittests+0x1cb863a) #17 RunImpl<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), std::__1::tuple<base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb863a) #18 base::internal::Invoker<base::internal::BindState<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb863a) #19 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #20 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #21 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #22 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #24 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #25 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #26 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #27 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #28 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #29 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #30 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #31 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/type_traits:4594:9 in swap<std::__1::pair<unsigned long, int> *> ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Write of size 8 at 0x7b0800028980 by thread T19: #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (cc_unittests+0x9b602e) #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (cc_unittests+0x1c34267) #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (cc_unittests+0x1c34267) #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (cc_unittests+0x1c34267) #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (cc_unittests+0x1c34267) #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (cc_unittests+0x1c34267) #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (cc_unittests+0x1c34267) #7 ~__split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:343 (cc_unittests+0x1c34267) #8 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1884 (cc_unittests+0x1c34267) #9 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #10 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #11 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #12 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #13 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #14 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #15 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #16 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #17 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #18 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #19 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #20 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #21 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #22 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #23 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous read of size 8 at 0x7b0800028980 by thread T3: #0 operator()<const unsigned long &, const unsigned int &> buildtools/third_party/libc++/trunk/include/__functional_base:66:25 (cc_unittests+0x12fb7f2) #1 operator()<std::__1::pair<unsigned long, int>, unsigned int> base/containers/flat_tree.h:365 (cc_unittests+0x12fb7f2) #2 __lower_bound<base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare &, std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned int> buildtools/third_party/libc++/trunk/include/algorithm:4184 (cc_unittests+0x12fb7f2) #3 lower_bound<std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned int, base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare> buildtools/third_party/libc++/trunk/include/algorithm:4202 (cc_unittests+0x12fb7f2) #4 lower_bound<unsigned int> base/containers/flat_tree.h:915 (cc_unittests+0x12fb7f2) #5 equal_range<unsigned int> base/containers/flat_tree.h:888 (cc_unittests+0x12fb7f2) #6 count<unsigned int> base/containers/flat_tree.h:849 (cc_unittests+0x12fb7f2) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc:8592 (cc_unittests+0x12fb7f2) #8 non-virtual thunk to cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc (cc_unittests+0x12fbb64) #9 cc::LayerTreeHostImplForTesting::PrepareToDraw(cc::LayerTreeHostImpl::FrameData*) cc/test/layer_tree_test.cc:289:18 (cc_unittests+0x1cb5e0b) #10 cc::ProxyImpl::DrawInternal(bool) cc/trees/proxy_impl.cc:692:26 (cc_unittests+0x1c856f1) #11 cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc:567:10 (cc_unittests+0x1c85553) #12 non-virtual thunk to cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc (cc_unittests+0x1c8591d) #13 cc::Scheduler::DrawIfPossible() cc/scheduler/scheduler.cc:718:32 (cc_unittests+0x1b9c9c2) #14 cc::Scheduler::ProcessScheduledActions() cc/scheduler/scheduler.cc:818:9 (cc_unittests+0x1b98d96) #15 cc::Scheduler::OnDrawForLayerTreeFrameSink(bool, bool) cc/scheduler/scheduler.cc:390:3 (cc_unittests+0x1b9bdaa) #16 cc::ProxyImpl::OnDrawForLayerTreeFrameSink(bool, bool) cc/trees/proxy_impl.cc:476:15 (cc_unittests+0x1c84bb3) #17 cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc:1884:14 (cc_unittests+0x1c1eb1c) #18 non-virtual thunk to cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc (cc_unittests+0x1c1ec1d) #19 cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::DispatchInvalidation() cc/test/layer_tree_test.cc:121:14 (cc_unittests+0x1cb8586) #20 Invoke<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:499:12 (cc_unittests+0x1cb863a) #21 MakeItSo<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:619 (cc_unittests+0x1cb863a) #22 RunImpl<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), std::__1::tuple<base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb863a) #23 base::internal::Invoker<base::internal::BindState<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb863a) #24 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #25 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #26 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #27 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #28 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #29 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #30 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #31 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #32 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #33 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #34 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #35 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #36 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*) ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 8 at 0x7b4400001e90 by thread T3: #0 end buildtools/third_party/libc++/trunk/include/vector:1539:30 (cc_unittests+0x1c9fa52) #1 end base/containers/flat_tree.h:636 (cc_unittests+0x1c9fa52) #2 lower_bound<unsigned long> base/containers/flat_tree.h:915 (cc_unittests+0x1c9fa52) #3 equal_range<unsigned long> base/containers/flat_tree.h:888 (cc_unittests+0x1c9fa52) #4 find<unsigned long> base/containers/flat_tree.h:864 (cc_unittests+0x1c9fa52) #5 find<unsigned long> base/containers/flat_tree.h:857 (cc_unittests+0x1c9fa52) #6 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:61 (cc_unittests+0x1c9fa52) #7 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #8 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #9 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #10 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #11 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #12 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #13 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #14 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #15 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #16 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #17 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #18 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #19 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #20 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #21 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #22 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #23 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #24 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #25 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #26 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #27 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #28 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #29 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #30 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #31 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #32 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #33 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #34 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #35 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #36 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #37 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #38 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #39 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #40 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #41 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #42 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #43 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #44 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #45 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #46 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #47 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #48 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #49 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #50 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #51 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #52 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b4400001e90 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c3420e) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:960 (cc_unittests+0x1c3420e) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c3420e) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/vector:1539:30 in end ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 8 at 0x7b100004c750 by thread T3: #0 operator()<const unsigned long &, const unsigned long &> buildtools/third_party/libc++/trunk/include/__functional_base:66:25 (cc_unittests+0x1c9fac2) #1 operator()<std::__1::pair<unsigned long, int>, unsigned long> base/containers/flat_tree.h:365 (cc_unittests+0x1c9fac2) #2 __lower_bound<base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare &, std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned long> buildtools/third_party/libc++/trunk/include/algorithm:4184 (cc_unittests+0x1c9fac2) #3 lower_bound<std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned long, base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare> buildtools/third_party/libc++/trunk/include/algorithm:4202 (cc_unittests+0x1c9fac2) #4 lower_bound<unsigned long> base/containers/flat_tree.h:915 (cc_unittests+0x1c9fac2) #5 equal_range<unsigned long> base/containers/flat_tree.h:888 (cc_unittests+0x1c9fac2) #6 find<unsigned long> base/containers/flat_tree.h:864 (cc_unittests+0x1c9fac2) #7 find<unsigned long> base/containers/flat_tree.h:857 (cc_unittests+0x1c9fac2) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:61 (cc_unittests+0x1c9fac2) #9 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #10 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #11 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #12 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #13 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #14 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #15 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #16 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #17 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #18 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #19 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #20 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #21 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #22 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #23 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #24 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #25 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #26 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #27 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #28 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #29 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #30 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #31 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #32 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #33 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #34 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #35 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #36 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #37 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #38 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #39 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #40 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #41 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #42 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #43 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #44 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #45 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #46 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #47 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #48 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #49 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #50 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #51 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #52 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #53 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #54 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b100004c750 by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 64 at 0x7b100004c740 allocated by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__functional_base:66:25 in operator()<const unsigned long &, const unsigned long &> ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 4 at 0x7b100004c758 by thread T3: #0 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:64:39 (cc_unittests+0x1c9fc15) #1 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #2 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #3 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #4 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #5 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #6 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #7 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #8 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #9 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #10 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #11 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #12 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #13 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #14 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #15 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #16 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #17 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #18 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #19 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #20 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #21 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #22 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #23 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #24 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #25 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #26 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #27 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #28 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #29 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #30 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #31 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #32 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #33 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #34 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #35 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #36 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #37 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #38 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #39 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #40 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #41 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #42 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #43 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #44 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #45 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #46 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b100004c758 by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 64 at 0x7b100004c740 allocated by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race cc/test/fake_paint_image_generator.cc:64:39 in cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) ================== [ OK ] LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw.RunMultiThread_DelegatingRenderer (5444 ms) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw (5445 ms total) [----------] 1 test from LayerTreeHostTestImageDecodingHints [ RUN ] LayerTreeHostTestImageDecodingHints.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageDecodingHints.RunMultiThread_DelegatingRenderer (78 ms) [----------] 1 test from LayerTreeHostTestImageDecodingHints (78 ms total) [----------] 1 test from LayerTreeHostTestCheckerboardUkm [ RUN ] LayerTreeHostTestCheckerboardUkm.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestCheckerboardUkm.RunMultiThread_DelegatingRenderer (40 ms) [----------] 1 test from LayerTreeHostTestCheckerboardUkm (42 ms total) [----------] 1 test from DontUpdateLayersWithEmptyBounds [ RUN ] DontUpdateLayersWithEmptyBounds.RunSingleThread_DelegatingRenderer [ OK ] DontUpdateLayersWithEmptyBounds.RunSingleThread_DelegatingRenderer (44 ms) [----------] 1 test from DontUpdateLayersWithEmptyBounds (44 ms total) [----------] Global test environment tear-down [==========] 10 tests from 10 test suites ran. (18919 ms total) [ PASSED ] 10 tests. ThreadSanitizer: reported 7 warnings [2764/4724] LayerTreeHostTestImageAnimationDrawRecordShader.RunMultiThread_DelegatingRenderer (2706 ms) [ RUN ] LayerTreeHostTestImageAnimationPaintFilter.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationPaintFilter.RunMultiThread_DelegatingRenderer (2686 ms) [----------] 1 test from LayerTreeHostTestImageAnimationPaintFilter (2686 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousScheduling [ RUN ] LayerTreeHostTestImageAnimationSynchronousScheduling.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationSynchronousScheduling.RunMultiThread_DelegatingRenderer (2616 ms) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousScheduling (2617 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw [ RUN ] LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw.RunMultiThread_DelegatingRenderer ================== WARNING: ThreadSanitizer: data race (pid=28321) Write of size 8 at 0x7b4400001e88 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c341fb) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:959 (cc_unittests+0x1c341fb) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c341fb) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous read of size 8 at 0x7b4400001e88 by thread T3: #0 size buildtools/third_party/libc++/trunk/include/vector:656:61 (cc_unittests+0x12fb346) #1 size base/containers/flat_tree.h:594 (cc_unittests+0x12fb346) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc:8591 (cc_unittests+0x12fb346) #3 non-virtual thunk to cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc (cc_unittests+0x12fbb64) #4 cc::LayerTreeHostImplForTesting::PrepareToDraw(cc::LayerTreeHostImpl::FrameData*) cc/test/layer_tree_test.cc:289:18 (cc_unittests+0x1cb5e0b) #5 cc::ProxyImpl::DrawInternal(bool) cc/trees/proxy_impl.cc:692:26 (cc_unittests+0x1c856f1) #6 cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc:567:10 (cc_unittests+0x1c85553) #7 non-virtual thunk to cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc (cc_unittests+0x1c8591d) #8 cc::Scheduler::DrawIfPossible() cc/scheduler/scheduler.cc:718:32 (cc_unittests+0x1b9c9c2) #9 cc::Scheduler::ProcessScheduledActions() cc/scheduler/scheduler.cc:818:9 (cc_unittests+0x1b98d96) #10 cc::Scheduler::OnDrawForLayerTreeFrameSink(bool, bool) cc/scheduler/scheduler.cc:390:3 (cc_unittests+0x1b9bdaa) #11 cc::ProxyImpl::OnDrawForLayerTreeFrameSink(bool, bool) cc/trees/proxy_impl.cc:476:15 (cc_unittests+0x1c84bb3) #12 cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc:1884:14 (cc_unittests+0x1c1eb1c) #13 non-virtual thunk to cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc (cc_unittests+0x1c1ec1d) #14 cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::DispatchInvalidation() cc/test/layer_tree_test.cc:121:14 (cc_unittests+0x1cb8586) #15 Invoke<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:499:12 (cc_unittests+0x1cb863a) #16 MakeItSo<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:619 (cc_unittests+0x1cb863a) #17 RunImpl<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), std::__1::tuple<base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb863a) #18 base::internal::Invoker<base::internal::BindState<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb863a) #19 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #20 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #21 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #22 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #24 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #25 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #26 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #27 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #28 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #29 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #30 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #31 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/type_traits:4594:9 in swap<std::__1::pair<unsigned long, int> *> ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 8 at 0x7b4400001e88 by thread T3: #0 begin buildtools/third_party/libc++/trunk/include/vector:1523:30 (cc_unittests+0x1c9fa3f) #1 begin base/containers/flat_tree.h:619 (cc_unittests+0x1c9fa3f) #2 lower_bound<unsigned long> base/containers/flat_tree.h:915 (cc_unittests+0x1c9fa3f) #3 equal_range<unsigned long> base/containers/flat_tree.h:888 (cc_unittests+0x1c9fa3f) #4 find<unsigned long> base/containers/flat_tree.h:864 (cc_unittests+0x1c9fa3f) #5 find<unsigned long> base/containers/flat_tree.h:857 (cc_unittests+0x1c9fa3f) #6 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:61 (cc_unittests+0x1c9fa3f) #7 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #8 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #9 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #10 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #11 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #12 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #13 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #14 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #15 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #16 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #17 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #18 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #19 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #20 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #21 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #22 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #23 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #24 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #25 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #26 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #27 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #28 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #29 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #30 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #31 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #32 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #33 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #34 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #35 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #36 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #37 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #38 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #39 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #40 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #41 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #42 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #43 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #44 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #45 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #46 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #47 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #48 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #49 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #50 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #51 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #52 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b4400001e88 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c341fb) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:959 (cc_unittests+0x1c341fb) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c341fb) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/vector:1523:30 in begin ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Write of size 8 at 0x7b4400001e90 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c3420e) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:960 (cc_unittests+0x1c3420e) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c3420e) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous read of size 8 at 0x7b4400001e90 by thread T3: #0 size buildtools/third_party/libc++/trunk/include/vector:656:46 (cc_unittests+0x12fb337) #1 size base/containers/flat_tree.h:594 (cc_unittests+0x12fb337) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc:8591 (cc_unittests+0x12fb337) #3 non-virtual thunk to cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc (cc_unittests+0x12fbb64) #4 cc::LayerTreeHostImplForTesting::PrepareToDraw(cc::LayerTreeHostImpl::FrameData*) cc/test/layer_tree_test.cc:289:18 (cc_unittests+0x1cb5e0b) #5 cc::ProxyImpl::DrawInternal(bool) cc/trees/proxy_impl.cc:692:26 (cc_unittests+0x1c856f1) #6 cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc:567:10 (cc_unittests+0x1c85553) #7 non-virtual thunk to cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc (cc_unittests+0x1c8591d) #8 cc::Scheduler::DrawIfPossible() cc/scheduler/scheduler.cc:718:32 (cc_unittests+0x1b9c9c2) #9 cc::Scheduler::ProcessScheduledActions() cc/scheduler/scheduler.cc:818:9 (cc_unittests+0x1b98d96) #10 cc::Scheduler::OnDrawForLayerTreeFrameSink(bool, bool) cc/scheduler/scheduler.cc:390:3 (cc_unittests+0x1b9bdaa) #11 cc::ProxyImpl::OnDrawForLayerTreeFrameSink(bool, bool) cc/trees/proxy_impl.cc:476:15 (cc_unittests+0x1c84bb3) #12 cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc:1884:14 (cc_unittests+0x1c1eb1c) #13 non-virtual thunk to cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc (cc_unittests+0x1c1ec1d) #14 cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::DispatchInvalidation() cc/test/layer_tree_test.cc:121:14 (cc_unittests+0x1cb8586) #15 Invoke<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:499:12 (cc_unittests+0x1cb863a) #16 MakeItSo<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:619 (cc_unittests+0x1cb863a) #17 RunImpl<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), std::__1::tuple<base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb863a) #18 base::internal::Invoker<base::internal::BindState<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb863a) #19 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #20 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #21 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #22 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #24 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #25 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #26 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #27 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #28 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #29 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #30 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #31 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/type_traits:4594:9 in swap<std::__1::pair<unsigned long, int> *> ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Write of size 8 at 0x7b0800028980 by thread T19: #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (cc_unittests+0x9b602e) #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (cc_unittests+0x1c34267) #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (cc_unittests+0x1c34267) #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (cc_unittests+0x1c34267) #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (cc_unittests+0x1c34267) #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (cc_unittests+0x1c34267) #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (cc_unittests+0x1c34267) #7 ~__split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:343 (cc_unittests+0x1c34267) #8 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1884 (cc_unittests+0x1c34267) #9 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #10 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #11 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #12 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #13 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #14 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #15 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #16 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #17 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #18 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #19 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #20 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #21 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #22 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #23 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous read of size 8 at 0x7b0800028980 by thread T3: #0 operator()<const unsigned long &, const unsigned int &> buildtools/third_party/libc++/trunk/include/__functional_base:66:25 (cc_unittests+0x12fb7f2) #1 operator()<std::__1::pair<unsigned long, int>, unsigned int> base/containers/flat_tree.h:365 (cc_unittests+0x12fb7f2) #2 __lower_bound<base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare &, std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned int> buildtools/third_party/libc++/trunk/include/algorithm:4184 (cc_unittests+0x12fb7f2) #3 lower_bound<std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned int, base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare> buildtools/third_party/libc++/trunk/include/algorithm:4202 (cc_unittests+0x12fb7f2) #4 lower_bound<unsigned int> base/containers/flat_tree.h:915 (cc_unittests+0x12fb7f2) #5 equal_range<unsigned int> base/containers/flat_tree.h:888 (cc_unittests+0x12fb7f2) #6 count<unsigned int> base/containers/flat_tree.h:849 (cc_unittests+0x12fb7f2) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc:8592 (cc_unittests+0x12fb7f2) #8 non-virtual thunk to cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc (cc_unittests+0x12fbb64) #9 cc::LayerTreeHostImplForTesting::PrepareToDraw(cc::LayerTreeHostImpl::FrameData*) cc/test/layer_tree_test.cc:289:18 (cc_unittests+0x1cb5e0b) #10 cc::ProxyImpl::DrawInternal(bool) cc/trees/proxy_impl.cc:692:26 (cc_unittests+0x1c856f1) #11 cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc:567:10 (cc_unittests+0x1c85553) #12 non-virtual thunk to cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc (cc_unittests+0x1c8591d) #13 cc::Scheduler::DrawIfPossible() cc/scheduler/scheduler.cc:718:32 (cc_unittests+0x1b9c9c2) #14 cc::Scheduler::ProcessScheduledActions() cc/scheduler/scheduler.cc:818:9 (cc_unittests+0x1b98d96) #15 cc::Scheduler::OnDrawForLayerTreeFrameSink(bool, bool) cc/scheduler/scheduler.cc:390:3 (cc_unittests+0x1b9bdaa) #16 cc::ProxyImpl::OnDrawForLayerTreeFrameSink(bool, bool) cc/trees/proxy_impl.cc:476:15 (cc_unittests+0x1c84bb3) #17 cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc:1884:14 (cc_unittests+0x1c1eb1c) #18 non-virtual thunk to cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc (cc_unittests+0x1c1ec1d) #19 cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::DispatchInvalidation() cc/test/layer_tree_test.cc:121:14 (cc_unittests+0x1cb8586) #20 Invoke<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:499:12 (cc_unittests+0x1cb863a) #21 MakeItSo<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:619 (cc_unittests+0x1cb863a) #22 RunImpl<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), std::__1::tuple<base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb863a) #23 base::internal::Invoker<base::internal::BindState<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb863a) #24 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #25 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #26 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #27 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #28 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #29 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #30 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #31 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #32 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #33 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #34 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #35 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #36 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*) ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 8 at 0x7b4400001e90 by thread T3: #0 end buildtools/third_party/libc++/trunk/include/vector:1539:30 (cc_unittests+0x1c9fa52) #1 end base/containers/flat_tree.h:636 (cc_unittests+0x1c9fa52) #2 lower_bound<unsigned long> base/containers/flat_tree.h:915 (cc_unittests+0x1c9fa52) #3 equal_range<unsigned long> base/containers/flat_tree.h:888 (cc_unittests+0x1c9fa52) #4 find<unsigned long> base/containers/flat_tree.h:864 (cc_unittests+0x1c9fa52) #5 find<unsigned long> base/containers/flat_tree.h:857 (cc_unittests+0x1c9fa52) #6 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:61 (cc_unittests+0x1c9fa52) #7 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #8 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #9 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #10 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #11 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #12 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #13 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #14 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #15 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #16 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #17 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #18 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #19 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #20 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #21 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #22 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #23 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #24 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #25 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #26 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #27 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #28 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #29 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #30 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #31 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #32 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #33 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #34 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #35 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #36 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #37 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #38 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #39 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #40 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #41 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #42 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #43 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #44 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #45 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #46 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #47 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #48 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #49 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #50 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #51 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #52 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b4400001e90 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c3420e) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:960 (cc_unittests+0x1c3420e) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c3420e) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/vector:1539:30 in end ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 8 at 0x7b100004c750 by thread T3: #0 operator()<const unsigned long &, const unsigned long &> buildtools/third_party/libc++/trunk/include/__functional_base:66:25 (cc_unittests+0x1c9fac2) #1 operator()<std::__1::pair<unsigned long, int>, unsigned long> base/containers/flat_tree.h:365 (cc_unittests+0x1c9fac2) #2 __lower_bound<base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare &, std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned long> buildtools/third_party/libc++/trunk/include/algorithm:4184 (cc_unittests+0x1c9fac2) #3 lower_bound<std::__1::__wrap_iter<const std::__1::pair<unsigned long, int> *>, unsigned long, base::internal::flat_tree<unsigned long, std::__1::pair<unsigned long, int>, base::internal::GetKeyFromValuePairFirst<unsigned long, int>, std::__1::less<void> >::KeyValueCompare> buildtools/third_party/libc++/trunk/include/algorithm:4202 (cc_unittests+0x1c9fac2) #4 lower_bound<unsigned long> base/containers/flat_tree.h:915 (cc_unittests+0x1c9fac2) #5 equal_range<unsigned long> base/containers/flat_tree.h:888 (cc_unittests+0x1c9fac2) #6 find<unsigned long> base/containers/flat_tree.h:864 (cc_unittests+0x1c9fac2) #7 find<unsigned long> base/containers/flat_tree.h:857 (cc_unittests+0x1c9fac2) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:61 (cc_unittests+0x1c9fac2) #9 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #10 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #11 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #12 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #13 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #14 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #15 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #16 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #17 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #18 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #19 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #20 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #21 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #22 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #23 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #24 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #25 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #26 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #27 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #28 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #29 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #30 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #31 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #32 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #33 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #34 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #35 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #36 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #37 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #38 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #39 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #40 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #41 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #42 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #43 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #44 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #45 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #46 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #47 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #48 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #49 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #50 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #51 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #52 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #53 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #54 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b100004c750 by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 64 at 0x7b100004c740 allocated by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__functional_base:66:25 in operator()<const unsigned long &, const unsigned long &> ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 4 at 0x7b100004c758 by thread T3: #0 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:64:39 (cc_unittests+0x1c9fc15) #1 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #2 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #3 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #4 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #5 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #6 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #7 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #8 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #9 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #10 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #11 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #12 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #13 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #14 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #15 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #16 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #17 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #18 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #19 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #20 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #21 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #22 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #23 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #24 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #25 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #26 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #27 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #28 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #29 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #30 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #31 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #32 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #33 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #34 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #35 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #36 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #37 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #38 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #39 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #40 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #41 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #42 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #43 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #44 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #45 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #46 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b100004c758 by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 64 at 0x7b100004c740 allocated by thread T19: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (cc_unittests+0x1c340e0) #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (cc_unittests+0x1c340e0) #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (cc_unittests+0x1c340e0) #4 __split_buffer buildtools/third_party/libc++/trunk/include/__split_buffer:311 (cc_unittests+0x1c340e0) #5 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1881 (cc_unittests+0x1c340e0) #6 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #7 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #8 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #9 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #10 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #11 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #12 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #13 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #14 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #15 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #16 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #17 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #18 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #19 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #20 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race cc/test/fake_paint_image_generator.cc:64:39 in cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) ================== [ OK ] LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw.RunMultiThread_DelegatingRenderer (5444 ms) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw (5445 ms total) [----------] 1 test from LayerTreeHostTestImageDecodingHints [ RUN ] LayerTreeHostTestImageDecodingHints.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageDecodingHints.RunMultiThread_DelegatingRenderer (78 ms) [----------] 1 test from LayerTreeHostTestImageDecodingHints (78 ms total) [----------] 1 test from LayerTreeHostTestCheckerboardUkm [ RUN ] LayerTreeHostTestCheckerboardUkm.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestCheckerboardUkm.RunMultiThread_DelegatingRenderer (40 ms) [----------] 1 test from LayerTreeHostTestCheckerboardUkm (42 ms total) [----------] 1 test from DontUpdateLayersWithEmptyBounds [ RUN ] DontUpdateLayersWithEmptyBounds.RunSingleThread_DelegatingRenderer [ OK ] DontUpdateLayersWithEmptyBounds.RunSingleThread_DelegatingRenderer (44 ms) [----------] 1 test from DontUpdateLayersWithEmptyBounds (44 ms total) [----------] Global test environment tear-down [==========] 10 tests from 10 test suites ran. (18919 ms total) [ PASSED ] 10 tests. ThreadSanitizer: reported 7 warnings [2765/4724] LayerTreeHostTestImageAnimationPaintFilter.RunMultiThread_DelegatingRenderer (2686 ms) [ RUN ] LayerTreeHostTestImageAnimationSynchronousScheduling.RunMultiThread_DelegatingRenderer [ OK ] LayerTreeHostTestImageAnimationSynchronousScheduling.RunMultiThread_DelegatingRenderer (2616 ms) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousScheduling (2617 ms total) [----------] 1 test from LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw [ RUN ] LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw.RunMultiThread_DelegatingRenderer ================== WARNING: ThreadSanitizer: data race (pid=28321) Write of size 8 at 0x7b4400001e88 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c341fb) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:959 (cc_unittests+0x1c341fb) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c341fb) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous read of size 8 at 0x7b4400001e88 by thread T3: #0 size buildtools/third_party/libc++/trunk/include/vector:656:61 (cc_unittests+0x12fb346) #1 size base/containers/flat_tree.h:594 (cc_unittests+0x12fb346) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc:8591 (cc_unittests+0x12fb346) #3 non-virtual thunk to cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::WillPrepareToDrawOnThread(cc::LayerTreeHostImpl*) cc/trees/layer_tree_host_unittest.cc (cc_unittests+0x12fbb64) #4 cc::LayerTreeHostImplForTesting::PrepareToDraw(cc::LayerTreeHostImpl::FrameData*) cc/test/layer_tree_test.cc:289:18 (cc_unittests+0x1cb5e0b) #5 cc::ProxyImpl::DrawInternal(bool) cc/trees/proxy_impl.cc:692:26 (cc_unittests+0x1c856f1) #6 cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc:567:10 (cc_unittests+0x1c85553) #7 non-virtual thunk to cc::ProxyImpl::ScheduledActionDrawIfPossible() cc/trees/proxy_impl.cc (cc_unittests+0x1c8591d) #8 cc::Scheduler::DrawIfPossible() cc/scheduler/scheduler.cc:718:32 (cc_unittests+0x1b9c9c2) #9 cc::Scheduler::ProcessScheduledActions() cc/scheduler/scheduler.cc:818:9 (cc_unittests+0x1b98d96) #10 cc::Scheduler::OnDrawForLayerTreeFrameSink(bool, bool) cc/scheduler/scheduler.cc:390:3 (cc_unittests+0x1b9bdaa) #11 cc::ProxyImpl::OnDrawForLayerTreeFrameSink(bool, bool) cc/trees/proxy_impl.cc:476:15 (cc_unittests+0x1c84bb3) #12 cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc:1884:14 (cc_unittests+0x1c1eb1c) #13 non-virtual thunk to cc::LayerTreeHostImpl::OnDraw(gfx::Transform const&, gfx::Rect const&, bool, bool) cc/trees/layer_tree_host_impl.cc (cc_unittests+0x1c1ec1d) #14 cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::DispatchInvalidation() cc/test/layer_tree_test.cc:121:14 (cc_unittests+0x1cb8586) #15 Invoke<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:499:12 (cc_unittests+0x1cb863a) #16 MakeItSo<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink>> base/bind_internal.h:619 (cc_unittests+0x1cb863a) #17 RunImpl<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), std::__1::tuple<base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb863a) #18 base::internal::Invoker<base::internal::BindState<void (cc::(anonymous namespace)::SynchronousLayerTreeFrameSink::*)(), base::WeakPtr<cc::(anonymous namespace)::SynchronousLayerTreeFrameSink> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb863a) #19 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #20 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #21 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #22 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #23 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #24 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #25 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #26 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #27 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #28 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #29 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #30 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #31 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #17 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #18 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #21 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #24 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) SUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/type_traits:4594:9 in swap<std::__1::pair<unsigned long, int> *> ================== ================== WARNING: ThreadSanitizer: data race (pid=28321) Read of size 8 at 0x7b4400001e88 by thread T3: #0 begin buildtools/third_party/libc++/trunk/include/vector:1523:30 (cc_unittests+0x1c9fa3f) #1 begin base/containers/flat_tree.h:619 (cc_unittests+0x1c9fa3f) #2 lower_bound<unsigned long> base/containers/flat_tree.h:915 (cc_unittests+0x1c9fa3f) #3 equal_range<unsigned long> base/containers/flat_tree.h:888 (cc_unittests+0x1c9fa3f) #4 find<unsigned long> base/containers/flat_tree.h:864 (cc_unittests+0x1c9fa3f) #5 find<unsigned long> base/containers/flat_tree.h:857 (cc_unittests+0x1c9fa3f) #6 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc:61 (cc_unittests+0x1c9fa3f) #7 cc::SkiaPaintImageGenerator::onGetPixels(SkImageInfo const&, void*, unsigned long, SkImageGenerator::Options const&) cc/paint/skia_paint_image_generator.cc:30:34 (cc_unittests+0x1d5b420) #8 SkImageGenerator::getPixels(SkImageInfo const&, void*, unsigned long) third_party/skia/src/core/SkImageGenerator.cpp:30:18 (cc_unittests+0x15fad37) #9 generate_pixels(SkImageGenerator*, SkPixmap const&, int, int) third_party/skia/src/image/SkImage_Lazy.cpp:168:15 (cc_unittests+0x16d1d5d) #10 SkImage_Lazy::getROPixels(SkBitmap*, SkImage::CachingHint) const third_party/skia/src/image/SkImage_Lazy.cpp:197:14 (cc_unittests+0x16d193b) #11 SkBaseDevice::drawImageRect(SkImage const*, SkRect const*, SkRect const&, SkPaint const&, SkCanvas::SrcRectConstraint) third_party/skia/src/core/SkDevice.cpp:145:23 (cc_unittests+0x15c50cf) #12 SkCanvas::onDrawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:2371:27 (cc_unittests+0x15ac169) #13 SkCanvas::drawImage(SkImage const*, float, float, SkPaint const*) third_party/skia/src/core/SkCanvas.cpp:1808:11 (cc_unittests+0x15a6bd9) #14 cc::DrawImageOp::RasterWithFlags(cc::DrawImageOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:1248:11 (cc_unittests+0x1d2f859) #15 RasterWithFlags cc/paint/paint_op_buffer.cc:125:5 (cc_unittests+0x1d36310) #16 operator() cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #17 cc::$_36::__invoke(cc::PaintOp const*, cc::PaintFlags const*, SkCanvas*, cc::PlaybackParams const&) cc/paint/paint_op_buffer.cc:160 (cc_unittests+0x1d36310) #18 RasterWithFlags cc/paint/paint_op_buffer.cc:2082:3 (cc_unittests+0x1d34098) #19 cc::PaintOpBuffer::Playback(SkCanvas*, cc::PlaybackParams const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const*) const cc/paint/paint_op_buffer.cc:2439 (cc_unittests+0x1d34098) #20 cc::DisplayItemList::Raster(SkCanvas*, cc::ImageProvider*) const cc/paint/display_item_list.cc:81:20 (cc_unittests+0x1d0f3ef) #21 viz::SoftwareRenderer::DrawPictureQuad(viz::PictureDrawQuad const*) components/viz/service/display/software_renderer.cc:386:28 (cc_unittests+0x1e5c1f5) #22 viz::SoftwareRenderer::DoDrawQuad(viz::DrawQuad const*, gfx::QuadF const*) components/viz/service/display/software_renderer.cc:290:7 (cc_unittests+0x1e5bcdb) #23 viz::DirectRenderer::DrawRenderPass(viz::RenderPass const*) components/viz/service/display/direct_renderer.cc:703:5 (cc_unittests+0x1d78be4) #24 viz::DirectRenderer::DrawRenderPassAndExecuteCopyRequests(viz::RenderPass*) components/viz/service/display/direct_renderer.cc:567:5 (cc_unittests+0x1d77b0a) #25 viz::DirectRenderer::DrawFrame(std::__1::vector<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> >, std::__1::allocator<std::__1::unique_ptr<viz::RenderPass, std::__1::default_delete<viz::RenderPass> > > >*, float, gfx::Size const&) components/viz/service/display/direct_renderer.cc:421:5 (cc_unittests+0x1d7778c) #26 viz::Display::DrawAndSwap() components/viz/service/display/display.cc:491:16 (cc_unittests+0x1e45e92) #27 viz::DisplayScheduler::DrawAndSwap() components/viz/service/display/display_scheduler.cc:216:27 (cc_unittests+0x1de3e3d) #28 viz::DisplayScheduler::AttemptDrawAndSwap() components/viz/service/display/display_scheduler.cc:488:14 (cc_unittests+0x1de3357) #29 viz::DisplayScheduler::OnBeginFrameDeadline() components/viz/service/display/display_scheduler.cc:504:19 (cc_unittests+0x1de2a24) #30 Invoke<void (viz::DisplayScheduler::*)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:499:12 (cc_unittests+0x1de595a) #31 MakeItSo<void (viz::DisplayScheduler::*const &)(), const base::WeakPtr<viz::DisplayScheduler> &> base/bind_internal.h:619 (cc_unittests+0x1de595a) #32 RunImpl<void (viz::DisplayScheduler::*const &)(), const std::__1::tuple<base::WeakPtr<viz::DisplayScheduler> > &, 0> base/bind_internal.h:672 (cc_unittests+0x1de595a) #33 base::internal::Invoker<base::internal::BindState<void (viz::DisplayScheduler::*)(), base::WeakPtr<viz::DisplayScheduler> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (cc_unittests+0x1de595a) #34 Run base/callback.h:97:12 (cc_unittests+0x1b2d80d) #35 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (cc_unittests+0x1b2d80d) #36 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (cc_unittests+0x1b2d8ca) #37 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (cc_unittests+0x1b2d8ca) #38 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (cc_unittests+0x1b2d8ca) #39 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1b2d8ca) #40 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #41 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #42 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #43 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #44 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #45 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9731) #46 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #47 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #48 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #49 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #50 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (cc_unittests+0x201f299) #51 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (cc_unittests+0x201f551) #52 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Previous write of size 8 at 0x7b4400001e88 by thread T19: #0 swap<std::__1::pair<unsigned long, int> *> buildtools/third_party/libc++/trunk/include/type_traits:4594:9 (cc_unittests+0x1c341fb) #1 __swap_out_circular_buffer buildtools/third_party/libc++/trunk/include/vector:959 (cc_unittests+0x1c341fb) #2 std::__1::__wrap_iter<std::__1::pair<unsigned long, int>*> std::__1::vector<std::__1::pair<unsigned long, int>, std::__1::allocator<std::__1::pair<unsigned long, int> > >::emplace<unsigned long const&, int>(std::__1::__wrap_iter<std::__1::pair<unsigned long, int> const*>, unsigned long const&, int&&) buildtools/third_party/libc++/trunk/include/vector:1883 (cc_unittests+0x1c341fb) #3 unsafe_emplace<const unsigned long &, int> base/containers/flat_tree.h:953:22 (cc_unittests+0x1c9fbfa) #4 operator[] base/containers/flat_map.h:293 (cc_unittests+0x1c9fbfa) #5 cc::FakePaintImageGenerator::GetPixels(SkImageInfo const&, void*, unsigned long, unsigned long, int, unsigned int) cc/test/fake_paint_image_generator.cc (cc_unittests+0x1c9fbfa) #6 DecodeFromGenerator cc/paint/paint_image.cc:220:34 (cc_unittests+0x1d2ab6c) #7 cc::PaintImage::Decode(void*, SkImageInfo*, sk_sp<SkColorSpace>, unsigned long, int) const cc/paint/paint_image.cc:188 (cc_unittests+0x1d2ab6c) #8 cc::SoftwareImageDecodeCacheUtils::DoDecodeImage(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, SkColorType, int) cc/tiles/software_image_decode_cache_utils.cc:76:29 (cc_unittests+0x1bda589) #9 cc::SoftwareImageDecodeCache::DecodeImageIfNecessary(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCacheUtils::CacheEntry*) cc/tiles/software_image_decode_cache.cc:357:25 (cc_unittests+0x1bd4fa9) #10 cc::SoftwareImageDecodeCache::DecodeImageInTask(cc::SoftwareImageDecodeCacheUtils::CacheKey const&, cc::PaintImage const&, cc::SoftwareImageDecodeCache::DecodeTaskType) cc/tiles/software_image_decode_cache.cc:319:3 (cc_unittests+0x1bd4ba9) #11 cc::(anonymous namespace)::SoftwareImageDecodeTaskImpl::RunOnWorkerThread() cc/tiles/software_image_decode_cache.cc:79:13 (cc_unittests+0x1bd7602) #12 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() cc/raster/single_thread_task_graph_runner.cc:157:28 (cc_unittests+0x1b7d2fe) #13 Run cc/raster/single_thread_task_graph_runner.cc:120:10 (cc_unittests+0x1b7d54f) #14 non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() cc/raster/single_thread_task_graph_runner.cc (cc_unittests+0x1b7d54f) #15 base::DelegateSimpleThread::Run() base/threading/simple_thread.cc:98:13 (cc_unittests+0x201e828) #16 base::SimpleThread::ThreadMain() base/threading/simple_thread.cc:75:3 (cc_unittests+0x201e68b) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (cc_unittests+0x205c874) Location is heap block of size 296 at 0x7b4400001e00 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (cc_unittests+0x9b58db) #1 sk_sp<cc::FakePaintImageGenerator> sk_make_sp<cc::FakePaintImageGenerator, SkImageInfo, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&>(SkImageInfo&&, std::__1::vector<cc::FrameMetadata, std::__1::allocator<cc::FrameMetadata> >&) third_party/skia/include/core/SkRefCnt.h:397:21 (cc_unittests+0xcecfee) #2 cc::(anonymous namespace)::LayerTreeHostTestImageAnimation::SetupTree() cc/trees/layer_tree_host_unittest.cc:8557:18 (cc_unittests+0x12fa729) #3 cc::LayerTreeTest::DoBeginTest() cc/test/layer_tree_test.cc:886:3 (cc_unittests+0x1cb323b) #4 Invoke<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:499:12 (cc_unittests+0x1cb7968) #5 MakeItSo<void (cc::LayerTreeTest::*)(), cc::LayerTreeTest *> base/bind_internal.h:599 (cc_unittests+0x1cb7968) #6 RunImpl<void (cc::LayerTreeTest::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::LayerTreeTest> >, 0> base/bind_internal.h:672 (cc_unittests+0x1cb7968) #7 base::internal::Invoker<base::internal::BindState<void (cc::LayerTreeTest::*)(), base::internal::UnretainedWrapper<cc::LayerTreeTest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x1cb7968) #8 Run base/callback.h:97:12 (cc_unittests+0x1fde8c5) #9 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:143 (cc_unittests+0x1fde8c5) #10 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:368:23 (cc_unittests+0x1ff36f8) #11 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (cc_unittests+0x1ff32bd) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff3c1e) #13 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (cc_unittests+0x1fb9699) #14 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (cc_unittests+0x1ff4409) #15 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (cc_unittests+0x1ff4409) #16 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (cc_unittests+0x1fd4280) #17 base::RunLoop::Run() base/run_loop.cc:129:3 (cc_unittests+0x1fd4073) #18 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1070:19 (cc_unittests+0x1cb3e2b) #19 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #21 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #22 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #23 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #24 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #25 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #26 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #27 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #28 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #29 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #30 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #31 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #32 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #33 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #34 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #35 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #36 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T3 'Compositor' (tid=29202, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (cc_unittests+0x201efb0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (cc_unittests+0x201ec23) #5 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1046:5 (cc_unittests+0x1cb3ba3) #6 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (cc_unittests+0x19f5346) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (cc_unittests+0x1a076f6) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x1a06b59) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (cc_unittests+0x1a06b59) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (cc_unittests+0x1ce5d82) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (cc_unittests+0x1ce5d82) #16 Invoke<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:499:12 (cc_unittests+0x155e268) #17 MakeItSo<int (base::TestSuite::*)(), cc::CCTestSuite *> base/bind_internal.h:599 (cc_unittests+0x155e268) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<cc::CCTestSuite> >, 0> base/bind_internal.h:672 (cc_unittests+0x155e268) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<cc::CCTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (cc_unittests+0x155e268) #20 Run base/callback.h:97:12 (cc_unittests+0x1ce964d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (cc_unittests+0x1ce964d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (cc_unittests+0x1ce94b0) #23 main cc/test/run_all_unittests.cc:15:10 (cc_unittests+0x155e1ba) Thread T19 'TestTaskGraphRu' (tid=29204, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (cc_unittests+0x946bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (cc_unittests+0x205c3b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (cc_unittests+0x205c2b5) #3 base::SimpleThread::StartAsync() base/threading/simple_thread.cc:51:13 (cc_unittests+0x201e553) #4 cc::SingleThreadTaskGraphRunner::Start(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::SimpleThread::Options const&) cc/raster/single_thread_task_graph_runner.cc:32:12 (cc_unittests+0x1b7c994) #5 cc::TestTaskGraphRunner::TestTaskGraphRunner() cc/test/test_task_graph_runner.cc:10:3 (cc_unittests+0x1cde7b6) #6 cc::LayerTreeTest::RunTest(cc::CompositorMode) cc/test/layer_tree_test.cc:1054:32 (cc_unittests+0x1cb3cd8) #7 cc::(anonymous namespace)::LayerTreeHostTestImageAnimationSynchronousSchedulingSoftwareDraw_RunMultiThread_DelegatingRenderer_Test::TestBody() cc/trees/layer_tree_host_unittest.cc:8699:1 (cc_unittests+0x12fd437) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (cc_unittests+0x19f37bf) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (cc_unittests+0x19f37bf) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (cc_unittests+0x19f4778) #11 testing::TestSuite::Run() third_party/googletest/