Skip to content

RPCError: getVM: (-32000) Service connection disposed #154903

@andrewkolos

Description

@andrewkolos

Parent issue: #153471.

Thrown by a VMService.getVM call from FlutterDevice.initLogReader.

Stack traces (from version 3.24.2)

RPCError: getVM: (-32000) Service connection disposed
at VmService._call(vm_service.dart:1769)
at VmService.getVM(vm_service.dart:1245)
at FlutterDevice.initLogReader(resident_runner.dart:428)
at HotRunner.attach(run_hot.dart:266)
at <asynchronous gap>(async)
at RunCommand.runCommand(run.dart:867)
at <asynchronous gap>(async)
at FlutterCommand.run.<anonymous closure>(flutter_command.dart:1408)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:153)
at <asynchronous gap>(async)
at CommandRunner.runCommand(command_runner.dart:212)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand.<anonymous closure>(flutter_command_runner.dart:420)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:153)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand(flutter_command_runner.dart:364)
at <asynchronous gap>(async)
at run.<anonymous closure>.<anonymous closure>(runner.dart:130)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:153)
at <asynchronous gap>(async)
at main(executable.dart:93)
at <asynchronous gap>(async)
RPCError: getVM: (-32000) Service connection disposed
at new _OutstandingRequest(vm_service.dart:261)
at VmService._call.<anonymous closure>(vm_service.dart:1778)
at VmService._call(vm_service.dart:1790)
at VmService.getVM(vm_service.dart:1245)
at FlutterDevice.initLogReader(resident_runner.dart:428)
at HotRunner.attach(run_hot.dart:266)
at <asynchronous gap>(async)
at RunCommand.runCommand(run.dart:867)
at <asynchronous gap>(async)
at FlutterCommand.run.<anonymous closure>(flutter_command.dart:1408)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:153)
at <asynchronous gap>(async)
at CommandRunner.runCommand(command_runner.dart:212)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand.<anonymous closure>(flutter_command_runner.dart:420)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:153)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand(flutter_command_runner.dart:364)
at <asynchronous gap>(async)
at run.<anonymous closure>.<anonymous closure>(runner.dart:130)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:153)
at <asynchronous gap>(async)
at main(executable.dart:93)
at <asynchronous gap>(async)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work listc: crashStack traces logged to the consoleteam-toolOwned by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions