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

Issue 835231 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
OOO Dec 22 - Jan 8
Cc:
Components:
EstimatedDays: ----
NextAction: 2018-08-21
OS: Linux , Windows , Chrome , Mac
Pri: 1
Type: Bug


Participants' hotlists:
AudioService-FixIt
Audio-Service


Sign in to add a comment

InProcessAudioService/AudioSystemTestTemplate/1.* flake

Project Member Reported by olka@chromium.org, Apr 20 2018

Issue description

Dashboard:
https://test-results.appspot.com/dashboards/flakiness_dashboard.html#showAllRuns=true&testType=services_unittests&tests=InProcessAudioService%2FAudioSystemTestTemplate%2F1

Example crash stack:

[ RUN      ] InProcessAudioService/AudioSystemTestTemplate/1.GetOutputDeviceDescriptions
[31820:33735:0411/185325.749097:4432190444411:ERROR:service.cc(50)] audio::Service::OnBindInterface: audio::mojom::SystemInfo
[31820:31820:0411/185325.756187:4432190451499:FATAL:interface_endpoint_client.cc(170)] Check failed: (sequence_checker_).CalledOnValidSequence(). 
#0 0x7f8274d2b23d base::debug::StackTrace::StackTrace()
#1 0x7f8274d297fc base::debug::StackTrace::StackTrace()
#2 0x7f8274db3f0a logging::LogMessage::~LogMessage()
#3 0x7f82754975e1 mojo::InterfaceEndpointClient::~InterfaceEndpointClient()
#4 0x7f8275497869 mojo::InterfaceEndpointClient::~InterfaceEndpointClient()
#5 0x7f827548224d mojo::internal::BindingStateBase::Close()
#6 0x7f8271e0ce85 mojo::Binding<>::Close()
#7 0x7f8271e0c000 service_manager::ServiceContext::QuitNow()
#8 0x000000a65cfe audio::ServiceTestClient::AudioThreadContext::~AudioThreadContext()
#9 0x000000a65de9 audio::ServiceTestClient::AudioThreadContext::~AudioThreadContext()
#10 0x00000073201b base::RefCountedThreadSafe<>::DeleteInternal<>()
#11 0x000000731fe5 base::DefaultRefCountedThreadSafeTraits<>::Destruct()
#12 0x000000731fbc base::RefCountedThreadSafe<>::Release()
#13 0x000000731f79 scoped_refptr<>::Release()
#14 0x00000073193a scoped_refptr<>::~scoped_refptr()
#15 0x000000a6594e audio::ServiceTestClient::~ServiceTestClient()
#16 0x000000a659a9 audio::ServiceTestClient::~ServiceTestClient()
#17 0x7f8271e0bca2 service_manager::ServiceContext::~ServiceContext()
#18 0x7f8271e0bcf9 service_manager::ServiceContext::~ServiceContext()
#19 0x00000209614a service_manager::test::ServiceTest::TearDown()
#20 0x000000a5ac89 audio::InProcessServiceTest<>::TearDown()
#21 0x000000a5b9de _ZN7testing8internal12InvokeHelperIvNSt3__15tupleIJEEEE12InvokeMethodIN4base7RunLoopEMS8_FvvEEEvPT_T0_RKS4_
#22 0x0000011c74e2 testing::internal::HandleExceptionsInMethodIfSupported<>()
#23 0x0000011aaa8b testing::Test::Run()
#24 0x0000011ab470 testing::TestInfo::Run()
#25 0x0000011abf1f testing::TestCase::Run()
#26 0x0000011be2d8 testing::internal::UnitTestImpl::RunAllTests()
#27 0x0000011d223e testing::internal::HandleSehExceptionsInMethodIfSupported<>()
#28 0x0000011c8c72 testing::internal::HandleExceptionsInMethodIfSupported<>()
#29 0x0000011bdf37 testing::UnitTest::Run()
#30 0x000001cf3391 RUN_ALL_TESTS()
#31 0x000001cefd5b base::TestSuite::Run()
#32 0x000000fc7d7d _ZN4base8internal13FunctorTraitsIMNS_9TestSuiteEFivEvE6InvokeIPN12_GLOBAL__N_116ServiceTestSuiteEJEEEiS4_OT_DpOT0_
#33 0x000000fc7cc4 _ZN4base8internal12InvokeHelperILb0EiE8MakeItSoIRKMNS_9TestSuiteEFivEJPN12_GLOBAL__N_116ServiceTestSuiteEEEEiOT_DpOT0_
#34 0x000000fc7c75 _ZN4base8internal7InvokerINS0_9BindStateIMNS_9TestSuiteEFivEJNS0_17UnretainedWrapperIN12_GLOBAL__N_116ServiceTestSuiteEEEEEEFivEE7RunImplIRKS5_RKNSt3__15tupleIJS9_EEEJLm0EEEEiOT_OT0_NSG_16integer_sequenceImJXspT1_EEEE
#35 0x000000fc7bbc _ZN4base8internal7InvokerINS0_9BindStateIMNS_9TestSuiteEFivEJNS0_17UnretainedWrapperIN12_GLOBAL__N_116ServiceTestSuiteEEEEEEFivEE3RunEPNS0_13BindStateBaseE
#36 0x000001d1c75e _ZNO4base12OnceCallbackIFivEE3RunEv
#37 0x000001d150a5 base::(anonymous namespace)::LaunchUnitTestsInternal()
#38 0x000001d14ef5 base::LaunchUnitTests()
#39 0x000001c97900 service_manager::InitializeAndLaunchUnitTests()
#40 0x000000fc76ea main
#41 0x7f8260e192b1 __libc_start_main
#42 0x0000006c302a _start

