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

Issue 266036: Fix another race condition on worker process shutdown that results in use-aft... (Closed)

Created:
11 years, 2 months ago by jam
Modified:
9 years, 7 months ago
Reviewers:
Dmitry Titov
CC:
chromium-reviews_googlegroups.com, darin (slow to review), jam, tim (not reviewing), Paweł Hajdan Jr.
Visibility:
Public.

Description

Fix another race condition on worker process shutdown that results in use-after-free. Like 23018, this is happening because valgrind is slowing the worker thread shutdown enough that the backup terminate process code executes. BUG=24346 TEST=covered by valgrind Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=28646

Patch Set 1 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -35 lines) Patch
M chrome/renderer/webworker_proxy.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/webworker_proxy.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/worker/nativewebworker_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/worker/nativewebworker_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/worker/webworkerclient_proxy.cc View 1 chunk +1 line, -0 lines 0 comments Download
M tools/valgrind/memcheck/suppressions.txt View 2 chunks +0 lines, -34 lines 0 comments Download
M webkit/api/public/WebWorker.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/webworker_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/webworker_impl.cc View 7 chunks +21 lines, -1 line 0 comments Download
M webkit/tools/test_shell/test_web_worker.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
jam
11 years, 2 months ago (2009-10-09 23:02:45 UTC) #1
Dmitry Titov
11 years, 2 months ago (2009-10-09 23:18:49 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698