New issue
Advanced search Search tips

Issue 616641 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Dec 20
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

Race condition in DevTools requires UI thread hop in URLRequestChromeJob::Start()

Project Member Reported by creis@chromium.org, Jun 2 2016

Issue description

Version: 53.0.2755.0
OS: Mac

As we discovered in  issue 616282 , there's a race condition that breaks most buttons and panels of undocked DevTools on Mac if we remove the UI thread hop from URLRequestChromeJob::Start().  (See caseq@'s comment 8 for the diagnosis.)

This became a problem after landing r396193, which cleaned up some unused code for  issue 614808 .  We reverted that CL in r397006, but we plan to partially reland it while preserving the UI thread hop for Dev Tools for the moment.

We should track down the race condition and get it fixed so that the legacy thread hop can also be removed.
 

Comment 1 by caseq@chromium.org, Jun 2 2016

Cc: -pfeldman@chromium.org caseq@chromium.org
Owner: pfeldman@chromium.org

Comment 2 by caseq@chromium.org, Jun 2 2016

Status: Assigned (was: Untriaged)
Owner: caseq@chromium.org
Project Member

Comment 5 by bugdroid1@chromium.org, Dec 20

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

commit 625fd79e112f07c841b49d76b3c702a0acb43d09
Author: Andrey Kosyakov <caseq@chromium.org>
Date: Thu Dec 20 01:45:11 2018

Remove a workaround for race in DevToolsDataSource::StartDataRequest()

I can't reproduce the race anymore and suspect that it is gone with
https://chromium-review.googlesource.com/1229198, which has stopped
relying on interception to support debug_devtools mode.

Bug:  616641 
Change-Id: I31ffbc52ff5fcac1e28a677bbc03c7ea9c6bca0b
Reviewed-on: https://chromium-review.googlesource.com/c/1385116
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Andrey Kosyakov <caseq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#618069}
[modify] https://crrev.com/625fd79e112f07c841b49d76b3c702a0acb43d09/content/browser/webui/url_data_manager_backend.cc

Status: Fixed (was: Assigned)

Sign in to add a comment