-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
I suddenly started to get this error while Hot reloding my flutter app, and its not everytime im getting it sometimes it just works fine, like every 1 in 3 times it throws this error. #51850
Comments
We would need considerably more information about this to be able to figure what is going wrong. Do you have any other error messages showing up? /cc @brianquinlan for any ideas on how we could maybe print more informations about this |
Just found these logs in verbose mode. [+2167 ms] flutter: WebsocketChannel was unable to establish connection seems like it has something to do with the Socket connection. I'm digging more into it. |
Just discovered more errors in verbose mode. ... [ +252 ms] ensureAnalyticsSent: 248ms |
Seems like you are running into a build error here[ ] (Link target) ->
hot reload does not rebuild the app but looks like you are rebuilding the app while it is running ? Not sure if this is a Dart issue. |
Unhandled exception:
FileSystemException: writeFrom failed, path = '' (OS Error: The pipe is being closed.
, errno = 232)
#0 _RandomAccessFile.writeFromSync (dart:io/file_impl.dart:858:7)
#1 _StdConsumer.addStream. (dart:io/stdio.dart:309:15)
#2 _RootZone.runUnaryGuarded (dart:async/zone.dart:1593:10)
#3 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#4 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#5 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:774:19)
#6 _StreamController._add (dart:async/stream_controller.dart:648:7)
#7 _StreamController.add (dart:async/stream_controller.dart:596:5)
#8 _StreamSinkImpl.add (dart:io/io_sink.dart:136:17)
#9 _IOSinkImpl.write (dart:io/io_sink.dart:269:5)
#10 _IOSinkImpl.writeln (dart:io/io_sink.dart:289:5)
#11 _StdSink.writeln (dart:io/stdio.dart:342:11)
#12 FrontendCompiler.recompileDelta (package:frontend_server/frontend_server.dart:840:19)
#13 listenAndCompile. (package:frontend_server/frontend_server.dart:1284:20)
#14 _RootZone.runUnaryGuarded (dart:async/zone.dart:1593: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:238:11)
#20 _LineSplitterSink._addLines (dart:convert/line_splitter.dart:153:13)
#21 _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:128:5)
#22 StringConversionSinkMixin.add (dart:convert/string_conversion.dart:163:5)
#23 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111:24)
#24 _RootZone.runUnaryGuarded (dart:async/zone.dart:1593:10)
#25 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#26 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#27 _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:63:11)
#28 _EventSinkWrapper.add (dart:async/stream_transformers.dart:13:11)
#29 _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11)
#30 _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7)
#31 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:317:20)
#32 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:310:5)
#33 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:72:18)
#34 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111:24)
#35 _RootZone.runUnaryGuarded (dart:async/zone.dart:1593:10)
#36 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#37 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#38 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:774:19)
#39 _StreamController._add (dart:async/stream_controller.dart:648:7)
#40 _StreamController.add (dart:async/stream_controller.dart:596:5)
#41 _Socket._onData (dart:io-patch/socket_patch.dart:2355:41)
#42 _RootZone.runUnaryGuarded (dart:async/zone.dart:1593:10)
#43 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#44 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#45 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:774:19)
#46 _StreamController._add (dart:async/stream_controller.dart:648:7)
#47 _StreamController.add (dart:async/stream_controller.dart:596:5)
#48 new _RawSocket. (dart:io-patch/socket_patch.dart:1877:33)
#49 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1334:14)
#50 _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
#51 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
#52 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:123:13)
#53 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:193:5)
the Dart compiler exited unexpectedly.
This is very hard to reproduce as its occurrence seems pretty random, Or please can anyone suggest which area to look for..
The text was updated successfully, but these errors were encountered: