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

Issue 888088 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Sep 24
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Logging doesn't work in utility process on Windows

Project Member Reported by xhw...@chromium.org, Sep 21

Issue description

If I use --no-sandbox, logging works when using ServiceUtilityProcessHost. Otherwise, logging doesn't work.

This is inconvenient for debugging as we move more services to the utility process. 
 
Project Member

Comment 2 by bugdroid1@chromium.org, Sep 24

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

commit fe29a58304773b03a59e50af2d64627ff5d31765
Author: Xiaohan Wang <xhwang@chromium.org>
Date: Mon Sep 24 17:45:51 2018

sandbox: Allow utility process to access the log file on Windows

Currently this is only allowed for renderer and gpu process. This CL
also allows it for utility process.

Also pass logging switches to the UtilityProcessHost. These switches
are already passed in ServiceUtilityProcessHost. Both are using
kUtilityProcess process type.

Bug:  888088 
Change-Id: Ic26b9c9e6ce0c9024fb3ca4c8d352c5a283bef81
Reviewed-on: https://chromium-review.googlesource.com/1239172
Reviewed-by: Will Harris <wfh@chromium.org>
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Commit-Queue: Xiaohan Wang <xhwang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#593588}
[modify] https://crrev.com/fe29a58304773b03a59e50af2d64627ff5d31765/content/browser/utility_process_host.cc
[modify] https://crrev.com/fe29a58304773b03a59e50af2d64627ff5d31765/services/service_manager/sandbox/win/sandbox_win.cc

Status: Fixed (was: Assigned)
Cc: marinaciocea@chromium.org olka@chromium.org maxmorin@chromium.org
 Issue 865472  has been merged into this issue.

Sign in to add a comment