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 = PalettedTextureTestES2.CopyTexSubImagePalettedHeapOOB/ES2_Vulkan_SwiftShader [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from PalettedTextureTestES2 [ RUN ] PalettedTextureTestES2.CopyTexSubImagePalettedHeapOOB/ES2_Vulkan_SwiftShader ================================================================= ==1419==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7b2e38f41801 at pc 0x7b2e378cc436 bp 0x7fff52ecb7c0 sp 0x7fff52ecb7b8 WRITE of size 1 at 0x7b2e38f41801 thread T0 #0 0x7b2e378cc435 in angle::R8G8B8A8::writeColor(angle::R8G8B8A8*, angle::Color const*) third_party/angle/src/image_util/imageformats.cpp:370:12 #1 0x7b2e36580cc6 in rx::PackPixels(rx::PackPixelsParams const&, angle::Format const&, int, unsigned char const*, unsigned char*) third_party/angle/src/libANGLE/renderer/renderer_utils.cpp:635:13 #2 0x7b2e36065364 in rx::vk::ImageHelper::packReadPixelBuffer(rx::ContextVk*, gl::RectangleImpl const&, rx::PackPixelsParams const&, angle::Format const&, angle::Format const&, unsigned char const*, gl::LevelIndexWrapper, void*) third_party/angle/src/libANGLE/renderer/vulkan/vk_helpers.cpp:11632:9 #3 0x7b2e36063882 in rx::vk::ImageHelper::readPixelsImpl(rx::ContextVk*, gl::RectangleImpl const&, rx::PackPixelsParams const&, VkImageAspectFlagBits, gl::LevelIndexWrapper, unsigned int, void*) third_party/angle/src/libANGLE/renderer/vulkan/vk_helpers.cpp:11581:12 #4 0x7b2e3605f6a6 in rx::vk::ImageHelper::readPixels(rx::ContextVk*, gl::RectangleImpl const&, rx::PackPixelsParams const&, VkImageAspectFlagBits, gl::LevelIndexWrapper, unsigned int, void*) third_party/angle/src/libANGLE/renderer/vulkan/vk_helpers.cpp:11319:12 #5 0x7b2e35e1ae5c in rx::FramebufferVk::readPixelsImpl(rx::ContextVk*, gl::RectangleImpl const&, rx::PackPixelsParams const&, VkImageAspectFlagBits, rx::RenderTargetVk*, void*) third_party/angle/src/libANGLE/renderer/vulkan/FramebufferVk.cpp:4052:44 #6 0x7b2e36051f0a in rx::vk::ImageHelper::stageSubresourceUpdateFromFramebuffer(gl::Context const*, gl::ImageIndex const&, gl::RectangleImpl const&, angle::Offset const&, angle::Extents const&, gl::InternalFormat const&, rx::vk::ImageFormatSupport, rx::FramebufferVk*) third_party/angle/src/libANGLE/renderer/vulkan/vk_helpers.cpp:9448:34 #7 0x7b2e35ec9fc3 in rx::TextureVk::copySubImageImpl(gl::Context const*, gl::ImageIndex const&, angle::Offset const&, gl::RectangleImpl const&, gl::InternalFormat const&, gl::Framebuffer*) third_party/angle/src/libANGLE/renderer/vulkan/TextureVk.cpp:1714:23 #8 0x7b2e35eca7f3 in rx::TextureVk::copySubImage(gl::Context const*, gl::ImageIndex const&, angle::Offset const&, gl::RectangleImpl const&, gl::Framebuffer*) third_party/angle/src/libANGLE/renderer/vulkan/TextureVk.cpp:1486:12 #9 0x7b2e364621a6 in gl::Texture::copySubImage(gl::Context*, gl::ImageIndex const&, angle::Offset const&, gl::RectangleImpl const&, gl::Framebuffer*) third_party/angle/src/libANGLE/Texture.cpp:1613:25 #10 0x7b2e3628ad57 in gl::Context::copyTexSubImage2D(gl::TextureTarget, int, int, int, int, int, int, int) third_party/angle/src/libANGLE/Context.cpp:5192:32 #11 0x7b2e35d26617 in GL_CopyTexSubImage2D third_party/angle/src/libGLESv2/entry_points_gles_2_0_autogen.cpp:1142:22 #12 0x564ff905362b in PalettedTextureTestES2_CopyTexSubImagePalettedHeapOOB_Test::TestBody() third_party/angle/src/tests/gl_tests/PalettedTextureTest.cpp:253:5 #13 0x564ffaeddc0b in HandleExceptionsInMethodIfSupported third_party/googletest/src/googletest/src/gtest.cc #14 0x564ffaeddc0b in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2746:5 #15 0x564ffaee0a37 in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2892:11 #16 0x564ffaee2b43 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:3070:30 #17 0x564ffaf1280a in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:6062:44 #18 0x564ffaf1126e in HandleExceptionsInMethodIfSupported third_party/googletest/src/googletest/src/gtest.cc #19 0x564ffaf1126e in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:5602:10 #20 0x564ffae68484 in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2337:73 #21 0x564ffae68484 in angle::TestSuite::run() third_party/angle/src/tests/test_utils/runner/TestSuite.cpp:1739:22 #22 0x564ffad81c66 in main third_party/angle/src/tests/angle_end2end_tests_main.cpp:85:22 #23 0x7f2e3cb25249 (/lib/x86_64-linux-gnu/libc.so.6+0x27249) (BuildId: 6196744a316dbd57c0fd8968df1680aac482cec4) 0x7b2e38f41801 is located 1 bytes after 262144-byte region [0x7b2e38f01800,0x7b2e38f41800) allocated by thread T0 here: #0 0x564ff6bf68a4 in malloc (/chromium/chromium/src/out/asan/angle_end2end_tests+0x25178a4) (BuildId: 3ca35251ca4d7b69) #1 0x7b2e3788568e in reserve third_party/angle/src/common/MemoryBuffer.cpp:56:49 #2 0x7b2e3788568e in resize third_party/angle/src/common/MemoryBuffer.cpp:40:10 #3 0x7b2e3788568e in angle::ScratchBuffer::getImpl(unsigned long, angle::MemoryBuffer**, Optional) third_party/angle/src/common/MemoryBuffer.cpp:169:29 #4 0x7b2e3788553c in angle::ScratchBuffer::get(unsigned long, angle::MemoryBuffer**) third_party/angle/src/common/MemoryBuffer.cpp:139:12 #5 0x7b2e36294016 in gl::Context::getScratchBuffer(unsigned long, angle::MemoryBuffer**) const third_party/angle/src/libANGLE/Context.cpp:6652:35 #6 0x7b2e36051ec2 in rx::vk::ImageHelper::stageSubresourceUpdateFromFramebuffer(gl::Context const*, gl::ImageIndex const&, gl::RectangleImpl const&, angle::Offset const&, angle::Extents const&, gl::InternalFormat const&, rx::vk::ImageFormatSupport, rx::FramebufferVk*) third_party/angle/src/libANGLE/renderer/vulkan/vk_helpers.cpp:9445:50 #7 0x7b2e35ec9fc3 in rx::TextureVk::copySubImageImpl(gl::Context const*, gl::ImageIndex const&, angle::Offset const&, gl::RectangleImpl const&, gl::InternalFormat const&, gl::Framebuffer*) third_party/angle/src/libANGLE/renderer/vulkan/TextureVk.cpp:1714:23 #8 0x7b2e35eca7f3 in rx::TextureVk::copySubImage(gl::Context const*, gl::ImageIndex const&, angle::Offset const&, gl::RectangleImpl const&, gl::Framebuffer*) third_party/angle/src/libANGLE/renderer/vulkan/TextureVk.cpp:1486:12 #9 0x7b2e364621a6 in gl::Texture::copySubImage(gl::Context*, gl::ImageIndex const&, angle::Offset const&, gl::RectangleImpl const&, gl::Framebuffer*) third_party/angle/src/libANGLE/Texture.cpp:1613:25 #10 0x7b2e3628ad57 in gl::Context::copyTexSubImage2D(gl::TextureTarget, int, int, int, int, int, int, int) third_party/angle/src/libANGLE/Context.cpp:5192:32 #11 0x7b2e35d26617 in GL_CopyTexSubImage2D third_party/angle/src/libGLESv2/entry_points_gles_2_0_autogen.cpp:1142:22 #12 0x564ff905362b in PalettedTextureTestES2_CopyTexSubImagePalettedHeapOOB_Test::TestBody() third_party/angle/src/tests/gl_tests/PalettedTextureTest.cpp:253:5 #13 0x564ffaeddc0b in HandleExceptionsInMethodIfSupported third_party/googletest/src/googletest/src/gtest.cc #14 0x564ffaeddc0b in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2746:5 #15 0x564ffaee0a37 in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2892:11 #16 0x564ffaee2b43 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:3070:30 #17 0x564ffaf1280a in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:6062:44 #18 0x564ffaf1126e in HandleExceptionsInMethodIfSupported third_party/googletest/src/googletest/src/gtest.cc #19 0x564ffaf1126e in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:5602:10 #20 0x564ffae68484 in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2337:73 #21 0x564ffae68484 in angle::TestSuite::run() third_party/angle/src/tests/test_utils/runner/TestSuite.cpp:1739:22 #22 0x564ffad81c66 in main third_party/angle/src/tests/angle_end2end_tests_main.cpp:85:22 #23 0x7f2e3cb25249 (/lib/x86_64-linux-gnu/libc.so.6+0x27249) (BuildId: 6196744a316dbd57c0fd8968df1680aac482cec4) SUMMARY: AddressSanitizer: heap-buffer-overflow third_party/angle/src/image_util/imageformats.cpp:370:12 in angle::R8G8B8A8::writeColor(angle::R8G8B8A8*, angle::Color const*) Shadow bytes around the buggy address: 0x7b2e38f41580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7b2e38f41600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7b2e38f41680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7b2e38f41700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7b2e38f41780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7b2e38f41800:[fa]fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7b2e38f41880: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7b2e38f41900: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7b2e38f41980: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7b2e38f41a00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7b2e38f41a80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 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 ==1419==ABORTING