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

dart2js crashes while compiling deferred library #17887

Closed
pavelgj opened this issue Mar 28, 2014 · 2 comments
Closed

dart2js crashes while compiling deferred library #17887

pavelgj opened this issue Mar 28, 2014 · 2 comments
Assignees
Labels
closed-duplicate Closed in favor of an existing report P1 A high priority bug; for example, a single project is unusable or has many test failures web-dart2js

Comments

@pavelgj
Copy link

pavelgj commented Mar 28, 2014

Internal Error: The compiler crashed when compiling this element.
  RootScope(Object context, Parser parser, GetterCache cacheGetter,
  ^^^^^^^^^
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 (1.3.0-dev.7.1), and

* the entire message you see here (including the full stack trace
  below as well as the source location above).

The compiler crashed: The null object does not have a getter 'implementation'.

NoSuchMethodError: method not found: 'implementation'
Receiver: null
Arguments: []

­0 Object.noSuchMethod (dart:core-patch/object_patch.dart:45)

­1 outputUnitForElement (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart:159)

­2 SsaBuilder.tryInlineMethod.meetsHardConstraints (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:1176)

­3 SsaBuilder.tryInlineMethod (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:1291)

­4 SsaBuilder.pushInvokeStatic (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:4423)

­5 SsaBuilder.handleNewSend (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:4039)

­6 SsaBuilder.visitNewExpression (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:4339)

­7 NewExpression.accept (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/tree/nodes.dart:494)

­8 SsaBuilder.visit (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:2272)

­9 SsaBuilder.addStaticSendArgumentsToList.compileArgument (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:3247)

­10 Selector.addArgumentsToList.<anonymous closure> (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/universe/universe.dart:412)

­11 FunctionSignatureX.forEachRequiredParameter (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart:1419)

­12 Selector.addArgumentsToList (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/universe/universe.dart:411)

­13 SsaBuilder.addStaticSendArgumentsToList (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:3251)

­14 SsaBuilder.handleNewSend (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:3976)

­15 SsaBuilder.visitNewExpression (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:4339)

­16 NewExpression.accept (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/tree/nodes.dart:494)

­17 SsaBuilder.visit (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:2272)

­18 SsaBuilder.addStaticSendArgumentsToList.compileArgument (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:3247)

­19 Selector.addArgumentsToList.<anonymous closure> (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/universe/universe.dart:412)

­20 FunctionSignatureX.forEachRequiredParameter (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart:1419)

­21 Selector.addArgumentsToList (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/universe/universe.dart:411)

­22 SsaBuilder.addStaticSendArgumentsToList (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:3251)

­23 SsaBuilder.buildInitializers.<anonymous closure> (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:1762)

­24 SsaBuilder.inlinedFrom.<anonymous closure> (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:1304)

­25 Compiler.withCurrentElement (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/compiler.dart:520)

­26 Compiler.withCurrentElement (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/compiler.dart:541)

­27 Compiler.withCurrentElement (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/compiler.dart:521)

­28 SsaBuilder.inlinedFrom (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:1301)

­29 SsaBuilder.buildInitializers (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:1761)

­30 SsaBuilder.buildFactory (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:1900)

­31 SsaBuilderTask.compileConstructor (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:94)

­32 SsaBuilderTask.build.<anonymous closure>.<anonymous closure> (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:43)

­33 Compiler.withCurrentElement (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/compiler.dart:520)

­34 Compiler.withCurrentElement (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/compiler.dart:535)

­35 Compiler.withCurrentElement (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/compiler.dart:521)

­36 SsaBuilderTask.build.<anonymous closure> (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:36)

­37 CompilerTask.measure (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/compiler.dart:1661)

­38 SsaBuilderTask.build (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:34)

­39 JavaScriptBackend.codegen (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart:1163)

­40 Compiler.codegen (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/compiler.dart:1327)

­41 CodegenWorkItem.run (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/compiler.dart:62)

­42 Compiler.processQueue.<anonymous closure>.<anonymous closure> (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/compiler.dart:1218)

­43 Compiler.withCurrentElement (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/compiler.dart:520)

­44 Compiler.withCurrentElement (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/compiler.dart:535)

­45 Compiler.withCurrentElement (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/compiler.dart:521)

­46 Compiler.processQueue.<anonymous closure> (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/compiler.dart:1218)

­47 Enqueuer.forEach (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/enqueue.dart:562)

­48 Compiler.processQueue (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/compiler.dart:1217)

­49 Compiler.compileLoadedLibraries (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/compiler.dart:1153)

­50 Compiler.runCompiler.<anonymous closure> (file:///mnt/data/b/build/slave/dart-editor-linux-dev/build/dart/sdk/lib/_internal/compiler/implementation/compiler.dart:1028)

­51 _rootRunUnary (dart:async/zone.dart:730)

­52 _RootZone.runUnary (dart:async/zone.dart:864)

­53 _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:488)

­54 _Future._propagateToListeners (dart:async/future_impl.dart:571)

­55 _Future._complete (dart:async/future_impl.dart:317)

­56 Future.forEach.nextElement (dart:async/future.dart:302)

­57 _rootRunUnary (dart:async/zone.dart:730)

­58 _RootZone.runUnary (dart:async/zone.dart:864)

­59 _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:488)

­60 _Future._propagateToListeners (dart:async/future_impl.dart:571)

­61 _Future._completeWithValue (dart:async/future_impl.dart:331)

­62 _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:393)

­63 _asyncRunCallbackLoop (dart:async/schedule_microtask.dart:23)

­64 _asyncRunCallback (dart:async/schedule_microtask.dart:32)

­65 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:119)

@floitschG
Copy link
Contributor

Set owner to @sigurdm.
Removed Priority-Unassigned label.
Added Priority-High, Area-Dart2JS, Triaged labels.

@karlklose
Copy link
Contributor

Added Duplicate label.
Marked as being merged into #17110.

@pavelgj pavelgj added Type-Defect P1 A high priority bug; for example, a single project is unusable or has many test failures web-dart2js closed-duplicate Closed in favor of an existing report labels Apr 1, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report P1 A high priority bug; for example, a single project is unusable or has many test failures web-dart2js
Projects
None yet
Development

No branches or pull requests

4 participants