New issue
Advanced search Search tips

Issue 764301 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Processes in some situations are reported as process ID 0

Project Member Reported by phistuck@gmail.com, Sep 12 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36

Steps to reproduce the problem:
1. Listen to chrome.processes.onCreated
2. Go to chrome:extensions
Or
Open the Developer Tools (make sure it is started in docked mode)

What is the expected behavior?
{..., osProcessId: some real number}

What went wrong?
{..., osProcessId: 0}

WebStore page: 

Did this work before? N/A 

Chrome version: 60.0.3112.113  Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version:
 

Comment 1 by phistuck@gmail.com, Sep 12 2017

Calling chrome.processes.getProcessInfo([], false, console.log) afterwards shows the same thing - osProcessId: 0.

Once you undock the Developer Tools, onCreated is fired again with a real osProcessId.
Cc: rdevlin....@chromium.org
Components: -Platform>Extensions Platform>Extensions>API Platform>DevTools
Status: Untriaged (was: Unconfirmed)
Components: UI>Browser>WebUI
Components: Internals>Core UI>TaskManager
Labels: -Type-Bug -Pri-2 Pri-1 Type-Bug-Regression
Summary: Processes in some situations are reported as process ID 0 (was: chrome.processes reports osProcessId: 0 in some situations)
The Chrome task manager shows 0 as the process ID and no memory or CPU information when that happens, so it is not only an extension API issue.

I think this is a regression.
Cc: nick@chromium.org
Owner: afakhry@chromium.org
Status: Assigned (was: Untriaged)
Thanks for the report!  Assigning to afakhry@ for task manager triage.
Cc: -nick@chromium.org afakhry@chromium.org
Owner: nick@chromium.org
Nick, I thought you already fixed this issue in https://codereview.chromium.org/2961423002/. If this is Windows only, can you please take a look?

Comment 7 by phistuck@gmail.com, Sep 12 2017

#6 - since the issue affects more than just the task manager and that code seems pretty task manager specific, I am not sure that fix is related.
Unless this task manager code feeds the chrome.processes API as well?
The processes API is a client of the task manager.

Comment 9 by phistuck@gmail.com, Sep 12 2017

If you want to see the effects quickly, you can use this extension (inspect its background page) -
https://github.com/phistuck/extraneous-process-detector-chrome-extension

(It is benign without a Powershell script)
Components: -Platform>DevTools
Owner: ----

Sign in to add a comment