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 ================================================================= ==25249==ERROR: AddressSanitizer: heap-use-after-free on address 0x612000391e40 at pc 0x00011be98ea8 bp 0x7ffee1867050 sp 0x7ffee1866810 READ of size 2 at 0x612000391e40 thread T0 #0 0x11be98ea7 in __asan_after_dynamic_init ??:0:0 #1 0x1154de611 in gl::GLSurface::ExtensionsContain(char const*, char const*) ??:0:0 #2 0x1155299df in gl::GLContextEGL::Initialize(gl::GLSurface*, gl::GLContextAttribs const&) ??:0:0 #3 0x1154be007 in gl::InitializeGLContext(scoped_refptr<gl::GLContext>, gl::GLSurface*, gl::GLContextAttribs const&) ??:0:0 #4 0x116f50446 in gl::init::CreateGLContext(gl::GLShareGroup*, gl::GLSurface*, gl::GLContextAttribs const&) ??:0:0 #5 0x11478c7e4 in gpu::GpuChannelManager::GetSharedContextState(gpu::ContextResult*) ??:0:0 #6 0x10fd2da24 in gpu::ImageDecodeAcceleratorStubTest::SetUp() ??:0:0 #7 0x110ea0ad9 in testing::Test::Run() ??:0:0 #8 0x110ea358a in testing::TestInfo::Run() ??:0:0 #9 0x110ea4c36 in testing::TestSuite::Run() ??:0:0 #10 0x110ed2606 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #11 0x110ed120c in testing::UnitTest::Run() ??:0:0 #12 0x11446b0ba in base::TestSuite::Run() ??:0:0 #13 0x11449c83a in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #14 0x11449c3f1 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #15 0x10e9a7068 in main ??:0:0 #16 0x7fff72271014 in start ??:0:0 0x612000391e40 is located 0 bytes inside of 304-byte region [0x612000391e40,0x612000391f70) freed by thread T0 here: #0 0x11bec6c16 in __asan_memmove ??:0:0 #1 0x115531140 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 0x11553110c 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 0x11552f72f in gl::RealEGLApi::~RealEGLApi() ??:0:0 #4 0x11552f8dd in gl::RealEGLApi::~RealEGLApi() ??:0:0 #5 0x11552f428 in gl::ClearBindingsEGL() ??:0:0 #6 0x116f4f89c in gl::init::ShutdownGL(bool) ??:0:0 #7 0x10fd0caae in gpu::GpuChannelTestCommon::~GpuChannelTestCommon() ??:0:0 #8 0x10fd2fdcd in gpu::ImageDecodeAcceleratorStubTest_ZeroWidthOutputSize_Test::~ImageDecodeAcceleratorStubTest_ZeroWidthOutputSize_Test() ??:0:0 #9 0x110ea3680 in testing::TestInfo::Run() ??:0:0 #10 0x110ea4c36 in testing::TestSuite::Run() ??:0:0 #11 0x110ed2606 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #12 0x110ed120c in testing::UnitTest::Run() ??:0:0 #13 0x11446b0ba in base::TestSuite::Run() ??:0:0 #14 0x11449c83a in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #15 0x11449c3f1 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #16 0x10e9a7068 in main ??:0:0 #17 0x7fff72271014 in start ??:0:0 previously allocated by thread T0 here: #0 0x11bec6acd in __asan_memmove ??:0:0 #1 0x113efa549 in operator new(unsigned long) ??:0:0 #2 0x113eff046 in std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::reserve(unsigned long) ??:0:0 #3 0x1142380d7 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 0x1154d3695 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 0x11553040b in gl::RealEGLApi::eglQueryStringFn(void*, int) ??:0:0 #6 0x1153f78fd in gl::DriverEGL::GetPlatformExtensions() ??:0:0 #7 0x115511b5a in gl::DriverEGL::InitializeExtensionBindings() ??:0:0 #8 0x1155359fd in gl::GLSurfaceEGL::InitializeOneOff(int) ??:0:0 #9 0x116f520f2 in gl::init::InitializeGLOneOffPlatform() ??:0:0 #10 0x116f4f706 in gl::init::InitializeGLOneOffImplementation(gl::GLImplementation, bool, bool, bool, bool) ??:0:0 #11 0x115b70293 in gl::(anonymous namespace)::InitializeOneOffHelper(bool) ??:0:0 #12 0x10fd0c170 in gpu::GpuChannelTestCommon::GpuChannelTestCommon(std::__1::vector<int, std::__1::allocator<int> >, bool) ??:0:0 #13 0x10fd0bc1e in gpu::GpuChannelTestCommon::GpuChannelTestCommon(bool) ??:0:0 #14 0x10fd3a85e in testing::internal::TestFactoryImpl<gpu::ImageDecodeAcceleratorStubTest_ZeroWidthOutputSize_Test>::CreateTest() ??:0:0 #15 0x110ea3333 in testing::TestInfo::Run() ??:0:0 #16 0x110ea4c36 in testing::TestSuite::Run() ??:0:0 #17 0x110ed2606 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #18 0x110ed120c in testing::UnitTest::Run() ??:0:0 #19 0x11446b0ba in base::TestSuite::Run() ??:0:0 #20 0x11449c83a in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #21 0x11449c3f1 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #22 0x10e9a7068 in main ??:0:0 #23 0x7fff72271014 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: 0x1c2400072370: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2400072380: fd fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa 0x1c2400072390: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x1c24000723a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x1c24000723b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 fa fa fa =>0x1c24000723c0: fa fa fa fa fa fa fa fa[fd]fd fd fd fd fd fd fd 0x1c24000723d0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c24000723e0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa fa 0x1c24000723f0: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 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 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 ==25249==ABORTING [ RUN ] ImageDecodeAcceleratorStubTest.ZeroHeightOutputSize [25533:775:0423/212727.108272:22016746745448:ERROR:image_decode_accelerator_stub.cc(109)] Output dimensions are too small [ OK ] ImageDecodeAcceleratorStubTest.ZeroHeightOutputSize (29 ms) ================================================================================