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

Issue 2224543002: Revert "Clear isolate callback data before running shutdowncallback" (Closed)

Created:
4 years, 4 months ago by terry
Modified:
4 years, 4 months ago
Reviewers:
Cutch, Jacob, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Currently breaks Dartium. Will investigate with John. Revert "Clear isolate callback data before running shutdowncallback" This reverts commit aed6dd844d3f49acf97294e45d0ec9cfeaf6f508. TBR=jacobr@google.com,johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/c811e3c26e9fdf6ff35f19c56d2d12ccf3d818df

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -2 lines) Patch
M runtime/vm/dart.cc View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
terry
4 years, 4 months ago (2016-08-05 17:59:24 UTC) #1
terry
Committed patchset #1 (id:1) manually as c811e3c26e9fdf6ff35f19c56d2d12ccf3d818df (presubmit successful).
4 years, 4 months ago (2016-08-05 18:02:00 UTC) #4
Jacob
lgtm
4 years, 4 months ago (2016-08-05 18:10:15 UTC) #5
siva
4 years, 4 months ago (2016-08-05 20:50:20 UTC) #7
Message was sent while issue was closed.
Terry,

Can we figure out why Dartium is crashing with this fix because we clearly have
a race here with the isolate callback
data not being cleared when the isolate is shutting down.

Reverting the change exposes a crash that we are seeing elsewhere. It would be
nice to know why dartium is failing. As far as we know dartium does not register
a shutdown callback so it is not clear why that would effect this,

It could be some code that accesses DartDOMData::Current() without checking if
it returns NULL. I see some cases like that in DartUtilities::stringToDart

Powered by Google App Engine
This is Rietveld 408576698