EGLContextCompatibilityTest: skipped on Linux Error populating SystemInfo. Warning: incomplete system info collection. 0 GPUs: Active GPU: 0 Optimus: false AMD Switchable: false Mac Switchable: false Skipping tests using configuration ES2_OpenGLES_NoFixture because it is not available. Skipping tests using configuration ES3_OpenGLES because it is not available. Skipping tests using configuration ES2_OpenGLES because it is not available. Skipping tests using configuration ES2_OpenGLES_CorruptProgramBinaryForTesting because it is not available. Skipping tests using configuration ES3_OpenGLES_NoFixture because it is not available. Skipping tests using configuration ES3_1_OpenGLES because it is not available. Skipping tests using configuration ES3_OpenGLES_AlwaysEnableEmulatedMultidrawExtensions because it is not available. Skipping tests using configuration ES2_OpenGLES_EmulateClipOrigin because it is not available. Skipping tests using configuration ES3_OpenGLES_EmulateClipOrigin because it is not available. Skipping tests using configuration ES2_OpenGLES_EmulateCopyTexImage2D because it is not available. Skipping tests using configuration ES2_OpenGLES_EmulateCopyTexImage2DFromRenderbuffers because it is not available. Skipping tests using configuration ES3_OpenGLES_EmulateCopyTexImage2D because it is not available. Skipping tests using configuration ES3_OpenGLES_EmulateCopyTexImage2DFromRenderbuffers because it is not available. Skipping tests using configuration ES3_OpenGLES_ForceLumaWorkaroundForSameTextureCopyTexImage2D because it is not available. Skipping tests using configuration ES1_OpenGLES because it is not available. Skipping tests using configuration ES2_OpenGLES_ForceInitShaderVariables because it is not available. Skipping tests using configuration ES2_OpenGLES_NoUseIr because it is not available. Skipping tests using configuration ES3_OpenGLES_ScalarizeVecAndMatConstructorArgs because it is not available. Skipping tests using configuration ES3_OpenGLES_ForceInitShaderVariables because it is not available. Skipping tests using configuration ES3_OpenGLES_ValidateMaxPerStageUniformBlocksAtCompileTime because it is not available. Skipping tests using configuration ES2_OpenGLES_ForcePassthroughShaders because it is not available. Skipping tests using configuration ES3_OpenGLES_RecreateMipmapLevelsBeforeGenerate because it is not available. Skipping tests using configuration ES2_OpenGLES_UseIntermediateTextureForGenerateMipmap because it is not available. Skipping tests using configuration ES2_OpenGLES_UseIntermediateTextureForGenerateMipmap_UseIntermediateTextureForGenerateMipmap because it is not available. Skipping tests using configuration ES3_1_OpenGLES_RecreateMipmapLevelsBeforeGenerate because it is not available. Skipping tests using configuration ES2_OpenGLES_AlwaysEnableEmulatedMultidrawExtensions because it is not available. Skipping tests using configuration ES3_1_OpenGLES_AlwaysEnableEmulatedMultidrawExtensions because it is not available. Skipping tests using configuration ES3_OpenGLES_EmulatePixelLocalStorage because it is not available. Skipping tests using configuration ES3_OpenGLES_EmulatePixelLocalStorage_DisableDrawBuffersIndexed because it is not available. Skipping tests using configuration ES3_OpenGLES_EmulatePixelLocalStorage_NoSupportsShaderFramebufferFetchEXT because it is not available. Skipping tests using configuration ES3_OpenGLES_EmulatePixelLocalStorage_NoSupportsShaderFramebufferFetchEXT_NoSupportsShaderFramebufferFetchNonCoherentEXT because it is not available. Skipping tests using configuration ES3_1_OpenGLES_EmulatePixelLocalStorage because it is not available. Skipping tests using configuration ES3_1_OpenGLES_EmulatePixelLocalStorage_DisableDrawBuffersIndexed because it is not available. Skipping tests using configuration ES3_1_OpenGLES_EmulatePixelLocalStorage_NoSupportsShaderFramebufferFetchEXT because it is not available. Skipping tests using configuration ES3_1_OpenGLES_EmulatePixelLocalStorage_NoSupportsShaderFramebufferFetchEXT_NoSupportsShaderFramebufferFetchNonCoherentEXT because it is not available. Skipping tests using configuration ES2_OpenGLES_ForceMinimumMaxVertexAttributes because it is not available. Skipping tests using configuration ES2_OpenGLES_SyncAllVertexArraysToDefault because it is not available. Skipping tests using configuration ES3_OpenGLES_SyncAllVertexArraysToDefault because it is not available. Note: Google Test filter = Texture2DTestES3Foveation.FoveatedFramebufferDeletedWhileRenderPassOpen/ES3_Vulkan_SwiftShader [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from Texture2DTestES3Foveation [ RUN ] Texture2DTestES3Foveation.FoveatedFramebufferDeletedWhileRenderPassOpen/ES3_Vulkan_SwiftShader ================================================================= ==1416==ERROR: AddressSanitizer: heap-use-after-free on address 0x7da2beec3bd4 at pc 0x7bd2b9614892 bp 0x7ffe0b053010 sp 0x7ffe0b053008 READ of size 4 at 0x7da2beec3bd4 thread T0 #0 0x7bd2b9614891 in isReadBarrierNecessary third_party/angle/src/libANGLE/renderer/vulkan/vk_helpers.cpp:7087:9 #1 0x7bd2b9614891 in finalizeFragmentShadingRateImageLayout third_party/angle/src/libANGLE/renderer/vulkan/vk_helpers.cpp:2006:16 #2 0x7bd2b9614891 in rx::vk::RenderPassCommandBufferHelper::endRenderPass(rx::ContextVk*) third_party/angle/src/libANGLE/renderer/vulkan/vk_helpers.cpp:2279:9 #3 0x7bd2b93e6c71 in rx::ContextVk::flushCommandsAndEndRenderPassWithoutSubmit(rx::RenderPassClosureReason) third_party/angle/src/libANGLE/renderer/vulkan/ContextVk.cpp:7871:36 #4 0x7bd2b93a9559 in flushCommandsAndEndRenderPass third_party/angle/src/libANGLE/renderer/vulkan/ContextVk.cpp:7942:15 #5 0x7bd2b93a9559 in flushDirtyGraphicsRenderPass third_party/angle/src/libANGLE/renderer/vulkan/ContextVk.cpp:7977:15 #6 0x7bd2b93a9559 in rx::ContextVk::handleDirtyGraphicsRenderPass(angle::BitSetT<43ul, unsigned long, unsigned long>::Iterator*, angle::BitSetT<43ul, unsigned long, unsigned long>) third_party/angle/src/libANGLE/renderer/vulkan/ContextVk.cpp:2388:19 #7 0x7bd2b93bc669 in rx::ContextVk::setupDraw(gl::Context const*, gl::PrimitiveMode, int, int, int, gl::DrawElementsType, void const*, angle::BitSetT<43ul, unsigned long, unsigned long>) third_party/angle/src/libANGLE/renderer/vulkan/ContextVk.cpp:1591:17 #8 0x7bd2b93c7047 in rx::ContextVk::drawArrays(gl::Context const*, gl::PrimitiveMode, int, int) third_party/angle/src/libANGLE/renderer/vulkan/ContextVk.cpp:3850:19 #9 0x7bd2b93280c8 in drawArrays third_party/angle/src/libANGLE/Context.inl.h:168:40 #10 0x7bd2b93280c8 in GL_DrawArrays third_party/angle/src/libGLESv2/entry_points_gles_2_0_autogen.cpp:1819:22 #11 0x55c1262e20f8 in ANGLETestBase::drawQuad(unsigned int, std::__Cr::basic_string, std::__Cr::allocator> const&, float, float, bool, bool, bool, unsigned int) third_party/angle/src/tests/test_utils/ANGLETest.cpp:1202:9 #12 0x55c1262e1c29 in drawQuad third_party/angle/src/tests/test_utils/ANGLETest.cpp:1120:5 #13 0x55c1262e1c29 in drawQuad third_party/angle/src/tests/test_utils/ANGLETest.cpp:1111:5 #14 0x55c1262e1c29 in ANGLETestBase::drawQuad(unsigned int, std::__Cr::basic_string, std::__Cr::allocator> const&, float) third_party/angle/src/tests/test_utils/ANGLETest.cpp:1102:5 #15 0x55c12564ef66 in (anonymous namespace)::Texture2DTestES3Foveation_FoveatedFramebufferDeletedWhileRenderPassOpen_Test::TestBody() third_party/angle/src/tests/gl_tests/TextureTest.cpp:15068:5 #16 0x55c126448ecb in HandleExceptionsInMethodIfSupported third_party/googletest/src/googletest/src/gtest.cc #17 0x55c126448ecb in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2746:5 #18 0x55c12644bcf7 in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2892:11 #19 0x55c12644de03 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:3070:30 #20 0x55c12647daca in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:6062:44 #21 0x55c12647c52e in HandleExceptionsInMethodIfSupported third_party/googletest/src/googletest/src/gtest.cc #22 0x55c12647c52e in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:5602:10 #23 0x55c1263d3744 in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2337:73 #24 0x55c1263d3744 in angle::TestSuite::run() third_party/angle/src/tests/test_utils/runner/TestSuite.cpp:1739:22 #25 0x55c1262ecf26 in main third_party/angle/src/tests/angle_end2end_tests_main.cpp:85:22 #26 0x7fd2c00eb249 (/lib/x86_64-linux-gnu/libc.so.6+0x27249) (BuildId: 6196744a316dbd57c0fd8968df1680aac482cec4) 0x7da2beec3bd4 is located 852 bytes inside of 2256-byte region [0x7da2beec3880,0x7da2beec4150) freed by thread T0 here: #0 0x55c12219b842 in operator delete(void*, unsigned long) (/chromium/chromium/src/out/asan/angle_end2end_tests+0x2551842) (BuildId: 51f740748418be40) #1 0x7bd2b990d6e1 in SafeDelete third_party/angle/src/common/angleutils.h:236:5 #2 0x7bd2b990d6e1 in gl::Framebuffer::~Framebuffer() third_party/angle/src/libANGLE/Framebuffer.cpp:843:5 #3 0x7bd2b99f9c3e in DeleteObject third_party/angle/src/libANGLE/ResourceManager.cpp:397:5 #4 0x7bd2b99f9c3e in gl::TypedResourceManager::deleteObject(gl::Context const*, gl::FramebufferID) third_party/angle/src/libANGLE/ResourceManager.cpp:105:9 #5 0x7bd2b986bacd in gl::Context::deleteFramebuffer(gl::FramebufferID) third_party/angle/src/libANGLE/Context.cpp:1376:33 #6 0x7bd2b989b3ab in gl::Context::deleteFramebuffers(int, gl::FramebufferID const*) third_party/angle/src/libANGLE/Context.cpp:7021:13 #7 0x55c12564ef2d in (anonymous namespace)::Texture2DTestES3Foveation_FoveatedFramebufferDeletedWhileRenderPassOpen_Test::TestBody() third_party/angle/src/tests/gl_tests/TextureTest.cpp:15056:5 #8 0x55c126448ecb in HandleExceptionsInMethodIfSupported third_party/googletest/src/googletest/src/gtest.cc #9 0x55c126448ecb in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2746:5 #10 0x55c12644bcf7 in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2892:11 #11 0x55c12644de03 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:3070:30 #12 0x55c12647daca in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:6062:44 #13 0x55c12647c52e in HandleExceptionsInMethodIfSupported third_party/googletest/src/googletest/src/gtest.cc #14 0x55c12647c52e in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:5602:10 #15 0x55c1263d3744 in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2337:73 #16 0x55c1263d3744 in angle::TestSuite::run() third_party/angle/src/tests/test_utils/runner/TestSuite.cpp:1739:22 #17 0x55c1262ecf26 in main third_party/angle/src/tests/angle_end2end_tests_main.cpp:85:22 #18 0x7fd2c00eb249 (/lib/x86_64-linux-gnu/libc.so.6+0x27249) (BuildId: 6196744a316dbd57c0fd8968df1680aac482cec4) previously allocated by thread T0 here: #0 0x55c12219ac3d in operator new(unsigned long) (/chromium/chromium/src/out/asan/angle_end2end_tests+0x2550c3d) (BuildId: 51f740748418be40) #1 0x7bd2b93dc49f in rx::ContextVk::createFramebuffer(gl::FramebufferState const&) third_party/angle/src/libANGLE/renderer/vulkan/ContextVk.cpp:6175:12 #2 0x7bd2b990d26c in gl::Framebuffer::Framebuffer(gl::Context const*, rx::GLImplFactory*, gl::FramebufferID) third_party/angle/src/libANGLE/Framebuffer.cpp:820:22 #3 0x7bd2b99fe7e7 in gl::FramebufferManager::AllocateNewObject(rx::GLImplFactory*, gl::FramebufferID, gl::Context const*) third_party/angle/src/libANGLE/ResourceManager.cpp:390:16 #4 0x7bd2b986dd27 in checkObjectAllocationImpl third_party/angle/src/libANGLE/ResourceManager.h:113:32 #5 0x7bd2b986dd27 in checkObjectAllocation third_party/angle/src/libANGLE/ResourceManager.h:100:16 #6 0x7bd2b986dd27 in gl::FramebufferManager::checkFramebufferAllocation(rx::GLImplFactory*, gl::Context const*, gl::FramebufferID) third_party/angle/src/libANGLE/ResourceManager.h:302:16 #7 0x7bd2b9893244 in bindReadFramebuffer third_party/angle/src/libANGLE/Context.cpp:1580:60 #8 0x7bd2b9893244 in gl::Context::bindFramebuffer(unsigned int, gl::FramebufferID) third_party/angle/src/libANGLE/Context.cpp:6454:9 #9 0x55c12564e119 in (anonymous namespace)::Texture2DTestES3Foveation_FoveatedFramebufferDeletedWhileRenderPassOpen_Test::TestBody() third_party/angle/src/tests/gl_tests/TextureTest.cpp:15022:5 #10 0x55c126448ecb in HandleExceptionsInMethodIfSupported third_party/googletest/src/googletest/src/gtest.cc #11 0x55c126448ecb in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2746:5 #12 0x55c12644bcf7 in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2892:11 #13 0x55c12644de03 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:3070:30 #14 0x55c12647daca in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:6062:44 #15 0x55c12647c52e in HandleExceptionsInMethodIfSupported third_party/googletest/src/googletest/src/gtest.cc #16 0x55c12647c52e in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:5602:10 #17 0x55c1263d3744 in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2337:73 #18 0x55c1263d3744 in angle::TestSuite::run() third_party/angle/src/tests/test_utils/runner/TestSuite.cpp:1739:22 #19 0x55c1262ecf26 in main third_party/angle/src/tests/angle_end2end_tests_main.cpp:85:22 #20 0x7fd2c00eb249 (/lib/x86_64-linux-gnu/libc.so.6+0x27249) (BuildId: 6196744a316dbd57c0fd8968df1680aac482cec4) SUMMARY: AddressSanitizer: heap-use-after-free third_party/angle/src/libANGLE/renderer/vulkan/vk_helpers.cpp:7087:9 in isReadBarrierNecessary Shadow bytes around the buggy address: 0x7da2beec3900: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x7da2beec3980: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x7da2beec3a00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x7da2beec3a80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x7da2beec3b00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd =>0x7da2beec3b80: fd fd fd fd fd fd fd fd fd fd[fd]fd fd fd fd fd 0x7da2beec3c00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x7da2beec3c80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x7da2beec3d00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x7da2beec3d80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x7da2beec3e00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==1416==ABORTING