New issue
Advanced search Search tips

Issue 816764 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

browser_tests crash on mac_chromium_rel_ng

Project Member Reported by sunn...@chromium.org, Feb 27 2018

Issue description

Build: https://ci.chromium.org/buildbot/tryserver.chromium.mac/mac_chromium_rel_ng/659500

Logdog: https://logs.chromium.org/v/?s=chromium%2Fbb%2Ftryserver.chromium.mac%2Fmac_chromium_rel_ng%2F659500%2F%2B%2Frecipes%2Fsteps%2Fbrowser_tests_on__none__GPU_on_Mac__with_patch_%2F0%2Flogs%2FSitePerProcessPrintBrowserTest.SubframeUnavailableDuringPrint%2F0

sergeyu@ This seems related to  issue 796889 . Please dupe if it's the same bug.

Crash from logdog:
[ RUN      ] SitePerProcessPrintBrowserTest.SubframeUnavailableDuringPrint
[6109:2819:0226/155731.779048:WARNING:notification_platform_bridge_mac.mm(510)] AlertNotificationService: XPC connection invalidated.
2018-02-26 15:57:31.878 browser_tests[6109:80307] *** Owner supplied to -[NSTrackingArea initWithRect:options:owner:userInfo:] referenced a deallocating object. Tracking area behavior is undefined. Break on NSTrackingAreaDeallocatingOwnerError to debug.
[6115:775:0226/155731.891342:ERROR:vt_video_encode_accelerator_mac.cc(517)]  VTCompressionSessionCreate failed: -12908
[6109:30211:0226/155732.542397:WARNING:simple_synchronous_entry.cc(1255)] Could not open platform files for entry.
[6109:775:0226/155732.896479:WARNING:render_frame_host_impl.cc(2729)] OnDidStopLoading was called twice.
[6109:88323:0226/155733.019395:WARNING:embedded_test_server.cc(228)] Request not handled. Returning 404: /favicon.ico
[6109:24323:0226/155734.004899:FATAL:thread_restrictions.cc(105)] Check failed: !g_base_sync_primitives_disallowed.Get().Get(). Waiting on a //base sync primitive is not allowed on this thread to prevent jank and deadlock. If waiting on a //base sync primitive is unavoidable, do it within the scope of a ScopedAllowBaseSyncPrimitives. If in a test, use ScopedAllowBaseSyncPrimitivesForTesting.
0   browser_tests                       0x000000010feb6f5c base::debug::StackTrace::StackTrace(unsigned long) + 28
1   browser_tests                       0x000000010fedbc90 logging::LogMessage::~LogMessage() + 224
2   browser_tests                       0x000000010ff83829 base::internal::AssertBaseSyncPrimitivesAllowed() + 121
3   browser_tests                       0x000000010ff2c737 base::Process::WaitForExitWithTimeout(base::TimeDelta, int*) const + 39
4   browser_tests                       0x000000010ff2c665 base::Process::Terminate(int, bool) const + 213
5   browser_tests                       0x000000010ccdc602 printing::(anonymous namespace)::KillPrintFrameContentMsgFilter::OnMessageReceived(IPC::Message const&) + 226
6   browser_tests                       0x000000010def131c content::BrowserMessageFilter::Internal::DispatchMessage(IPC::Message const&) + 108
7   browser_tests                       0x000000010def1113 content::BrowserMessageFilter::Internal::OnMessageReceived(IPC::Message const&) + 563
8   browser_tests                       0x000000011161bd8d IPC::MessageFilterRouter::TryFilters(IPC::Message const&) + 237
9   browser_tests                       0x0000000111606c95 IPC::ChannelProxy::Context::TryFilters(IPC::Message const&) + 117
10  browser_tests                       0x0000000111606f42 IPC::ChannelProxy::Context::OnMessageReceived(IPC::Message const&) + 18
11  browser_tests                       0x00000001116034a6 IPC::ChannelMojo::OnMessageReceived(IPC::Message const&) + 86
12  browser_tests                       0x000000011160b66c IPC::internal::MessagePipeReader::Receive(base::span<unsigned char const>, base::Optional<std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle>, std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> > > >) + 732
13  browser_tests                       0x000000011170164b IPC::mojom::ChannelStubDispatch::Accept(IPC::mojom::Channel*, mojo::Message*) + 1131
14  browser_tests                       0x000000011170b146 mojo::InterfaceEndpointClient::HandleValidatedMessage(mojo::Message*) + 950
15  browser_tests                       0x000000011170aa16 mojo::FilterChain::Accept(mojo::Message*) + 150
16  browser_tests                       0x000000011170c575 mojo::InterfaceEndpointClient::HandleIncomingMessage(mojo::Message*) + 117
17  browser_tests                       0x00000001116104f0 IPC::(anonymous namespace)::ChannelAssociatedGroupController::Accept(mojo::Message*) + 784
18  browser_tests                       0x000000011170aa16 mojo::FilterChain::Accept(mojo::Message*) + 150
19  browser_tests                       0x0000000111705cd5 mojo::Connector::ReadSingleMessage(unsigned int*) + 421
20  browser_tests                       0x0000000111706721 mojo::Connector::ReadAllAvailableMessages() + 97
21  browser_tests                       0x00000001117065d9 mojo::Connector::OnHandleReadyInternal(unsigned int) + 137
22  browser_tests                       0x000000010dc6e877 mojo::SimpleWatcher::DiscardReadyState(base::RepeatingCallback<void (unsigned int)> const&, unsigned int, mojo::HandleSignalsState const&) + 103
23  browser_tests                       0x000000011162322c mojo::SimpleWatcher::OnHandleReady(int, unsigned int, mojo::HandleSignalsState const&) + 332
24  browser_tests                       0x0000000111623761 void base::internal::Invoker<base::internal::BindState<void (mojo::SimpleWatcher::*)(int, unsigned int, mojo::HandleSignalsState const&), base::WeakPtr<mojo::SimpleWatcher>, int, unsigned int, mojo::HandleSignalsState>, void ()>::RunImpl<void (mojo::SimpleWatcher::* const&)(int, unsigned int, mojo::HandleSignalsState const&), std::__1::tuple<base::WeakPtr<mojo::SimpleWatcher>, int, unsigned int, mojo::HandleSignalsState> const&, 0ul, 1ul, 2ul, 3ul>(void (mojo::SimpleWatcher::* const&&&)(int, unsigned int, mojo::HandleSignalsState const&), std::__1::tuple<base::WeakPtr<mojo::SimpleWatcher>, int, unsigned int, mojo::HandleSignalsState> const&&&, std::__1::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul>) + 193
25  browser_tests                       0x000000010feb78d5 base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) + 261
26  browser_tests                       0x000000010fef2499 base::internal::IncomingTaskQueue::RunTask(base::PendingTask*) + 121
27  browser_tests                       0x000000010fef6d37 base::MessageLoop::RunTask(base::PendingTask*) + 599
28  browser_tests                       0x000000010fef70fa base::MessageLoop::DeferOrRunPendingTask(base::PendingTask) + 186
29  browser_tests                       0x000000010fef736c base::MessageLoop::DoWork() + 572
30  browser_tests                       0x000000010fef9885 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) + 245
31  browser_tests                       0x000000010fef6659 base::MessageLoop::Run(bool) + 169
32  browser_tests                       0x000000010ff344d9 base::RunLoop::Run() + 249
33  browser_tests                       0x000000010ff8099e base::Thread::Run(base::RunLoop*) + 206
34  browser_tests                       0x000000010e064b38 content::BrowserThreadImpl::IOThreadRun(base::RunLoop*) + 24
35  browser_tests                       0x000000010e064c85 content::BrowserThreadImpl::Run(base::RunLoop*) + 229
36  browser_tests                       0x000000010ff80f5c base::Thread::ThreadMain() + 908
37  browser_tests                       0x000000010ff7bc3f base::(anonymous namespace)::ThreadFunc(void*) + 95
38  libsystem_pthread.dylib             0x00007fff6cf356c1 _pthread_body + 340
39  libsystem_pthread.dylib             0x00007fff6cf3556d _pthread_body + 0
40  libsystem_pthread.dylib             0x00007fff6cf34c5d thread_start + 13
 
