New issue
Advanced search Search tips

Issue 692259 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

"Error observing HKLM" warning logged on every Chrome startup.

Project Member Reported by w...@chromium.org, Feb 14 2017

Issue description

Chrome Version: (copy from chrome://version)
OS: (e.g. Win7, OSX 10.9.5, etc...)

What steps will reproduce the problem?
(1) Run chrome with --enable-logging.

What happens instead?

[62184:50404:0214/145506.324:WARNING:external_registry_loader_win.cc(211)] Error observing HKLM.

is logged every time Chrome is run.

 

Comment 1 by w...@chromium.org, Feb 14 2017

Looks like the error is just "access denied", presumably because we're trying to open/create the key read/write, where as a normal user process we only typically have read permissions to it?
Project Member

Comment 2 by bugdroid1@chromium.org, Feb 15 2017

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

commit 2884d9bee4a26233c3195f8d05b68aae8277e5c8
Author: wez <wez@chromium.org>
Date: Wed Feb 15 01:19:26 2017

Log the error result when observing a registry key fails.

Logging a warning on failure isn't very helpful without the error code.

BUG=692259

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

[modify] https://crrev.com/2884d9bee4a26233c3195f8d05b68aae8277e5c8/chrome/browser/extensions/external_registry_loader_win.cc

Owner: lazyboy@chromium.org
Status: Assigned (was: Untriaged)
@comment #1, we use KEY_NOTIFY flag, which seems to be treated as write?
Regardless, as you suggested in the CL, we should be reading the registry key once during startup if watching the key fails.
I thought we already had code to read the registry once during startup. If so,  we don't need to do anything else and continue. If not, then I'll add it.
Assigning to myself.

Sign in to add a comment