Bug 79314 - [Chromium] CCOcclusionTrackerTest hits assertion
Summary: [Chromium] CCOcclusionTrackerTest hits assertion
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-22 18:03 PST by Yuta Kitamura
Modified: 2012-02-22 18:17 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta Kitamura 2012-02-22 18:03:41 PST
Chromium's webkit_unit_tests started to fail since a change in bug 78549.

[ RUN      ] CCOcclusionTrackerTest.surfaceOcclusionWithOverlappingSiblingSurfaces
ASSERTION FAILED: layer->targetRenderSurface() == m_stack.last().surface
third_party/WebKit/Source/WebCore/platform/graphics/chromium/cc/CCOcclusionTracker.cpp(217) : bool WebCore::CCOcclusionTrackerBase<LayerType, RenderSurfaceType>::occluded(const LayerType*, const WebCore::IntRect&) const [with LayerType = WebCore::LayerChromium, RenderSurfaceType = WebCore::RenderSurfaceChromium]
1   0x1140ffc
2   0x546edc
3   0x791cc1
4   0x78e99e
5   0x7833a2
6   0x783bc6
7   0x7842bc
8   0x789093
9   0x792ebb
10  0x78f361
11  0x787bb0
12  0x7a31d5
13  0x41fc7d
14  0x7f63e50c2c4d __libc_start_main
15  0x41fb79
[56389:56389:0222/011121:15415134960585:ERROR:process_util_posix.cc(142)] Received signal 11
    base::debug::StackTrace::StackTrace() [0x1f69a3e]
    base::(anonymous namespace)::StackDumpSignalHandler() [0x1f1a9a5]
    0x7f63e50d7af0
    WebCore::CCOcclusionTrackerBase<>::occluded() [0x1141006]
    (anonymous namespace)::CCOcclusionTrackerTest_surfaceOcclusionWithOverlappingSiblingSurfaces_Test::TestBody() [0x546edc]
    testing::internal::HandleSehExceptionsInMethodIfSupported<>() [0x791cc1]
    testing::internal::HandleExceptionsInMethodIfSupported<>() [0x78e99e]
    testing::Test::Run() [0x7833a2]
    testing::TestInfo::Run() [0x783bc6]
    testing::TestCase::Run() [0x7842bc]
    testing::internal::UnitTestImpl::RunAllTests() [0x789093]
    testing::internal::HandleSehExceptionsInMethodIfSupported<>() [0x792ebb]
    testing::internal::HandleExceptionsInMethodIfSupported<>() [0x78f361]
    testing::UnitTest::Run() [0x787bb0]
    base::TestSuite::Run() [0x7a31d5]
    main [0x41fc7d]
    0x7f63e50c2c4d
    0x41fb79

This affects the following two tests:
  CCOcclusionTrackerTest.surfaceOcclusionWithOverlappingSiblingSurfaces
  CCOcclusionTrackerTest.surfaceOcclusionInScreenSpace

I'm going to disable these two tests for now. Please fix this.
Comment 1 Yuta Kitamura 2012-02-22 18:12:22 PST
Oops, race condition seems to have occurred. I'll undo the change disabling tests.