Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dart team ask me report this error #36629

Open
tuken80 opened this Issue Apr 15, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@tuken80
Copy link

tuken80 commented Apr 15, 2019

  • Dart SDK Version (dart --version)
    Dart VM version: 2.2.0 (Tue Feb 26 15:04:32 2019 +0100) on "macos_x64"

  • Whether you are using Windows, MacOSX, or Linux (if applicable)
    macOS Mojave 10.14.4

  • Whether you are using Chrome, Safari, Firefox, Edge (if applicable)
    flutter run --enable-software-rendering
    in Nexus 5X avd with Android 9.0 x86

Missing some or all of the above might make the issue take longer or be
impossible to act on.


I don't know if it's really an issue.


Compiler message:
Warning: Tried to initialize from a previous compilation (build/app.dill), but couldn't.
Error message was 'RangeError (index): Index out of range: no indices are valid: 0'.
Stacktrace included '#0 Uint8List.[] (dart:typed_data/runtime/libtyped_data_patch.dart:2177:7)
#1 BinaryBuilder.readByte (package:kernel/binary/ast_from_binary.dart:95:27)
#2 BinaryBuilder.readUint32 (package:kernel/binary/ast_from_binary.dart:115:13)
#3 BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:426:17)
#4 IncrementalCompiler.initializeFromDill (package:front_end/src/fasta/incremental_compiler.dart:499:14)

#5 IncrementalCompiler.computeDelta. (package:front_end/src/fasta/incremental_compiler.dart:133:34)

#6 CompilerContext.runInContext.. (package:front_end/src/fasta/compiler_context.dart:122:46)
#7 new Future.sync (dart:async/future.dart:224:31)
#8 CompilerContext.runInContext. (package:front_end/src/fasta/compiler_context.dart:122:19)
#9 _rootRun (dart:async/zone.dart:1124:13)
#10 _CustomZone.run (dart:async/zone.dart:1021:19)
#11 _runZoned (dart:async/zone.dart:1516:10)
#12 runZoned (dart:async/zone.dart:1463:12)
#13 CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:121:12)
#14 IncrementalCompiler.computeDelta (package:front_end/src/fasta/incremental_compiler.dart:116:20)

#15 IncrementalCompiler.compile (package:vm/incremental_compiler.dart:50:44)

#16 FrontendCompiler.compile. (package:vm/frontend_server.dart:339:67)
#17 new Future. (dart:async/future.dart:176:37)
#18 _rootRun (dart:async/zone.dart:1120:38)
#19 _CustomZone.run (dart:async/zone.dart:1021:19)
#20 _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#21 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:963:23)
#22 _rootRun (dart:async/zone.dart:1124:13)
#23 _CustomZone.run (dart:async/zone.dart:1021:19)
#24 _CustomZone.bindCallback. (dart:async/zone.dart:947:23)
#25 Timer._createTimer. (dart:async/runtime/libtimer_patch.dart:21:15)
#26 _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
#27 _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
#28 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
'.
This might be a bug.

The Dart team would greatly appreciate it if you would take a moment to report this problem at http://dartbug.com/new.
If you are comfortable with it, it would improve the chances of fixing any bug if you included the file file:///var/folders/zb/jmv5h59n4tg_r6lb56yf1w480000gn/T/initialize_from.dillm9NSTX/initialize_from.dill.gz in your error report, but be aware that this file includes your source code.
Either way, you should probably delete the file so it doesn't use unnecessary disk space.


initialize_from.dill.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.