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

Issue 11827013: sync: speculative fix for bug 165561 (Closed)

Created:
7 years, 11 months ago by tim (not reviewing)
Modified:
7 years, 11 months ago
Reviewers:
rlarocque
CC:
chromium-reviews, Raghu Simha, haitaol1, akalin, tim (not reviewing)
Visibility:
Public.

Description

sync: speculative fix for bug 165561 The SyncManager will stop the scheduler as part of StopSyncingForShutdown, which happens well before things like the invalidator are torn down / told to stop interacting with the scheduler. As such, we can wind up scheduling nudges on a lame duck scheduler. Some of the stacks associated with 165561 clearly show browser shutdown happening on the UI thread and OnIncomingInvalidation happening on the sync thread, which will crash on a second invocation as pending_nudge will be set to a job that is dropped by ScheduleSyncSessionJob. BUG=165561 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175945

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M sync/engine/sync_scheduler_impl.cc View 3 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
tim (not reviewing)
I'm not positive this will address all the crashes, but it does fix some of ...
7 years, 11 months ago (2013-01-09 17:26:22 UTC) #1
rlarocque
LGTM
7 years, 11 months ago (2013-01-09 18:04:00 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tim@chromium.org/11827013/1
7 years, 11 months ago (2013-01-09 21:12:42 UTC) #3
commit-bot: I haz the power
7 years, 11 months ago (2013-01-10 00:42:43 UTC) #4
Message was sent while issue was closed.
Change committed as 175945

Powered by Google App Engine
This is Rietveld 408576698