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

Issue 661417 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Failed to locate a binder for interface: dom_distiller::mojom::DistillabilityService

Project Member Reported by mgiuca@chromium.org, Nov 2 2016

Issue description

Version: As of r429140
OS: Android

What steps will reproduce the problem?
(1) Run adb logcat chromium:E
(2) Start Chromium on Android

What is the expected output?
No errors.

What do you see instead?
11-02 13:02:57.290 32107 32107 E chromium: [ERROR:interface_registry.cc(208)] Failed to locate a binder for interface: dom_distiller::mojom::DistillabilityService requested by: service:content_renderer exposed by: service:content_browser via InterfaceProviderSpec "navigation:frame".
11-02 13:02:57.290 32107 32107 E chromium: 
11-02 13:02:57.290 32107 32107 E chromium: InterfaceRegistry(navigation:frame):
11-02 13:02:57.290 32107 32107 E chromium: Owned by:
11-02 13:02:57.290 32107 32107 E chromium:   service:content_browser@ run as: 1f333fa2-aef6-4cc7-a5c0-3a2c2fbfccb9
11-02 13:02:57.290 32107 32107 E chromium: 
11-02 13:02:57.290 32107 32107 E chromium:   Providing:
11-02 13:02:57.290 32107 32107 E chromium:     capability: renderer containing interfaces:
11-02 13:02:57.290 32107 32107 E chromium:       autofill::mojom::AutofillDriver
11-02 13:02:57.290 32107 32107 E chromium:       autofill::mojom::PasswordManagerDriver
11-02 13:02:57.290 32107 32107 E chromium:       blink::mojom::MediaSessionService
11-02 13:02:57.290 32107 32107 E chromium:       blink::mojom::PaymentRequest
11-02 13:02:57.290 32107 32107 E chromium:       blink::mojom::PermissionService
11-02 13:02:57.290 32107 32107 E chromium:       blink::mojom::PresentationService
11-02 13:02:57.290 32107 32107 E chromium:       blink::mojom::SensitiveInputVisibilityService
11-02 13:02:57.290 32107 32107 E chromium:       blink::mojom::ShapeDetection
11-02 13:02:57.290 32107 32107 E chromium:       blink::mojom::ShareService
11-02 13:02:57.290 32107 32107 E chromium:       blink::mojom::WebBluetoothService
11-02 13:02:57.290 32107 32107 E chromium:       blink::mojom::WebSocket
11-02 13:02:57.290 32107 32107 E chromium:       bluetooth::mojom::AdapterFactory
11-02 13:02:57.290 32107 32107 E chromium:       content::mojom::BrowserTarget
11-02 13:02:57.290 32107 32107 E chromium:       device::VRService
11-02 13:02:57.290 32107 32107 E chromium:       device::VibrationManager
11-02 13:02:57.290 32107 32107 E chromium:       device::mojom::GeolocationService
11-02 13:02:57.290 32107 32107 E chromium:       device::mojom::SensorProvider
11-02 13:02:57.290 32107 32107 E chromium:       device::mojom::WakeLockService
11-02 13:02:57.290 32107 32107 E chromium:       device::nfc::mojom::NFC
11-02 13:02:57.290 32107 32107 E chromium:       device::usb::ChooserService
11-02 13:02:57.290 32107 32107 E chromium:       device::usb::DeviceManager
11-02 13:02:57.290 32107 32107 E chromium:       dom_distiller::mojom::DistillabilityService
11-02 13:02:57.290 32107 32107 E chromium:       dom_distiller::mojom::DistillerJavaScriptService
11-02 13:02:57.290 32107 32107 E chromium:       extensions::KeepAlive
11-02 13:02:57.290 32107 32107 E chromium:       extensions::mime_handler::MimeHandlerService
11-02 13:02:57.290 32107 32107 E chromium:       media::mojom::InterfaceFactory
11-02 13:02:57.290 32107 32107 E chromium:       media::mojom::RemoterFactory
11-02 13:02:57.290 32107 32107 E chromium:       media_router::mojom::MediaRouter
11-02 13:02:57.290 32107 32107 E chromium:       mojom::MediaDevicesDispatcherHost
11-02 13:02:57.290 32107 32107 E chromium:       mojom::OmniboxPageHandler
11-02 13:02:57.290 32107 32107 E chromium:       mojom::PluginsPageHandler
11-02 13:02:57.290 32107 32107 E chromium:       mojom::SiteEngagementUIHandler
11-02 13:02:57.290 32107 32107 E chromium:       mojom::UsbInternalsPageHandler
11-02 13:02:57.290 32107 32107 E chromium:       password_manager::mojom::CredentialManager
11-02 13:02:57.290 32107 32107 E chromium:       translate::mojom::ContentTranslateDriver
11-02 13:02:57.290 32107 32107 E chromium: 
11-02 13:02:57.290 32107 32107 E chromium:   Requiring:
11-02 13:02:57.290 32107 32107 E chromium:     From: service:content_renderer:
11-02 13:02:57.290 32107 32107 E chromium:       browser
11-02 13:02:57.290 32107 32107 E chromium: 
11-02 13:02:57.290 32107 32107 E chromium: Bound to:
11-02 13:02:57.290 32107 32107 E chromium:   service:content_renderer@3_1 run as: 1f333fa2-aef6-4cc7-a5c0-3a2c2fbfccb9
11-02 13:02:57.290 32107 32107 E chromium: 
11-02 13:02:57.290 32107 32107 E chromium:   Providing:
11-02 13:02:57.290 32107 32107 E chromium:     capability: browser containing interfaces:
11-02 13:02:57.290 32107 32107 E chromium:       autofill::mojom::AutofillAgent
11-02 13:02:57.290 32107 32107 E chromium:       autofill::mojom::PasswordAutofillAgent
11-02 13:02:57.290 32107 32107 E chromium:       autofill::mojom::PasswordGenerationAgent
11-02 13:02:57.290 32107 32107 E chromium:       blink::mojom::AppBannerController
11-02 13:02:57.290 32107 32107 E chromium:       content::mojom::ImageDownloader
11-02 13:02:57.290 32107 32107 E chromium:       dom_distiller::mojom::DistillerPageNotifierService
11-02 13:02:57.290 32107 32107 E chromium: 
11-02 13:02:57.290 32107 32107 E chromium:   Requiring:
11-02 13:02:57.290 32107 32107 E chromium:     From: service:content_browser:
11-02 13:02:57.290 32107 32107 E chromium:       renderer
11-02 13:02:57.290 32107 32107 E chromium: 
11-02 13:02:57.290 32107 32107 E chromium: Binders registered for:
11-02 13:02:57.290 32107 32107 E chromium:  * autofill::mojom::AutofillDriver
11-02 13:02:57.290 32107 32107 E chromium:  * autofill::mojom::PasswordManagerDriver
11-02 13:02:57.290 32107 32107 E chromium:  * blink::mojom::MediaSessionService
11-02 13:02:57.290 32107 32107 E chromium:  * blink::mojom::PaymentRequest
11-02 13:02:57.290 32107 32107 E chromium:  * blink::mojom::PermissionService
11-02 13:02:57.290 32107 32107 E chromium:  * blink::mojom::PresentationService
11-02 13:02:57.290 32107 32107 E chromium:  * blink::mojom::SensitiveInputVisibilityService
11-02 13:02:57.290 32107 32107 E chromium:  * blink::mojom::ShapeDetection
11-02 13:02:57.290 32107 32107 E chromium:  * blink::mojom::ShareService
11-02 13:02:57.290 32107 32107 E chromium:  * blink::mojom::WebBluetoothService
11-02 13:02:57.290 32107 32107 E chromium:  * blink::mojom::WebSocket
11-02 13:02:57.290 32107 32107 E chromium:  * bluetooth::mojom::AdapterFactory
11-02 13:02:57.290 32107 32107 E chromium:  * device::VibrationManager
11-02 13:02:57.290 32107 32107 E chromium:  * device::mojom::GeolocationService
11-02 13:02:57.290 32107 32107 E chromium:  * device::mojom::WakeLockService
11-02 13:02:57.290 32107 32107 E chromium:  * device::nfc::mojom::NFC
11-02 13:02:57.290 32107 32107 E chromium:  * device::usb::ChooserService
11-02 13:02:57.290 32107 32107 E chromium:  * device::usb::DeviceManager
11-02 13:02:57.290 32107 32107 E chromium:  * media::mojom::InterfaceFactory
11-02 13:02:57.290 32107 32107 E chromium:  * media::mojom::RemoterFactory
11-02 13:02:57.290 32107 32107 E chromium:  * mojom::MediaDevicesDispatcherHost
11-02 13:02:57.290 32107 32107 E chromium:  * password_manager::mojom::CredentialManager
11-02 13:02:57.290 32107 32107 E chromium:  * translate::mojom::ContentTranslateDriver
11-02 13:02:57.290 32107 32107 E chromium: 
11-02 13:02:57.290 32107 32107 E chromium:  * - denotes an interface exposed to remote per policy.

