New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 749744 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 749309
Owner:
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug-Regression

Blocking:
issue 638327



Sign in to add a comment

Flaky ScopedCOMInitializer::Initialize DCHECK on GPU and GPU FYI

Project Member Reported by cwallez@chromium.org, Jul 27 2017

Issue description

On the GPU and GPU FYI waterfall, some tests are failing mid-way with a DCHECK causing the test to fail with "Total tests: n/a".

Example on the GPU FYI waterfall:
https://build.chromium.org/p/chromium.gpu.fyi/builders/Win7%20Debug%20%28NVIDIA%29/builds/21223
Example on the GPU waterfall:
https://build.chromium.org/p/chromium.gpu/builders/Win7%20Debug%20%28NVIDIA%29/builds/53892
Example log on the GPU FYI waterfall:
https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.gpu.fyi%2FWin7_Debug__NVIDIA_%2F21223%2F%2B%2Frecipes%2Fsteps%2Fpixel_test_on_NVIDIA_GPU_on_Windows_on_Windows-2008ServerR2-SP1%2F0%2Fstdout

The log ends with the following stack trace:
base!logging::LogMessage::~LogMessage+0x383
gpu!base::win::ScopedCOMInitializer::Initialize+0x125
gpu!base::win::ScopedCOMInitializer::ScopedCOMInitializer+0x1c
gpu!gpu::GetDxDiagnostics+0x12
content!ui::GpuService::UpdateGpuInfoPlatform+0x11e
content!ui::GpuService::RequestCompleteGpuInfo+0xd1
content!base::internal::FunctorTraits<void (__thiscall ui::GpuService::*)(b...
content!base::internal::InvokeHelper<1,void>::MakeItSo<void (__thiscall ui:...
content!base::internal::Invoker<base::internal::BindState<void (__thiscall ...
content!base::internal::Invoker<base::internal::BindState<void (__thiscall ...
base!base::Callback<void __cdecl(void),0,0>::Run+0x35
base!base::debug::TaskAnnotator::RunTask+0x1eb
base!base::MessageLoop::RunTask+0x1fc
base!base::MessageLoop::DeferOrRunPendingTask+0x32
base!base::MessageLoop::DoWork+0x112
base!base::MessagePumpDefault::Run+0x90
base!base::MessageLoop::Run+0xbf
base!base::RunLoop::Run+0xba
content!content::GpuMain+0x516
content!content::RunNamedProcessTypeMain+0x87
content!content::ContentMainRunnerImpl::Run+0x195

robliao@ this looks very related to https://chromium-review.googlesource.com/c/583933 can you TAL? Is there a way to fix the asserts or can we revert the CL while we figure out what is wrong?

Blocking the ScopedComPtr->ComPtr bug on this because the CL didn't have a BUG associated with it.

+cc kbr, piman for pixel wrangling
+cc jmadill: kbr told me you were possibly looking at a related problem.
 
Description: Show this description
Mergedinto: 749309
Status: Duplicate (was: Assigned)
Updated the description to show the relevant part of the stack (the original stack did not include the actual callers).

This is the same as 749309.

It's not clear why this is just failing now. This code should have failed long ago as GpuMain ran under MTA and GetDxDiagnostics is requesting an STA.
Status: Assigned (was: Duplicate)
Unmerging the bugs because it isn't clear that they have the same root cause, let's keep this one for ScopedComInitializer-related thing and the other one for DirectComposition.
Status: Duplicate (was: Assigned)

Sign in to add a comment