[768/1814] InProcessAudioService/AudioSystemTestTemplate/1.GetOutputDeviceDescriptions (CRASHED)

 

Comment 1 by olka@chromium.org, Apr 20 2018

Components: Internals>Media>Audio
Owner: olka@chromium.org
Status: Assigned (was: Untriaged)
The cash is caused by object lifetime bug in the test.

Comment 2 by olka@chromium.org, Apr 20 2018

Description: Show this description

Comment 3 by olka@chromium.org, Apr 20 2018

Cc: marinaciocea@chromium.org maxmorin@chromium.org
Summary: InProcessAudioService/AudioSystemTestTemplate/1.* flake (was: InProcessAudioService/AudioSystemTestTemplate/1.GetOutputDeviceDescriptions flakes)

Comment 4 by msw@chromium.org, Jun 21 2018

I hit a similar crash today:

[ RUN      ] InProcessAudioService/AudioSystemTestTemplate/1.GetInputDeviceDescriptionsNoInputDevices
[251093:251093:0621/130152.909208:1733611971077:FATAL:interface_endpoint_client.cc(170)] Check failed: (sequence_checker_).CalledOnValidSequence(). 
#0 0x7f188a0a751c base::debug::StackTrace::StackTrace()
#1 0x7f1889ff704b logging::LogMessage::~LogMessage()
#2 0x7f18896ddf94 mojo::InterfaceEndpointClient::~InterfaceEndpointClient()
#3 0x7f18896de09e mojo::InterfaceEndpointClient::~InterfaceEndpointClient()
#4 0x7f18896d6787 mojo::internal::BindingStateBase::Close()
#5 0x7f18888a367f service_manager::ServiceContext::QuitNow()
#6 0x00000075d851 audio::ServiceTestClient::AudioThreadContext::~AudioThreadContext()
#7 0x00000075d5b9 audio::ServiceTestClient::~ServiceTestClient()
#8 0x00000075d62e audio::ServiceTestClient::~ServiceTestClient()
#9 0x7f18888a3431 service_manager::ServiceContext::~ServiceContext()
#10 0x7f18888a345e service_manager::ServiceContext::~ServiceContext()
#11 0x00000075822e audio::InProcessServiceTest<>::TearDown()
#12 0x000000ac6f40 testing::TestInfo::Run()
#13 0x000000ac7457 testing::TestCase::Run()
#14 0x000000ad2a57 testing::internal::UnitTestImpl::RunAllTests()
#15 0x000000ad25cd testing::UnitTest::Run()
#16 0x000000ce5631 base::TestSuite::Run()
#17 0x000000cec730 base::(anonymous namespace)::LaunchUnitTestsInternal()
#18 0x000000cec590 base::LaunchUnitTests()
#19 0x000000cd4010 service_manager::InitializeAndLaunchUnitTests()
#20 0x000000a25819 main
#21 0x7f1883ec82b1 __libc_start_main
#22 0x0000004f17da _start
Labels: M-70
NextAction: 2018-08-21
The NextAction date has arrived: 2018-08-21
Labels: -Pri-2 -M-70 Pri-1
Labels: M72
Labels: -M72 M-72

Sign in to add a comment