New issue
Advanced search Search tips

Issue 853194 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: ----



Sign in to add a comment

Multiple MSan bots failing because of initialized value in gpu_process_host.cc

Project Member Reported by sheriff-...@appspot.gserviceaccount.com, Jun 15 2018

Issue description

Filed by sheriff-o-matic@appspot.gserviceaccount.com on behalf of fdoray@chromium.org

components_browsertests failing on chromium.memory/Linux ChromiumOS MSan Tests

Builders failed on: 
- Linux ChromiumOS MSan Tests: 
  https://ci.chromium.org/buildbot/chromium.memory/Linux%20ChromiumOS%20MSan%20Tests

Sample failure:

Uninitialized bytes in __msan_check_mem_is_initialized at offset 0 inside [0x7fff6f3df5b4, 4)
==10432==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x1360bd5e in WriteBytesCommon ./../../base/pickle.cc:430:3
    #1 0x1360bd5e in void base::Pickle::WriteBytesStatic<4ul>(void const*) ./../../base/pickle.cc:395:0
    #2 0xa65f7fc in WritePOD<int> ./../../base/pickle.h:327:5
    #3 0xa65f7fc in WriteInt ./../../base/pickle.h:190:0
    #4 0xa65f7fc in Write ./../../ipc/ipc_message_utils.h:174:0
    #5 0xa65f7fc in WriteParam<int> ./../../ipc/ipc_message_utils.h:110:0
    #6 0xa65f7fc in IPC::ParamTraits<gpu::FlushParams>::Write(base::Pickle*, gpu::FlushParams const&) ./../../gpu/ipc/common/gpu_param_traits_macros.h:25:0
    #7 0xa6581d0 in WriteParam<gpu::FlushParams> ./../../ipc/ipc_message_utils.h:110:3
    #8 0xa6581d0 in Write ./../../ipc/ipc_message_utils.h:379:0
    #9 0xa6581d0 in WriteParam<std::__1::vector<gpu::FlushParams, std::__1::allocator<gpu::FlushParams> > > ./../../ipc/ipc_message_utils.h:110:0
    #10 0xa6581d0 in Write ./../../ipc/ipc_message_utils.h:753:0
    #11 0xa6581d0 in Write ./../../ipc/ipc_message_utils.h:785:0
    #12 0xa6581d0 in WriteParam<std::__1::tuple<const std::__1::vector<gpu::FlushParams, std::__1::allocator<gpu::FlushParams> > &> > ./../../ipc/ipc_message_utils.h:110:0
    #13 0xa6581d0 in IPC::MessageT<GpuChannelMsg_FlushCommandBuffers_Meta, std::__1::tuple<std::__1::vector<gpu::FlushParams, std::__1::allocator<gpu::FlushParams> > >, void>::MessageT(IPC::Routing, std::__1::vector<gpu::FlushParams, std::__1::allocator<gpu::FlushParams> > const&) ./../../ipc/ipc_message_templates_impl.h:29:0
    #14 0xae25407 in MessageT<true, false> ./../../ipc/ipc_message_templates.h:124:33
    #15 0xae25407 in InternalFlush ./../../gpu/ipc/client/gpu_channel_host.cc:143:0
    #16 0xae25407 in gpu::GpuChannelHost::EnsureFlush(unsigned int) ./../../gpu/ipc/client/gpu_channel_host.cc:123:0
    #17 0xae0e3b8 in gpu::CommandBufferProxyImpl::Flush(int) ./../../gpu/ipc/client/command_buffer_proxy_impl.cc:258:15
    #18 0xabcbfb6 in gpu::CommandBufferHelper::Flush() ./../../gpu/command_buffer/client/cmd_buffer_helper.cc:182:22
    #19 0x1ac894e6 in FlushHelper ./../../gpu/command_buffer/client/gles2_implementation.cc:1266:33
    #20 0x1ac894e6 in gpu::gles2::GLES2Implementation::Flush() ./../../gpu/command_buffer/client/gles2_implementation.cc:1249:0
    #21 0x1ac7f08a in gpu::gles2::GLES2Implementation::SetAggressivelyFreeResources(bool) ./../../gpu/command_buffer/client/gles2_implementation.cc:436:5
    #22 0x1ac59ffe in viz::ContextCacheController::ClientBecameNotVisible(std::__1::unique_ptr<viz::ContextCacheController::ScopedToken, std::__1::default_delete<viz::ContextCacheController::ScopedToken> >) ./../../components/viz/common/gpu/context_cache_controller.cc:85:23
    #23 0x1c12819a in viz::GLRenderer::~GLRenderer() ./../../components/viz/service/display/gl_renderer.cc:347:23
    #24 0x1c129e8c in viz::GLRenderer::~GLRenderer() ./../../components/viz/service/display/gl_renderer.cc:341:27
    #25 0x1c0df05e in operator() ./../../buildtools/third_party/libc++/trunk/include/memory:2321:5
    #26 0x1c0df05e in reset ./../../buildtools/third_party/libc++/trunk/include/memory:2634:0
    #27 0x1c0df05e in ~unique_ptr ./../../buildtools/third_party/libc++/trunk/include/memory:2588:0
    #28 0x1c0df05e in viz::Display::~Display() ./../../components/viz/service/display/display.cc:83:0
    #29 0x1c0dfa1c in viz::Display::~Display() ./../../components/viz/service/display/display.cc:63:21
    #30 0xd968df3 in operator() ./../../buildtools/third_party/libc++/trunk/include/memory:2321:5
    #31 0xd968df3 in reset ./../../buildtools/third_party/libc++/trunk/include/memory:2634:0
    #32 0xd968df3 in ~unique_ptr ./../../buildtools/third_party/libc++/trunk/include/memory:2588:0
    #33 0xd968df3 in content::GpuProcessTransportFactory::PerCompositorData::~PerCompositorData() ./../../content/browser/compositor/gpu_process_transport_factory.cc:150:0
    #34 0xd9673d6 in operator() ./../../buildtools/third_party/libc++/trunk/include/memory:2321:5
    #35 0xd9673d6 in reset ./../../buildtools/third_party/libc++/trunk/include/memory:2634:0
    #36 0xd9673d6 in ~unique_ptr ./../../buildtools/third_party/libc++/trunk/include/memory:2588:0
    #37 0xd9673d6 in ~pair ./../../buildtools/third_party/libc++/trunk/include/utility:312:0
    #38 0xd9673d6 in __destroy<std::__1::pair<ui::Compositor *const, std::__1::unique_ptr<content::GpuProcessTransportFactory::PerCompositorData, std::__1::default_delete<content::GpuProcessTransportFactory::PerCompositorData> > > > ./../../buildtools/third_party/libc++/trunk/include/memory:1733:0
    #39 0xd9673d6 in destroy<std::__1::pair<ui::Compositor *const, std::__1::unique_ptr<content::GpuProcessTransportFactory::PerCompositorData, std::__1::default_delete<content::GpuProcessTransportFactory::PerCompositorData> > > > ./../../buildtools/third_party/libc++/trunk/include/memory:1596:0
    #40 0xd9673d6 in std::__1::__tree<std::__1::__value_type<ui::Compositor*, std::__1::unique_ptr<content::GpuProcessTransportFactory::PerCompositorData, std::__1::default_delete<content::GpuProcessTransportFactory::PerCompositorData> > >, std::__1::__map_value_compare<ui::Compositor*, std::__1::__value_type<ui::Compositor*, std::__1::unique_ptr<content::GpuProcessTransportFactory::PerCompositorData, std::__1::default_delete<content::GpuProcessTransportFactory::PerCompositorData> > >, std::__1::less<ui::Compositor*>, true>, std::__1::allocator<std::__1::__value_type<ui::Compositor*, std::__1::unique_ptr<content::GpuProcessTransportFactory::PerCompositorData, std::__1::default_delete<content::GpuProcessTransportFactory::PerCompositorData> > > > >::erase(std::__1::__tree_const_iterator<std::__1::__value_type<ui::Compositor*, std::__1::unique_ptr<content::GpuProcessTransportFactory::PerCompositorData, std::__1::default_delete<content::GpuProcessTransportFactory::PerCompositorData> > >, std::__1::__tree_node<std::__1::__value_type<ui::Compositor*, std::__1::unique_ptr<content::GpuProcessTransportFactory::PerCompositorData, std::__1::default_delete<content::GpuProcessTransportFactory::PerCompositorData> > >, void*>*, long>) ./../../buildtools/third_party/libc++/trunk/include/__tree:2368:0
    #41 0xd95d705 in erase ./../../buildtools/third_party/libc++/trunk/include/map:1194:56
    #42 0xd95d705 in content::GpuProcessTransportFactory::RemoveCompositor(ui::Compositor*) ./../../content/browser/compositor/gpu_process_transport_factory.cc:732:0
    #43 0x1bfcacef in ui::Compositor::~Compositor() ./../../ui/compositor/compositor.cc:250:21
    #44 0x1bfce39c in ui::Compositor::~Compositor() ./../../ui/compositor/compositor.cc:231:27
    #45 0x1bf74ff7 in aura::WindowTreeHostPlatform::~WindowTreeHostPlatform() ./../../ui/aura/window_tree_host_platform.cc:83:3
    #46 0x20657d4c in ~AshWindowTreeHostPlatform ./../../ash/host/ash_window_tree_host_platform.cc:41:55
    #47 0x20657d4c in ash::AshWindowTreeHostPlatform::~AshWindowTreeHostPlatform() ./../../ash/host/ash_window_tree_host_platform.cc:41:0
    #48 0x206ee2d4 in operator() ./../../buildtools/third_party/libc++/trunk/include/memory:2321:5
    #49 0x206ee2d4 in reset ./../../buildtools/third_party/libc++/trunk/include/memory:2634:0
    #50 0x206ee2d4 in ash::RootWindowController::~RootWindowController() ./../../ash/root_window_controller.cc:286:0
    #51 0x205f96d7 in ash::WindowTreeHostManager::Shutdown() ./../../ash/display/window_tree_host_manager.cc:229:3
    #52 0x207bc7b7 in ash::Shell::~Shell() ./../../ash/shell.cc:908:30
    #53 0x207c582c in ash::Shell::~Shell() ./../../ash/shell.cc:724:17
    #54 0x21c1c7d8 in AshShellInit::~AshShellInit() ./../../chrome/browser/ui/ash/ash_shell_init.cc:58:3
    #55 0x21c2d11b in operator() ./../../buildtools/third_party/libc++/trunk/include/memory:2321:5
    #56 0x21c2d11b in reset ./../../buildtools/third_party/libc++/trunk/include/memory:2634:0
    #57 0x21c2d11b in ChromeBrowserMainExtraPartsAsh::PostMainMessageLoopRun() ./../../chrome/browser/ui/ash/chrome_browser_main_extra_parts_ash.cc:305:0
    #58 0x13b5495d in ChromeBrowserMainParts::PostMainMessageLoopRun() ./../../chrome/browser/chrome_browser_main.cc:2079:29
    #59 0x76d10b8 in chromeos::ChromeBrowserMainPartsChromeos::PostMainMessageLoopRun() ./../../chrome/browser/chromeos/chrome_browser_main_chromeos.cc:1130:32
    #60 0xbf765ec in content::BrowserMainLoop::ShutdownThreadsAndCleanUp() ./../../content/browser/browser_main_loop.cc:1009:13
    #61 0xbf82b25 in content::BrowserMainRunnerImpl::Shutdown() ./../../content/browser/browser_main_runner_impl.cc:224:17
    #62 0xbf61501 in content::BrowserMain(content::MainFunctionParams const&, std::__1::unique_ptr<content::BrowserProcessSubThread, std::__1::default_delete<content::BrowserProcessSubThread> >) ./../../content/browser/browser_main.cc:53:16
    #63 0x132c63a4 in content::RunBrowserProcessMain(content::MainFunctionParams const&, content::ContentMainDelegate*, std::__1::unique_ptr<content::BrowserProcessSubThread, std::__1::default_delete<content::BrowserProcessSubThread> >) ./../../content/app/content_main_runner_impl.cc:621:10
    #64 0x132ca992 in content::ContentMainRunnerImpl::Run() ./../../content/app/content_main_runner_impl.cc:983:12
    #65 0x1c9ca542 in service_manager::Main(service_manager::MainParams const&) ./../../services/service_manager/embedder/main.cc:459:29
    #66 0x132c0927 in content::ContentMain(content::ContentMainParams const&) ./../../content/app/content_main.cc:19:10
    #67 0x152818af in content::BrowserTestBase::SetUp() ./../../content/public/test/browser_test_base.cc:325:3
    #68 0x139fa5cf in InProcessBrowserTest::SetUp() ./../../chrome/test/base/in_process_browser_test.cc:248:20
    #69 0x8c94b35 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0
    #70 0x8c98bcb in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2667:11
    #71 0x8c9a659 in testing::TestCase::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2785:28
    #72 0x8cd0d64 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5047:43
    #73 0x8ccf637 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0
    #74 0x13a67c50 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2329:46
    #75 0x13a67c50 in base::TestSuite::Run() ./../../base/test/test_suite.cc:275:0
    #76 0x134c65c3 in ChromeTestSuiteRunner::RunTestSuite(int, char**) ./../../chrome/test/base/chrome_test_launcher.cc:65:38
    #77 0x1532dff4 in content::LaunchTests(content::TestLauncherDelegate*, unsigned long, int, char**) ./../../content/public/test/test_launcher.cc:625:31
    #78 0x134c7d26 in LaunchChromeTests(unsigned long, content::TestLauncherDelegate*, int, char**) ./../../chrome/test/base/chrome_test_launcher.cc:170:10
    #79 0x134c63af in main ./../../chrome/test/base/browser_tests_main_chromeos.cc:21:10
    #80 0x7fed73efff44 in __libc_start_main /build/eglibc-ripdx6/eglibc-2.19/csu/libc-start.c:287:0
    #81 0xa58979 in _start ??:0:0
  Uninitialized value was stored to memory at
    #0 0xa65fa37 in IPC::ParamTraits<gpu::FlushParams>::Write(base::Pickle*, gpu::FlushParams const&) ./../../gpu/ipc/common/gpu_param_traits_macros.h:0:1
    #1 0xa6581d0 in WriteParam<gpu::FlushParams> ./../../ipc/ipc_message_utils.h:110:3
    #2 0xa6581d0 in Write ./../../ipc/ipc_message_utils.h:379:0
    #3 0xa6581d0 in WriteParam<std::__1::vector<gpu::FlushParams, std::__1::allocator<gpu::FlushParams> > > ./../../ipc/ipc_message_utils.h:110:0
    #4 0xa6581d0 in Write ./../../ipc/ipc_message_utils.h:753:0
    #5 0xa6581d0 in Write ./../../ipc/ipc_message_utils.h:785:0
    #6 0xa6581d0 in WriteParam<std::__1::tuple<const std::__1::vector<gpu::FlushParams, std::__1::allocator<gpu::FlushParams> > &> > ./../../ipc/ipc_message_utils.h:110:0
    #7 0xa6581d0 in IPC::MessageT<GpuChannelMsg_FlushCommandBuffers_Meta, std::__1::tuple<std::__1::vector<gpu::FlushParams, std::__1::allocator<gpu::FlushParams> > >, void>::MessageT(IPC::Routing, std::__1::vector<gpu::FlushParams, std::__1::allocator<gpu::FlushParams> > const&) ./../../ipc/ipc_message_templates_impl.h:29:0
    #8 0xae25407 in MessageT<true, false> ./../../ipc/ipc_message_templates.h:124:33
    #9 0xae25407 in InternalFlush ./../../gpu/ipc/client/gpu_channel_host.cc:143:0
    #10 0xae25407 in gpu::GpuChannelHost::EnsureFlush(unsigned int) ./../../gpu/ipc/client/gpu_channel_host.cc:123:0
    #11 0xae0e3b8 in gpu::CommandBufferProxyImpl::Flush(int) ./../../gpu/ipc/client/command_buffer_proxy_impl.cc:258:15
    #12 0xabcbfb6 in gpu::CommandBufferHelper::Flush() ./../../gpu/command_buffer/client/cmd_buffer_helper.cc:182:22
    #13 0x1ac894e6 in FlushHelper ./../../gpu/command_buffer/client/gles2_implementation.cc:1266:33
    #14 0x1ac894e6 in gpu::gles2::GLES2Implementation::Flush() ./../../gpu/command_buffer/client/gles2_implementation.cc:1249:0
    #15 0x1ac7f08a in gpu::gles2::GLES2Implementation::SetAggressivelyFreeResources(bool) ./../../gpu/command_buffer/client/gles2_implementation.cc:436:5
    #16 0x1ac59ffe in viz::ContextCacheController::ClientBecameNotVisible(std::__1::unique_ptr<viz::ContextCacheController::ScopedToken, std::__1::default_delete<viz::ContextCacheController::ScopedToken> >) ./../../components/viz/common/gpu/context_cache_controller.cc:85:23
    #17 0x1c12819a in viz::GLRenderer::~GLRenderer() ./../../components/viz/service/display/gl_renderer.cc:347:23
    #18 0x1c129e8c in viz::GLRenderer::~GLRenderer() ./../../components/viz/service/display/gl_renderer.cc:341:27
    #19 0x1c0df05e in operator() ./../../buildtools/third_party/libc++/trunk/include/memory:2321:5
    #20 0x1c0df05e in reset ./../../buildtools/third_party/libc++/trunk/include/memory:2634:0
    #21 0x1c0df05e in ~unique_ptr ./../../buildtools/third_party/libc++/trunk/include/memory:2588:0
    #22 0x1c0df05e in viz::Display::~Display() ./../../components/viz/service/display/display.cc:83:0
    #23 0x1c0dfa1c in viz::Display::~Display() ./../../components/viz/service/display/display.cc:63:21
    #24 0xd968df3 in operator() ./../../buildtools/third_party/libc++/trunk/include/memory:2321:5
    #25 0xd968df3 in reset ./../../buildtools/third_party/libc++/trunk/include/memory:2634:0
    #26 0xd968df3 in ~unique_ptr ./../../buildtools/third_party/libc++/trunk/include/memory:2588:0
    #27 0xd968df3 in content::GpuProcessTransportFactory::PerCompositorData::~PerCompositorData() ./../../content/browser/compositor/gpu_process_transport_factory.cc:150:0
    #28 0xd9673d6 in operator() ./../../buildtools/third_party/libc++/trunk/include/memory:2321:5
    #29 0xd9673d6 in reset ./../../buildtools/third_party/libc++/trunk/include/memory:2634:0
    #30 0xd9673d6 in ~unique_ptr ./../../buildtools/third_party/libc++/trunk/include/memory:2588:0
    #31 0xd9673d6 in ~pair ./../../buildtools/third_party/libc++/trunk/include/utility:312:0
    #32 0xd9673d6 in __destroy<std::__1::pair<ui::Compositor *const, std::__1::unique_ptr<content::GpuProcessTransportFactory::PerCompositorData, std::__1::default_delete<content::GpuProcessTransportFactory::PerCompositorData> > > > ./../../buildtools/third_party/libc++/trunk/include/memory:1733:0
    #33 0xd9673d6 in destroy<std::__1::pair<ui::Compositor *const, std::__1::unique_ptr<content::GpuProcessTransportFactory::PerCompositorData, std::__1::default_delete<content::GpuProcessTransportFactory::PerCompositorData> > > > ./../../buildtools/third_party/libc++/trunk/include/memory:1596:0
    #34 0xd9673d6 in std::__1::__tree<std::__1::__value_type<ui::Compositor*, std::__1::unique_ptr<content::GpuProcessTransportFactory::PerCompositorData, std::__1::default_delete<content::GpuProcessTransportFactory::PerCompositorData> > >, std::__1::__map_value_compare<ui::Compositor*, std::__1::__value_type<ui::Compositor*, std::__1::unique_ptr<content::GpuProcessTransportFactory::PerCompositorData, std::__1::default_delete<content::GpuProcessTransportFactory::PerCompositorData> > >, std::__1::less<ui::Compositor*>, true>, std::__1::allocator<std::__1::__value_type<ui::Compositor*, std::__1::unique_ptr<content::GpuProcessTransportFactory::PerCompositorData, std::__1::default_delete<content::GpuProcessTransportFactory::PerCompositorData> > > > >::erase(std::__1::__tree_const_iterator<std::__1::__value_type<ui::Compositor*, std::__1::unique_ptr<content::GpuProcessTransportFactory::PerCompositorData, std::__1::default_delete<content::GpuProcessTransportFactory::PerCompositorData> > >, std::__1::__tree_node<std::__1::__value_type<ui::Compositor*, std::__1::unique_ptr<content::GpuProcessTransportFactory::PerCompositorData, std::__1::default_delete<content::GpuProcessTransportFactory::PerCompositorData> > >, void*>*, long>) ./../../buildtools/third_party/libc++/trunk/include/__tree:2368:0
    #35 0xd95d705 in erase ./../../buildtools/third_party/libc++/trunk/include/map:1194:56
    #36 0xd95d705 in content::GpuProcessTransportFactory::RemoveCompositor(ui::Compositor*) ./../../content/browser/compositor/gpu_process_transport_factory.cc:732:0
    #37 0x1bfcacef in ui::Compositor::~Compositor() ./../../ui/compositor/compositor.cc:250:21
    #38 0x1bfce39c in ui::Compositor::~Compositor() ./../../ui/compositor/compositor.cc:231:27
    #39 0x1bf74ff7 in aura::WindowTreeHostPlatform::~WindowTreeHostPlatform() ./../../ui/aura/window_tree_host_platform.cc:83:3
    #40 0x20657d4c in ~AshWindowTreeHostPlatform ./../../ash/host/ash_window_tree_host_platform.cc:41:55
    #41 0x20657d4c in ash::AshWindowTreeHostPlatform::~AshWindowTreeHostPlatform() ./../../ash/host/ash_window_tree_host_platform.cc:41:0
    #42 0x206ee2d4 in operator() ./../../buildtools/third_party/libc++/trunk/include/memory:2321:5
    #43 0x206ee2d4 in reset ./../../buildtools/third_party/libc++/trunk/include/memory:2634:0
    #44 0x206ee2d4 in ash::RootWindowController::~RootWindowController() ./../../ash/root_window_controller.cc:286:0
  Uninitialized value was stored to memory at
    #0 0xa7890b in __msan_memcpy /b/build/slave/linux_upload_clang/build/src/third_party/llvm/compiler-rt/lib/msan/msan_interceptors.cc:1492:3
    #1 0xa654584 in gpu::FlushParams::FlushParams(gpu::FlushParams&&) ./../../gpu/ipc/common/flush_params.cc:11:45
    #2 0xae24fa4 in construct<gpu::FlushParams, gpu::FlushParams> ./../../buildtools/third_party/libc++/trunk/include/memory:1811:31
    #3 0xae24fa4 in __construct<gpu::FlushParams, gpu::FlushParams> ./../../buildtools/third_party/libc++/trunk/include/memory:1716:0
    #4 0xae24fa4 in construct<gpu::FlushParams, gpu::FlushParams> ./../../buildtools/third_party/libc++/trunk/include/memory:1562:0
    #5 0xae24fa4 in push_back ./../../buildtools/third_party/libc++/trunk/include/vector:1612:0
    #6 0xae24fa4 in gpu::GpuChannelHost::DestroyTransferBuffer(int, int) ./../../gpu/ipc/client/gpu_channel_host.cc:114:0
    #7 0xae13996 in gpu::CommandBufferProxyImpl::DestroyTransferBuffer(int) ./../../gpu/ipc/client/command_buffer_proxy_impl.cc:414:13
    #8 0xabda1b0 in gpu::MappedMemoryManager::FreeUnused() ./../../gpu/command_buffer/client/mapped_memory.cc:156:16
    #9 0x1ad7e0ae in FreeUnusedSharedMemory ./../../gpu/command_buffer/client/implementation_base.cc:42:19
    #10 0x1ad7e0ae in gpu::ImplementationBase::FreeEverything() ./../../gpu/command_buffer/client/implementation_base.cc:47:0
    #11 0x1ac7f08a in gpu::gles2::GLES2Implementation::SetAggressivelyFreeResources(bool) ./../../gpu/command_buffer/client/gles2_implementation.cc:436:5
    #12 0x1ac59ffe in viz::ContextCacheController::ClientBecameNotVisible(std::__1::unique_ptr<viz::ContextCacheController::ScopedToken, std::__1::default_delete<viz::ContextCacheController::ScopedToken> >) ./../../components/viz/common/gpu/context_cache_controller.cc:85:23
    #13 0x1b1d1b24 in cc::LayerTreeHostImpl::SetContextVisibility(bool) ./../../cc/trees/layer_tree_host_impl.cc:5402:42
    #14 0x1b1ef22e in cc::LayerTreeHostImpl::ReleaseLayerTreeFrameSink() ./../../cc/trees/layer_tree_host_impl.cc:3069:3
    #15 0x1b4e9b4b in cc::SingleThreadProxy::Stop() ./../../cc/trees/single_thread_proxy.cc:295:17
    #16 0x1b49c4c5 in cc::LayerTreeHost::~LayerTreeHost() ./../../cc/trees/layer_tree_host.cc:201:13
    #17 0x1b49f3cc in cc::LayerTreeHost::~LayerTreeHost() ./../../cc/trees/layer_tree_host.cc:174:33
    #18 0x1bfcac84 in operator() ./../../buildtools/third_party/libc++/trunk/include/memory:2321:5
    #19 0x1bfcac84 in reset ./../../buildtools/third_party/libc++/trunk/include/memory:2634:0
    #20 0x1bfcac84 in ui::Compositor::~Compositor() ./../../ui/compositor/compositor.cc:248:0
    #21 0x1bfce39c in ui::Compositor::~Compositor() ./../../ui/compositor/compositor.cc:231:27
    #22 0x1bf74ff7 in aura::WindowTreeHostPlatform::~WindowTreeHostPlatform() ./../../ui/aura/window_tree_host_platform.cc:83:3
    #23 0x20657d4c in ~AshWindowTreeHostPlatform ./../../ash/host/ash_window_tree_host_platform.cc:41:55
    #24 0x20657d4c in ash::AshWindowTreeHostPlatform::~AshWindowTreeHostPlatform() ./../../ash/host/ash_window_tree_host_platform.cc:41:0
    #25 0x206ee2d4 in operator() ./../../buildtools/third_party/libc++/trunk/include/memory:2321:5
    #26 0x206ee2d4 in reset ./../../buildtools/third_party/libc++/trunk/include/memory:2634:0
    #27 0x206ee2d4 in ash::RootWindowController::~RootWindowController() ./../../ash/root_window_controller.cc:286:0
    #28 0x205f96d7 in ash::WindowTreeHostManager::Shutdown() ./../../ash/display/window_tree_host_manager.cc:229:3
    #29 0x207bc7b7 in ash::Shell::~Shell() ./../../ash/shell.cc:908:30
  Uninitialized value was created by an allocation of 'ref.tmp' in the stack frame of function '_ZN3gpu14GpuChannelHost21DestroyTransferBufferEii'
    #0 0xae24e10 in gpu::GpuChannelHost::DestroyTransferBuffer(int, int) ./../../gpu/ipc/client/gpu_channel_host.cc:111:


 

