Skip to content

[flutter_tools] SocketException Broken pipe in IOSDeployDebugger.detach #139709

@christopherfujino

Description

@christopherfujino

On stable/3.16.2
Command flutter run

SocketException: Write failed (OS Error: Broken pipe, errno = 32), port = 0
at _NativeSocket.write(socket_patch.dart:1246)
at _RawSocket.write(socket_patch.dart:2004)
at _Socket._write(socket_patch.dart:2479)
at _SocketStreamConsumer.write(socket_patch.dart:2214)
at _SocketStreamConsumer.addStream.<anonymous closure>(socket_patch.dart:2168)
at _rootRunUnary(zone.dart:1407)
at _CustomZone.runUnary(zone.dart:1308)
at _CustomZone.runUnaryGuarded(zone.dart:1217)
at _BufferingStreamSubscription._sendData(stream_impl.dart:339)
at _BufferingStreamSubscription._add(stream_impl.dart:271)
at _SyncStreamControllerDispatch._sendData(stream_controller.dart:784)
at _StreamController._add(stream_controller.dart:658)
at _StreamController.add(stream_controller.dart:606)
at _StreamSinkImpl.add(io_sink.dart:154)
at _IOSinkImpl.write(io_sink.dart:287)
at _IOSinkImpl.writeln(io_sink.dart:307)
at _Socket.writeln(socket_patch.dart:2314)
at _StdSink.writeln(stdio.dart:342)
at IOSDeployDebugger.detach(ios_deploy.dart:619)
at IOSDeviceLogReader.dispose(devices.dart:1440)
at IOSDevice.dispose(devices.dart:991)
at HotRunner.cleanupAtFinish(run_hot.dart:1171)
at ResidentRunner.waitForAppToFinish(resident_runner.dart:1483)
at <asynchronous gap>(async)
at HotRunner.attach(run_hot.dart:353)
at <asynchronous gap>(async)
at RunCommand.runCommand(run.dart:745)
at <asynchronous gap>(async)
at FlutterCommand.run.<anonymous closure>(flutter_command.dart:1350)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at CommandRunner.runCommand(command_runner.dart:212)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand.<anonymous closure>(flutter_command_runner.dart:348)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand(flutter_command_runner.dart:294)
at <asynchronous gap>(async)
at run.<anonymous closure>.<anonymous closure>(runner.dart:112)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at main(executable.dart:90)
at <asynchronous gap>(async)

Metadata

Metadata

Labels

P1High-priority issues at the top of the work listteam-toolOwned by Flutter Tool teamtriaged-toolTriaged by Flutter Tool team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions