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 = VulkanPerformanceCounterTest_TileMemory.ReadPixelsDepthThenDeleteThenFlush_UAF/ES3_Vulkan_SwiftShader_SimulateTileMemoryForTesting [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from VulkanPerformanceCounterTest_TileMemory [ RUN ] VulkanPerformanceCounterTest_TileMemory.ReadPixelsDepthThenDeleteThenFlush_UAF/ES3_Vulkan_SwiftShader_SimulateTileMemoryForTesting ================================================================= ==8277==ERROR: AddressSanitizer: heap-use-after-free on address 0x7d02b9e0c4ae at pc 0x7b92b463ca62 bp 0x7ffea94b8d60 sp 0x7ffea94b8d58 READ of size 1 at 0x7d02b9e0c4ae thread T0 #0 0x7b92b463ca61 in rx::vk::ImageHelper::isVkImageContentDefined() const third_party/angle/src/libANGLE/renderer/vulkan/vk_helpers.h:2425:35 #1 0x7b92b43c557e in rx::ContextVk::finalizeImagesWithTileMemory() third_party/angle/src/libANGLE/renderer/vulkan/ContextVk.cpp:9041:20 #2 0x7b92b43bcaf8 in rx::ContextVk::submitCommands(rx::vk::Semaphore const*, std::__Cr::shared_ptr const*, rx::QueueSubmitReason) third_party/angle/src/libANGLE/renderer/vulkan/ContextVk.cpp:3729:19 #3 0x7b92b43ba735 in rx::ContextVk::flushAndSubmitCommands(rx::vk::Semaphore const*, std::__Cr::shared_ptr const*, rx::QueueSubmitReason) third_party/angle/src/libANGLE/renderer/vulkan/ContextVk.cpp:7538:15 #4 0x7b92b43b7395 in rx::ContextVk::finishImpl(rx::QueueSubmitReason) third_party/angle/src/libANGLE/renderer/vulkan/ContextVk.cpp:7558:15 #5 0x7b92b43bba3a in rx::ContextVk::finish(gl::Context const*) third_party/angle/src/libANGLE/renderer/vulkan/ContextVk.cpp:1487:15 #6 0x7b92b432977a in GL_Finish third_party/angle/src/libGLESv2/entry_points_gles_2_0_autogen.cpp:1982:22 #7 0x55f2d1851211 in (anonymous namespace)::VulkanPerformanceCounterTest_TileMemory_ReadPixelsDepthThenDeleteThenFlush_UAF_Test::TestBody() third_party/angle/src/tests/gl_tests/VulkanPerformanceCounterTest.cpp:9735:5 #8 0x55f2d1d9ad0b in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc #9 0x55f2d1d9db37 in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2892:11 #10 0x55f2d1d9fc43 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:3070:30 #11 0x55f2d1dcf90a in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:6062:44 #12 0x55f2d1dce36e in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc #13 0x55f2d1d25584 in angle::TestSuite::run() third_party/googletest/src/googletest/include/gtest/gtest.h:2337:73 #14 0x55f2d1c3ed66 in main third_party/angle/src/tests/angle_end2end_tests_main.cpp:85:22 #15 0x7f92bb07e249 (/lib/x86_64-linux-gnu/libc.so.6+0x27249) (BuildId: 6196744a316dbd57c0fd8968df1680aac482cec4) 0x7d02b9e0c4ae is located 302 bytes inside of 688-byte region [0x7d02b9e0c380,0x7d02b9e0c630) freed by thread T0 here: #0 0x55f2cdaec7c2 in operator delete(void*, unsigned long) (/chromium/chromium/src/out/asan/angle_end2end_tests+0x25517c2) (BuildId: 68a0d01069ffdf96) #1 0x7b92b446e5a2 in rx::RenderbufferVk::onDestroy(gl::Context const*) third_party/angle/src/common/angleutils.h:236:5 #2 0x7b92b49f340b in gl::Renderbuffer::onDestroy(gl::Context const*) third_party/angle/src/libANGLE/Renderbuffer.cpp:117:26 #3 0x7b92b49f75f4 in gl::TypedResourceManager::deleteObject(gl::Context const*, gl::RenderbufferID) third_party/angle/src/libANGLE/RefCountObject.h:45:13 #4 0x7b92b489b1b2 in gl::Context::deleteRenderbuffers(int, gl::RenderbufferID const*) third_party/angle/src/libANGLE/Context.cpp:1318:34 #5 0x55f2d185116e in (anonymous namespace)::VulkanPerformanceCounterTest_TileMemory_ReadPixelsDepthThenDeleteThenFlush_UAF_Test::TestBody() third_party/angle/src/tests/gl_tests/VulkanPerformanceCounterTest.cpp:9721:5 #6 0x55f2d1d9ad0b in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc #7 0x55f2d1d9db37 in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2892:11 #8 0x55f2d1d9fc43 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:3070:30 #9 0x55f2d1dcf90a in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:6062:44 #10 0x55f2d1dce36e in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc #11 0x55f2d1d25584 in angle::TestSuite::run() third_party/googletest/src/googletest/include/gtest/gtest.h:2337:73 #12 0x55f2d1c3ed66 in main third_party/angle/src/tests/angle_end2end_tests_main.cpp:85:22 #13 0x7f92bb07e249 (/lib/x86_64-linux-gnu/libc.so.6+0x27249) (BuildId: 6196744a316dbd57c0fd8968df1680aac482cec4) previously allocated by thread T0 here: #0 0x55f2cdaebbbd in operator new(unsigned long) (/chromium/chromium/src/out/asan/angle_end2end_tests+0x2550bbd) (BuildId: 68a0d01069ffdf96) #1 0x7b92b446eac5 in rx::RenderbufferVk::setStorageImpl(gl::Context const*, int, unsigned int, int, int, gl::MultisamplingMode) third_party/angle/src/libANGLE/renderer/vulkan/RenderbufferVk.cpp:77:31 #2 0x7b92b446f5f3 in rx::RenderbufferVk::setStorage(gl::Context const*, unsigned int, int, int) third_party/angle/src/libANGLE/renderer/vulkan/RenderbufferVk.cpp:174:12 #3 0x7b92b49f3f19 in gl::Renderbuffer::setStorage(gl::Context const*, unsigned int, int, int) third_party/angle/src/libANGLE/Renderbuffer.cpp:148:32 #4 0x55f2d184ff1a in (anonymous namespace)::VulkanPerformanceCounterTest_TileMemory_ReadPixelsDepthThenDeleteThenFlush_UAF_Test::TestBody() third_party/angle/src/tests/gl_tests/VulkanPerformanceCounterTest.cpp:9679:5 #5 0x55f2d1d9ad0b in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc #6 0x55f2d1d9db37 in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2892:11 #7 0x55f2d1d9fc43 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:3070:30 #8 0x55f2d1dcf90a in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:6062:44 #9 0x55f2d1dce36e in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc #10 0x55f2d1d25584 in angle::TestSuite::run() third_party/googletest/src/googletest/include/gtest/gtest.h:2337:73 #11 0x55f2d1c3ed66 in main third_party/angle/src/tests/angle_end2end_tests_main.cpp:85:22 #12 0x7f92bb07e249 (/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.h:2425:35 in rx::vk::ImageHelper::isVkImageContentDefined() const Shadow bytes around the buggy address: 0x7d02b9e0c200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7d02b9e0c280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7d02b9e0c300: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7d02b9e0c380: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x7d02b9e0c400: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd =>0x7d02b9e0c480: fd fd fd fd fd[fd]fd fd fd fd fd fd fd fd fd fd 0x7d02b9e0c500: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x7d02b9e0c580: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x7d02b9e0c600: fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa fa 0x7d02b9e0c680: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7d02b9e0c700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 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 ==8277==ABORTING