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

Test 'ImageDecodeAcceleratorStubTest.MultipleDecodesCompletedWhileSequenceIsEnabled' completed with the following status(es): 'CRASH','SUCCESS' Test 'ImageDecodeAcceleratorStubTest.MultipleDecodesCompletedWhileSequenceIsEnabled' had the following logs when run: ================================================================================ [ RUN ] ImageDecodeAcceleratorStubTest.MultipleDecodesCompletedWhileSequenceIsEnabled ================================================================= ==1839==ERROR: AddressSanitizer: heap-use-after-free on address 0x612000392140 at pc 0x00010ed4bea8 bp 0x7fff5e22a0b0 sp 0x7fff5e229870 READ of size 2 at 0x612000392140 thread T0 #0 0x10ed4bea7 in __asan_after_dynamic_init ??:0:0 #1 0x108a32db1 in gl::GLSurface::ExtensionsContain(char const*, char const*) ??:0:0 #2 0x108a7e17f in gl::GLContextEGL::Initialize(gl::GLSurface*, gl::GLContextAttribs const&) ??:0:0 #3 0x108a127a7 in gl::InitializeGLContext(scoped_refptr<gl::GLContext>, gl::GLSurface*, gl::GLContextAttribs const&) ??:0:0 #4 0x10a417906 in gl::init::CreateGLContext(gl::GLShareGroup*, gl::GLSurface*, gl::GLContextAttribs const&) ??:0:0 #5 0x107cdd894 in gpu::GpuChannelManager::GetSharedContextState(gpu::ContextResult*) ??:0:0 #6 0x10337b484 in gpu::ImageDecodeAcceleratorStubTest::SetUp() ??:0:0 #7 0x104404b19 in testing::Test::Run() ??:0:0 #8 0x1044075ca in testing::TestInfo::Run() ??:0:0 #9 0x104408c76 in testing::TestSuite::Run() ??:0:0 #10 0x104436596 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #11 0x10443519c in testing::UnitTest::Run() ??:0:0 #12 0x1079bc52a in base::TestSuite::Run() ??:0:0 #13 0x1079edcaa in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #14 0x1079ed861 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #15 0x101ff9778 in main ??:0:0 #16 0x7fffb6c95234 in start ??:0:0 0x612000392140 is located 0 bytes inside of 304-byte region [0x612000392140,0x612000392270) freed by thread T0 here: #0 0x10ed79c16 in __asan_memmove ??:0:0 #1 0x108a858e0 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 0x108a858ac 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 0x108a83ecf in gl::RealEGLApi::~RealEGLApi() ??:0:0 #4 0x108a8407d in gl::RealEGLApi::~RealEGLApi() ??:0:0 #5 0x108a83bc8 in gl::ClearBindingsEGL() ??:0:0 #6 0x10a416d5c in gl::init::ShutdownGL(bool) ??:0:0 #7 0x10335aabe in gpu::GpuChannelTestCommon::~GpuChannelTestCommon() ??:0:0 #8 0x10337b1bd in gpu::ImageDecodeAcceleratorStubTest_MultipleDecodesCompletedAfterSequenceIsDisabled_Test::~ImageDecodeAcceleratorStubTest_MultipleDecodesCompletedAfterSequenceIsDisabled_Test() ??:0:0 #9 0x1044076c0 in testing::TestInfo::Run() ??:0:0 #10 0x104408c76 in testing::TestSuite::Run() ??:0:0 #11 0x104436596 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #12 0x10443519c in testing::UnitTest::Run() ??:0:0 #13 0x1079bc52a in base::TestSuite::Run() ??:0:0 #14 0x1079edcaa in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #15 0x1079ed861 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #16 0x101ff9778 in main ??:0:0 #17 0x7fffb6c95234 in start ??:0:0 previously allocated by thread T0 here: #0 0x10ed79acd in __asan_memmove ??:0:0 #1 0x10744af89 in operator new(unsigned long) ??:0:0 #2 0x10744fa86 in std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::reserve(unsigned long) ??:0:0 #3 0x107788657 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 0x108a27e35 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 0x108a84bab in gl::RealEGLApi::eglQueryStringFn(void*, int) ??:0:0 #6 0x10894c09d in gl::DriverEGL::GetPlatformExtensions() ??:0:0 #7 0x108a662fa in gl::DriverEGL::InitializeExtensionBindings() ??:0:0 #8 0x108a8a19d in gl::GLSurfaceEGL::InitializeOneOff(int) ??:0:0 #9 0x10a4195b2 in gl::init::InitializeGLOneOffPlatform() ??:0:0 #10 0x10a416bc6 in gl::init::InitializeGLOneOffImplementation(gl::GLImplementation, bool, bool, bool, bool) ??:0:0 #11 0x1090c4e13 in gl::(anonymous namespace)::InitializeOneOffHelper(bool) ??:0:0 #12 0x10335a180 in gpu::GpuChannelTestCommon::GpuChannelTestCommon(std::__1::vector<int, std::__1::allocator<int> >, bool) ??:0:0 #13 0x103359c2e in gpu::GpuChannelTestCommon::GpuChannelTestCommon(bool) ??:0:0 #14 0x10337d8ee in testing::internal::TestFactoryImpl<gpu::ImageDecodeAcceleratorStubTest_MultipleDecodesCompletedAfterSequenceIsDisabled_Test>::CreateTest() ??:0:0 #15 0x104407373 in testing::TestInfo::Run() ??:0:0 #16 0x104408c76 in testing::TestSuite::Run() ??:0:0 #17 0x104436596 in testing::internal::UnitTestImpl::RunAllTests() ??:0:0 #18 0x10443519c in testing::UnitTest::Run() ??:0:0 #19 0x1079bc52a in base::TestSuite::Run() ??:0:0 #20 0x1079edcaa in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) ??:0:0 #21 0x1079ed861 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) ??:0:0 #22 0x101ff9778 in main ??:0:0 #23 0x7fffb6c95234 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: 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 fa fa fa fa fa 0x1c24000723f0: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x1c2400072400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x1c2400072410: 00 00 00 00 00 00 00 00 00 00 00 00 00 fa fa fa =>0x1c2400072420: fa fa fa fa fa fa fa fa[fd]fd fd fd fd fd fd fd 0x1c2400072430: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x1c2400072440: fd fd fd fd fd fd fd fd fd fd fd fd fd fd 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 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 ==1839==ABORTING [ RUN ] ImageDecodeAcceleratorStubTest.MultipleDecodesCompletedWhileSequenceIsEnabled [ OK ] ImageDecodeAcceleratorStubTest.MultipleDecodesCompletedWhileSequenceIsEnabled (47 ms) ================================================================================