Back to build
Raw log | Switch to full mode | Login

Test 'CodecEnumeratorTest.MakeSupportedProfilesVp9' completed with the following status(es): 'FAILURE_ON_EXIT','SUCCESS' Test 'CodecEnumeratorTest.MakeSupportedProfilesVp9' had the following logs when run: ================================================================================ [ RUN ] CodecEnumeratorTest.MakeSupportedProfilesVp9 [ OK ] CodecEnumeratorTest.MakeSupportedProfilesVp9 (0 ms) [ RUN ] CodecEnumeratorTest.MakeSupportedProfilesNoVp8 [ OK ] CodecEnumeratorTest.MakeSupportedProfilesNoVp8 (1 ms) [ RUN ] CodecEnumeratorTest.GetFirstSupportedVideoCodecProfileVp9 [ OK ] CodecEnumeratorTest.GetFirstSupportedVideoCodecProfileVp9 (0 ms) [ RUN ] CodecEnumeratorTest.GetFirstSupportedVideoCodecProfileNoVp8 [ OK ] CodecEnumeratorTest.GetFirstSupportedVideoCodecProfileNoVp8 (0 ms) [----------] 8 tests from CodecEnumeratorTest (3 ms total) [----------] Global test environment tear-down [==========] 10 tests from 2 test suites ran. (1059 ms total) [ PASSED ] 10 tests. ================== WARNING: ThreadSanitizer: data race (pid=26765) Write of size 8 at 0x564150a7dcd0 by main thread: #0 base::circular_deque<base::RepeatingCallback<void (char const*, int, base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >)> >::pop_back() base/containers/circular_deque.h (content_unittests+0x78d880b) #1 pop buildtools/third_party/libc++/trunk/include/stack:216:19 (content_unittests+0x78d621e) #2 logging::ScopedLogAssertHandler::~ScopedLogAssertHandler() base/logging.cc:508 (content_unittests+0x78d621e) #3 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (content_unittests+0x6c3044d) #4 reset buildtools/third_party/libc++/trunk/include/memory:2651 (content_unittests+0x6c3044d) #5 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (content_unittests+0x6c3044d) #6 base::TestSuite::~TestSuite() base/test/test_suite.cc:218 (content_unittests+0x6c3044d) #7 ~ContentTestSuite content/test/content_test_suite.cc:59:37 (content_unittests+0x6be6a69) #8 content::ContentTestSuite::~ContentTestSuite() content/test/content_test_suite.cc:59 (content_unittests+0x6be6a69) #9 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (content_unittests+0x6bbf815) #10 reset buildtools/third_party/libc++/trunk/include/memory:2651 (content_unittests+0x6bbf815) #11 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (content_unittests+0x6bbf815) #12 content::UnitTestTestSuite::~UnitTestTestSuite() content/public/test/unittest_test_suite.cc:74 (content_unittests+0x6bbf815) #13 main content/test/run_all_unittests.cc:17:1 (content_unittests+0x6b568c6) Previous read of size 8 at 0x564150a7dcd0 by thread T5 (mutexes: write M340720185088412784): #0 empty base/containers/circular_deque.h:617:41 (content_unittests+0x78d7504) #1 empty buildtools/third_party/libc++/trunk/include/stack:190 (content_unittests+0x78d7504) #2 logging::LogMessage::~LogMessage() base/logging.cc:854 (content_unittests+0x78d7504) #3 base::PlatformThread::Join(base::PlatformThreadHandle) base/threading/platform_thread_posix.cc:277:3 (content_unittests+0x79c0de2) #4 Stop base/threading/thread.cc:184:3 (content_unittests+0x7970c48) #5 base::Thread::~Thread() base/threading/thread.cc:66 (content_unittests+0x7970c48) #6 base::Thread::~Thread() base/threading/thread.cc:65:19 (content_unittests+0x7970da9) #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (content_unittests+0xba29f7d) #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (content_unittests+0xba29f7d) #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (content_unittests+0xba29f7d) #10 ~__tuple_leaf buildtools/third_party/libc++/trunk/include/tuple:170 (content_unittests+0xba29f7d) #11 ~__tuple_impl buildtools/third_party/libc++/trunk/include/tuple:364 (content_unittests+0xba29f7d) #12 ~tuple buildtools/third_party/libc++/trunk/include/tuple:469 (content_unittests+0xba29f7d) #13 ~BindState base/bind_internal.h:854 (content_unittests+0xba29f7d) #14 base::internal::BindState<void (*)(std::__1::unique_ptr<base::Thread, std::__1::default_delete<base::Thread> >, std::__1::unique_ptr<vpx_codec_ctx, content::VpxEncoder::VpxCodecDeleter>), std::__1::unique_ptr<base::Thread, std::__1::default_delete<base::Thread> >, std::__1::unique_ptr<vpx_codec_ctx, content::VpxEncoder::VpxCodecDeleter> >::Destroy(base::internal::BindStateBase const*) base/bind_internal.h:857 (content_unittests+0xba29f7d) #15 Destruct base/callback_internal.cc:29:3 (content_unittests+0x78b5547) #16 Release base/memory/ref_counted.h:403 (content_unittests+0x78b5547) #17 Release base/memory/scoped_refptr.h:297 (content_unittests+0x78b5547) #18 ~scoped_refptr base/memory/scoped_refptr.h:209 (content_unittests+0x78b5547) #19 base::internal::CallbackBase::~CallbackBase() base/callback_internal.cc:84 (content_unittests+0x78b5547) #20 base::sequence_manager::internal::PostedTask::~PostedTask() base/task/sequence_manager/tasks.cc:52:25 (content_unittests+0x7940749) #21 base::sequence_manager::internal::TaskQueueImpl::TaskRunner::PostDelayedTask(base::Location const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/sequence_manager/task_queue_impl.cc:73:3 (content_unittests+0x7938d98) #22 base::TaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task_runner.cc:44:10 (content_unittests+0x7960b9a) #23 content::VpxEncoder::~VpxEncoder() content/renderer/media_recorder/vpx_encoder.cc:60:22 (content_unittests+0xba28c6f) #24 content::VpxEncoder::~VpxEncoder() content/renderer/media_recorder/vpx_encoder.cc:59:27 (content_unittests+0xba28cf9) #25 DeleteInternal<content::VideoTrackRecorder::Encoder> base/memory/ref_counted.h:414:5 (content_unittests+0xba234a4) #26 Destruct base/memory/ref_counted.h:369 (content_unittests+0xba234a4) #27 Release base/memory/ref_counted.h:403 (content_unittests+0xba234a4) #28 Release base/memory/scoped_refptr.h:297 (content_unittests+0xba234a4) #29 ~scoped_refptr base/memory/scoped_refptr.h:209 (content_unittests+0xba234a4) #30 ~__tuple_leaf buildtools/third_party/libc++/trunk/include/tuple:170 (content_unittests+0xba234a4) #31 ~__tuple_impl buildtools/third_party/libc++/trunk/include/tuple:364 (content_unittests+0xba234a4) #32 ~tuple buildtools/third_party/libc++/trunk/include/tuple:469 (content_unittests+0xba234a4) #33 ~BindState base/bind_internal.h:854 (content_unittests+0xba234a4) #34 base::internal::BindState<void (content::VideoTrackRecorder::Encoder::*)(scoped_refptr<media::VideoFrame>, base::TimeTicks), scoped_refptr<content::VideoTrackRecorder::Encoder>, scoped_refptr<media::VideoFrame>, base::TimeTicks>::Destroy(base::internal::BindStateBase const*) base/bind_internal.h:857 (content_unittests+0xba234a4) #35 Destruct base/callback_internal.cc:29:3 (content_unittests+0x78b5547) #36 Release base/memory/ref_counted.h:403 (content_unittests+0x78b5547) #37 Release base/memory/scoped_refptr.h:297 (content_unittests+0x78b5547) #38 ~scoped_refptr base/memory/scoped_refptr.h:209 (content_unittests+0x78b5547) #39 base::internal::CallbackBase::~CallbackBase() base/callback_internal.cc:84 (content_unittests+0x78b5547) #40 Run base/callback.h:98:3 (content_unittests+0x7928b7a) #41 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (content_unittests+0x7928b7a) #42 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (content_unittests+0x79434e5) #43 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:220:7 (content_unittests+0x79431db) #44 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (content_unittests+0x79438ae) #45 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (content_unittests+0x78e2ff9) #46 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (content_unittests+0x7943ea0) #47 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (content_unittests+0x7943ea0) #48 base::RunLoop::Run() base/run_loop.cc:157:14 (content_unittests+0x790754e) #49 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (content_unittests+0x79717a9) #50 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (content_unittests+0x7971a61) #51 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (content_unittests+0x79c1074) Location is global 'logging::(anonymous namespace)::log_assert_handler_stack' of size 40 at 0x564150a7dcb0 (content_unittests+0x00000cc8ecd0) Mutex M340720185088412784 is already destroyed. Thread T5 'EncodingThread' (tid=26889, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (content_unittests+0x247404b) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (content_unittests+0x79c0b67) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (content_unittests+0x79c0a65) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (content_unittests+0x79711b0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (content_unittests+0x7970e23) #5 content::VideoTrackRecorder::Encoder::Encoder(base::RepeatingCallback<void (media::WebmMuxer::VideoParameters const&, std::__1::unique_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::default_delete<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, std::__1::unique_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::default_delete<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, base::TimeTicks, bool)> const&, int, scoped_refptr<base::SingleThreadTaskRunner>, scoped_refptr<base::SingleThreadTaskRunner>) content/renderer/media_recorder/video_track_recorder.cc:199:21 (content_unittests+0xba1f5b8) #6 content::VpxEncoder::VpxEncoder(bool, base::RepeatingCallback<void (media::WebmMuxer::VideoParameters const&, std::__1::unique_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::default_delete<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, std::__1::unique_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::default_delete<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, base::TimeTicks, bool)> const&, int, scoped_refptr<base::SingleThreadTaskRunner>) content/renderer/media_recorder/vpx_encoder.cc:50:7 (content_unittests+0xba28a24) #7 content::VideoTrackRecorder::InitializeEncoder(content::VideoTrackRecorder::CodecId, base::RepeatingCallback<void (media::WebmMuxer::VideoParameters const&, std::__1::unique_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::default_delete<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, std::__1::unique_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::default_delete<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, base::TimeTicks, bool)> const&, int, bool, scoped_refptr<media::VideoFrame> const&, base::TimeTicks) content/renderer/media_recorder/video_track_recorder.cc:517:17 (content_unittests+0xba2114a) #8 Invoke<void (content::VideoTrackRecorder::*)(content::VideoTrackRecorder::CodecId, const base::RepeatingCallback<void (const media::WebmMuxer::VideoParameters &, std::__1::unique_ptr<std::__1::basic_string<char>, std::__1::default_delete<std::__1::basic_string<char> > >, std::__1::unique_ptr<std::__1::basic_string<char>, std::__1::default_delete<std::__1::basic_string<char> > >, base::TimeTicks, bool)> &, int, bool, const scoped_refptr<media::VideoFrame> &, base::TimeTicks), const base::WeakPtr<content::VideoTrackRecorder> &, const content::VideoTrackRecorder::CodecId &, const base::RepeatingCallback<void (const media::WebmMuxer::VideoParameters &, std::__1::unique_ptr<std::__1::basic_string<char>, std::__1::default_delete<std::__1::basic_string<char> > >, std::__1::unique_ptr<std::__1::basic_string<char>, std::__1::default_delete<std::__1::basic_string<char> > >, base::TimeTicks, bool)> &, const int &, bool, const scoped_refptr<media::VideoFrame> &, base::TimeTicks> base/bind_internal.h:499:12 (content_unittests+0xba236e8) #9 MakeItSo<void (content::VideoTrackRecorder::*const &)(content::VideoTrackRecorder::CodecId, const base::RepeatingCallback<void (const media::WebmMuxer::VideoParameters &, std::__1::unique_ptr<std::__1::basic_string<char>, std::__1::default_delete<std::__1::basic_string<char> > >, std::__1::unique_ptr<std::__1::basic_string<char>, std::__1::default_delete<std::__1::basic_string<char> > >, base::TimeTicks, bool)> &, int, bool, const scoped_refptr<media::VideoFrame> &, base::TimeTicks), const base::WeakPtr<content::VideoTrackRecorder> &, const content::VideoTrackRecorder::CodecId &, const base::RepeatingCallback<void (const media::WebmMuxer::VideoParameters &, std::__1::unique_ptr<std::__1::basic_string<char>, std::__1::default_delete<std::__1::basic_string<char> > >, std::__1::unique_ptr<std::__1::basic_string<char>, std::__1::default_delete<std::__1::basic_string<char> > >, base::TimeTicks, bool)> &, const int &, bool, const scoped_refptr<media::VideoFrame> &, base::TimeTicks> base/bind_internal.h:619 (content_unittests+0xba236e8) #10 RunImpl<void (content::VideoTrackRecorder::*const &)(content::VideoTrackRecorder::CodecId, const base::RepeatingCallback<void (const media::WebmMuxer::VideoParameters &, std::__1::unique_ptr<std::__1::basic_string<char>, std::__1::default_delete<std::__1::basic_string<char> > >, std::__1::unique_ptr<std::__1::basic_string<char>, std::__1::default_delete<std::__1::basic_string<char> > >, base::TimeTicks, bool)> &, int, bool, const scoped_refptr<media::VideoFrame> &, base::TimeTicks), const std::__1::tuple<base::WeakPtr<content::VideoTrackRecorder>, content::VideoTrackRecorder::CodecId, base::RepeatingCallback<void (const media::WebmMuxer::VideoParameters &, std::__1::unique_ptr<std::__1::basic_string<char>, std::__1::default_delete<std::__1::basic_string<char> > >, std::__1::unique_ptr<std::__1::basic_string<char>, std::__1::default_delete<std::__1::basic_string<char> > >, base::TimeTicks, bool)>, int> &, 0, 1, 2, 3> base/bind_internal.h:672 (content_unittests+0xba236e8) #11 base::internal::Invoker<base::internal::BindState<void (content::VideoTrackRecorder::*)(content::VideoTrackRecorder::CodecId, base::RepeatingCallback<void (media::WebmMuxer::VideoParameters const&, std::__1::unique_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::default_delete<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, std::__1::unique_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::default_delete<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, base::TimeTicks, bool)> const&, int, bool, scoped_refptr<media::VideoFrame> const&, base::TimeTicks), base::WeakPtr<content::VideoTrackRecorder>, content::VideoTrackRecorder::CodecId, base::RepeatingCallback<void (media::WebmMuxer::VideoParameters const&, std::__1::unique_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::default_delete<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, std::__1::unique_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::default_delete<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, base::TimeTicks, bool)>, int>, void (bool, scoped_refptr<media::VideoFrame> const&, base::TimeTicks)>::Run(base::internal::BindStateBase*, bool, scoped_refptr<media::VideoFrame> const&, base::TimeTicks&&) base/bind_internal.h:654 (content_unittests+0xba236e8) #12 Run base/callback.h:136:12 (content_unittests+0xba21a11) #13 content::VideoTrackRecorder::OnVideoFrameForTesting(scoped_refptr<media::VideoFrame> const&, base::TimeTicks) content/renderer/media_recorder/video_track_recorder.cc:470 (content_unittests+0xba21a11) #14 content::VideoTrackRecorderTest::Encode(scoped_refptr<media::VideoFrame> const&, base::TimeTicks) content/renderer/media_recorder/video_track_recorder_unittest.cc:132:28 (content_unittests+0x3d70789) #15 content::VideoTrackRecorderTest_EncodeFrameWithPaddedCodedSize_Test::TestBody() content/renderer/media_recorder/video_track_recorder_unittest.cc:271:3 (content_unittests+0x3d712c4) #16 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (content_unittests+0x4bf353f) #17 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499 (content_unittests+0x4bf353f) #18 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 (content_unittests+0x4bf44f8) #19 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (content_unittests+0x4bf50d6) #20 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (content_unittests+0x4c06956) #21 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (content_unittests+0x4c06139) #22 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (content_unittests+0x4c06139) #23 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (content_unittests+0x6c30192) #24 base::TestSuite::Run() base/test/test_suite.cc:316 (content_unittests+0x6c30192) #25 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (content_unittests+0x6bbf852) #26 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (content_unittests+0x6b56948) #27 MakeItSo<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (content_unittests+0x6b56948) #28 RunImpl<int (content::UnitTestTestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, 0> base/bind_internal.h:672 (content_unittests+0x6b56948) #29 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (content_unittests+0x6b56948) #30 Run base/callback.h:97:12 (content_unittests+0x6c4aa2d) #31 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (content_unittests+0x6c4aa2d) #32 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (content_unittests+0x6c4a890) #33 main content/test/run_all_unittests.cc:14:10 (content_unittests+0x6b568b4) SUMMARY: ThreadSanitizer: data race base/containers/circular_deque.h in base::circular_deque<base::RepeatingCallback<void (char const*, int, base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >)> >::pop_back() ================== ThreadSanitizer: reported 1 warnings [ RUN ] CodecEnumeratorTest.MakeSupportedProfilesVp9 [ OK ] CodecEnumeratorTest.MakeSupportedProfilesVp9 (0 ms) ================================================================================