Labels: -Pri-3 Pri-1
Upgrading priority since this is crashing more frequently now:

#659649 [Running for: 1 hrs 23 mins] failed browser_tests on (none) GPU on Mac (with patch) failed webkit_layout_tests on Intel GPU on Mac (with patch) on Mac-10.12.6 failed browser_tests on (none) GPU on Mac (without patch)
#659656 [Running for: 1 hrs 14 mins] failed browser_tests on (none) GPU on Mac (with patch) failed webkit_layout_tests on Intel GPU on Mac (with patch) on Mac-10.12.6 failed browser_tests on (none) GPU on Mac (without patch)
#659660 [Running for: 1 hrs 10 mins] failed browser_tests on (none) GPU on Mac (with patch) failed webkit_layout_tests on Intel GPU on Mac (with patch) on Mac-10.12.6 failed browser_tests on (none) GPU on Mac (without patch)
#659662 [Running for: 1 hrs 7 mins] failed browser_tests on (none) GPU on Mac (with patch) failed webkit_layout_tests on Intel GPU on Mac (with patch) on Mac-10.12.6 failed browser_tests on (none) GPU on Mac (without patch)
#659663 [Running for: 1 hrs 4 mins] failed browser_tests on (none) GPU on Mac (with patch) failed webkit_layout_tests on Intel GPU on Mac (with patch) on Mac-10.12.6 failed browser_tests on (none) GPU on Mac (without patch)
#659666 [Running for: 1 hrs 2 mins] failed browser_tests on (none) GPU on Mac (with patch) failed webkit_layout_tests on Intel GPU on Mac (with patch) on Mac-10.12.6 failed browser_tests on (none) GPU on Mac (without patch)
#659668 [Running for: 1 hrs] failed browser_tests on (none) GPU on Mac (with patch)
#659669 [Running for: 58 mins 17 secs] failed interactive_ui_tests on (none) GPU on Mac (with patch) failed webkit_layout_tests on Intel GPU on Mac (with patch) on Mac-10.12.6
#659670 [Running for: 57 mins 57 secs] failed webkit_layout_tests on Intel GPU on Mac (with patch) on Mac-10.12.6
#659671 [Running for: 56 mins 5 secs] failed interactive_ui_tests on (none) GPU on Mac (with patch) failed webkit_layout_tests on Intel GPU on Mac (with patch) on Mac-10.12.6
#659672 [Running for: 55 mins 47 secs] failed webkit_layout_tests on Intel GPU on Mac (with patch) on Mac-10.12.6
#659676 [Running for: 54 mins 27 secs] failed webkit_layout_tests on Intel GPU on Mac (with patch) on Mac-10.12.6
#659677 [Running for: 54 mins 27 secs] failed browser_tests on (none) GPU on Mac (with patch) failed interactive_ui_tests on (none) GPU on Mac (with patch)
#659678 [Running for: 53 mins 16 secs]
#659679 [Running for: 53 mins 16 secs]
#659682 [Running for: 50 mins 47 secs]
#659683 [Running for: 48 mins 6 secs] failed content_shell_crash_test on (none) GPU on Mac (with patch, experimental) failed webkit_layout_tests on Intel GPU on Mac (with patch) on Mac-10.12.6
#659684 [Running for: 47 mins 6 secs]
#659685 [Running for: 47 mins 2 secs]
#659686 [Running for: 46 mins 47 secs]
#659687 [Running for: 46 mins 47 secs] failed browser_tests on (none) GPU on Mac (with patch)

Components: -Internals>TaskScheduler
I don't see any task scheduler actionable items here. This looks to be a base sync primitives usage violation.

If there's something we should consider for the API, feel free to add Internals > Task Scheduler back on the components list.
Components: Internals>Printing
Owner: weili@chromium.org
-> weili@ since this involves PrintBrowserTest

Comment 4 by weili@chromium.org, Feb 27 2018

Status: Fixed (was: Assigned)
I believe that this is fixed https://chromium.googlesource.com/chromium/src.git/+/788c11139b869d1fc5b82cbbd238af2fd543535e, also the trybot recent builds are all green. thanks.

Sign in to add a comment