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

the Dart compiler exited unexpectedly. #52348

Closed
IYakRiyadh opened this issue May 11, 2023 · 1 comment
Closed

the Dart compiler exited unexpectedly. #52348

IYakRiyadh opened this issue May 11, 2023 · 1 comment
Labels
needs-info We need additional information from the issue author (auto-closed after 14 days if no response)

Comments

@IYakRiyadh
Copy link

Thank you for taking the time to file an issue!

This tracker is for issues related to:

  • Analyzer
  • Common Front End (CFE) and kernel
  • Dart core libraries ("dart:async", "dart:io", etc.)
  • Dart VM
  • dart2js
  • dev_compiler

Some other pieces of the Dart ecosystem are maintained elsewhere. Please
file issues in their repository:

If you aren't sure, file the issue here and we'll find the right home for it.
In your issue, please include:

  • Dart SDK Version (dart --version)
  • Whether you are using Windows, MacOSX, or Linux (if applicable)
  • Whether you are using Chrome, Safari, Firefox, Edge (if applicable)

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

Unhandled exception:
Invalid argument(s): Windows paths with drive letter must be absolute
#0 _Uri._makeWindowsFileUrl (dart:core/uri.dart:1899:9)
#1 new _Uri.file (dart:core/uri.dart:1809:11)
#2 FrontendCompiler.compile (package:frontend_server/frontend_server.dart:592:54)
#3 listenAndCompile. (package:frontend_server/frontend_server.dart:1308:26)
#4 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
#5 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#6 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#7 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:63:11)
#8 _EventSinkWrapper.add (dart:async/stream_transformers.dart:13:11)
#9 _StringAdapterSink.add (dart:convert/string_conversion.dart:228:11)
#10 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:164:13)
#11 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:131:7)
#12 StringConversionSink.add (dart:convert/string_conversion.dart:39:5)
#13 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111:24)
#14 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
#15 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#16 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#17 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:63:11)
#18 _EventSinkWrapper.add (dart:async/stream_transformers.dart:13:11)
#19 _StringAdapterSink.add (dart:convert/string_conversion.dart:228:11)
#20 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:233:7)
#21 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:307:20)
#22 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:300:5)
#23 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:69:18)
#24 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111:24)
#25 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
#26 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#27 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#28 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:776:19)
#29 _StreamController._add (dart:async/stream_controller.dart:650:7)
#30 _StreamController.add (dart:async/stream_controller.dart:598:5)
#31 _Socket._onData (dart:io-patch/socket_patch.dart:2368:41)
#32 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
#33 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#34 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#35 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:776:19)
#36 _StreamController._add (dart:async/stream_controller.dart:650:7)
#37 _StreamController.add (dart:async/stream_controller.dart:598:5)
#38 new _RawSocket. (dart:io-patch/socket_patch.dart:1886:33)
#39 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1343:14)
#40 _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
#41 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
#42 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:123:13)
#43 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:190:5)
the Dart compiler exited unexpectedly.
Waiting for connection from debug service on Chrome... 8.4s
Failed to compile application.

how to fixed like this, but run the flutter doctor -v so, no issue

[√] Flutter (Channel stable, 3.10.0, on Microsoft Windows [Version 10.0.19045.2965], locale en-ID)
• Flutter version 3.10.0 on channel stable at C:\src\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 84a1e904f4 (2 days ago), 2023-05-09 07:41:44 -0700
• Engine revision d44b5a94c9
• Dart version 3.0.0
• DevTools version 2.23.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
• Android SDK at C:\Users\W I N D O W S\AppData\Local\Android\sdk
• Platform android-33-ext4, build-tools 33.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
• All Android licenses accepted.

[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.24)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.11.33328.57
• Windows 10 SDK version 10.0.22000.0

[√] Android Studio (version 2022.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)

[√] VS Code (version 1.78.1)
• VS Code at C:\Users\W I N D O W S\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.56.0

[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.2965]
• Chrome (web) • chrome • web-javascript • Google Chrome 113.0.5672.92
• Edge (web) • edge • web-javascript • Microsoft Edge 113.0.1774.35

[√] Network resources
• All expected network resources are available.

• No issues found!

@sigmundch
Copy link
Member

@IYakRiyadh - thanks for filing an issue. We need additional information to better understand how you are encountering this crash.

Some things that would help:

  • What did run when this came up (command and arguments)
  • Was it as soon as you launched a command, or when you tried some action. For example, when trying to do some kind of operation in a debugger?

@sigmundch sigmundch added the needs-info We need additional information from the issue author (auto-closed after 14 days if no response) label May 11, 2023
@lrhn lrhn closed this as completed May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-info We need additional information from the issue author (auto-closed after 14 days if no response)
Projects
None yet
Development

No branches or pull requests

2 participants