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

Issue 926073002: Fix crash that happens when we send an object whose type is in a defer (Closed)

Created:
5 years, 10 months ago by siva
Modified:
3 years, 8 months ago
Reviewers:
ahe, hausner
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix crash that happens when we send an object whose type is in a defer loaded a library that is loaded in the isolate that is sending the message but has not been loaded yet in the isolate which is receiving the message. R=hausner@google.com Committed: https://code.google.com/p/dart/source/detail?r=43774

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -2 lines) Patch
M runtime/vm/snapshot.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 3 chunks +25 lines, -2 lines 0 comments Download
A tests/isolate/deferred_loaded_lib.dart View 1 chunk +9 lines, -0 lines 0 comments Download
A tests/isolate/issue_21398_parent_isolate2_test.dart View 1 2 1 chunk +49 lines, -0 lines 3 comments Download

Messages

Total messages: 10 (3 generated)
siva
5 years, 10 months ago (2015-02-13 17:43:45 UTC) #2
hausner
LGTM with commments. https://chromiumcodereview.appspot.com/926073002/diff/20001/runtime/vm/snapshot.cc File runtime/vm/snapshot.cc (right): https://chromiumcodereview.appspot.com/926073002/diff/20001/runtime/vm/snapshot.cc#newcode255 runtime/vm/snapshot.cc:255: void SnapshotReader::SetReadException(const char* msg) { I ...
5 years, 10 months ago (2015-02-13 18:05:49 UTC) #3
siva
https://chromiumcodereview.appspot.com/926073002/diff/20001/runtime/vm/snapshot.cc File runtime/vm/snapshot.cc (right): https://chromiumcodereview.appspot.com/926073002/diff/20001/runtime/vm/snapshot.cc#newcode255 runtime/vm/snapshot.cc:255: void SnapshotReader::SetReadException(const char* msg) { On 2015/02/13 18:05:49, hausner ...
5 years, 10 months ago (2015-02-13 18:43:42 UTC) #5
siva
Committed patchset #3 (id:40001) manually as r43774 (presubmit successful).
5 years, 10 months ago (2015-02-13 19:17:08 UTC) #6
ahe
https://codereview.chromium.org/926073002/diff/40001/tests/isolate/issue_21398_parent_isolate2_test.dart File tests/isolate/issue_21398_parent_isolate2_test.dart (right): https://codereview.chromium.org/926073002/diff/40001/tests/isolate/issue_21398_parent_isolate2_test.dart#newcode48 tests/isolate/issue_21398_parent_isolate2_test.dart:48: helperFunction(); /// 01: runtime error Why is this a ...
3 years, 8 months ago (2017-04-06 15:38:19 UTC) #8
siva
https://codereview.chromium.org/926073002/diff/40001/tests/isolate/issue_21398_parent_isolate2_test.dart File tests/isolate/issue_21398_parent_isolate2_test.dart (right): https://codereview.chromium.org/926073002/diff/40001/tests/isolate/issue_21398_parent_isolate2_test.dart#newcode48 tests/isolate/issue_21398_parent_isolate2_test.dart:48: helperFunction(); /// 01: runtime error On 2017/04/06 15:38:18, ahe ...
3 years, 8 months ago (2017-04-06 18:15:42 UTC) #9
ahe
3 years, 8 months ago (2017-04-07 06:14:18 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/926073002/diff/40001/tests/isolate/issue_2139...
File tests/isolate/issue_21398_parent_isolate2_test.dart (right):

https://codereview.chromium.org/926073002/diff/40001/tests/isolate/issue_2139...
tests/isolate/issue_21398_parent_isolate2_test.dart:48: helperFunction(); ///
01: runtime error
On 2017/04/06 18:15:42, siva wrote:
> On 2017/04/06 15:38:18, ahe wrote:
> > Why is this a multi-test?
> 
> It doesn't have to be, I think I did this way so it was not necessary to add a
> line in the status file stating a RuntimeError is expected.

Which runtime error is expected, the one one line 33, line 39, or something
different?

Powered by Google App Engine
This is Rietveld 408576698