Skip to content

OS.FileSys.mkDir raises [overflow] error when invoked inside binpash/try #607

Open
@Forthoney

Description

@Forthoney

I'm getting an unexpected and rather strange [overflow] exception from a call to OS.FileSys.mkDir when my program is invoked inside try.

You can see the minimal reproducible code here, as well as the github actions runs for a run without try that completes as expected and a run with try that results in an overflow somehow.

I'm not particularly knowledgeable about try, but my hunch is that this has something to do with unshare, overlayfs which try uses under the hood not playing nicely with MLton.

It also may be the case that this is an issue with try, but try is specifically made to sandbox and observe file system changes, so I think it's less likely.

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