New issue
Advanced search Search tips

Issue 796643 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 796250
Owner: ----
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Fuchsia
Pri: 2
Type: Bug



Sign in to add a comment

PipelineIntegrationTest.SeekWhilePlaying crash under Fuchsia (dbg)

Project Member Reported by w...@chromium.org, Dec 20 2017

Issue description

Crash stack is unfortunately missing some symbols:

[00333.854] 03757.03783> [3:760527477:1216/162149.803224:333694458:FATAL:pipeline_integration_test_base.cc(189)] Check failed: !ended_.
#00: pc 0x2842a578ba90 (libffmpeg.so,0x1dc32934a90)
#01: pc 0x2842a5418acc (libffmpeg.so,0x1dc325c1acc)
#02: pc 0x2842a548e2ba (libffmpeg.so,0x1dc326372ba)
#03: media::PipelineIntegrationTestBase::OnEnded() at ??:?
#04: pc 0x2de71e43772b (libgles2_utils.so,0x237e8e0d72b)
...
#08: pc 0x2de71e4471dc (libgles2_utils.so,0x237e8e1d1dc)
#09: pc 0x2842a53c0c81 (libffmpeg.so,0x1dc32569c81)
...
#18: pc 0x2842a5585891 (libffmpeg.so,0x1dc3272e891)
#19: base::test::ScopedTaskEnvironment::RunUntilIdle() at ??:?
#20: media::PipelineIntegrationTestBase::RunUntilIdleEndedOrErrorInternal(base::RunLoop*, bool, bool) at ??:?
#21: media::PipelineIntegrationTestBase::RunUntilIdle(base::RunLoop*) at ??:?
#22: media::PipelineIntegrationTestBase::Seek(base::TimeDelta) at ??:?
#23: media::PipelineIntegrationTest_SeekWhilePlaying_Test::TestBody() at ??:?
#24: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) at ??:?
#25: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) at ??:?
#26: testing::Test::Run() at ??:?
#27: testing::TestInfo::Run() at ??:?
#28: testing::TestCase::Run() at ??:?
#29: testing::internal::UnitTestImpl::RunAllTests() at ??:?
#30: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) at ??:?
#31: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) at ??:?
#32: testing::UnitTest::Run() at ??:?
#33: RUN_ALL_TESTS() at ??:?
#34: base::TestSuite::Run() at ??:?
#35: int base::internal::FunctorTraits<int (base::TestSuite::*)(), void>::Invoke<TestSuiteNoAtExit*>(int (base::TestSuite::*)(), TestSuiteNoAtExit*&&) at ??:?
#36: int base::internal::InvokeHelper<false, int>::MakeItSo<int (base::TestSuite::* const&)(), TestSuiteNoAtExit*>(int (base::TestSuite::* const&)(), TestSuiteNoAtExit*&&) at ??:?
#37: int base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<TestSuiteNoAtExit> >, int ()>::RunImpl<int (base::TestSuite::* const&)(), std::__1::tuple<base::internal::UnretainedWrapper<TestSuiteNoAtExit> > const&, 0ul>(int (base::TestSuite::* const&)(), std::__1::tuple<base::internal::UnretainedWrapper<TestSuiteNoAtExit> > const&, std::__1::integer_sequence<unsigned long, 0ul>) at ??:?
#38: base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<TestSuiteNoAtExit> >, int ()>::Run(base::internal::BindStateBase*) at ??:?
#39: base::RepeatingCallback<int ()>::Run() const & at ??:?
#40: base::(anonymous namespace)::LaunchUnitTestsInternal(base::RepeatingCallback<int ()> const&, unsigned long, int, bool, base::RepeatingCallback<void ()> const&) at ??:?
#41: base::LaunchUnitTests(int, char**, base::RepeatingCallback<int ()> const&) at ??:?
#42: main at ??:?
#43: pc 0x649ad469212e (libcrcrypto.so,0x204d7b7212e)

I'm not sure what might cause OnEnded to be called multiple times, without a Seek() or Resume() in-between. Is it possible for that condition to occur if the test is delayed, so that the audio finishes playing before the test expects it to?
 

Comment 2 by w...@chromium.org, Dec 20 2017

Cc: sergeyu@chromium.org
Mergedinto: 796250
Status: Duplicate (was: Untriaged)
Should be fixed in the trunk.

Comment 4 by w...@chromium.org, Dec 20 2017

Ahhh, I think I forgot to switch to "All bugs" when I searched for an
existing SeekWhilePlaying bug... D'oh.

Sign in to add a comment