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

Issue 10914125: A speculative fix for TSAN and HeapCheck failures in InMemoryURLIndexCacheTest. (Closed)

Created:
8 years, 3 months ago by erikwright (departed)
Modified:
8 years, 3 months ago
Reviewers:
Timur Iskhodzhanov, sky
CC:
chromium-reviews, pam+watch_chromium.org, glider+watch_chromium.org, browser-components-watch_chromium.org, timurrrr+watch_chromium.org, bruening+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

A speculative fix for TSAN and HeapCheck failures in InMemoryURLIndexCacheTest. These failures may be due to poor assumptions that were previously validated as a side-effect of code that I removed. Basically, the test is reaching into the history service and grabbing its DB, then accessing it off of the service's thread. This is fundamentally wrong but would still work if you wait until the history service is completely idle. Previously BlockUntilBookmarkModelLoaded might have had this side-effect. I was unable to repro the failure locally with TSan, so removing the suppressions and observing to see if the problem recurs. R=timurrrr@chromium.org,sky@chromium.org BUG=146322, 146265 TEST=observe TSan/Heapcheck bots. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156840

Patch Set 1 #

Patch Set 2 : Sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -24 lines) Patch
M chrome/browser/history/in_memory_url_index_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M tools/heapcheck/unit_tests.gtest-heapcheck.txt View 1 chunk +0 lines, -3 lines 0 comments Download
M tools/valgrind/tsan/suppressions.txt View 1 1 chunk +0 lines, -21 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
erikwright (departed)
8 years, 3 months ago (2012-09-06 18:44:00 UTC) #1
Timur Iskhodzhanov
Would be nice to have a TODO with a link to the bug explaining this ...
8 years, 3 months ago (2012-09-06 18:48:21 UTC) #2
sky
LGTM
8 years, 3 months ago (2012-09-06 20:30:38 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/10914125/5001
8 years, 3 months ago (2012-09-14 15:38:40 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/10914125/5001
8 years, 3 months ago (2012-09-14 17:42:51 UTC) #5
commit-bot: I haz the power
8 years, 3 months ago (2012-09-14 18:11:22 UTC) #6
Change committed as 156840

Powered by Google App Engine
This is Rietveld 408576698