Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Issue 2295413002: Detach LeakDetectorController from remote controller on shutdown (Closed)

Created:
4 years, 3 months ago by Simon Que
Modified:
4 years, 3 months ago
Reviewers:
yzshen1, Will Harris
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Detach LeakDetectorController from remote controller on shutdown Fix an invalid pointer dereference during browser process shutdown, where LeakDetectorController::OnRemoteProcessShutdown is called after the LeakDetectorController has already been deleted. BUG=chromium:637131 TEST=run with leak detector enabled, make sure no crash happens on shutdown; i.e. no attempts to call OnRemoteProcessShutdown() after LeakDetectorController has been destroyed. Committed: https://crrev.com/79f2cd96c247cac4a90708aa7ca86bb48a34c8a2 Cr-Commit-Position: refs/heads/master@{#416381}

Patch Set 1 #

Patch Set 2 : Fix for unit testing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -8 lines) Patch
M chrome/browser/metrics/leak_detector/leak_detector_controller.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/metrics/leak_detector/leak_detector_controller_unittest.cc View 1 6 chunks +16 lines, -4 lines 0 comments Download
M chrome/browser/metrics/leak_detector/leak_detector_remote_controller.cc View 2 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
Simon Que
4 years, 3 months ago (2016-08-31 21:51:51 UTC) #2
yzshen1
LGTM as long as the owner is happy with this.
4 years, 3 months ago (2016-09-02 15:40:03 UTC) #3
Will Harris
lgtm
4 years, 3 months ago (2016-09-02 16:23:07 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2295413002/1
4 years, 3 months ago (2016-09-02 17:14:51 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/229575)
4 years, 3 months ago (2016-09-02 17:53:54 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2295413002/20001
4 years, 3 months ago (2016-09-02 23:13:25 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-02 23:17:46 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-09-02 23:20:56 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/79f2cd96c247cac4a90708aa7ca86bb48a34c8a2
Cr-Commit-Position: refs/heads/master@{#416381}

Powered by Google App Engine
This is Rietveld 408576698