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

Issue 1140943006: Walking heaps from GetProcessHeaps is flaky by design, failing on XP (Closed)

Created:
5 years, 7 months ago by brucedawson
Modified:
5 years, 7 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Walking heaps from GetProcessHeaps is flaky by design, failing on XP There are two possible race conditions in walking the heaps returned by GetProcessHeaps and on Windows XP we hit one of these race conditions, manifested in a crash, on 42 of the last 200 base unittests. Disabling the test entirely until a better fix is found (or perhaps forever). The unreliability of the underlying code is acceptable for tracing, although perhaps not acceptable for tracing on XP given the failure rate. TBR=sebmarchand@chromium.org,primiano@chromium.org BUG=487291 Committed: https://crrev.com/089be897821c18207119dfe364f19cfc1876bc82 Cr-Commit-Position: refs/heads/master@{#330423}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M base/trace_event/winheap_dump_provider_win_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 8 (1 generated)
brucedawson
I'm going to commit this to reduce flakiness. A better fix may be appropriate long-term. ...
5 years, 7 months ago (2015-05-18 20:47:33 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1140943006/1
5 years, 7 months ago (2015-05-18 20:50:42 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 7 months ago (2015-05-18 21:07:28 UTC) #4
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/089be897821c18207119dfe364f19cfc1876bc82 Cr-Commit-Position: refs/heads/master@{#330423}
5 years, 7 months ago (2015-05-18 22:43:34 UTC) #5
Primiano Tucci (use gerrit)
LGTM with sad face (but many thanks for the thorough explanation in the mail thread... ...
5 years, 7 months ago (2015-05-19 09:14:01 UTC) #6
brucedawson1
Listing all heaps is safe, and enumerating a heap is safe, but enumerating all heaps ...
5 years, 7 months ago (2015-05-19 14:18:41 UTC) #7
Sébastien Marchand
5 years, 7 months ago (2015-05-25 15:49:39 UTC) #8
Message was sent while issue was closed.
On 2015/05/19 14:18:41, brucedawson1 wrote:
> Listing all heaps is safe, and enumerating a heap is safe, but enumerating all
> heaps that you list...

lgtm, thanks fpr the thorough explanation !

Powered by Google App Engine
This is Rietveld 408576698