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

Test 'ImageDecodeAcceleratorStubTest.ZeroHeightOutputSize' completed with the following status(es): 'CRASH','SUCCESS' Test 'ImageDecodeAcceleratorStubTest.ZeroHeightOutputSize' had the following logs when run: ================================================================================ [ RUN ] ImageDecodeAcceleratorStubTest.ZeroHeightOutputSize ================================================================= ==13765==ERROR: AddressSanitizer: heap-use-after-free on address 0x6120003922c0 at pc 0x00010db51ea8 bp 0x7ffeefbad030 sp 0x7ffeefbac7f0 READ of size 2 at 0x6120003922c0 thread T0 #0 0x10db51ea7 in __asan_after_dynamic_init ??:0:0 #1 0x1071985f1 in gl::GLSurface::ExtensionsContain(char const*, char const*) ??:0:0 #2 0x1071e39bf in gl::GLContextEGL::Initialize(gl::GLSurface*, gl::GLContextAttribs const&) ??:0:0 #3 0x107177fe7 in gl::InitializeGLContext(scoped_refptr<gl::GLContext>, gl::GLSurface*, gl::GLContextAttribs const&) ??:0:0 #4 0x108c0a426 in gl::init::CreateGLContext(gl::GLShareGroup*, gl::GLSurface*, gl::GLContextAttribs const&) ??:0:0 #5 0x1064467c4 in gpu::GpuChannelManager::GetSharedContextState(gpu::ContextResult*) ??:0:0 #6 0x1019e75a4 in gpu::ImageDecodeAcceleratorStubTest::SetUp() ??:0:0 #7 0x102b5a659 in testing::Test::Run() ??:0:0 #8 0x102b5d10a in testing::TestInfo::Run() ??:0:0 #9 0x102b5e7b6 in testing::TestSuite::Run() ??:0:0 #10 0x102b8c186 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #11 0x102b8ad8c in testing::UnitTest::Run() ??:0:0 #12 0x10612509a in base::TestSuite::Run() ??:0:0 #13 0x10615681a in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #14 0x1061563d1 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #15 0x100660be8 in main ??:0:0 #16 0x7fff61c6b014 in start ??:0:0 0x6120003922c0 is located 0 bytes inside of 304-byte region [0x6120003922c0,0x6120003923f0) freed by thread T0 here: #0 0x10db7fc16 in __asan_memmove ??:0:0 #1 0x1071eb120 in std::__1::__tree<std::__1::__value_type<void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::__map_value_compare<void*, std::__1::__value_type<void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::less<void*>, true>, std::__1::allocator<std::__1::__value_type<void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >::destroy(std::__1::__tree_node<std::__1::__value_type<void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, void*>*) ??:0:0 #2 0x1071eb0ec in std::__1::__tree<std::__1::__value_type<void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::__map_value_compare<void*, std::__1::__value_type<void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::less<void*>, true>, std::__1::allocator<std::__1::__value_type<void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >::destroy(std::__1::__tree_node<std::__1::__value_type<void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, void*>*) ??:0:0 #3 0x1071e970f in gl::RealEGLApi::~RealEGLApi() ??:0:0 #4 0x1071e98bd in gl::RealEGLApi::~RealEGLApi() ??:0:0 #5 0x1071e9408 in gl::ClearBindingsEGL() ??:0:0 #6 0x108c0987c in gl::init::ShutdownGL(bool) ??:0:0 #7 0x1019c662e in gpu::GpuChannelTestCommon::~GpuChannelTestCommon() ??:0:0 #8 0x1019e994d in gpu::ImageDecodeAcceleratorStubTest_ZeroWidthOutputSize_Test::~ImageDecodeAcceleratorStubTest_ZeroWidthOutputSize_Test() ??:0:0 #9 0x102b5d200 in testing::TestInfo::Run() ??:0:0 #10 0x102b5e7b6 in testing::TestSuite::Run() ??:0:0 #11 0x102b8c186 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #12 0x102b8ad8c in testing::UnitTest::Run() ??:0:0 #13 0x10612509a in base::TestSuite::Run() ??:0:0 #14 0x10615681a in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #15 0x1061563d1 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #16 0x100660be8 in main ??:0:0 #17 0x7fff61c6b014 in start ??:0:0 previously allocated by thread T0 here: #0 0x10db7facd in __asan_memmove ??:0:0 #1 0x105bb4149 in operator new(unsigned long) ??:0:0 #2 0x105bb8c46 in std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::reserve(unsigned long) ??:0:0 #3 0x105ef1cd7 in base::JoinString(std::__1::vector<base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > > const&, base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) ??:0:0 #4 0x10718d675 in gl::FilterGLExtensionList(char const*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) ??:0:0 #5 0x1071ea3eb in gl::RealEGLApi::eglQueryStringFn(void*, int) ??:0:0 #6 0x1070b18dd in gl::DriverEGL::GetPlatformExtensions() ??:0:0 #7 0x1071cbb3a in gl::DriverEGL::InitializeExtensionBindings() ??:0:0 #8 0x1071ef9dd in gl::GLSurfaceEGL::InitializeOneOff(int) ??:0:0 #9 0x108c0c0d2 in gl::init::InitializeGLOneOffPlatform() ??:0:0 #10 0x108c096e6 in gl::init::InitializeGLOneOffImplementation(gl::GLImplementation, bool, bool, bool, bool) ??:0:0 #11 0x10782a273 in gl::(anonymous namespace)::InitializeOneOffHelper(bool) ??:0:0 #12 0x1019c5cf0 in gpu::GpuChannelTestCommon::GpuChannelTestCommon(std::__1::vector<int, std::__1::allocator<int> >, bool) ??:0:0 #13 0x1019c579e in gpu::GpuChannelTestCommon::GpuChannelTestCommon(bool) ??:0:0 #14 0x1019f43de in testing::internal::TestFactoryImpl<gpu::ImageDecodeAcceleratorStubTest_ZeroWidthOutputSize_Test>::CreateTest() ??:0:0 #15 0x102b5ceb3 in testing::TestInfo::Run() ??:0:0 #16 0x102b5e7b6 in testing::TestSuite::Run() ??:0:0 #17 0x102b8c186 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #18 0x102b8ad8c in testing::UnitTest::Run() ??:0:0 #19 0x10612509a in base::TestSuite::Run() ??:0:0 #20 0x10615681a in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #21 0x1061563d1 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #22 0x100660be8 in main ??:0:0 #23 0x7fff61c6b014 in start ??:0:0 SUMMARY: AddressSanitizer: heap-use-after-free (/b/s/w/ir/out/Release/libclang_rt.asan_osx_dynamic.dylib:x86_64+0x14ea7) Shadow bytes around the buggy address: 0x1c2400072400: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2400072410: fd fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa 0x1c2400072420: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x1c2400072430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x1c2400072440: 00 00 00 00 00 00 00 00 00 00 00 00 00 fa fa fa =>0x1c2400072450: fa fa fa fa fa fa fa fa[fd]fd fd fd fd fd fd fd 0x1c2400072460: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2400072470: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa fa 0x1c2400072480: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x1c2400072490: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c24000724a0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd 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 Shadow gap: cc ==13765==ABORTING [ RUN ] ImageDecodeAcceleratorStubTest.ZeroHeightOutputSize [14046:775:0424/035604.543243:3787922257093:ERROR:image_decode_accelerator_stub.cc(109)] Output dimensions are too small [ OK ] ImageDecodeAcceleratorStubTest.ZeroHeightOutputSize (48 ms) ================================================================================