-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
dart2js: compiler crashes for checked mode on swarm #3385
Labels
P1
A high priority bug; for example, a single project is unusable or has many test failures
web-dart2js
Comments
Changed the title to: "dart2js: compiler crashes for checked mode on swarm". |
This comment was originally written by ngeoffray@google.com Set owner to ngeoffray@google.com. |
This comment was originally written by ngeoffray@google.com This is fixed and now tested on the buildbot: Added Fixed label. |
copybara-service bot
pushed a commit
that referenced
this issue
May 4, 2022
Changes: ``` > git log --format="%C(auto) %h %s" a949b32..6068f47 https://dart.googlesource.com/pub.git/+/6068f47c Fixing link example "User-Agent" (#3400) https://dart.googlesource.com/pub.git/+/cd0d6992 Make tests more agnostic to the test environment (#3402) https://dart.googlesource.com/pub.git/+/1f8db828 Fix retrieval of name in `pub global activate -sgit` (#3407) https://dart.googlesource.com/pub.git/+/ed63f212 Limit the number of concurrent precompilations (#3396) https://dart.googlesource.com/pub.git/+/d82f80a5 Fix crash when checking code with bad import (#3392) https://dart.googlesource.com/pub.git/+/b9ae624e Relative urls in lockfile for git urls (#3385) https://dart.googlesource.com/pub.git/+/62bb2440 Fix `dependency_services apply` for packages with relative imports (#3374) ``` Diff: https://dart.googlesource.com/pub.git/+/a949b329b1b51f5f3973a790e0a0a45897d837de~..6068f47c264ef790e16411b31b2c94ad6beb1ab6/ Change-Id: Ib18c2647e27a34d84005214b844351f314698611 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/243321 Commit-Queue: Sigurd Meldgaard <sigurdm@google.com> Reviewed-by: Sarah Zakarias <zarah@google.com>
copybara-service bot
pushed a commit
that referenced
this issue
Apr 24, 2023
…n, sse, stream_channel, test, tools, usage, webdev Revisions updated by `dart tools/rev_sdk_deps.dart`. async (https://github.com/dart-lang/async/compare/0127813..ce650b0): ce650b0 2023-04-19 Nate Bosch Regression test for error rejecting transaction (#230) characters (https://github.com/dart-lang/characters/compare/ba8d557..b306414): b306414 2023-04-19 Lasse R.H. Nielsen Add tools to update and generate tables and tests. (#72) convert (https://github.com/dart-lang/convert/compare/8812e40..855aeac): 855aeac 2023-04-10 Kevin Moore Require Dart 2.19, fix override param name, update lints (#81) crypto (https://github.com/dart-lang/crypto/compare/1cb1528..77491f5): 77491f5 2023-04-19 Lasse R.H. Nielsen Make `DigestSink` implement `Sink` (#146) dartdoc (https://github.com/dart-lang/dartdoc/compare/a0755f5..8e8b36e): 8e8b36e3 2023-04-19 Janice Collins Fix up documentation on comment reference parser to align with wiki (#2851) b9178fce 2023-04-19 dependabot[bot] Bump github/codeql-action from 2.2.11 to 2.2.12 (#3390) 37b981c4 2023-04-19 dependabot[bot] Bump actions/checkout from 3.5.0 to 3.5.2 (#3389) dadef24a 2023-04-10 dependabot[bot] Bump github/codeql-action from 2.2.9 to 2.2.11 (#3386) dda699a7 2023-04-10 Sam Rawlins Prepare mixin-like classes for Dart 3.0.0 (#3385) intl (https://github.com/dart-lang/intl/compare/a958db0..5d65e38): 5d65e38 2023-04-19 Moritz Update README.md 9972a89 2023-04-19 Moritz Update README.md 5c14faa 2023-04-18 Copybara-Service Merge pull request #584 from dart-lang:fixDateFormattingUrl 4ea644e 2023-04-17 Moritz Merge branch 'master' into fixDateFormattingUrl b0d5687 2023-04-17 dependabot[bot] Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#574) 92149be 2023-04-17 Moritz Merge branch 'master' into fixDateFormattingUrl 5203d6e 2023-04-17 Googler Internal change bab667f 2023-04-17 Moritz Typo b0896b1 2023-04-17 Moritz Fix bug 43507e1 2023-04-14 Googler Internal change d8844a0 2023-04-14 dependabot[bot] Bump actions/checkout from 3.3.0 to 3.5.2 (#579) 99ed16f 2023-04-13 Copybara-Service Merge pull request #572 from dart-lang:adaptBrowserTest 34e824c 2023-03-30 Moritz Adapt test to browser CLDR update markdown (https://github.com/dart-lang/markdown/compare/d437c85..5f98aea): 5f98aea 2023-04-20 Jonas Finnemann Jensen Throw, if `BlockSyntax.parseLines` loops indefinitely (#533) 86ebc2c 2023-04-19 Zhiguang Chen Fix `linkReferenceDefinitionPattern` (#532) sse (https://github.com/dart-lang/sse/compare/11e83a0..f947c3d): f947c3d 2023-04-10 Kevin Moore Require Dart 2.19, bump lints (#82) stream_channel (https://github.com/dart-lang/stream_channel/compare/74646ea..71d4690): 71d4690 2023-04-11 Tobe Osakwe Add example/example.dart (#52) test (https://github.com/dart-lang/test/compare/7832931..7fab079): 7fab0792 2023-04-19 Oleh Prypin Dart 3 compatibility: change `extends Iterator` to `implements Iterator` (#1997) 8f7682a5 2023-04-18 Nate Bosch Remove deprecation of test_api top level libraries (#1994) 7151486c 2023-04-14 Simon Binder Add support for Microsoft Edge (#1992) c1d686aa 2023-04-12 Parker Lougheed Fix "Improvements" link in `package:checks` migration guide (#1991) tools (https://github.com/dart-lang/tools/compare/545d7e1..5c9f45c): 5c9f45c 2023-04-20 Elias Yishak Move `dateStamp` getter to `utils.dart` (#83) usage (https://github.com/dart-lang/usage/compare/0698711..f97752f): f97752f 2023-04-10 Devon Carew update readme for deprecation (#192) webdev (https://github.com/dart-lang/webdev/compare/7546291..8b42c95): 8b42c950 2023-04-21 Anna Gringauze Cleanup record types display (#2070) 1cfb3bd6 2023-04-20 Elliott Brooks Update CONTRIBUTING docs (#2097) 941eda5b 2023-04-19 Elliott Brooks Add a test to make sure proper release procedure is followed for `dwds` and `webdev` (#2095) 2eb7c3ee 2023-04-17 Elliott Brooks Add Github workflow for Dart Code Metrics (#2092) 79a9bc9b 2023-04-17 Elliott Brooks Fix DCM analyzer warnings (#2094) 2a625039 2023-04-14 Elliott Brooks Add `vm_service` git package dependency override (#2078) 1fa19603 2023-04-12 Elliott Brooks Add CI check to remind contributor to update CHANGELOG (#2090) c7bb19e1 2023-04-12 Elliott Brooks Prevent PRs labeled `do-not-submit` from being merged (#2088) 3781ef9b 2023-04-10 Elliott Brooks Run mono_repo generate with version 6.5.3 (#2084) 843890c6 2023-04-10 Anna Gringauze Refactor record shape processing out of calculating record bound fields (#2074) Change-Id: I4ce65f9f79d5086c33c575e57eff300216392510 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/297800 Auto-Submit: Devon Carew <devoncarew@google.com> Reviewed-by: Moritz Sümmermann <mosum@google.com> Commit-Queue: Moritz Sümmermann <mosum@google.com>
This issue was closed.
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
P1
A high priority bug; for example, a single project is unusable or has many test failures
web-dart2js
$ out/Release_ia32/dart2js --out=t5.js -v -c samples/swarm/swarm.dart
info: compiling file:///usr/local/google/home/sra/dart-all/dart/samples/swarm/swarm.dart
info: package root is file:///usr/local/google/home/sra/dart-all/dart/samples/swarm/packages/
info: scanning library file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/lib/coreimpl.dart
info: scanning library file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/lib/js_helper.dart
info: scanning library file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/lib/interceptors.dart
info: scanning library file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/lib/core.dart
info: scanning library file:///usr/local/google/home/sra/dart-all/dart/samples/swarm/swarm.dart
info: scanning library file:///usr/local/google/home/sra/dart-all/dart/samples/swarm/swarmlib.dart
info: scanning library file:///usr/local/google/home/sra/dart-all/dart/lib/json/json.dart
info: scanning library file:///usr/local/google/home/sra/dart-all/dart/lib/html/frog/html_frog.dart
info: scanning library file:///usr/local/google/home/sra/dart-all/dart/samples/ui_lib/base/base.dart
info: scanning library file:///usr/local/google/home/sra/dart-all/dart/samples/ui_lib/observable/observable.dart
info: scanning library file:///usr/local/google/home/sra/dart-all/dart/samples/ui_lib/util/utilslib.dart
info: scanning library file:///usr/local/google/home/sra/dart-all/dart/lib/uri/uri.dart
info: scanning library file:///usr/local/google/home/sra/dart-all/dart/lib/utf/utf.dart
info: scanning library file:///usr/local/google/home/sra/dart-all/dart/samples/ui_lib/view/view.dart
info: scanning library file:///usr/local/google/home/sra/dart-all/dart/samples/ui_lib/touch/touch.dart
info: scanning library file:///usr/local/google/home/sra/dart-all/dart/samples/ui_lib/layout/layout.dart
lib/compiler/implementation/lib/js_helper.dart:417:17: Error: The compiler crashed when compiling this element.
static String objectToString(Object object) {
^^^^^^^^^^^^^^
The compiler is broken.
When compiling the above element, the compiler crashed. It is not
possible to tell if this is caused by a problem in your program or
not. Regardless, the compiler should not crash.
The Dart team would greatly appreciate if you would take a moment to
report this problem at http://dartbug.com/new.
Please include the following information:
* the name and version of your operating system,
* the Dart SDK build number (build number could not be determined), and
* the stack trace you see here.
Internal error: NullPointerException : method: 'hashCode'
Receiver: null
Arguments: []
0. Function: 'Object.noSuchMethod' url: 'bootstrap' line:473 col:137
1. Function: 'HashMapImplementation._probeForAdding@924b4b8' url: 'bootstrap_impl' line:578 col:162
2. Function: 'HashMapImplementation.[]=' url: 'bootstrap_impl' line:607 col:69
3. Function: 'SsaCodeGenerator.sequentializeCopies' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:1001 col:22
4. Function: 'SsaCodeGenerator.assignPhisOfSuccessors' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:1053 col:24
5. Function: 'SsaCodeGenerator.iterateBasicBlock' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:1080 col:27
6. Function: 'SsaCodeGenerator.visitBasicBlock' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:950 col:22
7. Function: 'SsaCodeGenerator.visitSubGraph' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:288 col:20
8. Function: 'SsaCodeGenerator.visitSubGraphInfo' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:641 col:18
9. Function: 'HSubGraphBlockInformation.accept' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/nodes.dart' line:2331 col:30
10. Function: 'SsaCodeGenerator.generateStatements' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:380 col:19
11. Function: 'SsaCodeGenerator.visitIfInfo' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:620 col:25
12. Function: 'HIfBlockInformation.accept' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/nodes.dart' line:2457 col:24
13. Function: 'SsaCodeGenerator.handleBlockFlow' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:923 col:31
14. Function: 'SsaCodeGenerator.visitBasicBlock' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:942 col:24
15. Function: 'SsaCodeGenerator.visitGoto' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:1222 col:20
16. Function: 'HGoto.accept' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/nodes.dart' line:1661 col:48
17. Function: 'SsaCodeGenerator.visit' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:577 col:16
18. Function: 'SsaCodeGenerator.iterateBasicBlock' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:1084 col:10
19. Function: 'SsaCodeGenerator.visitBasicBlock' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:950 col:22
20. Function: 'SsaCodeGenerator.visitSubGraph' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:288 col:20
21. Function: 'SsaCodeGenerator.visitSubGraphInfo' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:641 col:18
22. Function: 'HSubGraphBlockInformation.accept' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/nodes.dart' line:2331 col:30
23. Function: 'SsaCodeGenerator.generateStatements' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:380 col:19
24. Function: 'SsaCodeGenerator.visitIfInfo' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:612 col:27
25. Function: 'HIfBlockInformation.accept' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/nodes.dart' line:2457 col:24
26. Function: 'SsaCodeGenerator.handleBlockFlow' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:923 col:31
27. Function: 'SsaCodeGenerator.visitBasicBlock' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:942 col:24
28. Function: 'SsaCodeGenerator.visitGoto' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:1222 col:20
29. Function: 'HGoto.accept' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/nodes.dart' line:1661 col:48
30. Function: 'SsaCodeGenerator.visit' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:577 col:16
31. Function: 'SsaCodeGenerator.iterateBasicBlock' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:1084 col:10
32. Function: 'SsaCodeGenerator.visitBasicBlock' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:950 col:22
33. Function: 'SsaCodeGenerator.visitGoto' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:1222 col:20
34. Function: 'HGoto.accept' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/nodes.dart' line:1661 col:48
35. Function: 'SsaCodeGenerator.visit' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:577 col:16
36. Function: 'SsaCodeGenerator.iterateBasicBlock' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:1084 col:10
37. Function: 'SsaCodeGenerator.visitBasicBlock' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:950 col:22
38. Function: 'SsaCodeGenerator.visitGraph' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:275 col:20
39. Function: 'SsaCodeGeneratorTask.function' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:48 col:25
40. Function: 'CompilerTask.measure' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/compiler.dart' line:550 col:24
41. Function: 'SsaCodeGeneratorTask.generateMethod' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/ssa/codegen.dart' line:39 col:19
42. Function: 'JavaScriptBackend.codegen' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/compiler.dart' line:62 col:36
43. Function: 'Compiler.codegen' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/compiler.dart' line:419 col:36
44. Function: 'WorkItem.run' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/compiler.dart' line:19 col:28
45. Function: 'Compiler.function' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/compiler.dart' line:386 col:54
46. Function: 'Compiler.withCurrentElement' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/compiler.dart' line:116 col:15
47. Function: 'Compiler.withCurrentElement' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/compiler.dart' line:121 col:7
48. Function: 'Compiler.processQueue' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/compiler.dart' line:386 col:25
49. Function: 'Compiler.runCompiler' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/compiler.dart' line:371 col:17
50. Function: 'Compiler.run' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/compiler.dart' line:239 col:18
51. Function: 'Compiler.run' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/compiler.dart' line:240 col:7
52. Function: 'Compiler.run' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/apiimpl.dart' line:86 col:29
53. Function: '::compile' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/compiler.dart' line:47 col:15
54. Function: '::compile' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/dart2js.dart' line:205 col:28
55. Function: '::compilerMain' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/dart2js.dart' line:254 col:10
56. Function: '::main' url: 'file:///usr/local/google/home/sra/dart-all/dart/lib/compiler/implementation/dart2js.dart' line:334 col:17
The text was updated successfully, but these errors were encountered: