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

Crash on duplicated field #31191

Closed
lukechurch opened this issue Oct 20, 2017 · 2 comments
Closed

Crash on duplicated field #31191

lukechurch opened this issue Oct 20, 2017 · 2 comments
Assignees
Labels
area-front-end Use area-front-end for front end / CFE / kernel format related issues. crash Process exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash. front-end-fasta P2 A bug or feature request we're likely to work on

Comments

@lukechurch
Copy link
Contributor

Crash in fasta
@peter-ahe-google
id: 1c450621059dff5d32580731076a1f94af31ddb1

Internal problem: Unhandled field with more than one declaration in REDACTED
#0      internalProblem (package:front_end/src/fasta/problems.dart:29:3)
#1      unhandled (package:front_end/src/fasta/problems.dart:41:10)
#2      BodyBuilder.finishFields (package:front_end/src/fasta/kernel/body_builder.dart:449:11)
#3      DietListener.listenerFinishFields (package:front_end/src/fasta/source/diet_listener.dart:615:14)
#4      DietListener.parseFields (package:front_end/src/fasta/source/diet_listener.dart:660:5)
#5      DietListener.buildFields (package:front_end/src/fasta/source/diet_listener.dart:522:5)
#6      DietListener.endFields (package:front_end/src/fasta/source/diet_listener.dart:218:5)
#7      Parser.parseFields (package:front_end/src/fasta/parser/parser.dart:2358:16)
#8      Parser.parseMember (package:front_end/src/fasta/parser/parser.dart:2980:11)
#9      Parser.parseClassBody (package:front_end/src/fasta/parser/parser.dart:2866:15)
#10     Parser.parseClass (package:front_end/src/fasta/parser/parser.dart:1223:13)
#11     Parser.parseClassOrNamedMixinApplication (package:front_end/src/fasta/parser/parser.dart:1183:14)
#12     Parser.parseTopLevelKeywordDeclaration (package:front_end/src/fasta/parser/parser.dart:361:14)
#13     Parser.parseTopLevelDeclarationImpl (package:front_end/src/fasta/parser/parser.dart:295:14)
#14     Parser.parseUnit (package:front_end/src/fasta/parser/parser.dart:271:15)
#15     SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart:178:14)
<asynchronous suspension>
#16     Loader.buildBodies (package:front_end/src/fasta/loader.dart:125:13)
<asynchronous suspension>
#17     KernelTarget.buildProgram (package:front_end/src/fasta/kernel/kernel_target.dart:289:20)
<asynchronous suspension>
#18     generateKernelInternal (package:front_end/src/kernel_generator_impl.dart:127:36)
<asynchronous suspension>
#19     BulkCompiler.compile.<anonymous closure> (file:///Users/lukechurch/GitRepos/dart-sdk/sdk/pkg/front_end/tool/_fasta/bulk_compile.dart:52:37)
<asynchronous suspension>
#20     CompilerContext.runInContext.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:89:33)
#21     _rootRun (dart:async/zone.dart:1124)
#22     _CustomZone.run (dart:async/zone.dart:1021)
#23     runZoned (dart:async/zone.dart:1499)
#24     CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:89:12)
#25     CompilerContext.runWithOptions (package:front_end/src/fasta/compiler_context.dart:96:41)
#26     BulkCompiler.compile (file:///Users/lukechurch/GitRepos/dart-sdk/sdk/pkg/front_end/tool/_fasta/bulk_compile.dart:49:28)
#27     runFailedPath (file:///Users/lukechurch/GitRepos/dart-sdk/sdk/pkg/front_end/tool/_fasta/fuzz_driver.dart:69:27)
<asynchronous suspension>
#28     testDirectory (file:///Users/lukechurch/GitRepos/dart-sdk/sdk/pkg/front_end/tool/_fasta/fuzz_driver.dart:42:9)
<asynchronous suspension>
#29     main (file:///Users/lukechurch/GitRepos/dart-sdk/sdk/pkg/front_end/tool/_fasta/fuzz_driver.dart:137:7)
#30     _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:275)
#31     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:163)

@lukechurch lukechurch added area-front-end Use area-front-end for front end / CFE / kernel format related issues. front-end-fasta needs-info We need additional information from the issue author (auto-closed after 14 days if no response) labels Oct 20, 2017
@askeksa-google
Copy link

Variable repeated, first as second on the line with an initializer, then alone:

class Repeated {
  var a, b = 'Something';
  var b;
}

@askeksa-google askeksa-google removed the needs-info We need additional information from the issue author (auto-closed after 14 days if no response) label Nov 27, 2017
@jensjoha jensjoha added the P2 A bug or feature request we're likely to work on label Jan 9, 2018
@jensjoha jensjoha added P1 A high priority bug; for example, a single project is unusable or has many test failures and removed P2 A bug or feature request we're likely to work on labels Jan 9, 2018
@askeksa-google askeksa-google added P2 A bug or feature request we're likely to work on crash Process exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash. and removed P1 A high priority bug; for example, a single project is unusable or has many test failures labels Jan 15, 2018
@askeksa-google askeksa-google changed the title Internal problem: Unhandled field with more than one declaration in REDACTED Crash on duplicated field May 3, 2018
@askeksa-google askeksa-google added this to the Dart2Stable milestone May 24, 2018
@askeksa-google
Copy link

This should be looked at after the elimination of deprecated_inputError is complete.

@kmillikin kmillikin removed this from the Dart2Stable milestone May 30, 2018
@askeksa-google askeksa-google self-assigned this Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-front-end Use area-front-end for front end / CFE / kernel format related issues. crash Process exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash. front-end-fasta P2 A bug or feature request we're likely to work on
Projects
None yet
Development

No branches or pull requests

5 participants