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

Issue 614911 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Some tests have flakey crash in

Project Member Reported by sadrul@chromium.org, May 26 2016

Issue description

When running views_mus_unittests, a number of tests (usually among the first few run) fail with the following crash:

[23487:23487:0526/000055:319319402812:FATAL:bitmap_uploader.cc(52)] Check failed: gles2_context_->Initialize().
#0 0x000000539e31 __interceptor_backtrace
#1 0x7f5fdd0165d3 base::debug::StackTrace::StackTrace()
#2 0x7f5fdd078ebb logging::LogMessage::~LogMessage()
#3 0x7f5fd64c2e75 bitmap_uploader::BitmapUploader::Init()
#4 0x7f5fdd40bd51 views::PlatformWindowMus::PlatformWindowMus()
#5 0x7f5fdd4209f9 views::WindowTreeHostMus::WindowTreeHostMus()
#6 0x7f5fdd3fba7b views::NativeWidgetMus::NativeWidgetMus()
#7 0x7f5fdd41cb56 views::WindowManagerConnection::CreateNativeWidgetMus()
#8 0x7f5fdb1a0be1 views::Widget::Init()
#9 0x00000075fc52 views::test::MenuControllerTest::Init()
#10 0x000001501437 testing::Test::Run()
#11 0x000001503914 testing::TestInfo::Run()
#12 0x0000015046f3 testing::TestCase::Run()
#13 0x000001518e7a testing::internal::UnitTestImpl::RunAllTests()
#14 0x0000015184bc testing::UnitTest::Run()
#15 0x000000d0e7f2 base::TestSuite::Run()
#16 0x000000d35d02 base::(anonymous namespace)::LaunchUnitTestsInternal()
#17 0x000000d3598d base::LaunchUnitTests()
#18 0x000000b68c95 views::ViewsTestSuite::RunTests()
#19 0x0000005d6de7 MasterProcessMain()
#20 0x000000cc44a9 main
#21 0x7f5fd67a6ec5 __libc_start_main
#22 0x0000004fb266 <unknown>

This happens fairly reliably in local builds, and also happen in almost every run in the trybots too (e.g. https://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/235929/steps/views_mus_unittests%20%28with%20patch%29%20on%20Ubuntu-12.04/logs/stdio). The tests do pass when run a second time, which is the trybot isn't completely broken yet.

Peng: perhaps you have insights?
 
Seems the problem is because the shell connection is broken after the first test in test suite is finished. So for the second test, all mojo calls to gpu service are failed.

https://codereview.chromium.org/2014853002/ may hide this crash, but it doesn't really fix the problem.

Comment 2 by sadrul@chromium.org, May 31 2016

Oh sorry, yeah. I think https://codereview.chromium.org/2023933002/ is the right fix for this.
Owner: sadrul@chromium.org
Cool. Assigned it to sadrul.
Status: Fixed (was: Assigned)
This is now fixed by https://codereview.chromium.org/2023933002/.
Status: Verified (was: Fixed)
Bulk verified
Components: -MUS Internals>Services>WindowService

Sign in to add a comment