Comment 2 by fdoray@chromium.org, Jun 15 2018

Components: Internals>GPU>Internals
Labels: Pri-1
Cc: rsesek@chromium.org sunn...@chromium.org piman@chromium.org
Labels: -Sheriff-Chromium
Owner: jdarpinian@chromium.org
Status: Assigned (was: Available)
Linux MSAN Tests has cycled green. ChromeOS MSan will hopefully cycle green in  bug 7623 :

https://ci.chromium.org/buildbot/chromium.memory/Linux%20ChromiumOS%20MSan%20Tests/7623
Project Member

Comment 6 by bugdroid1@chromium.org, Jun 19 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d1b4ae2892b05cf622b3f649cb38b995ed2d1733

commit d1b4ae2892b05cf622b3f649cb38b995ed2d1733
Author: James Darpinian <jdarpinian@chromium.org>
Date: Tue Jun 19 19:49:08 2018

GPU: Don't flush when destroying transfer buffers.

This reverts commit 5a49da30d841e14aaabe40748de574908c3f6c58.

2nd try due to  http://crbug.com/853194 
1st try was here: https://chromium-review.googlesource.com/c/chromium/src/+/1093580

Destroying a transfer buffer now requires only an ordering barrier, not
a full flush. This removes a source of unnecessary flushes and makes
resizing the transfer buffer more efficient.

