Skip to content

FileSystemException: Creation of temporary directory failed, path = '.../flutter_tools.' (OS Error: No space left on device, errno = 28) #153777

@andrewkolos

Description

@andrewkolos

On 3.24.0 as of 8/20: 67 reports by 20 unique clients.

Possibly shares a root cause with #142537.

Flutter CLI commands (at least from first 10 reports): flutter run, flutter test integration_test

I'm fairly certain the tool has constructs to handle out-of-storage errors in its ErrorHandling* file system abstractions, but something might be leaking here.

FileSystemException: Creation of temporary directory failed, path = '/var/folders/7j/0l_gjs0d7vx87_j12jr1zk3m0000gq/T/flutter_tools.' (OS Error: No space left on device, errno = 28)
at _Directory.createTempSync(directory_impl.dart:170)
at ForwardingDirectory.createTempSync(forwarding_directory.dart:28)
at LocalFileSystem.systemTempDirectory(file_system.dart:236)
at ForwardingFileSystem.systemTempDirectory(forwarding_file_system.dart:33)
at IOSCoreDeviceControl._listCoreDevices(core_devices.dart:65)
at IOSCoreDeviceControl.getCoreDevices(core_devices.dart:122)
at XCDevice.getAvailableIOSDevices(xcdevice.dart:487)
at <asynchronous gap>(async)
at PollingDeviceDiscovery._populateDevices(device.dart:547)
at <asynchronous gap>(async)
at Future.wait.<anonymous closure>(future.dart:524)
at <asynchronous gap>(async)
at DeviceManager.getAllDevices(device.dart:198)
at <asynchronous gap>(async)
at DeviceBasedDevelopmentArtifacts.requiredArtifacts(flutter_command.dart:1908)
at <asynchronous gap>(async)
at FlutterCommand.verifyThenRunCommand(flutter_command.dart:1692)
at <asynchronous gap>(async)
at FlutterCommand.run.<anonymous closure>(flutter_command.dart:1394)
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:372)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:153)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand(flutter_command_runner.dart:308)
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

    P2Important issues not at the top of the work listc: crashStack traces logged to the consoleteam-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