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

Issue 608043002: Revert of Pending tasks in a message loop should be deleted before shutting down Blink (Closed)

Created:
6 years, 2 months ago by reveman
Modified:
6 years, 2 months ago
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, jam, erikwright+watch_chromium.org, sadrul, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Revert of Pending tasks in a message loop should be deleted before shutting down Blink (patchset #7 id:120001 of https://codereview.chromium.org/583043005/) Reason for revert: Speculative revert. Likely cause of crbug.com/418206 Original issue's description: > Pending tasks in a message loop should be deleted before shutting down Blink > > Currently Blink is shut down before all the pending tasks in the message loop are deleted. This is problematic in Oilpan because a destructor of the pending tasks can touch Oilpan objects. Because Oilpan is already detached from the renderer thread at that point, touching Oilpan objects in the destructor leads to a crash. (See the bug report for a concrete scenario.) > > To prevent Blink objects from getting accessed after Blink is shut down, this CL deletes all pending tasks in a message loop before shutting down Blink. > > BUG=411026 > TEST=None. I cannot reproduce the crash. > > Committed: https://crrev.com/fdd5612c20f777e1279efd7c1e99d82ed04afaaf > Cr-Commit-Position: refs/heads/master@{#296697} TBR=tkent@chromium.org,jochen@chromium.org,jamesr@chromium.org,ager@chromium.org,jar@chromium.org,haraken@chromium.org NOTREECHECKS=true NOTRY=true BUG=411026 Committed: https://crrev.com/b55766f336448e0010c2953654f4a940409f549b Cr-Commit-Position: refs/heads/master@{#297022}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -25 lines) Patch
M content/renderer/render_thread_impl.h View 2 chunks +0 lines, -7 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 2 chunks +0 lines, -11 lines 0 comments Download
M content/renderer/renderer_main.cc View 3 chunks +6 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
reveman
Created Revert of Pending tasks in a message loop should be deleted before shutting down ...
6 years, 2 months ago (2014-09-26 20:24:59 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/608043002/1
6 years, 2 months ago (2014-09-26 20:25:27 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1) as 9b11c66ef2a1002a697f656ce589a45e2ef147c0
6 years, 2 months ago (2014-09-26 20:26:12 UTC) #3
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/b55766f336448e0010c2953654f4a940409f549b Cr-Commit-Position: refs/heads/master@{#297022}
6 years, 2 months ago (2014-09-26 20:26:52 UTC) #4
haraken
6 years, 2 months ago (2014-09-27 01:21:42 UTC) #5
Message was sent while issue was closed.
LGTM, thanks for the revert!

Powered by Google App Engine
This is Rietveld 408576698