This is related to the new whitelist that controls which Mojo services can be exposed (see "Mojo interfaces exposed to frames now controlled via whitelist" email to chromium-dev).
 
It looks like the distiller services were added to the correct manifests (chrome_content_browser_manifest_overlay.json) here:

https://chromium.googlesource.com/chromium/src/+/275a565819b71dc186f9b4a5249fda24058d364b

I'm not seeing the console errors.

Comment 2 by mgiuca@chromium.org, Dec 15 2016

Cc: ben@chromium.org
Owner: sa...@chromium.org
Sam do you know who to pass this onto?

I am still seeing these errors whenever I run logcat on Android and they are very spammy.

Comment 3 by sa...@chromium.org, Jan 3 2017

Cc: -mdjones@chromium.org sa...@chromium.org
Owner: mdjones@chromium.org
The problem is that the RenderFrame is trying to connect to a DistillabilityService from the browser, but the corresponding RenderFrameHost doesn't have a DistillabilityService interface registered.

Comment 4 by sa...@chromium.org, Jan 4 2017

Cc: roc...@chromium.org
 Issue 672965  has been merged into this issue.
Project Member

Comment 5 by bugdroid1@chromium.org, Jan 5 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/98a412efa58cb8aa48d70b473c38bce2cd6391ea

commit 98a412efa58cb8aa48d70b473c38bce2cd6391ea
Author: mdjones <mdjones@chromium.org>
Date: Thu Jan 05 18:00:27 2017

Only send distillability message on valid pipe

For the remaining cases where the renderer tries to connect
to a nonexistent DistillabilityService, make sure the connection
was successful before sending a message.

BUG=661417

Review-Url: https://codereview.chromium.org/2469803002
Cr-Commit-Position: refs/heads/master@{#441700}

[modify] https://crrev.com/98a412efa58cb8aa48d70b473c38bce2cd6391ea/components/dom_distiller/content/renderer/distillability_agent.cc

Cc: -roc...@chromium.org rockot@google.com

Sign in to add a comment