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 ================================================================= ==754==ERROR: AddressSanitizer: heap-use-after-free on address 0x6120003922c0 at pc 0x00011d606ea8 bp 0x7ffee00e2030 sp 0x7ffee00e17f0 READ of size 2 at 0x6120003922c0 thread T0 #0 0x11d606ea7 in __asan_after_dynamic_init ??:0:0 #1 0x116c4d091 in gl::GLSurface::ExtensionsContain(char const*, char const*) ??:0:0 #2 0x116c9845f in gl::GLContextEGL::Initialize(gl::GLSurface*, gl::GLContextAttribs const&) ??:0:0 #3 0x116c2ca87 in gl::InitializeGLContext(scoped_refptr<gl::GLContext>, gl::GLSurface*, gl::GLContextAttribs const&) ??:0:0 #4 0x1186c13f6 in gl::init::CreateGLContext(gl::GLShareGroup*, gl::GLSurface*, gl::GLContextAttribs const&) ??:0:0 #5 0x115efbc24 in gpu::GpuChannelManager::GetSharedContextState(gpu::ContextResult*) ??:0:0 #6 0x1114abd04 in gpu::ImageDecodeAcceleratorStubTest::SetUp() ??:0:0 #7 0x11261dcc9 in testing::Test::Run() ??:0:0 #8 0x11262077a in testing::TestInfo::Run() ??:0:0 #9 0x112621e26 in testing::TestSuite::Run() ??:0:0 #10 0x11264f7f6 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #11 0x11264e3fc in testing::UnitTest::Run() ??:0:0 #12 0x115bda4ca in base::TestSuite::Run() ??:0:0 #13 0x115c0bc4a in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #14 0x115c0b801 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #15 0x11012bd28 in main ??:0:0 #16 0x7fff739ce014 in start ??:0:0 0x6120003922c0 is located 0 bytes inside of 304-byte region [0x6120003922c0,0x6120003923f0) freed by thread T0 here: #0 0x11d634c16 in __asan_memmove ??:0:0 #1 0x116c9fbc0 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 0x116c9fb8c 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 0x116c9e1af in gl::RealEGLApi::~RealEGLApi() ??:0:0 #4 0x116c9e35d in gl::RealEGLApi::~RealEGLApi() ??:0:0 #5 0x116c9dea8 in gl::ClearBindingsEGL() ??:0:0 #6 0x1186c084c in gl::init::ShutdownGL(bool) ??:0:0 #7 0x11148ad8e in gpu::GpuChannelTestCommon::~GpuChannelTestCommon() ??:0:0 #8 0x1114ae0ad in gpu::ImageDecodeAcceleratorStubTest_ZeroWidthOutputSize_Test::~ImageDecodeAcceleratorStubTest_ZeroWidthOutputSize_Test() ??:0:0 #9 0x112620870 in testing::TestInfo::Run() ??:0:0 #10 0x112621e26 in testing::TestSuite::Run() ??:0:0 #11 0x11264f7f6 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #12 0x11264e3fc in testing::UnitTest::Run() ??:0:0 #13 0x115bda4ca in base::TestSuite::Run() ??:0:0 #14 0x115c0bc4a in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #15 0x115c0b801 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #16 0x11012bd28 in main ??:0:0 #17 0x7fff739ce014 in start ??:0:0 previously allocated by thread T0 here: #0 0x11d634acd in __asan_memmove ??:0:0 #1 0x11566c279 in operator new(unsigned long) ??:0:0 #2 0x115670d76 in std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::reserve(unsigned long) ??:0:0 #3 0x1159a7317 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 0x116c42115 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 0x116c9ee8b in gl::RealEGLApi::eglQueryStringFn(void*, int) ??:0:0 #6 0x116b6637d in gl::DriverEGL::GetPlatformExtensions() ??:0:0 #7 0x116c805da in gl::DriverEGL::InitializeExtensionBindings() ??:0:0 #8 0x116ca447d in gl::GLSurfaceEGL::InitializeOneOff(int) ??:0:0 #9 0x1186c30a2 in gl::init::InitializeGLOneOffPlatform() ??:0:0 #10 0x1186c06b6 in gl::init::InitializeGLOneOffImplementation(gl::GLImplementation, bool, bool, bool, bool) ??:0:0 #11 0x1172ded13 in gl::(anonymous namespace)::InitializeOneOffHelper(bool) ??:0:0 #12 0x11148a450 in gpu::GpuChannelTestCommon::GpuChannelTestCommon(std::__1::vector<int, std::__1::allocator<int> >, bool) ??:0:0 #13 0x111489efe in gpu::GpuChannelTestCommon::GpuChannelTestCommon(bool) ??:0:0 #14 0x1114b8b3e in testing::internal::TestFactoryImpl<gpu::ImageDecodeAcceleratorStubTest_ZeroWidthOutputSize_Test>::CreateTest() ??:0:0 #15 0x112620523 in testing::TestInfo::Run() ??:0:0 #16 0x112621e26 in testing::TestSuite::Run() ??:0:0 #17 0x11264f7f6 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #18 0x11264e3fc in testing::UnitTest::Run() ??:0:0 #19 0x115bda4ca in base::TestSuite::Run() ??:0:0 #20 0x115c0bc4a in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #21 0x115c0b801 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #22 0x11012bd28 in main ??:0:0 #23 0x7fff739ce014 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 ==754==ABORTING [ RUN ] ImageDecodeAcceleratorStubTest.ZeroHeightOutputSize [1036:775:0425/232933.344924:483509629392:ERROR:image_decode_accelerator_stub.cc(109)] Output dimensions are too small [ OK ] ImageDecodeAcceleratorStubTest.ZeroHeightOutputSize (48 ms) ================================================================================