Bug:  850271 , 835353, 828363,  853194 
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Change-Id: Ibc5e72fcf4538a3f10022a613e9d0f15e4e7a95a
Reviewed-on: https://chromium-review.googlesource.com/1105466
Reviewed-by: Antoine Labour <piman@chromium.org>
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Commit-Queue: James Darpinian <jdarpinian@chromium.org>
Cr-Commit-Position: refs/heads/master@{#568575}
[modify] https://crrev.com/d1b4ae2892b05cf622b3f649cb38b995ed2d1733/gpu/command_buffer/client/cmd_buffer_helper.cc
[modify] https://crrev.com/d1b4ae2892b05cf622b3f649cb38b995ed2d1733/gpu/command_buffer/client/cmd_buffer_helper_test.cc
[modify] https://crrev.com/d1b4ae2892b05cf622b3f649cb38b995ed2d1733/gpu/command_buffer/client/mapped_memory.cc
[modify] https://crrev.com/d1b4ae2892b05cf622b3f649cb38b995ed2d1733/gpu/command_buffer/client/transfer_buffer.cc
[modify] https://crrev.com/d1b4ae2892b05cf622b3f649cb38b995ed2d1733/gpu/command_buffer/client/transfer_buffer_unittest.cc
[modify] https://crrev.com/d1b4ae2892b05cf622b3f649cb38b995ed2d1733/gpu/ipc/client/command_buffer_proxy_impl.cc
[modify] https://crrev.com/d1b4ae2892b05cf622b3f649cb38b995ed2d1733/gpu/ipc/client/gpu_channel_host.cc
[modify] https://crrev.com/d1b4ae2892b05cf622b3f649cb38b995ed2d1733/gpu/ipc/client/gpu_channel_host.h
[modify] https://crrev.com/d1b4ae2892b05cf622b3f649cb38b995ed2d1733/gpu/ipc/common/flush_params.h
[modify] https://crrev.com/d1b4ae2892b05cf622b3f649cb38b995ed2d1733/gpu/ipc/common/gpu_param_traits_macros.h
[modify] https://crrev.com/d1b4ae2892b05cf622b3f649cb38b995ed2d1733/gpu/ipc/service/gpu_channel.cc

Status: Fixed (was: Assigned)

Comment 8 by fdoray@chromium.org, Jun 22 2018

Cc: -fdoray@chromium.org

Sign in to add a comment