Skip to content

VMServiceEmbedderHooks.createTempDir crash #9539

@pedia

Description

@pedia

Some reported in flutter:
flutter/flutter#173450
flutter/flutter#149258

the crash stack like

_createDevFS: (-32603) Internal error
_createDevFS: Unexpected exception:PathAccessException: Creation of temporary directory failed, path = '/tmp' (OS Error: Operation not permitted, errno = 1)
#0      _checkForErrorResponse (dart:io/common.dart:58:9)
#1      _Directory.createTemp.<anonymous closure> (dart:io/directory_impl.dart:167:7)
<asynchronous suspension>
#2      createTempDirCallback (dart:vmservice_io:118:16)
<asynchronous suspension>
#3      DevFS._createDevFS (dart:_vmservice/devfs.dart:197:21)
<asynchronous suspension>
#4      VMService._routeRequestImpl (dart:_vmservice:759:16)
<asynchronous suspension>
#5      VMService.routeRequest (dart:_vmservice:726:22)
<asynchronous suspension>
#6      WebSocketClient.post (dart:vmservice_io/vmservice_server.dart:64:3)
<asynchronous suspension>

Exited

Maybe this issue belongs here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions